Skip to content
Snippets Groups Projects
Commit 19f7887a authored by Jones's avatar Jones
Browse files

Fixing downsizing bug

parent af2598bd
No related branches found
No related tags found
No related merge requests found
......@@ -1008,7 +1008,7 @@ __Division Management__
<<if $corpDivArcadeDev > 30>>
<<if $corpDivArcadeSlaves >= $corpDivArcadeDev - 10>>
<<set _corpDivArcadeSlavesSell = $corpDivArcadeSlaves - ($corpDivArcadeDev - 10)>>
| [[Downsize x10|Manage Corporation][$corpDivArcadeDev -= 10, $corpCash += 40000 + 10 * _corpDivArcadeSlavesSell * menialSlaveCost(), $corpDivArcadeSlaves -= $_corpDivArcadeSlavesSell, $corpAssetsDev -= 40000]]
| [[Downsize x10|Manage Corporation][$corpDivArcadeDev -= 10, $corpCash += 40000 + 10 * _corpDivArcadeSlavesSell * menialSlaveCost(), $corpDivArcadeSlaves -= _corpDivArcadeSlavesSell, $corpAssetsDev -= 40000]]
<<else>>
| [[Downsize x10|Manage Corporation][$corpDivArcadeDev -= 10, $corpCash += 40000, $corpAssetsDev -= 40000]]
<</if>>
......@@ -1091,7 +1091,7 @@ __Division Management__
<<if $corpDivMenialDev > 30>>
<<if $corpDivMenialSlaves >= $corpDivMenialDev - 10>>
<<set _corpDivMenialSlavesSell = $corpDivMenialSlaves - ($corpDivMenialDev - 10)>>
| [[Downsize x10|Manage Corporation][$corpDivMenialDev -= 10, $corpCash += 52000 + 15 * _corpDivMenialSlavesSell * menialSlaveCost(), $corpDivMenialSlaves -= $_corpDivMenialSlavesSell, $corpAssetsDev -= 52000]]
| [[Downsize x10|Manage Corporation][$corpDivMenialDev -= 10, $corpCash += 52000 + 15 * _corpDivMenialSlavesSell * menialSlaveCost(), $corpDivMenialSlaves -= _corpDivMenialSlavesSell, $corpAssetsDev -= 52000]]
<<else>>
| [[Downsize x10|Manage Corporation][$corpDivMenialDev -= 10, $corpCash += 52000, $corpAssetsDev -= 52000]]
<</if>>
......@@ -1175,7 +1175,7 @@ __Division Management__
<<if $corpDivDairyDev > 20>>
<<if $corpDivDairySlaves >= $corpDivDairyDev - 10>>
<<set _corpDivDairySlavesSell = $corpDivDairySlaves - ($corpDivDairyDev - 10)>>
| [[Downsize x10|Manage Corporation][$corpDivDairyDev -= 10, $corpCash += 120000 + 23 * _corpDivDairySlavesSell * menialSlaveCost(), $corpDivDairySlaves -= $_corpDivDairySlavesSell, $corpAssetsDev -= 120000]]
| [[Downsize x10|Manage Corporation][$corpDivDairyDev -= 10, $corpCash += 120000 + 23 * _corpDivDairySlavesSell * menialSlaveCost(), $corpDivDairySlaves -= _corpDivDairySlavesSell, $corpAssetsDev -= 120000]]
<<else>>
| [[Downsize x10|Manage Corporation][$corpDivDairyDev -= 10, $corpCash += 120000, $corpAssetsDev -= 120000]]
<</if>>
......@@ -1289,7 +1289,7 @@ __Division Management__
<<if $corpDivWhoreDev > 20>>
<<if $corpDivWhoreSlaves >= $corpDivWhoreDev - 10>>
<<set _corpDivWhoreSlavesSell = $corpDivWhoreSlaves - ($corpDivWhoreDev - 10)>>
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000 + 26 * _corpDivWhoreSlavesSell * menialSlaveCost(), $corpDivWhoreSlaves -= $_corpDivWhoreSlavesSell, $corpAssetsDev -= 160000]]
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000 + 26 * _corpDivWhoreSlavesSell * menialSlaveCost(), $corpDivWhoreSlaves -= _corpDivWhoreSlavesSell, $corpAssetsDev -= 160000]]
<<else>>
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000, $corpAssetsDev -= 160000]]
<</if>>
......@@ -1305,7 +1305,7 @@ __Division Management__
<<if $corpDivWhoreDev > 20>>
<<if $corpDivWhoreSlaves >= $corpDivWhoreDev - 10>>
<<set _corpDivWhoreSlavesSell = $corpDivWhoreSlaves - ($corpDivWhoreDev - 10)>>
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000 + 34 * _corpDivWhoreSlavesSell * menialSlaveCost(), $corpDivWhoreSlaves -= $_corpDivWhoreSlavesSell, $corpAssetsDev -= 160000]]
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000 + 34 * _corpDivWhoreSlavesSell * menialSlaveCost(), $corpDivWhoreSlaves -= _corpDivWhoreSlavesSell, $corpAssetsDev -= 160000]]
<<else>>
| [[Downsize x10|Manage Corporation][$corpDivWhoreDev -= 10, $corpCash += 160000, $corpAssetsDev -= 160000]]
<</if>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment