diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index e4ebc60638326b7b90c0e299fd75f4a7fafc9fdf..1a23c13bead242b88d7c04815a8a1ee07f40ad03 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -63,8 +63,8 @@ globalThis.isItemAccessible = (function() { /** * Returns array of wearable clothing in format [name, value], basically player facing / game data. * @param {Map} map Map to look in (such as App.Data.clothes) - * @param {string} [filter] - * @param {any} [filterValue] + * @param {string} [filter] for example, if we want to filer clothing data by the "harsh" property, pass harsh as the parameter here. + * @param {any} [filterValue] remove any clothing where the .filter property does not match this value. Function will evaluate undefined as false. * @returns {Array} */ function array(map, filter, filterValue) {