From dbb70bacc776d5799d4a2bba091ed5331fff961e Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 7 Dec 2020 00:27:24 -0500 Subject: [PATCH] ass --- src/facilities/fsPassage.js | 120 ++++++++++++++++++++++++------------ 1 file changed, 79 insertions(+), 41 deletions(-) diff --git a/src/facilities/fsPassage.js b/src/facilities/fsPassage.js index e87f9631c9b..147ca0616dc 100644 --- a/src/facilities/fsPassage.js +++ b/src/facilities/fsPassage.js @@ -653,11 +653,42 @@ App.UI.FSPassage = function() { const el = new DocumentFragment(); let r; let p; - + const assistantMatching = new Map([ - ["FSSupremacist", ["amazon", "monstergirl", "succubus"]] + ["FSSupremacist", ["amazon", "monstergirl", "succubus"]], + ["FSSubjugationist", [""]], + ["FSGenderRadicalist", [""]], + ["FSGenderFundamentalist", [""]], + ["FSDegradationist", [""]], + ["FSPaternalist", [""]], + ["FSBodyPurist", [""]], + ["FSTransformationFetishist", [""]], + ["FSYouthPreferentialist", [""]], + ["FSMaturityPreferentialist", [""]], + ["FSSlimnessEnthusiast", [""]], + ["FSAssetExpansionist", [""]], + ["FSPastoralist", [""]], + ["FSPhysicalIdealist", [""]], + ["FSHedonisticDecadence", [""]], + ["FSChattelReligionist", [""]], + ["FSNull", [""]], + ["FSRomanRevivalist", [""]], + ["FSNeoImperialist", [""]], + ["FSEgyptianRevivalist", [""]], + ["FSEdoRevivalist", [""]], + ["FSArabianRevivalist", [""]], + ["FSChineseRevivalist", [""]], + ["FSAztecRevivalist", [""]], + ["FSRepopulationFocus", [""]], + ["FSRestart", [""]], + ["FSIntellectualDependency", [""]], + ["FSSlaveProfessionalism", [""]], + ["FSPetiteAdmiration", [""]], + ["FSStatuesqueGlorification", [""]] ]); - const pursuit = App.UI.DOM.makeElement("span", "You are pursuing", "bold"); + function pursuit() { + return App.UI.DOM.makeElement("span", "You are pursuing", "bold"); + } /** * @@ -699,7 +730,7 @@ App.UI.FSPassage = function() { p = document.createElement("p"); r = []; if (arc.FSSupremacist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`${arc.FSSupremacistRace} superiority.`); r.push(FSIsChosen("FSSupremacist")); } else { @@ -743,7 +774,7 @@ App.UI.FSPassage = function() { App.Events.addNode(p, r, "div"); r = []; if (arc.FSSubjugationist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`${arc.FSSupremacistRace} inferiority.`); r.push(FSIsChosen("FSSubjugationist")); } else { @@ -794,7 +825,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSRestart === "unset") { if (arc.FSRepopulationFocus !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`the belief that mass breeding will save humanity.`); r.push(FSIsChosen("FSRepopulationFocus", ["boughtItem.clothing.maternityLingerie", "boughtItem.clothing.maternityDress", "boughtItem.clothing.belly"])); } else { @@ -821,7 +852,7 @@ App.UI.FSPassage = function() { if (arc.FSRepopulationFocus === "unset") { if (arc.FSRestart !== "unset") { if (arc.FSRestartDecoration !== 100) { - r.push(pursuit); + r.push(pursuit()); r.push(`Eugenics.`); r.push(FSIsChosen("FSRestart")); } else { @@ -858,7 +889,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSSlaveProfessionalism === "unset") { if (arc.FSIntellectualDependency !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`intellectual dependency, a belief that slaves should be airheaded, horny and fully dependent on their owners.`); r.push(FSIsChosen("FSIntellectualDependency", ["boughtItem.clothing.bimbo"])); } else { @@ -882,7 +913,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSIntellectualDependency === "unset") { if (arc.FSSlaveProfessionalism !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`slave professionalism, a focus on smart, refined, altogether perfect slaves.`); r.push(FSIsChosen("FSSlaveProfessionalism", ["boughtItem.clothing.courtesan"])); } else { @@ -911,7 +942,7 @@ App.UI.FSPassage = function() { if (V.seeDicks !== 0 || V.makeDicks === 1) { if (arc.FSGenderFundamentalist === "unset") { if (arc.FSGenderRadicalist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`a radical redefinition of gender that identifies powerful people as male, and everyone else as female.`); r.push(FSIsChosen("FSGenderRadicalist")); } else { @@ -936,7 +967,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSGenderRadicalist === "unset") { if (arc.FSGenderFundamentalist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`gender traditionalism, including a societal preference for feminine slaves ${(V.seePreg !== 0) ? ` and support for slave pregnancy` : ``}.`); r.push(FSIsChosen("FSGenderRadicalist", ["boughtItem.clothing.bunny"])); } else { @@ -968,9 +999,9 @@ App.UI.FSPassage = function() { r = []; if (arc.FSDegradationist === "unset") { if (arc.FSPaternalist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`a vision of slave improvement, including slaves' health, mental well-being, and education.`); - r.push(FSIsChosen("FSGenderRadicalist", ["boughtItem.clothing.conservative"])); + r.push(FSIsChosen("FSPaternalist", ["boughtItem.clothing.conservative"])); } else { if (_FSCredits > 0) { r.push( @@ -992,7 +1023,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSPaternalist === "unset") { if (arc.FSDegradationist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`slave degradation, a belief that slaves are not human and should not be treated decently.`); r.push(FSIsChosen("FSDegradationist", ["boughtItem.clothing.chains"])); } else { @@ -1020,7 +1051,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSTransformationFetishist === "unset") { if (arc.FSBodyPurist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`societal disapproval of implant surgery.`); r.push(FSIsChosen("FSBodyPurist")); } else { @@ -1044,7 +1075,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSBodyPurist === "unset") { if (arc.FSTransformationFetishist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`societal fetishization of implant surgery.`); r.push(FSIsChosen("FSTransformationFetishist")); } else { @@ -1072,7 +1103,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSMaturityPreferentialist === "unset") { if (arc.FSYouthPreferentialist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`an accentuated societal preference for younger slaves.`); r.push(FSIsChosen("FSYouthPreferentialist")); } else { @@ -1096,7 +1127,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSYouthPreferentialist === "unset") { if (arc.FSMaturityPreferentialist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`a societal preference for older women.`); r.push(FSIsChosen("FSMaturityPreferentialist")); } else { @@ -1124,7 +1155,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSStatuesqueGlorification === "unset") { if (arc.FSPetiteAdmiration !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`an accentuated societal preference for short slaves.`); r.push(FSIsChosen("FSPetiteAdmiration")); } else { @@ -1148,7 +1179,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSPetiteAdmiration === "unset") { if (arc.FSStatuesqueGlorification !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`a societal fixation on tallness.`); r.push(FSIsChosen("FSPetiteAdmiration")); } else { @@ -1200,7 +1231,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSSlimnessEnthusiast === "unset") { if (arc.FSAssetExpansionist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(` societal hunger for huge assets.`); r.push(FSIsChosen("FSAssetExpansionist")); } else { @@ -1227,7 +1258,7 @@ App.UI.FSPassage = function() { /* Milking stands alone */ r = []; if (arc.FSPastoralist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`societal normalization of slave milking.`); r.push(FSIsChosen("FSAssetExpansionist", ["boughtItem.clothing.western"])); } else { @@ -1254,7 +1285,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSHedonisticDecadence === "unset") { if (arc.FSPhysicalIdealist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`societal reverence for the idealized human form, including height, health and muscle.`); r.push(FSIsChosen("FSAssetExpansionist", ["boughtItem.clothing.oil"])); } else { @@ -1278,7 +1309,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSPhysicalIdealist === "unset") { if (arc.FSHedonisticDecadence !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`societal normalization of overindulgence and immediate gratification.Be it food, drink, sex, drugs or whatever one's desire may be.`); r.push(FSIsChosen("FSAssetExpansionist")); } else { @@ -1306,7 +1337,7 @@ App.UI.FSPassage = function() { r = []; if (arc.FSNull === "unset") { if (arc.FSChattelReligionist !== "unset") { - r.push(pursuit); + r.push(pursuit()); r.push(`a new strain of religion that emphasizes the slaveholding portions of religious history.`); r.push(FSIsChosen("FSChattelReligionist", ["boughtItem.clothing.habit"])); } else { @@ -1472,12 +1503,12 @@ App.UI.FSPassage = function() { return multicultural; } - /* Revival section */ - + p = document.createElement("p"); + r = []; 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(pursuit()); r.push(` a vision of a new Rome.`); r.push(FSIsChosen("FSRomanRevivalist", ["boughtItem.clothing.toga"])); } else { @@ -1497,10 +1528,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of a new Imperial Society.`); r.push(FSIsChosen("FSNeoImperialist", ["boughtItem.clothing.imperialarmor", "boughtItem.clothing.imperialsuit"])); } else { @@ -1520,10 +1552,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of a new Aztec Empire.`); r.push(FSIsChosen("FSNeoImperialist", ["boughtItem.clothing.huipil"])); } else { @@ -1543,10 +1576,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of Pharaoh's Egypt.`); r.push(FSIsChosen("FSEgyptianRevivalist", ["boughtItem.clothing.egypt"])); } else { @@ -1567,10 +1601,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of Edo Japan.`); r.push(FSIsChosen("FSEdoRevivalist", ["boughtItem.clothing.kimono"])); } else { @@ -1590,10 +1625,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of the Sultanate of old.`); r.push(FSIsChosen("FSArabianRevivalist", ["boughtItem.clothing.harem"])); } else { @@ -1613,10 +1649,11 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + r = []; 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(pursuit()); r.push(`a vision of ancient China.`); r.push(FSIsChosen("FSChineseRevivalist", ["boughtItem.clothing.qipao"])); } else { @@ -1636,7 +1673,8 @@ App.UI.FSPassage = function() { } } } - + App.Events.addNode(p, r, "div"); + el.append(p); return el; } -- GitLab