From 7d430927b69803b12214746a11f6d8be93f9fcf3 Mon Sep 17 00:00:00 2001 From: Blank <blank@national.shitposting.agency> Date: Wed, 10 Jul 2019 15:03:32 -0700 Subject: [PATCH] sweatshop-Fixes --- src/uncategorized/buySlaves.tw | 4 ++-- src/uncategorized/manufacturing.tw | 3 ++- src/uncategorized/pens.tw | 5 ++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/uncategorized/buySlaves.tw b/src/uncategorized/buySlaves.tw index 6489b748fcb..ca877f6acc3 100644 --- a/src/uncategorized/buySlaves.tw +++ b/src/uncategorized/buySlaves.tw @@ -397,7 +397,7 @@ __Menial Slaves__ <br> <<= MenialPopCap()>> -The parts of your arcology you own can house a total of $PopCap menial slaves. +The parts of your arcology you own can house a total of <<= num($PopCap)>> menial slaves. <<set _menialPrice = menialSlaveCost()>> <<set _bulkMax = $PopCap-$menials-$fuckdolls-$menialBioreactors>> @@ -541,4 +541,4 @@ The market price of menials is <<print cashFormat(_menialPrice)>>. <</if>> [[(all)|Buy Slaves][cashX(($menialBioreactors*(menialSlaveCost(-$menialBioreactors)-100)), "menialBioreactors"),$menialDemandFactor-=$menialBioreactors,$menialBioreactors = 0]] <</if>> -<</if>> +<</if>> \ No newline at end of file diff --git a/src/uncategorized/manufacturing.tw b/src/uncategorized/manufacturing.tw index 46ac8dcb4a3..dfa3f2ff93d 100644 --- a/src/uncategorized/manufacturing.tw +++ b/src/uncategorized/manufacturing.tw @@ -14,6 +14,7 @@ This is a space in the arcology's service areas, <br> <<if $sectors[$AS].type == "Sweatshops">> + <<set $Sweatshops = 0>> <<for _i = 25; _i <= 29; _i++>> <<if $sectors[_i].type == "Sweatshops">> <<set $Sweatshops++>> @@ -78,4 +79,4 @@ This is a space in the arcology's service areas, <br> [[Return this sector to standard manufacturing|Main][cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx"), $sectors[$AS].type = "Manufacturing"]] //Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>// -<</if>> +<</if>> \ No newline at end of file diff --git a/src/uncategorized/pens.tw b/src/uncategorized/pens.tw index 0e8f31c366f..7d804a8ca40 100644 --- a/src/uncategorized/pens.tw +++ b/src/uncategorized/pens.tw @@ -3,6 +3,9 @@ <<set $nextButton = "Back", $nextLink = "Main">> This is a space in the arcology's service areas, designed to house hundreds of slaves for paying owners. You control this part of the arcology. If you own menial slaves, they will be kept here; otherwise, unused space will be rented to other slave brokers. + +<<= MenialPopCap()>> +<br>In total you are able to persoanlly house a total of <<= num($PopCap)>> menial slaves.<br> <<SectorSell>> <br> @@ -40,4 +43,4 @@ This is a space in the arcology's service areas, designed to house hundreds of s <br> [[Convert this sector into a manufacturing district|Main][cashX(forceNeg(Math.trunc(10000*$upgradeMultiplierArcology)), "capEx"), $sectors[$AS].type = "Manufacturing"]] -//Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>// +//Costs <<print cashFormat(Math.trunc(10000*$upgradeMultiplierArcology))>>// \ No newline at end of file -- GitLab