From 26c5533d623130169b16d0c1168dbe2bc8d02bfa Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Tue, 26 Mar 2019 02:32:58 -0400 Subject: [PATCH] Added wardrobe toggle --- src/facilities/nursery/childInteract.tw | 4 ++++ src/init/storyInit.tw | 1 + src/uncategorized/BackwardsCompatibility.tw | 3 +++ src/uncategorized/descriptionOptions.tw | 8 ++++++++ src/uncategorized/slaveInteract.tw | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/src/facilities/nursery/childInteract.tw b/src/facilities/nursery/childInteract.tw index cfa379af387..6e59fee11d3 100644 --- a/src/facilities/nursery/childInteract.tw +++ b/src/facilities/nursery/childInteract.tw @@ -289,6 +289,8 @@ | <<link "Exempt $him" "Child Interact">><<set $activeChild.useRulesAssistant = 0>><</link>> <</if>> +<<if $showWardrobe == 1>> + <br><br>__Appearance:__ /* TODO: have only a small list of children's clothing */ <br>Clothes: ''<span id="clothes">$activeChild.clothes</span>.'' @@ -585,6 +587,8 @@ <</if>> <</if>> +<</if>> /* CLOSES WARDROBE CHECK */ + <br><br>__Physical Regimen:__ <span id="drugs"> /* TODO: will children be able to be put on drugs? if so, which drugs? */ diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index d0d4bc17240..78fb80a9dbd 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -266,6 +266,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $showBodyMods = 0>> <<set $showImplantEffects = 1>> <<set $showClothing = 1>> + <<set $showWardrobe = 1>> <<set $showAgeDetail = 1>> <<set $showBoobCCs = 1>> <<set $showHeightCMs = 1>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index c2c8ca1991d..a3d18cc1e77 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -1081,6 +1081,9 @@ <<if ndef $showNumbersMax>> <<set $showNumbersMax = 20>> <</if>> +<<if ndef $showWardrobe>> + <<set $showWardrobe = 1>> +<</if>> <<if ndef $surnameOrder>> <<set $surnameOrder = 0>> <</if>> diff --git a/src/uncategorized/descriptionOptions.tw b/src/uncategorized/descriptionOptions.tw index 3a962e19135..eab1344058c 100644 --- a/src/uncategorized/descriptionOptions.tw +++ b/src/uncategorized/descriptionOptions.tw @@ -38,6 +38,14 @@ <br> +<<if $showWardrobe == 1>> + The Slave Interact wardrobe is @@.cyan;SHOWN.@@ //[[Hide|Description Options][$showWardrobe = 0]]// +<<else>> + The Slave Interact wardrobe is @@.red;HIDDEN.@@ //[[Hide|Description Options][$showWardrobe = 1]]// +<</if>> + +<br> + Detailed slave age information is <<if $showAgeDetail == 1>> @@.cyan;SHOWN.@@ //[[Hide|Description Options][$showAgeDetail = 0]]// diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index cef0d6cf710..75e265ba3d9 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -666,6 +666,8 @@ <</switch>> /* END CAN BE REASSIGNED */ +<<if $showWardrobe == 1>> + <br><br>__Appearance:__ <<if $activeSlave.fuckdoll == 0>> @@ -1125,6 +1127,8 @@ <</if>> /* CLOSES FUCKDOLL CHECK */ +<</if>> /* CLOSES WARDROBE CHECK */ + <br><br>__Physical Regimen:__ <span id="drugs"> <br>Drugs: <strong>$activeSlave.drugs</strong>. -- GitLab