diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index ebcb2e6fe07d217059f1b4930541811cff9e91c7..18c052f210469be77fc27a9279dbbb455a701cc3 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -359,7 +359,7 @@ App.Data.Policies.Selection = { text: "you will covertly sell information on troubled potential immigrants to your arcology to their old world enemies.", activatedText: "you are covertly selling information on troubled potential immigrants to your arcology.", enable: -1, - get note() { return `Will produce roughly ¤${cashFormat(1000)} weekly, and slow growth of the citizen population`; } + get note() { return `Will produce roughly ${cashFormat(1000)} weekly, and slow growth of the citizen population`; } } ], "policies.immigrationRep": [ @@ -382,7 +382,7 @@ App.Data.Policies.Selection = { title: "Enslavement Kickbacks", text: "you will take kickbacks in return for turning a blind eye to enslavement of poor citizens.", activatedText: "you are taking kickbacks in return for turning a blind eye to enslavement of poor citizens.", - get note() { return `Will produce roughly ¤${cashFormat(1000)} weekly, and reduce the population of citizens`; } + get note() { return `Will produce roughly ${cashFormat(1000)} weekly, and reduce the population of citizens`; } }, { title: "Poor Citizen Relief", @@ -766,19 +766,19 @@ App.Data.Policies.Selection = { { title: "Public Fluid Production Retirement", get text() { - let text = `once reaching mandatory retirement age, slaves will be converted for full-time milk`; + let text = `upon reaching the mandatory retirement age, slaves will be converted for full-time milk`; if (V.seeDicks === 1) { - text += `, vaginal secretion, and semen`; + text += `, semen,`; } - text += `production.`; + text += ` and vaginal secretion production.`; return text; }, get activatedText() { - let text = `once reaching mandatory retirement age, slaves are converted for full-time milk`; + let text = `upon reaching the mandatory retirement age, slaves are converted for full-time milk`; if (V.seeDicks === 1) { - text += `, vaginal secretion, and semen`; + text += `, semen,`; } - text += `production.`; + text += ` and vaginal secretion production.`; return text; }, get requirements() { return (V.arcologies[0].FSPaternalist === "unset"); }, @@ -786,8 +786,8 @@ App.Data.Policies.Selection = { }, { title: "Public Arcade Retirement", - text: "once reaching mandatory retirement age, slaves will be placed in cheap public arcades to be used until useless.", - activatedText: "once reaching mandatory retirement age, slaves are placed in cheap public arcades to be used until useless.", + text: "upon reaching the mandatory retirement age, slaves will be placed in cheap public arcades to be used until useless.", + activatedText: "upon reaching the mandatory retirement age, slaves are placed in cheap public arcades to be used until useless.", get requirements() { return (V.arcologies[0].FSPaternalist === "unset"); }, enable: "arcade" }, diff --git a/src/interaction/policies/policies.js b/src/interaction/policies/policies.js index 56153b9e1c5385a56227ab137f6bc5fd8af84807..080c8f68909abb5ff91c84971e63ca5d73d9a51c 100644 --- a/src/interaction/policies/policies.js +++ b/src/interaction/policies/policies.js @@ -144,10 +144,12 @@ globalThis.policy = function(category) { link = App.UI.DOM.link( "Repeal", () => { - _.set(V, policyVariable, 0); - applyCost(); - if (p.hasOwnProperty("onRepeal")) { - p.onRepeal(); + if (V.rep > 1000) { + _.set(V, policyVariable, 0); + applyCost(); + if (p.hasOwnProperty("onRepeal")) { + p.onRepeal(); + } } policy(category); } @@ -177,10 +179,12 @@ globalThis.policy = function(category) { link = App.UI.DOM.link( "Implement", () => { - _.set(V, policyVariable, enable); - applyCost(); - if (p.hasOwnProperty("onImplementation")) { - p.onImplementation(); + if (V.rep > 1000) { + _.set(V, policyVariable, enable); + applyCost(); + if (p.hasOwnProperty("onImplementation")) { + p.onImplementation(); + } } policy(category); }