Skip to content
Snippets Groups Projects
Commit 881e26d6 authored by Jones's avatar Jones
Browse files

fix

parent 40836cab
Branches
Tags
1 merge request!2854Population Extension
......@@ -7,8 +7,8 @@
Populations depend on the 'demand' for them. People flock to the Free City when there are jobs. Jobs for lower class people depend on prosperity and the need for labor from other classes. They compete with slaves for work.
More elite citizens require their own slaves and will cause the population of slaves to increase as they move in. FS and policies will impact how many slaves they desire and how productive they are. The PC's menials also compete for labor within the arcology. Slaves can now 'expire', speed depends on FS and policies. Default lifespan for menials is an average of ~4 years. */
<<set _oldACitizens = $ACitizens,
$oldASlaves = $ASlaves,
<<set $oldACitizens = $ACitizens,
_oldASlaves = $ASlaves,
_oldLowerClass = $lowerClass, /*debugging stuff, perhaps worth keeping if polished*/
_oldMiddleClass = $middleClass,
_oldUpperClass = $upperClass,
......@@ -817,7 +817,7 @@ _TCD = Math.trunc(($GDP / 15 + _topClass) * $rentEffectT * _topClassP + $TCBase)
<</if>>
<</if>> /*ends _weatherFreeze*/
<<set $ACitizens = $lowerClass + $middleClass + $upperClass + $topClass,
_difACitizens = $ACitizens - _oldACitizens,
_difACitizens = $ACitizens - $oldACitizens,
_difASlaves = $ASlaves - _oldASlaves,
_difLowerClass = $lowerClass - _oldLowerClass,
_difMiddleClass = $middleClass - _oldMiddleClass,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment