diff --git a/src/uncategorized/salon.tw b/src/uncategorized/salon.tw index 6809d0945f2bf9750b55071087c13a93d33cf4fe..fea02011f300ebb97a780c4cbd6f6c87cc3e9013 100644 --- a/src/uncategorized/salon.tw +++ b/src/uncategorized/salon.tw @@ -2,7 +2,8 @@ <<set $nextButton = "Continue", $nextLink = "Slave Interact">> -<<set $showEncyclopedia = 1>><<set $encyclopedia = "The Auto Salon">><<set _oldHLength = $activeSlave.hLength, _newHLength = 0>> +<<set $showEncyclopedia = 1>><<set $encyclopedia = "The Auto Salon">> +<<set _oldHLength = $activeSlave.hLength, _newHLength = 0>> <h1>The Auto Salon</h1> @@ -433,7 +434,11 @@ Set horn color: <</if>> | Custom length: <<textbox "_newHLength" _oldHLength "Salon">> <<if $showInches >= 1>> - cm (<<= cmToInchString($activeSlave.hLength)>>) + <<if $showInches == 1>> + cm (<<= cmToInchString($activeSlave.hLength)>>) + <<else>> + in + <</if>> [[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = (Number(_newHLength) || $activeSlave.hLength)]] <<else>> cm