diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 56ca8f5d89a9a7b4a9ff722bbb31314f9ec8dfbf..709d26ab8b5251b6033c1130723e3ab9a0a31fe1 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -2046,7 +2046,7 @@ window.getCost = function(array) { var foodCost = State.variables.foodCost; var drugsCost = State.variables.drugsCost; var facilityCost = State.variables.facilityCost; - var economy = State.variables.economy; + var localEcon = State.variables.localEcon; var brothel = State.variables.brothel; var arcade = State.variables.arcade; var club = State.variables.club; @@ -2155,7 +2155,7 @@ window.getCost = function(array) { } //general arcology costs - costs += (State.variables.girls * (250 + (50000 / economy))); + costs += (State.variables.girls * (250 + (50000 / localEcon))); if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown == 1) { costs -= 500; diff --git a/src/js/economyJS.tw b/src/js/economyJS.tw index 99cc80c6fcc8b844f06f86258d2e84a6b7d139b9..6338f588aa4f47e28683d0d5023717daf167cfbe 100644 --- a/src/js/economyJS.tw +++ b/src/js/economyJS.tw @@ -15,7 +15,7 @@ window.getCost = function(array) { var foodCost = State.variables.foodCost; var drugsCost = State.variables.drugsCost; var facilityCost = State.variables.facilityCost; - var economy = State.variables.economy; + var localEcon = State.variables.localEcon; var brothel = State.variables.brothel; var arcade = State.variables.arcade; var club = State.variables.club; @@ -124,7 +124,7 @@ window.getCost = function(array) { } //general arcology costs - costs += (State.variables.girls * (250 + (50000 / economy))); + costs += (State.variables.girls * (250 + (50000 / localEcon))); if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown == 1) { costs -= 500;