From 54a2bcddc4fa22c59c991d6eaf99bc5d02a1ea4b Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Tue, 4 Jun 2019 20:47:37 -0400 Subject: [PATCH] alternate counter --- src/uncategorized/manufacturing.tw | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/uncategorized/manufacturing.tw b/src/uncategorized/manufacturing.tw index 8b3daefd06e..46ac8dcb4a3 100644 --- a/src/uncategorized/manufacturing.tw +++ b/src/uncategorized/manufacturing.tw @@ -14,6 +14,11 @@ This is a space in the arcology's service areas, <br> <<if $sectors[$AS].type == "Sweatshops">> + <<for _i = 25; _i <= 29; _i++>> + <<if $sectors[_i].type == "Sweatshops">> + <<set $Sweatshops++>> + <</if>> + <</for>> <<if $menials > 0>> <br><br> You own <<print num($menials)>> menial slaves. All your sweatshops together can use only <<print $Sweatshops*500>>, @@ -65,7 +70,7 @@ This is a space in the arcology's service areas, <<if $sectors[$AS].type != "Sweatshops">> <br> - [[Convert these facilities to use the labor of menial slaves|Main][cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx"), $sectors[$AS].type = "Sweatshops", $Sweatshops++]] + [[Convert these facilities to use the labor of menial slaves|Main][cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx"), $sectors[$AS].type = "Sweatshops"]] //Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>// <</if>> -- GitLab