diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index 9be3fb38e0ddf2160fa66fe0d7496242097691c3..9456f23c511ac71ef8bcf1fcd2a0452caa894458 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -1174,7 +1174,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "the slave markets will be required to treat incoming slaves reasonably well.", activatedText: "the slave markets are required to treat incoming slaves reasonably well.", - get requirements() { return (V.arcologies[0].FSDegradationistSMR === 0); }, + get requirements() { return (V.arcologies[0].FSDegradationistSMR === 0 && V.arcologies[0].FSDegradationist >= 40); }, note: `Will reduce the arcology's prosperity and help advance Paternalism` } ], @@ -1196,7 +1196,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "slave markets will be required to punish new slaves severely simply to introduce them to pain.", activatedText: "slave markets are required to punish new slaves severely simply to introduce them to pain.", - get requirements() { return (V.arcologies[0].FSPaternalistSMR === 0); }, + get requirements() { return (V.arcologies[0].FSPaternalistSMR === 0 && V.arcologies[0].FSPaternalist >= 40); }, note: `Will help advance Degradationism` } ], @@ -1218,7 +1218,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will need to fail a simple intelligence test.", activatedText: "in order to be sold in the arcology, slaves must fail a simple intelligence test.", - get requirements() { return (V.arcologies[0].FSSlaveProfessionalismSMR === 0); }, + get requirements() { return (V.arcologies[0].FSSlaveProfessionalismSMR === 0 && V.arcologies[0].FSSlaveProfessionalism >= 40); }, onImplementation: function() { V.policies.SMR.intelligence.basicSMR = 0; V.policies.SMR.intelligence.qualitySMR = 0; @@ -1258,7 +1258,7 @@ App.Data.Policies.Selection = { title: "Head Start SMR", titleClass: "lime", text: "in order to be sold in the arcology, slaves must pass a rigorous course designed to bring their skills and poise up to standard.", - get requirements() { return (V.arcologies[0].FSIntellectualDependencySMR === 0); }, + get requirements() { return (V.arcologies[0].FSIntellectualDependencySMR === 0 && V.arcologies[0].FSIntellectualDependency >= 40); }, note: `Will help advance Slave Professionalism` } ], @@ -1285,7 +1285,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in your arcology, slaves will be stripped of implants and body modifications.", activatedText: "in order to be sold in your arcology, slaves must be stripped of implants and body modifications.", - note: `Will help advance Body Purism` + note: `Will help advance Body Purism`, + get requirements() { return (V.arcologies[0].FSBodyPurist >= 40); }, } ], "arcologies[0].FSBodyPuristLaw": [ @@ -1319,7 +1320,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in your arcology, slaves must be given a set of fake tits and ass.", activatedText: "in order to be sold in your arcology, slaves must be given a set of fake tits and ass.", - note: `Will help advance Transformation Fetishism` + note: `Will help advance Transformation Fetishism`, + get requirements() { return (V.arcologies[0].FSTransformationFetishist >= 40); }, } ], }, @@ -1330,7 +1332,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: " slave markets in your arcology are required to treat younger slaves carefully.", activatedText: "slave markets in your arcology are required to treat younger slaves carefully.", - note: `Will help advance Youth Preferentialism` + note: `Will help advance Youth Preferentialism`, + get requirements() { return (V.arcologies[0].FSYouthPreferentialist >= 40); }, } ], "arcologies[0].FSYouthPreferentialistLaw": [ @@ -1351,7 +1354,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "slave markets in your arcology will be required to treat mature slaves properly.", activatedText: "slave markets in your arcology are required to treat mature slaves properly.", - note: `Will help advance Maturity Preferentialism` + note: `Will help advance Maturity Preferentialism`, + get requirements() { return (V.arcologies[0].FSMaturityPreferentialist >= 40); }, } ], "arcologies[0].FSMaturityPreferentialistLaw": [ @@ -1372,7 +1376,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will have to pass height requirements.", activatedText: "in order to be sold in the arcology, slaves must pass height requirements.", - get requirements() { return (V.arcologies[0].FSStatuesqueGlorificationSMR === 0); }, + get requirements() { return (V.arcologies[0].FSStatuesqueGlorificationSMR === 0 && V.arcologies[0].FSPetiteAdmiration >= 40); }, onImplementation: function() { if (V.policies.SMR.height.advancedSMR > 0) { V.policies.SMR.height.advancedSMR = 0; @@ -1432,7 +1436,8 @@ App.Data.Policies.Selection = { t += ` and will repeal interfering height regulations`; } return t; - } + }, + get requirements() { return (V.arcologies[0].FSStatuesqueGlorification >= 40); }, } ], "arcologies[0].FSStatuesqueGlorificationLaw2": [ @@ -1462,6 +1467,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, chubby slaves will have to be forced to work out first.", activatedText: "in order to be sold in the arcology, chubby slaves must be forced to work out first.", + get requirements() { return (V.arcologies[0].FSSlimnessEnthusiast >= 40); }, } ], "arcologies[0].FSSlimnessEnthusiastLaw": [ @@ -1490,6 +1496,7 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will have to have their assets expanded with growth hormones.", activatedText: "in order to be sold in the arcology, slaves must have their assets expanded with growth hormones.", + get requirements() { return (V.arcologies[0].FSAssetExpansionist >= 40); }, } ], }, @@ -1500,7 +1507,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will be required to be actively lactating.", activatedText: "in order to be sold in the arcology, slaves must be actively lactating.", - note: `Will help advance Pastoralism` + note: `Will help advance Pastoralism`, + get requirements() { return (V.arcologies[0].FSPastoralist >= 40); }, } ], "arcologies[0].FSPastoralistLaw": [ @@ -1537,7 +1545,8 @@ App.Data.Policies.Selection = { } return t; }, - note: `Will help advance Physical Idealism` + note: `Will help advance Physical Idealism`, + get requirements() { return (V.arcologies[0].FSPhysicalIdealist >= 40); }, } ], "arcologies[0].FSPhysicalIdealistLaw": [ @@ -1577,7 +1586,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will be required to be plump.", activatedText: "in order to be sold in the arcology, slaves must be plump.", - note: `Will help advance Hedonistic Decadence` + note: `Will help advance Hedonistic Decadence`, + get requirements() { return (V.arcologies[0].FSHedonisticDecadence >= 40); }, } ], "arcologies[0].FSHedonisticDecadenceLaw2": [ @@ -1627,7 +1637,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will be offered for public use for a single day.", activatedText: "in order to be sold in the arcology, slaves must be offered for public use for a single day.", - note: `Will help advance Chattel Religionism` + note: `Will help advance Chattel Religionism`, + get requirements() { return (V.arcologies[0].FSChattelReligionist >= 40); }, } ], "arcologies[0].FSChattelReligionistLaw": [ @@ -1723,7 +1734,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "slave markets are encouraged to immediately dispose of low quality menial slaves in gladiatorial combats.", activatedText: "slave markets are encouraged to immediately dispose of low quality menial slaves in gladiatorial combats.", - note: `Will help advance Roman Revivalism` + note: `Will help advance Roman Revivalism`, + get requirements() { return (V.arcologies[0].FSRomanRevivalist >= 40); }, } ], "arcologies[0].FSRomanRevivalistLaw": [ @@ -1744,7 +1756,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "all captured and incorrigible slaves will be made tribute to the altars.", activatedText: "all captured and incorrigible slaves must be made tribute to the altars.", - note: `Will help advance Aztec Revivalism` + note: `Will help advance Aztec Revivalism`, + get requirements() { return (V.arcologies[0].FSAztecRevivalist >= 40); }, } ], "arcologies[0].FSAztecRevivalistLaw": [ @@ -1765,7 +1778,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will be instructed in the cultural tenets of ancient Egypt.", activatedText: "in order to be sold in the arcology, slaves must be instructed in the cultural tenets of ancient Egypt.", - note: `Will help advance Egyptian Revivalism` + note: `Will help advance Egyptian Revivalism`, + get requirements() { return (V.arcologies[0].FSEgyptianRevivalist >= 40); }, } ], "arcologies[0].FSEgyptianRevivalistLaw": [ @@ -1793,7 +1807,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will have to be instructed in the cultural tenets of Edo Japan.", activatedText: "in order to be sold in the arcology, slaves must be instructed in the cultural tenets of Edo Japan.", - note: `Will help advance Edo Revivalism` + note: `Will help advance Edo Revivalism`, + get requirements() { return (V.arcologies[0].FSEdoRevivalist >= 40); }, } ], "arcologies[0].FSEdoRevivalistLaw": [ @@ -1814,7 +1829,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will be instructed in the cultural tenets of the old Caliphate.", activatedText: "in order to be sold in the arcology, slaves must be instructed in the cultural tenets of the old Caliphate.", - note: `Will help advance Arabian Revivalism` + note: `Will help advance Arabian Revivalism`, + get requirements() { return (V.arcologies[0].FSArabianRevivalist >= 40); }, } ], "arcologies[0].FSArabianRevivalistLaw": [ @@ -1835,7 +1851,8 @@ App.Data.Policies.Selection = { titleClass: "lime", text: "in order to be sold in the arcology, slaves will have to be instructed in the cultural tenets of Imperial China.", activatedText: "in order to be sold in the arcology, slaves must be instructed in the cultural tenets of Imperial China.", - note: `Will help advance Chinese Revivalism` + note: `Will help advance Chinese Revivalism`, + get requirements() { return (V.arcologies[0].FSChineseRevivalist >= 40); }, } ], "arcologies[0].FSChineseRevivalistLaw": [