diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index 914ffc0bbaf7b482e1541f1b67275dcab3da5e4c..76747ad6182741ed7fd9fa5b3ef66c7857684616 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -208,30 +208,6 @@ App.Data.Policies.Selection = { ] }, FutureSocieties: { - "arcologies[0].FSRepopulationFocusPregPolicy": [ - { - title: "Pregnancy Encouragement", - text: "you will use your personal influence to spur interest in pregnancy.", - activatedText: "you are using your personal influence to spur interest in pregnancy", - requirements: function() { - if ( - V.arcologies[0].FSRepopulationFocus === "unset" && V.arcologies[0].FSRestart === "unset" && V.seePreg - ) { return true; } else { return false; } - }, - } - ], - "arcologies[0].FSRepopulationFocusMilfPolicy": [ - { - title: "Motherly Preference", - text: "you will use your personal influence to spur interest in MILFs.", - activatedText: "you are using your personal influence to spur interest in MILFs", - requirements: function() { - if ( - V.arcologies[0].FSRepopulationFocus === "unset" && V.arcologies[0].FSRestart === "unset" - ) { return true; } else { return false; } - }, - } - ], "arcologies[0].FSEgyptianRevivalistIncestPolicy": [ { title: "Incest Encouragement", @@ -625,7 +601,7 @@ App.Data.Policies.Selection = { ); return el; }, - activatedText: "you have set your arcology's standard retirement age for sex slaves at $retirementAge.", + get activatedText() { return `you have set your arcology's standard retirement age for sex slaves at ${retirementAge}.`; }, onRepeal: function() { V.retirementAge = 45; } } @@ -652,7 +628,7 @@ App.Data.Policies.Selection = { ); return el; }, - activatedText: "you have set your arcology's standard retirement age for sex slaves at $retirementAge.", + get activatedText() { return `you have set your arcology's standard retirement age for sex slaves at ${retirementAge}.`; }, onRepeal: function() { V.retirementAge = 45; } } ], @@ -915,117 +891,6 @@ App.Data.Policies.Selection = { enable: -1, }, ], - "arcologies[0].FSSupremacistSMR": [ - { - title: "Ethnic Preservation SMR", - titleClass: "lime", - text: "in order to be sold in the arcology, slaves of inferior races with dicks must have their balls removed to prevent racial pollution.", - activatedText: "in order to be sold in the arcology, slaves of inferior races with dicks will have to have their balls removed to prevent racial pollution.", - requirements: function() { if (V.seeDicks !== 0 && V.arcologies[0].FSSupremacist >= 40) { return true; } else { return false; } }, - note: `Will help advance racial Supremacy` - } - ], - "arcologies[0].FSSupremacistLawME": [ - { - title: "Universal Enslavement of the Impure", - titleClass: "lime", - get text() { return `will force anyone not of the ${V.arcologies[0].FSSupremacistRace} race to emigrate or accept enslavement, and make sex with non-${V.arcologies[0].FSSupremacistRace} people such an expectation that the appetite for all such slaves will increase slightly.`; }, - get activatedText() { return `by law, anyone not of the ${V.arcologies[0].FSSupremacistRace} in your arcology is a slave`; }, - requirements: function() { if (V.seeDicks !== 0 && V.arcologies[0].FSSupremacist >= 40) { return true; } else { return false; } }, - onImplementation: function() { V.FSSupLawTrigger = 1; }, - note: `Will affect the slave market and arcology drastically` - } - ], - "arcologies[0].FSSubjugationistSMR": [ - { - title: "Racial Purity SMR", - titleClass: "lime", - text: "in order to be sold in the arcology, subhumans with dicks will have to have their balls removed to prevent racial pollution.", - activatedText: "in order to be sold in the arcology, subhumans with dicks must have their balls removed to prevent racial pollution.", - requirements: function() { if (V.seeDicks !== 0 && arcologies[0].FSSubjugationist >= 40) { return true; } else { return false; } }, - note: `Will help advance racial Subjugation` - } - ], - "arcologies[0].FSSubjugationistLawME": [ - { - title: "Universal Enslavement of Subhumans", - titleClass: "lime", - get text() { return `will force slavery on all ${V.arcologies[0].FSSubjugationistRace} subhumans in your arcology, and make sex with ${V.arcologies[0].FSSubjugationistRace} people such an expectation that the appetite for all such slaves will increase slightly.`; }, - get activatedText() { return `by law, all ${V.arcologies[0].FSSubjugationistRace} subhumans in your arcology are slaves`; }, - requirements: function() { if (V.arcologies[0].FSSubjugationist >= 90) { return true; } else { return false; } }, - onImplementation: function() { - if (FSSubLawTrigger === 0) { - V.FSSubLawTrigger = 1; - } - }, - note: `Will affect the slave market and arcology drastically` - } - ], - "arcologies[0].FSRepopulationFocusSMR": [ - { - title: "Occupied Womb SMR", - titleClass: "lime", - text: "in order to be sold in the arcology, slaves will be made capable of pregnancy, if they are not, and subsequently impregnated.", - activatedText: "in order to be sold in the arcology, slaves must be pregnant.", - requirements: function() { if (V.arcologies[0].FSRepopulationFocusDecoration >= 40) { return true; } else { return false; } }, - note: `Will help advance repopulation efforts. Due to surgery costs, male slaves will become less common` - } - ], - "arcologies[0].FSRepopulationFocusLaw": [ - { - title: "Universal Pregnancy Subsidy", - titleClass: "lime", - text: "pregnant citizens will be offered reduced rent.", - activatedText: "all pregnant citizens are offered reduced rent.", - requirements: function() { if (V.arcologies[0].FSRepopulationFocusDecoration >= 90) { return true; } else { return false; } }, - note: `Will reduce your rental income` - } - ], - "arcologies[0].FSRestartSMR": [ - { - title: "Population Control SMR", - titleClass: "lime", - text: "in order to be sold in the arcology, slave ovaries and testicles will be removed.", - activatedText: "in order to be sold in the arcology, slaves must be infertile.", - requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 90) { return true; } else { return false; } }, - note: `Will help advance starting society over.` - } - ], - "arcologies[0].FSRestartLaw": [ - { - title: "Taxation of Fertile Non-Elite", - titleClass: "lime", - text: "fertile civilians, who are not part of society's Elite, will face increased taxation.", - activatedText: "all fertile lower class citizens pay increased taxes.", - requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 90) { return true; } else { return false; } }, - note: `Will increase your rental income, but the lower class will dislike you.` - } - ], - "propOutcome": [ - { - title: "Elite Breeder Eligibility", - text: "Societal Elite may use eligible slaves as breeders.", - hide: {button: 1, ifDeactivated: 1} - }, - { - title: "Elite Breeder Eligibility", - text: "The Societal Elite have rejected your breeding proposal", - hide: {button: 1, ifDeactivated: 1} - }, - ], - "arcologies[0].FSRestartResearch": [ - { - title: "Elite Breeder Eligibility", - titleClass: "lime", - text: "slaves that pass very strict tests may be permitted for use by the Societal Elite to bear their children.", - requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 100 && V.rep >= 5000) { return true; } else { return false; } }, - onImplementation: function() { - repX(-4000, "policies"); - }, - hide: {ifActivated: 1}, - note: `Will greatly damage your reputation for even proposing.` - } - ], }, FSGenderFundamentalist: { "arcologies[0].FSGenderFundamentalistLawBeauty": [ @@ -1759,7 +1624,7 @@ App.Data.Policies.Selection = { note: `Will help advance Chinese Revivalism` } ], - "$arcologies[0].FSChineseRevivalistLaw": [ + "arcologies[0].FSChineseRevivalistLaw": [ { title: "Slave Administrator Enabling Law", titleClass: "lime", @@ -1774,5 +1639,146 @@ App.Data.Policies.Selection = { requirements: function() { if (V.arcologies[0].FSChineseRevivalist >= 90) { return true; } else { return false; } }, } ], + }, + FSRepopulationFocus: { + "arcologies[0].FSRepopulationFocusSMR": [ + { + title: "Occupied Womb SMR", + titleClass: "lime", + text: "in order to be sold in the arcology, slaves will be made capable of pregnancy, if they are not, and subsequently impregnated.", + activatedText: "in order to be sold in the arcology, slaves must be pregnant.", + requirements: function() { if (V.arcologies[0].FSRepopulationFocusDecoration >= 40) { return true; } else { return false; } }, + note: `Will help advance repopulation efforts. Due to surgery costs, male slaves will become less common` + } + ], + "arcologies[0].FSRepopulationFocusLaw": [ + { + title: "Universal Pregnancy Subsidy", + titleClass: "lime", + text: "pregnant citizens will be offered reduced rent.", + activatedText: "all pregnant citizens are offered reduced rent.", + requirements: function() { if (V.arcologies[0].FSRepopulationFocusDecoration >= 90) { return true; } else { return false; } }, + note: `Will reduce your rental income` + } + ], + }, + FSRace: { + "arcologies[0].FSSupremacistSMR": [ + { + title: "Ethnic Preservation SMR", + titleClass: "lime", + text: "in order to be sold in the arcology, slaves of inferior races with dicks must have their balls removed to prevent racial pollution.", + activatedText: "in order to be sold in the arcology, slaves of inferior races with dicks will have to have their balls removed to prevent racial pollution.", + requirements: function() { if (V.seeDicks !== 0 && V.arcologies[0].FSSupremacist >= 40) { return true; } else { return false; } }, + note: `Will help advance racial Supremacy` + } + ], + "arcologies[0].FSSupremacistLawME": [ + { + title: "Universal Enslavement of the Impure", + titleClass: "lime", + get text() { return `will force anyone not of the ${V.arcologies[0].FSSupremacistRace} race to emigrate or accept enslavement, and make sex with non-${V.arcologies[0].FSSupremacistRace} people such an expectation that the appetite for all such slaves will increase slightly.`; }, + get activatedText() { return `by law, anyone not of the ${V.arcologies[0].FSSupremacistRace} in your arcology is a slave`; }, + requirements: function() { if (V.seeDicks !== 0 && V.arcologies[0].FSSupremacist >= 40) { return true; } else { return false; } }, + onImplementation: function() { V.FSSupLawTrigger = 1; }, + note: `Will affect the slave market and arcology drastically` + } + ], + "arcologies[0].FSSubjugationistSMR": [ + { + title: "Racial Purity SMR", + titleClass: "lime", + text: "in order to be sold in the arcology, subhumans with dicks will have to have their balls removed to prevent racial pollution.", + activatedText: "in order to be sold in the arcology, subhumans with dicks must have their balls removed to prevent racial pollution.", + requirements: function() { if (V.seeDicks !== 0 && arcologies[0].FSSubjugationist >= 40) { return true; } else { return false; } }, + note: `Will help advance racial Subjugation` + } + ], + "arcologies[0].FSSubjugationistLawME": [ + { + title: "Universal Enslavement of Subhumans", + titleClass: "lime", + get text() { return `will force slavery on all ${V.arcologies[0].FSSubjugationistRace} subhumans in your arcology, and make sex with ${V.arcologies[0].FSSubjugationistRace} people such an expectation that the appetite for all such slaves will increase slightly.`; }, + get activatedText() { return `by law, all ${V.arcologies[0].FSSubjugationistRace} subhumans in your arcology are slaves`; }, + requirements: function() { if (V.arcologies[0].FSSubjugationist >= 90) { return true; } else { return false; } }, + onImplementation: function() { + if (FSSubLawTrigger === 0) { + V.FSSubLawTrigger = 1; + } + }, + note: `Will affect the slave market and arcology drastically` + } + ], + + "arcologies[0].FSRestartSMR": [ + { + title: "Population Control SMR", + titleClass: "lime", + text: "in order to be sold in the arcology, slave ovaries and testicles will be removed.", + activatedText: "in order to be sold in the arcology, slaves must be infertile.", + requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 90) { return true; } else { return false; } }, + note: `Will help advance starting society over.` + } + ], + "arcologies[0].FSRestartLaw": [ + { + title: "Taxation of Fertile Non-Elite", + titleClass: "lime", + text: "fertile civilians, who are not part of society's Elite, will face increased taxation.", + activatedText: "all fertile lower class citizens pay increased taxes.", + requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 90) { return true; } else { return false; } }, + note: `Will increase your rental income, but the lower class will dislike you.` + } + ], + "propOutcome": [ + { + title: "Elite Breeder Eligibility", + text: "Societal Elite may use eligible slaves as breeders.", + hide: {button: 1, ifDeactivated: 1} + }, + { + title: "Elite Breeder Eligibility", + text: "The Societal Elite have rejected your breeding proposal", + hide: {button: 1, ifDeactivated: 1} + }, + ], + "arcologies[0].FSRestartResearch": [ + { + title: "Elite Breeder Eligibility", + titleClass: "lime", + text: "slaves that pass very strict tests may be permitted for use by the Societal Elite to bear their children.", + requirements: function() { if (V.arcologies[0].FSRestartDecoration >= 100 && V.rep >= 5000) { return true; } else { return false; } }, + onImplementation: function() { + repX(-4000, "policies"); + }, + hide: {ifActivated: 1}, + note: `Will greatly damage your reputation for even proposing.` + } + ], + "arcologies[0].FSRepopulationFocusPregPolicy": [ + { + title: "Pregnancy Encouragement", + text: "you will use your personal influence to spur interest in pregnancy.", + activatedText: "you are using your personal influence to spur interest in pregnancy", + requirements: function() { + if ( + V.arcologies[0].FSRepopulationFocus === "unset" && V.arcologies[0].FSRestart === "unset" && V.seePreg + ) { return true; } else { return false; } + }, + } + ], + "arcologies[0].FSRepopulationFocusMilfPolicy": [ + { + title: "Motherly Preference", + text: "you will use your personal influence to spur interest in MILFs.", + activatedText: "you are using your personal influence to spur interest in MILFs", + requirements: function() { + if ( + V.arcologies[0].FSRepopulationFocus === "unset" && V.arcologies[0].FSRestart === "unset" + ) { return true; } else { return false; } + }, + } + ], } + }; diff --git a/src/interaction/policies/policies.tw b/src/interaction/policies/policies.tw index 82ac277fc6d415c1f9747de70766e43b03ba13dd..2899043eab9d01642fc74b83ac9a8fb802aeb404 100644 --- a/src/interaction/policies/policies.tw +++ b/src/interaction/policies/policies.tw @@ -302,6 +302,22 @@ </script> <</if>> + <<if $arcologies[0].FSRepopulationFocus >= 40>> + <h2>Repopulation Focus</h2> + <span id="FSRepopulationFocus"></span> + <script> + policy("FSRepopulationFocus"); + </script> + <</if>> + + <<if $arcologies[0].FSRestart >= 40 || $arcologies[0].FSSupremacist >= 40 || V.arcologies[0].FSSubjugationist >= 40>> + <h2>Race</h2> + <span id="FSRestart"></span> + <script> + policy("FSRestart"); + </script> + <</if>> + <<if $arcologies[0].FSRomanRevivalist >= 40>> <h2>Roman Revivalist</h2> <span id="FSRomanRevivalist"></span> @@ -343,12 +359,11 @@ <</if>> <<if $arcologies[0].FSChineseRevivalist >= 40>> - <h2>Chinese Revivalist</h2> + <h2>Chinese Revivalist</h2> <span id="FSChineseRevivalist"></span> <script> policy("FSChineseRevivalist"); </script> <</if>> - </div> </div>