diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index ffa62aeff21076fe5d0fe59669b22581028a779c..80645c08d60251159a9cce4db5ddabb5e25887c5 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -693,6 +693,7 @@ App.Data.Policies.Selection = { V.customRetirementAge, v => { V.customRetirementAge = v; + V.retirementAge = v; policy("RetirementPolicies"); }, true @@ -703,8 +704,8 @@ App.Data.Policies.Selection = { return el; }, get activatedText() { return `you have set your arcology's standard retirement age for sex slaves at ${V.retirementAge}.`; }, - onRepeal: function() { V.retirementAge = 45; } - + onRepeal: function() { V.retirementAge = 45; }, + note: "Set age before implementing" } ], "policies.retirement.physicalAgePolicy": [ @@ -720,6 +721,7 @@ App.Data.Policies.Selection = { V.customRetirementAge, v => { V.customRetirementAge = v; + V.retirementAge = v; policy("RetirementPolicies"); }, true @@ -730,7 +732,8 @@ App.Data.Policies.Selection = { return el; }, get activatedText() { return `you have set your arcology's standard retirement age for sex slaves at ${V.retirementAge}.`; }, - onRepeal: function() { V.retirementAge = 45; } + onRepeal: function() { V.retirementAge = 45; }, + note: "Set age before implementing" } ], "policies.retirement.fate": [ diff --git a/src/interaction/policies/policies.tw b/src/interaction/policies/policies.tw index 77b51ac3a3cadeee0acbfe9e99cfbfdf00731a37..a71510c29a01fc3a9b02b38d31605c2d770e79a1 100644 --- a/src/interaction/policies/policies.tw +++ b/src/interaction/policies/policies.tw @@ -27,8 +27,6 @@ <<else>> <<set $customRetirementAge = Math.clamp($customRetirementAge, 20, 120)>> <</if>> -<<if $policies.retirement.customAgePolicy == 1>> <<set $retirementAge = $customRetirementAge>> <</if>> -<<if $policies.retirement.physicalAgePolicy == 1>> <<set $retirementAge = $customRetirementAge>> <</if>> <<if $policies.retirement.sex > 0>> <<set $policies.retirement.sex = Math.clamp($policies.retirement.sex, 1, 10000000)>>