diff --git a/src/npc/acquisition.js b/src/npc/acquisition.js index 8bbba875c022c388d0d53171d2d4da5b105fc43e..5ea8840290aa4728f71a06e7b147220938ebb387 100644 --- a/src/npc/acquisition.js +++ b/src/npc/acquisition.js @@ -863,11 +863,11 @@ App.StartingGirls.acquisition = function() { } slave.origin = "You acquired $him along with the arcology."; slave.career = "a slave"; - let slaveCost = slaveCost(slave); + let slaveCostValue = slaveCost(slave); if (["AztecRevivalist", "ChineseRevivalist", "NeoImperialist", "Eugenics", "SlaveProfessionalism"].includes(V.targetArcology.fs)) { - valueGiven += slaveCost * 4; + valueGiven += slaveCostValue * 4; } else { - valueGiven += slaveCost; + valueGiven += slaveCostValue; } newSlave(slave); } @@ -977,14 +977,14 @@ App.StartingGirls.acquisition = function() { } const slave = App.Utils.getHeroSlave(heroSlaves[j]); heroSlaves.splice(j, 1); - let slaveCost = slaveCost(slave); - if (valueGiven + slaveCost < valueOwed * 2) { + let slaveCostValue = slaveCost(slave); + if (valueGiven + slaveCostValue < valueOwed * 2) { const {him, he, his, himself} = getPronouns(slave); nationalityToAccent(slave); slave.oldDevotion = slave.devotion; slave.oldTrust = slave.trust; slave.health.tired = 0; - valueGiven += slaveCost; + valueGiven += slaveCostValue; newSlave(slave); App.Utils.setLocalPronouns(slave);