From ade534f9d6adaf4321b171501c558640ac2e729f Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 17 Feb 2020 17:23:11 -0500
Subject: [PATCH] strip debug and explicitly address her choice

---
 src/js/itemAvailability.js | 6 ------
 src/js/wardrobeUse.js      | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js
index c2b51f0b235..c00d459196f 100644
--- a/src/js/itemAvailability.js
+++ b/src/js/itemAvailability.js
@@ -214,12 +214,10 @@ window.isClothingAccessible = function(string) {
 		return false; /* couldn't be found */
 	}
 	if (!(item.hasOwnProperty("unlock")) && !(item.hasOwnProperty("fs"))) {
-		console.log(`${string} is free for everyone!`);
 		return true;
 	}
 	if (item.hasOwnProperty("fs")) {
 		if (V.arcologies[0][item.fs] > 0) {
-			console.log(`${string} is in FS!`);
 			return true;
 		}
 	}
@@ -227,10 +225,8 @@ window.isClothingAccessible = function(string) {
 		let keys = Object.keys(item.unlock);
 		for (let key in keys) {
 			if (keys[key] === "continent" && V.continent === item.unlock[keys[key]]) {
-				console.log(`${string} is in continent!`);
 				return true;
 			} else if (V[keys[key]] > 0 ) {
-				console.log(`${string} because ${keys[key]} is true for us!`);
 				return true;
 			}
 		}
@@ -241,8 +237,6 @@ window.isClothingAccessible = function(string) {
 			}
 		}
 	}
-	console.log("this sucks, we couldn't get: ");
-	console.log(item);
 	return false;
 };
 
diff --git a/src/js/wardrobeUse.js b/src/js/wardrobeUse.js
index 9fa59c1f1f5..cc8ed87bd1a 100644
--- a/src/js/wardrobeUse.js
+++ b/src/js/wardrobeUse.js
@@ -95,7 +95,7 @@ App.UI.Wardrobe.clothes = function(slave) {
 					break;
 				}
 			}
-			if (isClothingAccessible(array[i].updateSlave.clothes)) {
+			if (array[i].updateSlave.clothes === `choosing her own clothes` || isClothingAccessible(array[i].updateSlave.clothes)) {
 				// is it just text?
 				if (array[i].disabled) {
 					link = App.UI.DOM.disabledLink(array[i].text, [array[i].disabled]);
-- 
GitLab