Skip to content
Snippets Groups Projects
Commit 6620bc53 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-dev' into 'pregmod-master'

truncs

See merge request pregmodfan/fc-pregmod!5495
parents 82a29779 0b4e3db5
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ _percLowerClass = Math.trunc(($lowerClass / ($ACitizens + $ASlaves)) * 1000) / 1 ...@@ -282,7 +282,7 @@ _percLowerClass = Math.trunc(($lowerClass / ($ACitizens + $ASlaves)) * 1000) / 1
_percMiddleClass = Math.trunc(($middleClass / ($ACitizens + $ASlaves)) * 1000) / 10, _percMiddleClass = Math.trunc(($middleClass / ($ACitizens + $ASlaves)) * 1000) / 10,
_percUpperClass = Math.trunc(($upperClass / ($ACitizens + $ASlaves)) * 1000) / 10, _percUpperClass = Math.trunc(($upperClass / ($ACitizens + $ASlaves)) * 1000) / 10,
_percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<br>Lower Class Citizens | $lowerClass | <<print _percLowerClass>>% | Rent @@.yellowgreen;<<print cashFormat($rent.lowerClass * (1 + (5 - $baseDifficulty) / 20) / 25)>>@@ <br>Lower Class Citizens | $lowerClass | <<print _percLowerClass>>% | Rent @@.yellowgreen;<<print cashFormat(Math.trunc($rent.lowerClass * (1 + (5 - $baseDifficulty) / 20) / 25))>>@@
<<if $rent.lowerClass > $rentDefaults.lowerClass * 1.5>> <<if $rent.lowerClass > $rentDefaults.lowerClass * 1.5>>
//Very High// | [[Decrease|Manage Arcology][$rent.lowerClass = $rentDefaults.lowerClass * 1.5, $rentEffectL = 0.94, $whoreBudget.lowerClass *= 9 / 8]] //Very High// | [[Decrease|Manage Arcology][$rent.lowerClass = $rentDefaults.lowerClass * 1.5, $rentEffectL = 0.94, $whoreBudget.lowerClass *= 9 / 8]]
<<elseif $rent.lowerClass > $rentDefaults.lowerClass>> <<elseif $rent.lowerClass > $rentDefaults.lowerClass>>
...@@ -294,7 +294,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> ...@@ -294,7 +294,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<<else>> <<else>>
//Free// | [[Increase|Manage Arcology][$rent.lowerClass = $rentDefaults.lowerClass * 0.5, $rentEffectL = 1.04, $whoreBudget.lowerClass *= 11 / 12]] //Free// | [[Increase|Manage Arcology][$rent.lowerClass = $rentDefaults.lowerClass * 0.5, $rentEffectL = 1.04, $whoreBudget.lowerClass *= 11 / 12]]
<</if>> <</if>>
<br>Middle Class Citizens | $middleClass | <<print _percMiddleClass>>% | Rent @@.yellowgreen;<<print cashFormat($rent.middleClass * (1 + (5 - $baseDifficulty) / 20) / 25)>>@@ <br>Middle Class Citizens | $middleClass | <<print _percMiddleClass>>% | Rent @@.yellowgreen;<<print cashFormat(Math.trunc($rent.middleClass * (1 + (5 - $baseDifficulty) / 20) / 25))>>@@
<<if $rent.middleClass > $rentDefaults.middleClass * 1.5>> <<if $rent.middleClass > $rentDefaults.middleClass * 1.5>>
//Very High// | [[Decrease|Manage Arcology][$rent.middleClass = $rentDefaults.middleClass * 1.5, $rentEffectM = 0.94, $whoreBudget.middleClass *= 9 / 8]] //Very High// | [[Decrease|Manage Arcology][$rent.middleClass = $rentDefaults.middleClass * 1.5, $rentEffectM = 0.94, $whoreBudget.middleClass *= 9 / 8]]
<<elseif $rent.middleClass > $rentDefaults.middleClass>> <<elseif $rent.middleClass > $rentDefaults.middleClass>>
...@@ -306,7 +306,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> ...@@ -306,7 +306,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<<else>> <<else>>
//Free// | [[Increase|Manage Arcology][$rent.middleClass = $rentDefaults.middleClass * 0.5, $rentEffectM = 1.04, $whoreBudget.middleClass *= 11 / 12]] //Free// | [[Increase|Manage Arcology][$rent.middleClass = $rentDefaults.middleClass * 0.5, $rentEffectM = 1.04, $whoreBudget.middleClass *= 11 / 12]]
<</if>> <</if>>
<br>Upper Class Citizens | $upperClass | <<print _percUpperClass>>% | Rent @@.yellowgreen;<<print cashFormat($rent.upperClass * (1 + (5 - $baseDifficulty) / 20) / 25)>>@@ <br>Upper Class Citizens | $upperClass | <<print _percUpperClass>>% | Rent @@.yellowgreen;<<print cashFormat(Math.trunc($rent.upperClass * (1 + (5 - $baseDifficulty) / 20) / 25))>>@@
<<if $rent.upperClass > $rentDefaults.upperClass * 1.5>> <<if $rent.upperClass > $rentDefaults.upperClass * 1.5>>
//Very High// | [[Decrease|Manage Arcology][$rent.upperClass = $rentDefaults.upperClass * 1.5, $rentEffectU = 0.94, $whoreBudget.upperClass *= 9 / 8]] //Very High// | [[Decrease|Manage Arcology][$rent.upperClass = $rentDefaults.upperClass * 1.5, $rentEffectU = 0.94, $whoreBudget.upperClass *= 9 / 8]]
<<elseif $rent.upperClass > $rentDefaults.upperClass>> <<elseif $rent.upperClass > $rentDefaults.upperClass>>
...@@ -318,7 +318,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>> ...@@ -318,7 +318,7 @@ _percTopClass = Math.trunc(($topClass / ($ACitizens + $ASlaves)) * 1000) / 10>>
<<else>> <<else>>
//Free// | [[Increase|Manage Arcology][$rent.upperClass = $rentDefaults.upperClass * 0.5, $rentEffectU = 1.04, $whoreBudget.upperClass *= 11 / 12]] //Free// | [[Increase|Manage Arcology][$rent.upperClass = $rentDefaults.upperClass * 0.5, $rentEffectU = 1.04, $whoreBudget.upperClass *= 11 / 12]]
<</if>> <</if>>
<br>Millionaires | $topClass | <<print _percTopClass>>% | Rent @@.yellowgreen;<<print cashFormat($rent.topClass * (1 + (5 - $baseDifficulty) / 20) / 25)>>@@ <br>Millionaires | $topClass | <<print _percTopClass>>% | Rent @@.yellowgreen;<<print cashFormat(Math.trunc($rent.topClass * (1 + (5 - $baseDifficulty) / 20) / 25))>>@@
<<if $rent.topClass > $rentDefaults.topClass * 1.5>> <<if $rent.topClass > $rentDefaults.topClass * 1.5>>
//Very High// | [[Decrease|Manage Arcology][$rent.topClass = $rentDefaults.topClass * 1.5, $rentEffectT = 0.94, $whoreBudget.topClass *= 9 / 8]] //Very High// | [[Decrease|Manage Arcology][$rent.topClass = $rentDefaults.topClass * 1.5, $rentEffectT = 0.94, $whoreBudget.topClass *= 9 / 8]]
<<elseif $rent.topClass > $rentDefaults.topClass>> <<elseif $rent.topClass > $rentDefaults.topClass>>
......
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