From a344e562639b8d38b8eb2bb1900e8d1cc3b96002 Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Wed, 30 Jan 2019 20:37:36 -0500
Subject: [PATCH] Hide color picker when current option cannot use it

---
 src/uncategorized/wardrobeUse.tw | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/wardrobeUse.tw b/src/uncategorized/wardrobeUse.tw
index a7b9a98f102..8b0a772206b 100644
--- a/src/uncategorized/wardrobeUse.tw
+++ b/src/uncategorized/wardrobeUse.tw
@@ -731,6 +731,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.''
 
 <</if>> /* closes fuckdoll check for color picker */
 
+<<if $activeSlave.fuckdoll != 0 || $activeSlave.clothes == "restrictive latex" || $activeSlave.clothes == "a latex catsuit" || $activeSlave.clothes == "a cybersuit" || $activeSlave.clothes == "a comfortable bodysuit">>
 <br>&nbsp;&nbsp;&nbsp;&nbsp;//Color://
 
 <<if ($seeImages == 1) && ($imageChoice == 1)>>
@@ -761,7 +762,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.''
 <<else>>
 	//Custom outfit color is currently only used for embedded vector art by NoX &amp; deepmurk.//
 <</if>>
-
+<</if>>
 <<if $activeSlave.fuckdoll == 0>> /* begin fuckdoll check */
 
 <br>
@@ -897,7 +898,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.''
 	<<replace "#collar">>$activeSlave.collar<</replace>>
 	<<replace "#collarDescription">><br>//<<collarDescription>>//<</replace>>
 <</link>>
-
+<<if $activeSlave.eyewear == "corrective glasses" || $activeSlave.eyewear ==  "glasses" || $activeSlave.eyewear ==  "blurring glasses" || $activeSlave.collar == "porcelain mask">>
 <br>&nbsp;&nbsp;&nbsp;&nbsp;//Color://
 
 <<if ($seeImages == 1) && ($imageChoice == 1)>>
@@ -918,7 +919,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.''
 	<br>
 	&nbsp;&nbsp;&nbsp;&nbsp;//Note: Only glasses and porcelain masks support a custom color. If both are worn, they will share the same color.//
 <</if>>
-
+<</if>>
 <br>
 
 <<if $activeSlave.amp != 1>>
-- 
GitLab