diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 71d22d4394a61157f3803b3a00ce0735f879835a..c50d1231077fa042d8f1c5c102a5335a9fd08ad6 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -232,6 +232,7 @@ window.isClothingAccessible = (function() { } if (!item) { console.log(`${string} is not a registered piece of clothing! Check App.Data.Misc.${category}`); + console.log(string); return false; /* couldn't be found */ } return isAvailable(item); diff --git a/src/js/wardrobeUse.js b/src/js/wardrobeUse.js index 9d0b05c630ef1bf2c35b79938b782b53616d470a..8949cd73066bf876e048c9e6e9c3c35a0a8259ae 100644 --- a/src/js/wardrobeUse.js +++ b/src/js/wardrobeUse.js @@ -286,7 +286,7 @@ App.UI.Wardrobe.legAccessory = function(slave) { return jQuery('#legAccessory').empty().append(el); }; -App.UI.Wardrobe.generateRows = function(array, category, slave, ignoreAccessCheck="false") { //category should be in the form of slave.category, the thing we want to update. +App.UI.Wardrobe.generateRows = function(array, category, slave, ignoreAccessCheck="false") { // category should be in the form of slave.category, the thing we want to update. let row = document.createElement('span'); for (let i = 0; i < array.length; i++) { let link; diff --git a/src/uncategorized/wardrobe.tw b/src/uncategorized/wardrobe.tw index 4fbd62d0268359393c5b45d0b15bd02e52a8c35b..c216f9526989329ee6f3102e3689bd4466b6d704 100644 --- a/src/uncategorized/wardrobe.tw +++ b/src/uncategorized/wardrobe.tw @@ -12,7 +12,11 @@ <p class="scene-intro"> The room containing all the clothes and accessories you have available to dress your slaves in, as well as the supplies and tools your tailor needs to resize them to better fit your slaves. Several mirrors are set up for a slave to try on outfits should they be allowed to dress themselves. The selection includes -<<if ($cheatMode == 1) || (isClothingAccessible.entry("a bunny outfit") && isClothingAccessible.entry("chains") && isClothingAccessible.entry("conservative clothing") && isClothingAccessible.entry("Western clothing") && isClothingAccessible.entry("body oil") && isClothingAccessible.entry("a chattel habit") && isClothingAccessible.entry("a toga") && isClothingAccessible.entry("a huipil") && isClothingAccessible.entry("a kimono") && isClothingAccessible.entry("harem gauze") && isClothingAccessible.entry("a slutty qipao") && isItemAccessible("ancient Egyptian") && isClothingAccessible.entry("a maternity dress") && isClothingAccessible.entry("attractive lingerie for a pregnant woman") && isClothingAccessible.entry("a small empathy belly") && isClothingAccessible.entry("stretch pants and a crop-top") && isClothingAccessible.entry("striped panties") && isClothingAccessible.entry("a schutzstaffel uniform") && isClothingAccessible.entry("a burqa") && isClothingAccessible.entry("a dirndl") && isClothingAccessible.entry("battlearmor") && isClothingAccessible.entry("a police uniform") && isClothingAccessible.entry("a gothic lolita dress") && isClothingAccessible.entry("a cybersuit") && isClothingAccessible.entry("jeans") && isClothingAccessible.entry("boyshorts") && isClothingAccessible.entry("sport shorts and a sports bra") && isClothingAccessible.entry("a monokini") && isClothingAccessible.entry("a nice pony outfit") && isClothingAccessible.entry("a Santa dress") && isClothingAccessible.entry("a bimbo outfit") && isClothingAccessible.entry("a courtesan dress"))>> +<<set _ownItAll = ( + App.Data.misc.niceClothes.every((i) => isClothingAccessible.entry(i.value, "clothing")) && + App.Data.misc.harshClothes.every((i) => isClothingAccessible.entry(i.value, "clothing")) +)>> +<<if _ownItAll>> outfits from all manner of cultures and societies; not a single style eludes you. <<else>> many styles of clothing ranging from exciting to mundane and sexy to practical.