From 2ed4b1aff7c5bd5367bb052513b7b15b67ffaf39 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 5 Dec 2020 00:16:58 -0500 Subject: [PATCH] fix undermining for schools --- js/003-data/policiesData.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index 1ca650fcb6f..752e67af581 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -568,6 +568,7 @@ App.Data.Policies.Selection = { title: "Undermine The Slave School", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.TSS.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -584,6 +585,7 @@ App.Data.Policies.Selection = { title: "Undermine The Utopian Orphanage", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.TUO.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -600,6 +602,7 @@ App.Data.Policies.Selection = { title: "Undermine the Growth Research Institute", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.GRI.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -609,6 +612,7 @@ App.Data.Policies.Selection = { title: "St. Claver Preparatory subsidy", text: "you will subsidize this school's branch campus in your arcology.", activatedText: "you are subsidizing this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.SCP.schoolProsperity < 10 && V.SCP.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, }, @@ -616,6 +620,7 @@ App.Data.Policies.Selection = { title: "Undermine St. Claver Preparatory", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.SCP.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -632,6 +637,7 @@ App.Data.Policies.Selection = { title: "Undermine L'École des Enculées", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.LDE.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -648,6 +654,7 @@ App.Data.Policies.Selection = { title: "Undermine the Gymnasium-Academy", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.TGA.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -664,6 +671,7 @@ App.Data.Policies.Selection = { title: "Undermine The Cattle Ranch", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.TCR.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -680,6 +688,7 @@ App.Data.Policies.Selection = { title: "Undermine the Futanari Sisters", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.TFS.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -696,6 +705,7 @@ App.Data.Policies.Selection = { title: "Undermine the Hippolyta Academy", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.HA.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } @@ -712,6 +722,7 @@ App.Data.Policies.Selection = { title: "Undermine Nueva Universidad de Libertad", text: "you will covertly hurt this school's branch campus in your arcology.", activatedText: "you are covertly hurting this school's branch campus in your arcology.", + enable: -1, get requirements() { return (V.NUL.schoolPresent === 1); }, get note() { return `Will cost ${cashFormat(1000)} weekly to maintain; does not cost reputation to start`; }, } -- GitLab