diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index f173c3d4253fd1e852e128c53a9c801677155cae..18a4cb353304614fc27370dc71a76a2670fafcc2 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -209,6 +209,8 @@ window.isClothingAccessible = (function() { /** * Checks whether clothing is accessible * @param {string} string Name of wearable item + * @param {string} category that item is in clothing, collar, etc + * @param {App.Entity.SlaveState} slave * @returns {boolean|string} Returns true if it is accessible, and if it is not either false or a string explaining why */ function entry(string, category="clothing", slave) {