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

Make the shared code able to handle an arbitrary number of slaves from a...

Make the shared code able to handle an arbitrary number of slaves from a single household, for possible future use.
parent dd184629
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ The price is <<print cashFormatColor(_totalCost)>>. <<if $slavesSeen > $slaveMar ...@@ -108,7 +108,7 @@ The price is <<print cashFormatColor(_totalCost)>>. <<if $slavesSeen > $slaveMar
<br><br> <br><br>
<<if $cash >= _totalCost>> <<if $cash >= _totalCost>>
[[Buy their slave contract|Bulk Slave Intro][cashX(forceNeg(_totalCost/2), "slaveTransfer", $activeSlave), cashX(forceNeg(_totalCost/2), "slaveTransfer", _relativeSlave)]] [[Buy their slave contract|Bulk Slave Intro][$newSlaves.forEach((s) => cashX(forceNeg(_totalCost/$newSlaves.length), "slaveTransfer", s))]]
<<else>> <<else>>
//You lack the necessary funds to buy these slaves.// //You lack the necessary funds to buy these slaves.//
<</if>> <</if>>
......
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