diff --git a/src/Mods/SecExp/buildings/securityHQ.tw b/src/Mods/SecExp/buildings/securityHQ.tw index 7a9bc63d3bbadc068ef3199833bb686b19a88655..9764d9da4bbf597786e702d4108f4124891dbfbe 100644 --- a/src/Mods/SecExp/buildings/securityHQ.tw +++ b/src/Mods/SecExp/buildings/securityHQ.tw @@ -39,7 +39,7 @@ The security headquarters stand in front of you. Innumerable screens flood with <</if>> <</if>> -<<set _optionsList = [1, 5, 10, 100, 500, 100]>> +<<set _optionsList = [1, 5, 10, 100, 500, 1000]>> <<if $menials > 0>> <br>Transfer in: <<for _i = 0; _i < _optionsList.length; _i++>> @@ -58,11 +58,12 @@ The security headquarters stand in front of you. Innumerable screens flood with <</if>> <</capture>> <</for>> - - <<if $SecExp.buildings.secHub.menials > 0>> - <br>Transfer out - <<for _i = 0; _i < _optionsList.length; _i++>> - <<capture _optionsList[_i]>> +<</if>> +<<if $SecExp.buildings.secHub.menials > 0>> + <br>Transfer out + <<for _i = 0; _i < _optionsList.length; _i++>> + <<capture _optionsList[_i]>> + <<if $SecExp.buildings.secHub.menials >= _optionsList[_i]>> <<if _optionsList[_i] > 1>> | <</if>> <<link _optionsList[_i]>> <<set $menials += _optionsList[_i]>> @@ -73,9 +74,9 @@ The security headquarters stand in front of you. Innumerable screens flood with <<goto "securityHQ">> <</if>> <</link>> - <</capture>> - <</for>> - <</if>> + <</if>> + <</capture>> + <</for>> <</if>> <<if $SecExp.buildings.secHub.menials != App.SecExp.Check.reqMenials()>>