Skip to content
Snippets Groups Projects
Commit f914cfb8 authored by klorpa's avatar klorpa
Browse files

Arcmgmt Fix

parent 8edee459
No related branches found
No related tags found
No related merge requests found
...@@ -493,9 +493,9 @@ _topClassP = 1>> ...@@ -493,9 +493,9 @@ _topClassP = 1>>
_middleClass += $nicaeaPower * 20, _middleClass += $nicaeaPower * 20,
_middleClassP *= 1 + $nicaeaPower * 0.005>> _middleClassP *= 1 + $nicaeaPower * 0.005>>
<<else>> <<else>>
<<set _expirationFS *= 1 + $nicaeaPower 0.25, <<set _expirationFS *= 1 + $nicaeaPower * 0.25,
_lowerClass += $nicaeaPower * 100, _lowerClass += $nicaeaPower * 100,
_lowerClassP *= 1 + $nicaeaPower *0.01, _lowerClassP *= 1 + $nicaeaPower * 0.01,
_middleClass += $nicaeaPower * 20, _middleClass += $nicaeaPower * 20,
_middleClassP *= 1 + $nicaeaPower * 0.005, _middleClassP *= 1 + $nicaeaPower * 0.005,
_upperClass += $nicaeaPower * -6.75, _upperClass += $nicaeaPower * -6.75,
...@@ -845,9 +845,14 @@ _SCD = Math.trunc(($upperClass * ($slaveDemandU + _slaveDemandU)) + ($topClass * ...@@ -845,9 +845,14 @@ _SCD = Math.trunc(($upperClass * ($slaveDemandU + _slaveDemandU)) + ($topClass *
/*Top Class Citizens*/ /*Top Class Citizens*/
/*Setting GDP depending on population*/ /*Setting GDP depending on population*/
<<set $GDP = Math.trunc((($NPCSlaves + $helots) * 0.35 * $slaveProductivity) + ($lowerClass * 0.35) + ($middleClass * 0.75) + ($upperClass * 2) + ($topClass * 10)) / 10, <<set $GDP = Math.trunc((($NPCSlaves + $helots) * 0.35 * $slaveProductivity) + ($lowerClass * 0.35) + ($middleClass * 0.75) + ($upperClass * 2) + ($topClass * 10)) / 10>>
/*Top Class Interest in living in your arcology*/ /*Top Class Interest in living in your arcology*/
_TCD = Math.trunc(($GDP / 15 + _topClass) * $rentEffectT * _topClassP + $TCBase)>> <<if $eliteFailTimer > 0>> /*when you fail the eugenics elite and they leave this triggers*/
<<set _TCD = Math.trunc(($GDP / 15 + _topClass) * $rentEffectT * _topClassP + $TCBase - ($eliteFail / 15 * $eliteFailTimer)),
$eliteFailTimer -= 1>>
<<else>>
<<set _TCD = Math.trunc(($GDP / 15 + _topClass) * $rentEffectT * _topClassP + $TCBase)>>
<</if>>
/*Top Class Citizens immigrating*/ /*Top Class Citizens immigrating*/
<<if $topClass < _TCD>> <<if $topClass < _TCD>>
<<set _TCImmigration = Math.trunc((_TCD - $topClass) * (0.3 * _terrain)) + 1, <<set _TCImmigration = Math.trunc((_TCD - $topClass) * (0.3 * _terrain)) + 1,
...@@ -890,8 +895,8 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> ...@@ -890,8 +895,8 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<br>Lower Class Citizens | <<print $lowerClass>> | <<print _percLowerClass>>% <br>Lower Class Citizens | <<print $lowerClass>> | <<print _percLowerClass>>%
<br>Middle Class Citizens | <<print $middleClass>> | <<print _percMiddleClass>>% <br>Middle Class Citizens | <<print $middleClass>> | <<print _percMiddleClass>>%
<br>Upper Class Citizens | <<print $upperClass>> | <<print _percUpperClass>>% <br>Upper Class Citizens | <<print $upperClass>> | <<print _percUpperClass>>%
<br>Millionaires | <<print $topClass>> | <<print _percTopClass>>% <br>Millionaires | <<print $topClass>> | <<print _percTopClass>>%
<br>Slaves | <<print $ASlaves>> | <<print _percASlaves>>% <br>Slaves | <<print $ASlaves>> | <<print _percASlaves>>%
<br> <br>
<br><<if $arcologies[0].FSSupremacistLawME == 1>>The citizenry is entirely $arcologies[0].FSSupremacistRace.<</if>> <br><<if $arcologies[0].FSSupremacistLawME == 1>>The citizenry is entirely $arcologies[0].FSSupremacistRace.<</if>>
<<if $arcologies[0].FSRomanRevivalistLaw == 1>>The citizens take pride in their martial duties, preferring to wear utilitarian clothing even when off duty.<</if>> <<if $arcologies[0].FSRomanRevivalistLaw == 1>>The citizens take pride in their martial duties, preferring to wear utilitarian clothing even when off duty.<</if>>
...@@ -957,7 +962,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> ...@@ -957,7 +962,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<<if $alternativeRents == 1>> /*A silly policy*/ <<if $alternativeRents == 1>> /*A silly policy*/
Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this. Your citizens are allowed to pay their rents in slaves rather than cash and a few financially challenged individuals make use of this.
<<set _rentMultiplier *= 0.95>> <<set _rentMultiplier *= 0.95>>
<<set _movement = random(0,3), $helots += _movement, $ASlaves -= _movement>> <<set _movement = random(0,3), $helots += _movement, $NPCSlaves -= _movement>>
<</if>> <</if>>
<<if $discountMercenaries == 1>> <<if $discountMercenaries == 1>>
Mercenaries willing to come to your arcology are given a discount on rent. Mercenaries willing to come to your arcology are given a discount on rent.
......
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