Skip to content
Snippets Groups Projects
Commit b90009a8 authored by Anu's avatar Anu
Browse files

Fix weird results from older siblings less than two years above legality

parent e1fd8409
No related branches found
No related tags found
1 merge request!8360Household Liquidator: Fix weird results from older siblings less than two years above legality
...@@ -9,7 +9,10 @@ App.Markets["Household Liquidator"] = function() { ...@@ -9,7 +9,10 @@ App.Markets["Household Liquidator"] = function() {
const _newSlaves = []; const _newSlaves = [];
let _totalCost; let _totalCost;
if (jsRandom(1, 100) > 50) { if (jsRandom(1, 100) > 50) {
slave = GenerateNewSlave(null, {disableDisability: 1}); // Old enough to have a younger sibling who can be a slave.
slave = GenerateNewSlave(null, {
minAge: (V.minimumSlaveAge + 2), disableDisability: 1
});
finishSlave(); finishSlave();
setMissingParents(slave); setMissingParents(slave);
......
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