diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index d1dba683d705bfc13e71d16db663ca66361245b1..219b82b07b99c656901288489ac9aed075a56463 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -5,7 +5,7 @@ 5/23/2018 3 - -slave slave bodyswapping added + -slave slave bodyswapping added (WIP) -fixes -many text corrections -couple new nationalities diff --git a/devNotes/twine JS b/devNotes/twine JS index 8c3151814b6b7cff7491a7284defe95b9144871e..71ba9c32808f806a663d43b6b56a0949275bee7e 100644 --- a/devNotes/twine JS +++ b/devNotes/twine JS @@ -2003,7 +2003,7 @@ window.getCost = function(array) { costs += 1000; } - if(State.variables.PC.actualAge >= State.variables.PC.IsInPrimePC && State.variables.PC.actualAge < State.variables.PC.IsPastPrimePC) { + if(State.variables.PC.actualAge >= State.variables.IsInPrimePC && State.variables.PC.actualAge < State.variables.IsPastPrimePC) { if(State.variables.personalAttention === PersonalAttention.TRADE) { costs += 10000*State.variables.AgeEffectOnTrainerPricingPC; } else if(State.variables.personalAttention === PersonalAttention.WAR) { diff --git a/src/js/economyJS.tw b/src/js/economyJS.tw index f3bf36af3d175f87565204bcc84cc27189bab660..7dea05b743fe1f53567941ba569c91ae61c98aae 100644 --- a/src/js/economyJS.tw +++ b/src/js/economyJS.tw @@ -261,7 +261,7 @@ window.getCost = function(array) { costs += 1000; } - if(State.variables.PC.actualAge >= State.variables.PC.IsInPrimePC && State.variables.PC.actualAge < State.variables.PC.IsPastPrimePC) { + if(State.variables.PC.actualAge >= State.variables.IsInPrimePC && State.variables.PC.actualAge < State.variables.IsPastPrimePC) { if(State.variables.personalAttention === PersonalAttention.TRADE) { costs += 10000*State.variables.AgeEffectOnTrainerPricingPC; } else if(State.variables.personalAttention === PersonalAttention.WAR) {