Skip to content
Snippets Groups Projects
Commit 674e02a9 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

start

parent f4a0998e
No related branches found
No related tags found
1 merge request!8446Fs selection rework entirely
App.UI.FSPassage = function() {
const el = new DocumentFragment();
const arc = V.arcologies[0];
const {hisA} = getPronouns(assistant.pronouns().main).appendSuffix('A');
V.FSReminder = "";
setup();
el.append(FSPerception());
if (V.cheatMode) {
App.UI.DOM.appendNewElement("div", el, App.UI.DOM.link(
"Cheat Edit Future Society",
() => {
V.cheater = 1;
},
[],
"MOD_Edit FS Cheat"
));
}
el.append(unlocks());
return el;
/**
* FIRST FS STORING FOR RIVALRY
*/
function setup() {
if (V.rivalryFS === 0) {
if (arc.FSSubjugationist !== "unset") {
V.rivalryFS = "Racial Subjugationism";
V.rivalryFSRace = arc.FSSubjugationistRace;
}
if (arc.FSSupremacist !== "unset") {
V.rivalryFS = "Racial Supremacism";
V.rivalryFSRace = arc.FSSupremacistRace;
}
if (arc.FSGenderRadicalist !== "unset") {
V.rivalryFS = "Gender Radicalism";
} else if (arc.FSGenderFundamentalist !== "unset") {
V.rivalryFS = "Gender Fundamentalism";
}
if (arc.FSRepopulationFocus !== "unset") {
V.rivalryFS = "Repopulation Focus";
} else if (arc.FSRestart !== "unset") {
V.rivalryFS = "Eugenics";
}
if (arc.FSPaternalist !== "unset") {
V.rivalryFS = "Paternalism";
} else if (arc.FSDegradationist !== "unset") {
V.rivalryFS = "Degradationism";
}
if (arc.FSBodyPurist !== "unset") {
V.rivalryFS = "Body Purism";
} else if (arc.FSTransformationFetishist !== "unset") {
V.rivalryFS = "Transformation Fetishism";
}
if (arc.FSYouthPreferentialist !== "unset") {
V.rivalryFS = "Youth Preferentialism";
} else if (arc.FSMaturityPreferentialist !== "unset") {
V.rivalryFS = "Maturity Preferentialism";
}
if (arc.FSSlimnessEnthusiast !== "unset") {
V.rivalryFS = "Slimness Enthusiasm";
} else if (arc.FSAssetExpansionist !== "unset") {
V.rivalryFS = "Asset Expansionism";
}
if (arc.FSPastoralist !== "unset") {
V.rivalryFS = "Pastoralism";
} else if (arc.FSCummunism !== "unset") {
V.rivalryFS = "Cummunism";
}
if (arc.FSHedonisticDecadence !== "unset") {
V.rivalryFS = "Hedonistic Decadence";
} else if (arc.FSPhysicalIdealist !== "unset") {
V.rivalryFS = "Physical Idealism";
}
if (arc.FSIntellectualDependency !== "unset") {
V.rivalryFS = "Intellectual Dependency";
} else if (arc.FSSlaveProfessionalism !== "unset") {
V.rivalryFS = "Slave Professionalism";
}
if (arc.FSPetiteAdmiration !== "unset") {
V.rivalryFS = "Petite Admiration";
} else if (arc.FSStatuesqueGlorification !== "unset") {
V.rivalryFS = "Statuesque Glorification";
}
if (arc.FSChattelReligionist !== "unset") {
V.rivalryFS = "Chattel Religionism";
} else if (arc.FSNull !== "unset") {
V.rivalryFS = "Multiculturalism";
}
if (arc.FSRomanRevivalist !== "unset") {
V.rivalryFS = "Roman Revivalism";
} else if (arc.FSNeoImperialist !== "unset") {
V.rivalryFS = "Neo-Imperialism";
} else if (arc.FSAztecRevivalist !== "unset") {
V.rivalryFS = "Aztec Revivalism";
} else if (arc.FSEgyptianRevivalist !== "unset") {
V.rivalryFS = "Egyptian Revivalism";
} else if (arc.FSEdoRevivalist !== "unset") {
V.rivalryFS = "Edo Revivalism";
} else if (arc.FSArabianRevivalist !== "unset") {
V.rivalryFS = "Arabian Revivalism";
} else if (arc.FSChineseRevivalist !== "unset") {
V.rivalryFS = "Chinese Revivalism";
}
}
}
function FSPerception() { // TODO: very formulaic, consider reworking to be a lookup.
const el = new DocumentFragment();
const r = [];
if (arc.FSSupremacist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in arc.FSSupremacistRace superiority.`);
} else if (arc.FSSupremacist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with arc.FSSupremacistRace superiority.`);
} else if (arc.FSSupremacist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to arc.FSSupremacistRace superiority.`);
} else if (arc.FSSupremacist !== "unset") {
r.push(`${arc.name} is unconvinced of arc.FSSupremacistRace superiority.`);
}
if (arc.FSSubjugationist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in the inferiority of arc.FSSubjugationistRace people.`);
} else if (arc.FSSubjugationist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the inferiority of arc.FSSubjugationistRace people.`);
} else if (arc.FSSubjugationist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the inferiority of arc.FSSubjugationistRace people.`);
} else if (arc.FSSubjugationist !== "unset") {
r.push(`${arc.name} is unconvinced of the inferiority of arc.FSSubjugationistRace people.`);
}
if (arc.FSRepopulationFocus >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that all women should be pregnant.`);
} else if (arc.FSRepopulationFocus >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly that all women should be pregnant.`);
} else if (arc.FSRepopulationFocus >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that all women should be pregnant.`);
} else if (arc.FSRepopulationFocus !== "unset") {
r.push(`${arc.name} is unconvinced that all women should be pregnant.`);
}
if (arc.FSRestart >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that only the elite should reproduce.`);
} else if (arc.FSRestart >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly that only the elite should reproduce.`);
} else if (arc.FSRestart >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea only the elite should reproduce.`);
} else if (arc.FSRestart !== "unset") {
r.push(`${arc.name} is unconvinced that only the elite should reproduce.`);
}
if (arc.FSIntellectualDependency >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that all slaves should be mentally dependant on their owner.`);
} else if (arc.FSIntellectualDependency >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly that all slaves should be bimbos.`);
} else if (arc.FSIntellectualDependency >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that slaves should be dumb and horny.`);
} else if (arc.FSIntellectualDependency !== "unset") {
r.push(`${arc.name} is unconvinced that all slaves should be morons.`);
}
if (arc.FSSlaveProfessionalism >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that slaves should be masters of the sexual arts.`);
} else if (arc.FSSlaveProfessionalism >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with slavery as a profession.`);
} else if (arc.FSSlaveProfessionalism >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the notion of slavery as a profession.`);
} else if (arc.FSSlaveProfessionalism !== "unset") {
r.push(`${arc.name} is unconvinced that slaves should be highly intelligent.`);
}
if (arc.FSGenderRadicalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in the need to redefine gender around power.`);
} else if (arc.FSGenderRadicalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the need to redefine gender around power.`);
} else if (arc.FSGenderRadicalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the need to redefine gender around power.`);
} else if (arc.FSGenderRadicalist !== "unset") {
r.push(`${arc.name} is unconvinced of the need to redefine gender around power.`);
}
if (arc.FSGenderFundamentalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in the need to preserve traditional gender roles.`);
} else if (arc.FSGenderFundamentalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the need to preserve traditional gender roles.`);
} else if (arc.FSGenderFundamentalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the need to preserve traditional gender roles.`);
} else if (arc.FSGenderFundamentalist !== "unset") {
r.push(`${arc.name} is unconvinced of the need to preserve traditional gender roles.`);
}
if (arc.FSPaternalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in the vision of a well-bred race of slaves.`);
} else if (arc.FSPaternalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the vision of a well-bred race of slaves.`);
} else if (arc.FSPaternalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the vision of a well-bred race of slaves.`);
} else if (arc.FSPaternalist !== "unset") {
r.push(`${arc.name} is unconvinced of the vision of a well-bred race of slaves.`);
}
if (arc.FSDegradationist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that slaves are not human and should be thoroughly degraded.`);
} else if (arc.FSDegradationist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that slaves are not human and should be thoroughly degraded.`);
} else if (arc.FSDegradationist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the proposition that slaves are not human and should be thoroughly degraded.`);
} else if (arc.FSDegradationist !== "unset") {
r.push(`${arc.name} is unconvinced that slaves are not human and should be thoroughly degraded.`);
}
if (arc.FSBodyPurist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in the unattractive nature of implants.`);
} else if (arc.FSBodyPurist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the unattractive nature of implants.`);
} else if (arc.FSBodyPurist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the unattractive nature of implants.`);
} else if (arc.FSBodyPurist !== "unset") {
r.push(`${arc.name} is unconvinced of the unattractive nature of implants.`);
}
if (arc.FSTransformationFetishist >= V.FSLockinLevel) {
r.push(`${arc.name} passionately fetishizes implants.`);
} else if (arc.FSTransformationFetishist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} strongly fetishizes implants.`);
} else if (arc.FSTransformationFetishist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} fetishizes implants.`);
} else if (arc.FSTransformationFetishist !== "unset") {
r.push(`${arc.name} is beginning to fetishize implants.`);
}
if (arc.FSMaturityPreferentialist >= V.FSLockinLevel) {
r.push(`${arc.name} is passionately enthusiastic for older ladies.`);
} else if (arc.FSMaturityPreferentialist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} is very enthusiastic for older ladies.`);
} else if (arc.FSMaturityPreferentialist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is enthusiastic for older ladies.`);
} else if (arc.FSMaturityPreferentialist !== "unset") {
r.push(`${arc.name} is beginning to be enthusiastic for older ladies.`);
}
if (arc.FSYouthPreferentialist >= V.FSLockinLevel) {
r.push(`${arc.name} is passionately enthusiastic for young women.`);
} else if (arc.FSYouthPreferentialist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} is very enthusiastic for young women.`);
} else if (arc.FSYouthPreferentialist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is enthusiastic for young women.`);
} else if (arc.FSYouthPreferentialist !== "unset") {
r.push(`${arc.name} is beginning to be enthusiastic for young women.`);
}
if (arc.FSPetiteAdmiration >= V.FSLockinLevel) {
r.push(`${arc.name} is passionately enthusiastic for short slaves.`);
} else if (arc.FSPetiteAdmiration >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} is very enthusiastic for short slaves.`);
} else if (arc.FSPetiteAdmiration >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is enthusiastic for short slaves.`);
} else if (arc.FSPetiteAdmiration !== "unset") {
r.push(`${arc.name} is beginning to be enthusiastic for short slaves.`);
}
if (arc.FSStatuesqueGlorification >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that the tall are superior.`);
} else if (arc.FSStatuesqueGlorification >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that the tall are superior.`);
} else if (arc.FSStatuesqueGlorification >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that the tall are superior.`);
} else if (arc.FSStatuesqueGlorification !== "unset") {
r.push(`${arc.name} is unconvinced that the tall are superior.`);
}
if (arc.FSSlimnessEnthusiast >= V.FSLockinLevel) {
r.push(`${arc.name} is passionately enthusiastic about slim slaves with girlish figures.`);
} else if (arc.FSSlimnessEnthusiast >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} is very enthusiastic about slim slaves with girlish figures.`);
} else if (arc.FSSlimnessEnthusiast >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is enthusiastic about slim slaves with girlish figures.`);
} else if (arc.FSSlimnessEnthusiast !== "unset") {
r.push(`${arc.name} is beginning to be enthusiastic about slim slaves with girlish figures.`);
}
if (arc.FSAssetExpansionist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that all tits and asses should be bigger.`);
} else if (arc.FSAssetExpansionist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that all tits and asses should be bigger.`);
} else if (arc.FSAssetExpansionist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that all tits and asses should be bigger.`);
} else if (arc.FSAssetExpansionist !== "unset") {
r.push(`${arc.name} is unconvinced that all tits and asses should be bigger.`);
}
if (arc.FSPastoralist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that slaves should be milked.`);
} else if (arc.FSPastoralist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that slaves should be milked.`);
} else if (arc.FSPastoralist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that slaves should be milked.`);
} else if (arc.FSPastoralist !== "unset") {
r.push(`${arc.name} is unconvinced that slaves should be milked.`);
}
if (arc.FSPhysicalIdealist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that all slaves should be tall and strong.`);
} else if (arc.FSPhysicalIdealist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that all slaves should be tall and strong.`);
} else if (arc.FSPhysicalIdealist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that all slaves should be tall and strong.`);
} else if (arc.FSPhysicalIdealist !== "unset") {
r.push(`${arc.name} is unconvinced that all slaves should be tall and strong.`);
}
if (arc.FSHedonisticDecadence >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that all slaves should be soft and laid-back.`);
} else if (arc.FSHedonisticDecadence >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with the idea that all slaves should be soft and laid-back.`);
} else if (arc.FSHedonisticDecadence >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to the idea that all slaves should be soft and laid-back.`);
} else if (arc.FSHedonisticDecadence !== "unset") {
r.push(`${arc.name} is unconvinced that all slaves should be soft and laid-back.`);
}
if (arc.FSChattelReligionist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly in a version of religion that emphasizes slaveholding traditions.`);
} else if (arc.FSChattelReligionist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with a version of religion that emphasizes slaveholding traditions.`);
} else if (arc.FSChattelReligionist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to a version of religion that emphasizes slaveholding traditions.`);
} else if (arc.FSChattelReligionist !== "unset") {
r.push(`${arc.name} is unconvinced of a version of religion that emphasizes slaveholding traditions.`);
}
if (arc.FSNull >= V.FSLockinLevel) {
r.push(`${arc.name} is committed to affording its citizens absolute cultural freedom.`);
} else if (arc.FSNull >= V.FSLockinLevel*0.75) {
r.push(`${arc.name} is committed to affording its citizens great cultural freedom.`);
} else if (arc.FSNull >= V.FSLockinLevel*0.5) {
r.push(`${arc.name} is committed to affording its citizens considerable cultural freedom.`);
} else if (arc.FSNull !== "unset") {
r.push(`${arc.name} is committed to affording its citizens basic cultural freedom.`);
}
if (arc.FSRomanRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that it is the new Rome.`);
} else if (arc.FSRomanRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build the new Rome.`);
} else if (arc.FSRomanRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build the new Rome.`);
} else if (arc.FSRomanRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build the new Rome.`);
}
if (arc.FSNeoImperialist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that your arcology is truly a new Imperial Society.`);
} else if (arc.FSNeoImperialist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build a new Imperial Society.`);
} else if (arc.FSNeoImperialist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build a new Imperial Society.`);
} else if (arc.FSNeoImperialist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build a new Imperial Society.`);
}
if (arc.FSAztecRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that it is the new Aztec Empire.`);
} else if (arc.FSAztecRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build the new Aztec Empire.`);
} else if (arc.FSAztecRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build the new Aztec Empire.`);
} else if (arc.FSAztecRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build the new Aztec Empire.`);
}
if (arc.FSEgyptianRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that it is the land of the Pharaohs, reborn.`);
} else if (arc.FSEgyptianRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build a new land of the Pharaohs.`);
} else if (arc.FSEgyptianRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build a new land of the Pharaohs.`);
} else if (arc.FSEgyptianRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build a new land of the Pharaohs.`);
}
if (arc.FSEdoRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that it is the land of the Shogun, reborn.`);
} else if (arc.FSEdoRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build a new Edo Japan.`);
} else if (arc.FSEdoRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build a new Edo Japan.`);
} else if (arc.FSEdoRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build a new Edo Japan.`);
}
if (arc.FSArabianRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that it is ancient Baghdad reborn.`);
} else if (arc.FSArabianRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your project to build a new Sultanate.`);
} else if (arc.FSArabianRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your project to build a new Sultanate.`);
} else if (arc.FSArabianRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your project to build a new Sultanate.`);
}
if (arc.FSChineseRevivalist >= V.FSLockinLevel) {
r.push(`${arc.name} believes implicitly that possesses the Mandate of Heaven.`);
} else if (arc.FSChineseRevivalist >= V.FSLockinLevel*0.6) {
r.push(`${arc.name} agrees strongly with your pursuit of the Mandate of Heaven.`);
} else if (arc.FSChineseRevivalist >= V.FSLockinLevel*0.3) {
r.push(`${arc.name} is sympathetic to your pursuit of the Mandate of Heaven.`);
} else if (arc.FSChineseRevivalist !== "unset") {
r.push(`${arc.name} is unconvinced of the wisdom of your pursuit of the Mandate of Heaven.`);
}
for (const feedback of r) {
App.UI.DOM.appendNewElement("div", el, feedback);
}
return el;
}
function unlocks() {
const el = new DocumentFragment();
const r = [];
r.push(`You have unlocked`);
r.push(App.UI.DOM.makeElement("span", `${num(V.FSGotRepCredits, true)} of ${num(V.FSCreditCount, true)}`, "note"));
r.push(`possible societal customizations.`);
App.Events.addNode(el, r, "div");
return el;
}
};
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment