From 6ba7e75eea8b64e6258bb5cb217fc5ebb6a32b85 Mon Sep 17 00:00:00 2001 From: j <okp57855@psoxs.com> Date: Thu, 28 Dec 2017 15:43:00 +1300 Subject: [PATCH] Minor additional checks. --- src/uncategorized/manufacturing.tw | 2 +- src/uncategorized/pens.tw | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uncategorized/manufacturing.tw b/src/uncategorized/manufacturing.tw index b427db51bbc..30812a44b56 100644 --- a/src/uncategorized/manufacturing.tw +++ b/src/uncategorized/manufacturing.tw @@ -16,7 +16,7 @@ This is a space in the arcology's service areas, <<if $sectors[$AS].type == "Sweatshops">> <<if $helots > 0>> <br><br> - You own $helots menial slaves. All your sweatshops together can use only <<print $Sweatshops*500>>, + You own <<print commaNum($helots)>> menial slaves. All your sweatshops together can use only <<print $Sweatshops*500>>, <<if $helots > $Sweatshops*500>> the remainder is assigned to various odd-jobs in the arcology. <<elseif $helots == $Sweatshops*500>> diff --git a/src/uncategorized/pens.tw b/src/uncategorized/pens.tw index 70e0fa4fc6c..46b09be4999 100644 --- a/src/uncategorized/pens.tw +++ b/src/uncategorized/pens.tw @@ -10,14 +10,14 @@ This is a space in the arcology's service areas, designed to house hundreds of s <br><br> You own <<if $helots > 0>> - <<if $helots > 1>>$helots menial slaves<<if ($menialBioreactors > 0) && ($fuckdolls == 0)>> and<<else>>,<</if>><<else>>one menial slave<<if ($menialBioreactors > 0) && ($fuckdolls == 0)>> and<<else>>,<</if>><</if>> + <<if $helots > 1>><<print commaNum($helots)>> menial slaves<<if ($menialBioreactors > 0) && ($fuckdolls == 0)>> and<<else>>,<</if>><<else>>one menial slave<<if ($menialBioreactors > 0) && ($fuckdolls == 0)>> and<<else>>,<</if>><</if>> <</if>> <<if $menialBioreactors > 0>> - <<if $menialBioreactors > 1>>$menialBioreactors standard bioreactors,<<else>>one standard bioreactor,<</if>> + <<if $menialBioreactors > 1>><<print commaNum($menialBioreactors)>> standard bioreactors,<<else>>one standard bioreactor,<</if>> <<if $fuckdolls > 0>>and<</if>> <</if>> <<if $fuckdolls > 0>> - <<if $fuckdolls > 1>>$fuckdolls standard fuckdolls,<<else>>one fuckdoll,<</if>> + <<if $fuckdolls > 1>><<print commaNum($fuckdolls)>> standard fuckdolls,<<else>>one fuckdoll,<</if>> <</if>> <<if $helots+$menialBioreactors+$fuckdolls > 0>>partially<</if>> housed in this sector. -- GitLab