Skip to content
Snippets Groups Projects
Commit d47f9182 authored by svornost's avatar svornost
Browse files

Correctly apply slave market limit to Household Liquidator

parent d323c8ae
No related branches found
No related tags found
1 merge request!5064Fixes
......@@ -28,8 +28,9 @@ The household liquidator is offering a set of siblings for sale. As usual, you w
<br><br>
<<set $slaveCost = slaveCost($activeSlave)>>
<<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += Math.trunc($slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1))>><</if>>
The price is <<print cashFormat($slaveCost*3)>>.
The price is <<print cashFormat($slaveCost*3)>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>>
<br><br>
<<if $cash >= $slaveCost*3>>
......@@ -116,6 +117,7 @@ The household liquidator is offering something special: identical twins. The mar
<br><br>
<<set $slaveCost = slaveCost($activeSlave)>>
<<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += Math.trunc($slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1))>><</if>>
The price is <<print cashFormat($slaveCost*4)>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>>
<br><br>
......
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