diff --git a/src/facilities/fsPassage.js b/src/facilities/fsPassage.js index 7c6b259aa481485a52f2869df346e716abf10661..e87f9631c9ba161ab20bc2fa6cb2f46cddc10910 100644 --- a/src/facilities/fsPassage.js +++ b/src/facilities/fsPassage.js @@ -1,7 +1,6 @@ App.UI.FSPassage = function() { const el = new DocumentFragment(); const arc = V.arcologies[0]; - const { hisA } = getPronouns(assistant.pronouns().main).appendSuffix('A'); V.FSReminder = ""; const _FSCredits = FutureSocieties.availCredits(); setup(); @@ -22,6 +21,7 @@ App.UI.FSPassage = function() { el.append(unlocks()); el.append(spending()); el.append(rename()); + el.append(selectFS()); return el; @@ -653,18 +653,16 @@ App.UI.FSPassage = function() { const el = new DocumentFragment(); let r; let p; - /** - * Assistant appearances that particular FS are supported by - * @type {Map<FC.FutureSociety, <appearance|fsAppearance>>} */ + const assistantMatching = new Map([ ["FSSupremacist", ["amazon", "monstergirl", "succubus"]] ]); const pursuit = App.UI.DOM.makeElement("span", "You are pursuing", "bold"); /** - * + * * @param {FC.FutureSociety} FS - * @param {array} [itemArray] + * @param {Array} [itemArray] */ function FSIsChosen(FS, itemArray) { const el = new DocumentFragment(); @@ -676,20 +674,22 @@ App.UI.FSPassage = function() { App.UI.DOM.link( "Abandon", () => { - FutureSocieties.remove(FS) + FutureSocieties.remove(FS); }, [], "Future Society" ) ); } - r.push(App.UI.FSChangeDecoration(FS, itemArray)) - + r.push(App.UI.FSChangeDecoration(FS, itemArray)); + // TODO: build out map for this + /* if (V.policies.publicPA === 1) { if (assistantMatching.get(FS).includes(V.assistant.appearance)) { + const {hisA} = getPronouns(assistant.pronouns().main).appendSuffix('A'); r.push(App.UI.DOM.makeElement("div", `With ${hisA} ${V.assistant.appearance} appearance, ${V.assistant.name} is a good public mascot for this goal.`, "note")); } - } + }*/ App.Events.addNode(el, r); return el; @@ -712,7 +712,7 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a belief in`); if (arc.FSSupremacistRace === 0) { r.push(`the superiority of a chosen race.`); @@ -722,8 +722,8 @@ App.UI.FSPassage = function() { r.push(`Select race:`); const select = document.createElement("select"); r.push(select); - const races = App.Data.misc.filterRacesLowercase.filter(race => race != arc.FSSubjugationistRace); // Subjugation race cannot be superior, so remove - for (const race of App.Data.misc.filterRacesLowercase) { + const races = App.Data.misc.filterRacesLowercase.filter(race => race !== arc.FSSubjugationistRace); // Subjugation race cannot be superior, so remove + for (const race of races) { const choice = App.UI.DOM.appendNewElement("option", select, capFirstChar(race)); choice.value = race; if (race === arc.FSSupremacistRace) { @@ -737,7 +737,7 @@ App.UI.FSPassage = function() { App.UI.reload(); }; } else { - /*<span class="note"><span style="font-weight:Bold">Racial Supremacism</span>: a belief in the superiority of a chosen race.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Racial Supremacism</span>: a belief in the superiority of a chosen race.</span>*/ } } App.Events.addNode(p, r, "div"); @@ -756,7 +756,7 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a belief in`); if (arc.FSSubjugationistRace === 0) { r.push(`the inferiority of a chosen race.`); @@ -767,7 +767,7 @@ App.UI.FSPassage = function() { const select = document.createElement("select"); r.push(select); - const races = App.Data.misc.filterRacesLowercase.filter(race => race != arc.FSSupremacistRace); // Superior race cannot be subj, so remove + const races = App.Data.misc.filterRacesLowercase.filter(race => race !== arc.FSSupremacistRace); // Superior race cannot be subj, so remove for (const race of races) { const choice = App.UI.DOM.appendNewElement("option", select, capFirstChar(race)); choice.value = race; @@ -782,7 +782,7 @@ App.UI.FSPassage = function() { App.UI.reload(); }; } else { - /*<span class="note"><span style="font-weight:Bold">Racial Subjugationism</span>: a belief in the inferiority of a subject race.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Racial Subjugationism</span>: a belief in the inferiority of a subject race.</span>*/ } } App.Events.addNode(p, r, "div"); @@ -809,10 +809,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a focus on mass breeding in order to repopulate the future world.`); } else { - /*<span class="note"><span style="font-weight:Bold">Repopulation Efforts</span>: societal fetishization of pregnancy.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Repopulation Efforts</span>: societal fetishization of pregnancy.</span>*/ } } } @@ -842,10 +842,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is rebuilding society using restrictive breeding programs reserved solely for society's finest.`); } else { - /*<span class="note"><span style="font-weight:Bold">Complete Societal Reconstruction</span>: rebuilding society based off the elite.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Complete Societal Reconstruction</span>: rebuilding society based off the elite.</span>*/ } } } @@ -871,10 +871,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a belief that slaves should be airheaded, horny and fully dependent on their owners.`); } else { - /*<span class="note"><span style="font-weight:Bold">Intellectual Dependency</span>: a belief that slaves should be airheaded, horny and fully dependent on their owners.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Intellectual Dependency</span>: a belief that slaves should be airheaded, horny and fully dependent on their owners.</span>*/ } } } @@ -895,10 +895,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is increased interest in smart, refined, altogether perfect slaves.`); } else { - /*<span class="note"><span style="font-weight:Bold">Slave Professionalism</span>: increased interest in smart, refined, altogether perfect slaves.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Slave Professionalism</span>: increased interest in smart, refined, altogether perfect slaves.</span>*/ } } } @@ -924,10 +924,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a radical redefinition of gender that identifies powerful people as male, and everyone else as female.`); } else { - /*<span class="note"><span style="font-weight:Bold">Gender radicalism</span>: a radical redefinition of gender that identifies powerful people as male, and everyone else as female.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Gender radicalism</span>: a radical redefinition of gender that identifies powerful people as male, and everyone else as female.</span>*/ } } } @@ -949,10 +949,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`gender traditionalism, including a societal preference for feminine slaves ${(V.seePreg !== 0) ? ` and support for slave pregnancy` : ``}.`); } else { - /*<span class="note"><span style="font-weight:Bold">Gender traditionalism</span>: a societal preference for feminine slaves + /* <span class="note"><span style="font-weight:Bold">Gender traditionalism</span>: a societal preference for feminine slaves if (V.seePreg !== 0) { r.push(` and support for slave pregnancy`); } @@ -981,10 +981,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a vision of slave improvement, including slaves' health, mental well-being, and education.`); } else { - /*<span class="note"><span style="font-weight:Bold">Paternalism</span>: a vision of slave improvement, including slaves' health, mental well-being, and education.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Paternalism</span>: a vision of slave improvement, including slaves' health, mental well-being, and education.</span>*/ } } } @@ -1005,10 +1005,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a belief that slaves are not human and should not be treated decently.`); } else { - /*<span class="note"><span style="font-weight:Bold">Degradation</span>: a belief that slaves are not human and should not be treated decently.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Degradation</span>: a belief that slaves are not human and should not be treated decently.</span>*/ } } } @@ -1033,11 +1033,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal disapproval of implant surgery`); - } else { - /*<span class="note"><span style="font-weight:Bold">Body Purism</span>: societal disapproval of implant surgery.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Body Purism</span>: societal disapproval of implant surgery.</span>*/ } } } @@ -1058,10 +1057,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal fetishization of implant surgery.`); } else { - /*<span class="note"><span style="font-weight:Bold">Transformation Fetishism</span>: societal fetishization of implant surgery.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Transformation Fetishism</span>: societal fetishization of implant surgery.</span>*/ } } } @@ -1086,10 +1085,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is increased interest in girls just past their majority.`); } else { - /*<span class="note"><span style="font-weight:Bold">Youth Preferentialism</span>: increased interest in girls just past their majority.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Youth Preferentialism</span>: increased interest in girls just past their majority.</span>*/ } } } @@ -1110,10 +1109,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is increased interest in mature slaves.`); } else { - /*<span class="note"><span style="font-weight:Bold">Maturity Preferentialism</span>: increased interest in mature slaves.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Maturity Preferentialism</span>: increased interest in mature slaves.</span>*/ } } } @@ -1138,10 +1137,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is increased interest in short slaves.`); } else { - /*<span class="note"><span style="font-weight:Bold">Petite Admiration</span>: increased interest in short slaves.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Petite Admiration</span>: increased interest in short slaves.</span>*/ } } } @@ -1162,10 +1161,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal fixation on tallness.`); } else { - /*<span class="note"><span style="font-weight:Bold">Statuesque Glorification</span>: societal fixation on tallness.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Statuesque Glorification</span>: societal fixation on tallness.</span>*/ } } } @@ -1190,10 +1189,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a fashion for slaves with girlish figures.`); } else { - /*<span class="note"><span style="font-weight:Bold">Slimness Enthusiasm</span>: a fashion for slaves with girlish figures.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Slimness Enthusiasm</span>: a fashion for slaves with girlish figures.</span>*/ } } } @@ -1214,10 +1213,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal hunger for huge assets of whatever origin.`); } else { - /*<span class="note"><span style="font-weight:Bold">Asset Expansionism</span>: societal hunger for huge assets of whatever origin.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Asset Expansionism</span>: societal hunger for huge assets of whatever origin.</span>*/ } } } @@ -1241,10 +1240,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal acceptance of slave products like milk.`); } else { - /*<span class="note"><span style="font-weight:Bold">Slave Pastoralism</span>: societal acceptance of slave products like milk.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Slave Pastoralism</span>: societal acceptance of slave products like milk.</span>*/ } } App.Events.addNode(el, r, "p"); @@ -1268,10 +1267,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal reverence for the idealized human form, including height, health and muscle.`); } else { - /*<span class="note"><span style="font-weight:Bold">Physical Idealism</span>: societal reverence for the idealized human form, including height, health and muscle.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Physical Idealism</span>: societal reverence for the idealized human form, including height, health and muscle.</span>*/ } } } @@ -1292,10 +1291,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is societal acceptance of overindulgence and immediate gratification. Be it food, drink, sex, drugs or whatever one's desire may be.`); } else { - /*<span class="note"><span style="font-weight:Bold">HedonisticDecadence</span>: societal acceptance of over indulgence, particularly of food, drink, sex and drugs.</span>*/ + /* <span class="note"><span style="font-weight:Bold">HedonisticDecadence</span>: societal acceptance of over indulgence, particularly of food, drink, sex and drugs.</span>*/ } } } @@ -1320,10 +1319,10 @@ App.UI.FSPassage = function() { App.UI.reload(); } ) - ) + ); r.push(`is a new strain of religion that emphasizes the slaveholding portions of religious history.`); } else { - /*<span class="note"><span style="font-weight:Bold">Chattel Religionism</span>: a new strain of religion that emphasizes the slaveholding portions of religious history.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Chattel Religionism</span>: a new strain of religion that emphasizes the slaveholding portions of religious history.</span>*/ } } } @@ -1349,13 +1348,12 @@ App.UI.FSPassage = function() { r.push(FSIsChosen("FSChattelReligionist")); if (arc.FSNull <= 25) { r.push(abandonRel()); - } else { r.push(withdrawRel(25)); } if (_FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(25)) + r.push(advanceRel(25)); } } } else { @@ -1372,46 +1370,46 @@ App.UI.FSPassage = function() { } if (_FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(17)) + r.push(advanceRel(17)); } } } else { if (_FSCredits > 0) { - r.push(MulticulturalismRel(17)) + r.push(MulticulturalismRel(17)); } } } else if (V.FSCreditCount === 7) { if (arc.FSNull !== "unset") { if (arc.FSNull <= 20) { - r.push(abandonRel()) + r.push(abandonRel()); } else { - r.push(withdrawRel(15)) + r.push(withdrawRel(15)); } if (_FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(15)) + r.push(advanceRel(15)); } } } else { if (_FSCredits > 0) { - r.push(MulticulturalismRel(15)) + r.push(MulticulturalismRel(15)); } } } else { if (arc.FSNull !== "unset") { if (arc.FSNull <= 20) { - r.push(abandonRel()) + r.push(abandonRel()); } else { - r.push(withdrawRel(20)) + r.push(withdrawRel(20)); } if (_FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(20)) + r.push(advanceRel(20)); } } } else { if (_FSCredits > 0) { - r.push(MulticulturalismRel(20)) + r.push(MulticulturalismRel(20)); } } } @@ -1428,17 +1426,17 @@ App.UI.FSPassage = function() { } App.UI.reload(); } - ) + ); } function abandonRel() { return App.UI.DOM.link( "Abandon", () => { - FutureSocieties.remove("FSNull") + FutureSocieties.remove("FSNull"); App.UI.reload(); } - ) + ); } function advanceRel(num) { @@ -1453,7 +1451,7 @@ App.UI.FSPassage = function() { [], "", "a further commitment to allow your arcology's citizens cultural freedom" - ) + ); } function MulticulturalismRel(num) { @@ -1462,245 +1460,182 @@ App.UI.FSPassage = function() { App.UI.DOM.link( "Multiculturalism", () => { - arc.FSNull = num + arc.FSNull = num; App.UI.reload(); }, [], "", "a commitment to allow your arcology's citizens cultural freedom." ) - ) - multicultural.append(` This option is an alternative to societal advancement, and will not advance naturally.`) + ); + multicultural.append(` This option is an alternative to societal advancement, and will not advance naturally.`); return multicultural; } /* Revival section */ - <p> - <div> - if (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSRomanRevivalist !== "unset") { - r.push(pursuit); - a vision of a new Rome. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSRomanRevivalist"); - if (V.assistant.fsAppearance === "roman revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.toga"]; - <<includeDOM App.UI.FSChangeDecoration("FSRomanRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "businesswoman") || (V.assistant.appearance === "amazon") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Roman Revivalism|Future Society][arc.FSRomanRevivalist = 4]] is a vision of a new Rome. - </div> + + if ((arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSRomanRevivalist !== "unset") { + r.push(pursuit); + r.push(` a vision of a new Rome.`); + r.push(FSIsChosen("FSRomanRevivalist", ["boughtItem.clothing.toga"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Roman Revivalism", + () => { + arc.FSRomanRevivalist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of a new Rome.`); } else { - /*<span class="note"><span style="font-weight:Bold">Roman Revivalism</span>: a vision of a new Rome.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Roman Revivalism</span>: a vision of a new Rome.</span>*/ } + } } - } -</div> - <div> - if (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset")&& (arc.FSRomanRevivalist === "unset") { - if (arc.FSNeoImperialist !== "unset") { - r.push(pursuit); - a vision of a new Imperial Society. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSNeoImperialist"); - if (V.assistant.fsAppearance === "neoimperialist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.imperialarmor", "boughtItem.clothing.imperialsuit"]; - <<includeDOM App.UI.FSChangeDecoration("FSNeoImperialist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "businesswoman") || (V.assistant.appearance === "amazon") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "shemale") || (V.assistant.appearance === "angel") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Neo-Imperialism|Future Society][arc.FSNeoImperialist = 4]] is a vision of a new Imperial society, integrating high technology and old-world culture under the iron fist of your absolute rule. - </div> + if ((arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSRomanRevivalist === "unset")) { + if (arc.FSNeoImperialist !== "unset") { + r.push(pursuit); + r.push(`a vision of a new Imperial Society.`); + r.push(FSIsChosen("FSNeoImperialist", ["boughtItem.clothing.imperialarmor", "boughtItem.clothing.imperialsuit"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Neo-Imperialism", + () => { + arc.FSNeoImperialist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of a new Imperial society, integrating high technology and old-world culture under the iron fist of your absolute rule.`); } else { - /*<span class="note"><span style="font-weight:Bold">Neo-Imperialism</span>: a vision of a new Imperial Society, integrating high technology and old-world culture under the iron fist of your absolute rule.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Neo-Imperialism</span>: a vision of a new Imperial Society, integrating high technology and old-world culture under the iron fist of your absolute rule.</span>*/ } + } } - } -</div> - <div> - if (arc.FSRomanRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSAztecRevivalist !== "unset") { - r.push(pursuit); - a vision of a new Aztec Empire. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSAztecRevivalist"); - if (V.assistant.fsAppearance === "aztec revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.huipil"]; - <<includeDOM App.UI.FSChangeDecoration("FSAztecRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "goddess") || (V.assistant.appearance === "amazon") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Aztec Revivalism|Future Society][arc.FSAztecRevivalist = 4]] is a vision of a new Aztec Empire. - </div> + if ((arc.FSRomanRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSAztecRevivalist !== "unset") { + r.push(pursuit); + r.push(`a vision of a new Aztec Empire.`); + r.push(FSIsChosen("FSNeoImperialist", ["boughtItem.clothing.huipil"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Aztec Revivalism", + () => { + arc.FSAztecRevivalist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of a new Aztec Empire.`); } else { - /*<span class="note"><span style="font-weight:Bold">Aztec Revivalism</span>: a vision of a new Aztec Empire.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Aztec Revivalism</span>: a vision of a new Aztec Empire.</span>*/ } + } } - } -</div> - <div> - if (arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSEgyptianRevivalist !== "unset") { - r.push(pursuit); - a vision of Pharaoh's Egypt. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSEgyptianRevivalist"); - if (V.assistant.fsAppearance === "egyptian revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.egypt"]; - <<includeDOM App.UI.FSChangeDecoration("FSEgyptianRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "goddess") || (V.assistant.appearance === "monstergirl") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Egyptian Revivalism|Future Society][arc.FSEgyptianRevivalist = (4+arc.FSEgyptianRevivalistInterest), arc.FSEgyptianRevivalistIncestPolicy = 0]] is a vision of a Pharaoh's Egypt. - </div> + if ((arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSEgyptianRevivalist !== "unset") { + r.push(pursuit); + r.push(`a vision of Pharaoh's Egypt.`); + r.push(FSIsChosen("FSEgyptianRevivalist", ["boughtItem.clothing.egypt"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Egyptian Revivalism", + () => { + arc.FSEgyptianRevivalist = 4 + arc.FSEgyptianRevivalistInterest; + arc.FSEgyptianRevivalistIncestPolicy = 0; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of a Pharaoh's Egypt.`); } else { - /*<span class="note"><span style="font-weight:Bold">Egyptian Revivalism</span>: a vision of Pharaoh's Egypt.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Egyptian Revivalism</span>: a vision of Pharaoh's Egypt.</span>*/ } + } } - } -</div> - <div> - if (arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSEdoRevivalist !== "unset") { - r.push(pursuit); - a vision of Edo Japan. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSEdoRevivalist"); - if (V.assistant.fsAppearance === "edo revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.kimono"]; - <<includeDOM App.UI.FSChangeDecoration("FSEdoRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "amazon") || (V.assistant.appearance === "monstergirl") || (V.assistant.appearance === "loli") || (V.assistant.appearance === "kitsune") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Edo Revivalism|Future Society][arc.FSEdoRevivalist = 4]] is a vision of Edo Japan. - </div> + if ((arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSEdoRevivalist !== "unset") { + r.push(pursuit); + r.push(`a vision of Edo Japan.`); + r.push(FSIsChosen("FSEdoRevivalist", ["boughtItem.clothing.kimono"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Edo Revivalism", + () => { + arc.FSEdoRevivalist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of Edo Japan.`); } else { - /*<span class="note"><span style="font-weight:Bold">Edo Revivalism</span>: a vision of Edo Japan.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Edo Revivalism</span>: a vision of Edo Japan.</span>*/ } + } } - } -</div> - <div> - if (arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSArabianRevivalist !== "unset") { - r.push(pursuit); - a vision of the Sultanate of old. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSArabianRevivalist"); - if (V.assistant.fsAppearance === "arabian revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.harem"]; - <<includeDOM App.UI.FSChangeDecoration("FSArabianRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "businesswoman") || (V.assistant.appearance === "schoolgirl") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Arabian Revivalism|Future Society][arc.FSArabianRevivalist = 4]] is a vision of the Sultanate of old. - </div> + if ((arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSChineseRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSArabianRevivalist !== "unset") { + r.push(pursuit); + r.push(`a vision of the Sultanate of old.`); + r.push(FSIsChosen("FSArabianRevivalist", ["boughtItem.clothing.harem"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Arabian Revivalism", + () => { + arc.FSArabianRevivalist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of the Sultanate of old.`); } else { - /*<span class="note"><span style="font-weight:Bold">Arabian Revivalism</span>: a vision of the Sultanate of old.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Arabian Revivalism</span>: a vision of the Sultanate of old.</span>*/ } + } } - } -</div> - <div> - if (arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSNeoImperialist === "unset") { - if (arc.FSChineseRevivalist !== "unset") { - r.push(pursuit); - a vision of ancient China. - <span class="detail"> - <<link "Abandon" "Future Society">> - FutureSocieties.remove("FSChineseRevivalist"); - if (V.assistant.fsAppearance === "chinese revivalist") { - V.assistant.fsAppearance = "default"; - } - <</link>> - </span> - _items = ["boughtItem.clothing.qipao"]; - <<includeDOM App.UI.FSChangeDecoration("FSChineseRevivalist", _items)>> - if (V.policies.publicPA === 1) { - if (V.assistant.appearance === "schoolgirl") || (V.assistant.appearance === "monstergirl") || (V.assistant.appearance === "incubus") || (V.assistant.appearance === "succubus") { - <span class="note">With _hisA V.assistant.appearance appearance, V.assistant.name is a good public mascot for this goal.</span> - } - } - } else { - if (_FSCredits > 0) { - <div> - [[Chinese Revivalism|Future Society][arc.FSChineseRevivalist = 4]] is a vision of ancient China. - </div> + if ((arc.FSRomanRevivalist === "unset") && (arc.FSAztecRevivalist === "unset") && (arc.FSEgyptianRevivalist === "unset") && (arc.FSEdoRevivalist === "unset") && (arc.FSArabianRevivalist === "unset") && (arc.FSNeoImperialist === "unset")) { + if (arc.FSChineseRevivalist !== "unset") { + r.push(pursuit); + r.push(`a vision of ancient China.`); + r.push(FSIsChosen("FSChineseRevivalist", ["boughtItem.clothing.qipao"])); + } else { + if (_FSCredits > 0) { + r.push( + App.UI.DOM.link( + "Chinese Revivalism", + () => { + arc.FSChineseRevivalist = 4; + App.UI.reload(); + } + ) + ); + r.push(`is a vision of ancient China.`); } else { - /*<span class="note"><span style="font-weight:Bold">Chinese Revivalism</span>: a vision of ancient China.</span>*/ + /* <span class="note"><span style="font-weight:Bold">Chinese Revivalism</span>: a vision of ancient China.</span>*/ } + } } - } -</div> - </p> return el;