Skip to content
Snippets Groups Projects
Commit 8e9d96d4 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'NPCSlavesChanges' into 'pregmod-master'

Npc slaves changes2

See merge request pregmodfan/fc-pregmod!3044
parents 7167fae2 9ce81042
No related branches found
No related tags found
No related merge requests found
......@@ -681,7 +681,7 @@ _SCD = Math.trunc(($upperClass * ($slaveDemandU + _slaveDemandU)) + ($topClass *
<br>@@.red;<<print _NPCSlavesSold>> slaves were sold by your inhabitants. They've got more than enough of them already.
<<elseif _NPCSlavesSold > 0>>
<br>@@.red;One slave was sold by your inhabitants. They've got more than enough of them already.
</if>
<</if>>
<</if>>
/*Selling excess slaves for profit*/
<<elseif $NPCSlaves > _SCD * 1.2>>
......@@ -693,7 +693,7 @@ _SCD = Math.trunc(($upperClass * ($slaveDemandU + _slaveDemandU)) + ($topClass *
<br>@@.red;<<print _NPCSlavesSold>> slaves were sold by your inhabitants. They saw an opportunity for profit.
<<elseif _NPCSlavesSold > 0>>
<br>@@.red;One slave was sold by your inhabitants. They saw an opportunity for profit.
</if>
<</if>>
<</if>>
<</if>>
/*Buying slaves because they are really cheap*/
......@@ -964,7 +964,7 @@ This week, rents from $arcologies[0].name came to @@.yellowgreen;<<print cashFor
<<set _earnings = 0>>
You own
<<if $helots > 0>>
<<if $helots > Math.trunc((_LSCD / ($slaveProductivity + _slaveProductivity) - _SCD)>>
<<if $helots > Math.trunc(_LSCD / ($slaveProductivity + _slaveProductivity) - _SCD)>>
<<set _earnings += Math.trunc((_LSCD / ($slaveProductivity + _slaveProductivity) - _SCD) * 10>>
<br>@@.red;more menial slaves than there was work@@, consider selling some. You own
<<else>>
......
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