From dfa64af4093d3bbf5110a87defc86e3d6f12d2a0 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Fri, 29 Mar 2019 22:29:21 +0100 Subject: [PATCH] temp lits --- src/js/assayJS.js | 238 ++++++++++++++--------------- src/js/itemAvailability.js | 299 ++++++++++++++++++------------------- 2 files changed, 268 insertions(+), 269 deletions(-) diff --git a/src/js/assayJS.js b/src/js/assayJS.js index 526284a123e..c95285ce079 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -566,48 +566,48 @@ window.PCTitle = function PCTitle() { V.PCTitle = PlayerName(); if (V.cheater === 1) { - V.PCTitle = (V.PCTitle + " the Cheater"); + V.PCTitle = (`${V.PCTitle } the Cheater`); } else if (V.arcologies[0].FSRestart > 10) { - V.PCTitle = (V.PCTitle + " of the Societal Elite"); + V.PCTitle = (`${V.PCTitle } of the Societal Elite`); } else if (V.rep > 18000) { - V.PCTitle = (V.PCTitle + " the Great"); + V.PCTitle = (`${V.PCTitle } the Great`); } else if (V.rep > 17000) { - V.PCTitle = ("the exalted " + V.PCTitle); + V.PCTitle = (`the exalted ${ V.PCTitle}`); } else if (V.rep > 16000) { - V.PCTitle = ("the illustrious " + V.PCTitle); + V.PCTitle = (`the illustrious ${ V.PCTitle}`); } else if (V.rep > 15000) { - V.PCTitle = ("the prestigious " + V.PCTitle); + V.PCTitle = (`the prestigious ${ V.PCTitle}`); } else if (V.rep > 14000) { - V.PCTitle = ("the renowned " + V.PCTitle); + V.PCTitle = (`the renowned ${ V.PCTitle}`); } else if (V.rep > 13000) { - V.PCTitle = ("the famed " + V.PCTitle); + V.PCTitle = (`the famed ${ V.PCTitle}`); } else if (V.rep > 12000) { - V.PCTitle = ("the celebrated " + V.PCTitle); + V.PCTitle = (`the celebrated ${ V.PCTitle}`); } else if (V.rep > 11000) { - V.PCTitle = ("the honored " + V.PCTitle); + V.PCTitle = (`the honored ${ V.PCTitle}`); } else if (V.rep > 10000) { - V.PCTitle = ("the acclaimed " + V.PCTitle); + V.PCTitle = (`the acclaimed ${ V.PCTitle}`); } else if (V.rep > 9000) { - V.PCTitle = ("the eminent " + V.PCTitle); + V.PCTitle = (`the eminent ${ V.PCTitle}`); } else if (V.rep > 8250) { - V.PCTitle = ("the prominent " + V.PCTitle); + V.PCTitle = (`the prominent ${ V.PCTitle}`); } else if (V.rep > 7500) { - V.PCTitle = ("the distinguished " + V.PCTitle); + V.PCTitle = (`the distinguished ${ V.PCTitle}`); } else if (V.rep > 6750) { - V.PCTitle = ("the admired " + V.PCTitle); + V.PCTitle = (`the admired ${ V.PCTitle}`); } else if (V.rep > 6000) { - V.PCTitle = ("the esteemed " + V.PCTitle); + V.PCTitle = (`the esteemed ${ V.PCTitle}`); } else if (V.rep > 5250) { - V.PCTitle = ("the respected " + V.PCTitle); + V.PCTitle = (`the respected ${ V.PCTitle}`); } else if (V.rep > 4500) { - V.PCTitle = ("the known " + V.PCTitle); + V.PCTitle = (`the known ${ V.PCTitle}`); } else if (V.rep > 3750) { - V.PCTitle = ("the recognized " + V.PCTitle); + V.PCTitle = (`the recognized ${ V.PCTitle}`); } else if (V.rep > 3000) { - V.PCTitle = ("the rumored " + V.PCTitle); + V.PCTitle = (`the rumored ${ V.PCTitle}`); } - V.PCTitle = (V.PCTitle + ", "); + V.PCTitle = (`${V.PCTitle }, `); if (V.PC.name === "FC Dev") { titles.push("the Creator"); @@ -635,7 +635,7 @@ window.PCTitle = function PCTitle() { } if (V.SF.Active < -1) { - switch(V.SF.BadOutcome) { + switch (V.SF.BadOutcome) { case "lockdown": titles.push("The War Host"); break; @@ -650,17 +650,17 @@ window.PCTitle = function PCTitle() { if (V.mercenaries >= 5) { if (V.mercenariesTitle === "Evocati") { - titles.push("Princeps of the " + V.mercenariesTitle); + titles.push(`Princeps of the ${ V.mercenariesTitle}`); } else if (V.mercenariesTitle === "Knights") { if (V.PC.title === 1) { - titles.push("Lord Commander of the " + V.mercenariesTitle); + titles.push(`Lord Commander of the ${ V.mercenariesTitle}`); } else { - titles.push("Lady Commander of the " + V.mercenariesTitle); + titles.push(`Lady Commander of the ${ V.mercenariesTitle}`); } } else if (V.mercenariesTitle === "Immortals") { - titles.push("Tyrant of the " + V.mercenariesTitle); + titles.push(`Tyrant of the ${ V.mercenariesTitle}`); } else { - titles.push("Commander of the " + V.mercenariesTitle); + titles.push(`Commander of the ${ V.mercenariesTitle}`); } } else if (V.mercenaries >= 1) { titles.push("Commander of the Mercenaries"); @@ -1002,9 +1002,9 @@ window.PCTitle = function PCTitle() { if (schoolsPerfected.length === 1) { schoolTitle += schoolsPerfected[0]; } else if (schoolsPerfected.length === 2) { - schoolTitle += schoolsPerfected[0] + " and " + schoolsPerfected[1]; + schoolTitle += `${schoolsPerfected[0] } and ${ schoolsPerfected[1]}`; } else { - schoolsPerfected[schoolsPerfected.length - 1] = "and " + schoolsPerfected[schoolsPerfected.length - 1]; + schoolsPerfected[schoolsPerfected.length - 1] = `and ${ schoolsPerfected[schoolsPerfected.length - 1]}`; schoolTitle += schoolsPerfected.join(", "); } titles.push(schoolTitle); @@ -1015,9 +1015,9 @@ window.PCTitle = function PCTitle() { if (schoolsPresent.length === 1) { schoolTitle += schoolsPresent[0]; } else if (schoolsPresent.length === 2) { - schoolTitle += schoolsPresent[0] + " and " + schoolsPresent[1]; + schoolTitle += `${schoolsPresent[0] } and ${ schoolsPresent[1]}`; } else { - schoolsPresent[schoolsPresent.length - 1] = "and " + schoolsPresent[schoolsPresent.length - 1]; + schoolsPresent[schoolsPresent.length - 1] = `and ${ schoolsPresent[schoolsPresent.length - 1]}`; schoolTitle += schoolsPresent.join(", "); } titles.push(schoolTitle); @@ -1086,9 +1086,9 @@ window.PCTitle = function PCTitle() { if (titles.length === 1) { V.PCTitle += titles[0]; } else if (titles.length === 2) { - V.PCTitle += titles[0] + " and " + titles[1]; + V.PCTitle += `${titles[0] } and ${ titles[1]}`; } else { - titles[titles.length - 1] = "and " + titles[titles.length - 1]; + titles[titles.length - 1] = `and ${ titles[titles.length - 1]}`; V.PCTitle += titles.join(", "); } }; @@ -1184,104 +1184,104 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi if (slave.visualAge < 13) { if (slave.genes === "XY" && slave.vagina === -1) { - r = "shota " + r; + r = `shota ${ r}`; } else { - r = "loli " + r; + r = `loli ${ r}`; } } if (slave.geneticQuirks.albinism === 2) { - r = "albino " + r; + r = `albino ${ r}`; } if (slave.dick > 9 && slave.balls > 9 && slave.boobs > 12000) { - r = "hyper " + r; + r = `hyper ${ r}`; } if (slave.boobs > 4000 && slave.lactation > 0) { if (slave.physicalAge < 13) { - r = r + " calf"; + r = `${r } calf`; } else { - r = r + " cow"; + r = `${r } cow`; } } else if (slave.lactation > 0) { - r = "milky " + r; + r = `milky ${ r}`; } if (slave.boobs > 20000) { - r = "supermassive titted " + r; + r = `supermassive titted ${ r}`; } else if (slave.boobs > 10000) { - r = "giant titted " + r; + r = `giant titted ${ r}`; } else if (slave.boobs > 4000) { - r = "huge titted " + r; + r = `huge titted ${ r}`; } else if (slave.boobs > 1000) { - r = "busty " + r; + r = `busty ${ r}`; } if (slave.dick > 5 && slave.balls > 5) { - r = "womb filling " + r; + r = `womb filling ${ r}`; } else if (slave.dick > 5) { - r = "well hung " + r; + r = `well hung ${ r}`; } if (slave.butt >= 12) { - r = "colossal assed " + r; + r = `colossal assed ${ r}`; } else if (slave.butt >= 12) { - r = "massive assed " + r; + r = `massive assed ${ r}`; } else if (slave.butt >= 8) { - r = "fat assed " + r; + r = `fat assed ${ r}`; } else if (slave.butt >= 6) { - r = "bottom heavy " + r; + r = `bottom heavy ${ r}`; } else if (slave.butt >= 4) { - r = "big bottomed " + r; + r = `big bottomed ${ r}`; } if (slave.weight > 10 && slave.weight < 100 && slave.boobs > 5000 && slave.butt > 5 && slave.hips >= 2 && slave.bellyPreg >= 30000 && slave.births >= 10) { - r = r + " fertility goddess"; + r = `${r } fertility goddess`; } else if (slave.births >= 6) { - r = r + " broodmother"; + r = `${r } broodmother`; } else if (slave.births >= 3) { - r = r + " breeder"; + r = `${r } breeder`; } if (slave.indenture > -1) { - r = "indentured " + r; + r = `indentured ${ r}`; } if (slave.preg > slave.pregData.normalBirth/4 && slave.pregKnown === 1) { - r = "pregnant " + r; + r = `pregnant ${ r}`; } else if (slave.bellyFluid >= 5000) { - r = "bloated " + r; + r = `bloated ${ r}`; } else if (slave.belly >= 5000) { - r = "gravid " + r; + r = `gravid ${ r}`; } if (slave.fuckdoll > 0) { - r = r + " fuckdoll"; + r = `${r } fuckdoll`; } } else { r = "slave"; /* I don't tihnk there is an 'else'? */ if ((slave.dick === 0) && (slave.vagina === -1)) { /* NULLS */ r = "null"; if ((slave.lactation > 0) && (slave.boobs > 2000)) { - r = r + " cow"; + r = `${r } cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + " bimbo "; + r = `${r } bimbo `; } else if (slave.boobs > 6000) { - r = r + " boob"; + r = `${r } boob`; } else if (slave.butt > 6) { - r = r + " ass"; + r = `${r } ass`; } else if ((slave.muscles > 30) && (slave.height < 185)) { - r = r + " muscle"; + r = `${r } muscle`; } if (slave.visualAge > 55) { - r = r + "GILF"; + r = `${r }GILF`; } else if (slave.visualAge > 35) { - r = r + "MILF"; + r = `${r }MILF`; } else if (slave.visualAge >= 25) { - r = r + "slave"; + r = `${r }slave`; } else { - r = r + "girl"; + r = `${r }girl`; } } @@ -1296,15 +1296,15 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi r = "slavegirl"; } if ((slave.muscles > 30) && (slave.height < 185)) { - r = "muscle " + r; + r = `muscle ${ r}`; } else if ((slave.lactation > 0) && (slave.boobs > 2000)) { - r = r + " cow"; + r = `${r } cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + " bimbo"; + r = `${r } bimbo`; } else if (slave.boobs > 6000) { - r = "boob" + r; + r = `boob${ r}`; } else if (slave.butt > 6) { - r = "ass" + r; + r = `ass${ r}`; } } @@ -1315,27 +1315,27 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi r = "futa "; } if ((slave.lactation > 0) && (slave.boobs > 2000)) { - r = r + "cow"; + r = `${r }cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + "bimbo "; + r = `${r }bimbo `; } else if (slave.boobs > 6000) { - r = r + "boob"; + r = `${r }boob`; } else if (slave.butt > 6) { - r = r + "ass"; + r = `${r }ass`; } else if ((slave.muscles > 30) && (slave.height < 185)) { - r = r + "muscle"; + r = `${r }muscle`; } if (slave.visualAge > 55) { - r = r + "GILF"; + r = `${r }GILF`; } else if (slave.visualAge > 35) { - r = r + "MILF"; + r = `${r }MILF`; } else if (slave.visualAge >= 25) { - r = r + "slave"; + r = `${r }slave`; } else { - r = r + "girl"; + r = `${r }girl`; } if (slave.dick > 5 && slave.balls > 5 && slave.boobs > 5000) { - r = "hyper " + r; + r = `hyper ${ r}`; } } @@ -1350,15 +1350,15 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi r = "tgirl"; } if ((slave.muscles > 30) && (slave.height < 185)) { - r = "muscle" + r; + r = `muscle${ r}`; } else if ((slave.lactation > 0) && (slave.boobs > 2000)) { - r = r + " cow"; + r = `${r } cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + " bimbo"; + r = `${r } bimbo`; } else if (slave.boobs > 6000) { - r = "topheavy " + r; + r = `topheavy ${ r}`; } else if (slave.butt > 6) { - r = "bottomheavy " + r; + r = `bottomheavy ${ r}`; } } @@ -1385,9 +1385,9 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi } } if (slave.lactation > 0) { - r = r + " cow"; + r = `${r } cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + " bimbo"; + r = `${r } bimbo`; } } } @@ -1398,18 +1398,18 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi if ((slave.shoulders > 1) || (slave.muscles >= 30)) { /* BITCHES: masculine shoulders or muscles */ r = "bitch"; if ((slave.muscles > 30) && (slave.height < 185)) { - r = "muscle" + r; + r = `muscle${ r}`; } else if (slave.lactation > 0) { - r = r + "cow"; + r = `${r }cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = "bimbo " + r; + r = `bimbo ${ r}`; } if (slave.visualAge > 55) { - r = "aged " + r; + r = `aged ${ r}`; } else if (slave.visualAge > 35) { - r = "mature " + r; + r = `mature ${ r}`; } else if (slave.visualAge < 25) { - r = "young " + r; + r = `young ${ r}`; } } } @@ -1418,61 +1418,61 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi if ((slave.dick !== 0) && (slave.vagina === -1) && (slave.balls === 0)) { r = "dick"; if (slave.visualAge > 55) { - r = r + "GILF"; + r = `${r }GILF`; } else if (slave.visualAge > 35) { - r = r + "MILF"; + r = `${r }MILF`; } else if (slave.visualAge >= 25) { - r = r + "slave"; + r = `${r }slave`; } else { - r = r + "girl"; + r = `${r }girl`; } if ((slave.muscles > 30) && (slave.height < 185)) { - r = "muscle" + r; + r = `muscle${ r}`; } else if ((slave.lactation > 0) && (slave.boobs > 2000)) { - r = r + " cow"; + r = `${r } cow`; } else if ((slave.boobsImplant > 0) && (slave.buttImplant > 0)) { - r = r + " bimbo"; + r = `${r } bimbo`; } else if (slave.boobs > 6000) { - r = "boob " + r; + r = `boob ${ r}`; } else if (slave.butt > 6) { - r = "ass " + r; + r = `ass ${ r}`; } } if ((slave.muscles > 30) && (slave.height > 185)) { - r = "amazon " + r; + r = `amazon ${ r}`; } else if ((slave.muscles < 30) && (slave.height > 185)) { - r = "statuesque " + r; + r = `statuesque ${ r}`; } else if ((slave.boobs < 800) && (slave.height < 150)) { - r = "petite " + r; + r = `petite ${ r}`; } else if ((slave.boobs > 800) && (slave.height < 150)) { - r = "shortstack " + r; + r = `shortstack ${ r}`; } if (slave.births >= 5) { - r = r + " broodmother"; + r = `${r } broodmother`; } else if (slave.births >= 2) { - r = r + " breeder"; + r = `${r } breeder`; } if (slave.geneticQuirks.albinism === 2) { - r = "albino " + r; + r = `albino ${ r}`; } if (slave.indenture > -1) { - r = "indentured " + r; + r = `indentured ${ r}`; } if (slave.preg > slave.pregData.normalBirth/4 && slave.pregKnown === 1) { - r = "pregnant " + r; + r = `pregnant ${ r}`; } else if (slave.bellyFluid >= 5000) { - r = "bloated " + r; + r = `bloated ${ r}`; } else if (slave.belly >= 5000) { - r = "gravid " + r; + r = `gravid ${ r}`; } if (slave.fuckdoll > 0) { - r = r + " fuckdoll"; + r = `${r } fuckdoll`; } } return r; @@ -1499,10 +1499,10 @@ window.DegradingName = /** @param {App.Entity.SlaveState} slave */ function Degr const suffixes = []; if (slave.fuckdoll > 0) { - slave.slaveName = "Fuckdoll No. " + slave.ID; + slave.slaveName = `Fuckdoll No. ${ slave.ID}`; slave.slaveSurname = 0; } else if (slave.assignment === "work in the dairy" && V.dairyRestraintsSetting >= 2) { - slave.slaveName = "Bioreactor No. " + slave.ID; + slave.slaveName = `Bioreactor No. ${ slave.ID}`; slave.slaveSurname = 0; } else { if (V.seeRace === 1) { diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 2bbfa0e6694..049b0668248 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -5,155 +5,154 @@ window.isItemAccessible = function(string) { if (V.cheatMode === 1) { return true; - } else { - switch (string) { /* no breaks needed because we always return */ - case "attractive lingerie for a pregnant woman": - return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtMaternityLingerie === 1); - case "a bunny outfit": - return (V.arcologies[0].FSGenderFundamentalist > 0 || V.clothesBoughtBunny === 1); - case "body oil": - return (V.arcologies[0].FSPhysicalIdealist > 0 || V.clothesBoughtOil === 1); - case "chains": - return (V.arcologies[0].FSDegradationist > 0 || V.clothesBoughtChains === 1); - case "a chattel habit": - return (V.arcologies[0].FSChattelReligionist > 0 || V.clothesBoughtHabit === 1); - case "conservative clothing": - return (V.arcologies[0].FSPaternalist > 0 || V.clothesBoughtConservative === 1); - case "harem gauze": - return (V.arcologies[0].FSArabianRevivalist > 0 || V.clothesBoughtHarem === 1); - case "a huipil": - return (V.arcologies[0].FSAztecRevivalist > 0 || V.clothesBoughtHuipil === 1); - case "a kimono": - return (V.arcologies[0].FSEdoRevivalist > 0 || V.clothesBoughtKimono === 1 || V.continent === "Japan"); - case "a maternity dress": - return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtMaternityDress === 1); - case "a slutty qipao": - return (V.arcologies[0].FSChineseRevivalist > 0 || V.clothesBoughtQipao === 1); - case "a long qipao": - return (V.arcologies[0].FSChineseRevivalist > 0 || V.clothesBoughtCultural === 1); - case "stretch pants and a crop-top": - return (V.arcologies[0].FSHedonisticDecadence > 0 || V.clothesBoughtLazyClothes === 1); - case "a toga": - return (V.arcologies[0].FSRomanRevivalist > 0 || V.clothesBoughtToga === 1); - case "Western clothing": - return (V.arcologies[0].FSPastoralist > 0 || V.clothesBoughtWestern === 1); - case "battlearmor": - case "a military uniform": - case "a red army uniform": - case "battledress": - return (V.clothesBoughtMilitary === 1); - case "a biyelgee costume": - case "a dirndl": - case "lederhosen": - case "a mounty outfit": - case "a hanbok": - return (V.clothesBoughtCultural === 1); - case "a burqa": - case "a niqab and abaya": - return (V.clothesBoughtMiddleEastern === 1 || V.continent === "the Middle East"); - case "a hijab and blouse": - return (V.clothesBoughtMiddleEastern === 1 || V.clothesBoughtConservative === 1 || V.continent === "the Middle East"); - case "a burkini": - return (V.clothesBoughtMiddleEastern === 1 && V.clothesBoughtSwimwear === 1 || V.continent === "the Middle East"); - case "a Santa dress": - return (V.clothesBoughtCostume === 1); - case "a klan robe": - case "a slutty klan robe": - case "a schutzstaffel uniform": - case "a slutty schutzstaffel uniform": - return (V.clothesBoughtPol === 1); - case "nice business attire": - case "a nice nurse outfit": - case "a police uniform": - return (V.clothesBoughtCareer === 1); - case "a nice maid outfit": - return (V.clothesBoughtCareer === 1 || V.PC.career === "servant"); - case "a ball gown": - case "a gothic lolita dress": - //case 'a halter top dress': - //case 'a mini dress': - //case 'a slave gown': - return (V.clothesBoughtDresses === 1); - case "a cybersuit": - case "a latex catsuit": - return (V.clothesBoughtBodysuits === 1); - case "a button-up shirt and panties": - case "a button-up shirt": - case "cutoffs": - case "jeans": - case "leather pants and a tube top": - case "leather pants": - case "an oversized t-shirt": - case "a sweater and cutoffs": - case "a sweater and panties": - case "a sweater": - case "a t-shirt and jeans": - case "a t-shirt and panties": - case "a t-shirt": - case "a tank-top and panties": - case "a tank-top": - case "a tube top": - return (V.clothesBoughtCasual === 1); - case "boyshorts": - case "a bra": - case "kitty lingerie": - case "panties and pasties": - case "a skimpy loincloth": - case "a thong": - return (V.clothesBoughtUnderwear === 1); - case "leather pants and pasties": - case "a t-shirt and thong": - case "a tube top and thong": - case "an oversized t-shirt and boyshorts": - return (V.clothesBoughtUnderwear === 1 && V.clothesBoughtCasual === 1); - case "sport shorts and a sports bra": - case "sport shorts": - case "a sports bra": - return (V.clothesBoughtSports === 1); - case "sport shorts and a t-shirt": - return (V.clothesBoughtSports === 1 && V.clothesBoughtCasual === 1); - case "a nice pony outfit": - case "a slutty pony outfit": - return (V.clothesBoughtPony === 1); - case "a monokini": - case "a one-piece swimsuit": - return (V.clothesBoughtSwimwear === 1); - case "shimapan panties": - case "a striped bra": - case "striped panties": - case "striped underwear": - return (V.clothesBoughtPantsu === 1 || V.continent === "Japan"); - case "bowtie": - return (V.arcologies[0].FSGenderFundamentalist > 0 || V.clothesBoughtBunny === 1); - case "ancient Egyptian": - return (V.arcologies[0].FSEgyptianRevivalist > 0 || V.clothesBoughtEgypt === 1); - case "pasties": /* an option in saChoosesOwnClothes.tw, but everything else (e.g. descriptions, artwork, option in wardrobeUse.tw) is missing or not hooked up correctly */ - return false; - case "massive dildo gag": - return (V.toysBoughtGags === 1); - case "a small empathy belly": - case "a medium empathy belly": - case "a large empathy belly": - case "a huge empathy belly": - return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtBelly === 1); - case "bullet vibrator": - case "smart bullet vibrator": - case "long dildo": - case "long, large dildo": - case "long, huge dildo": - return (V.toysBoughtDildos === 1); - case "vibrator": - return (V.toysBoughtVaginalAttachments === 1); - case "long plug": - case "long, large plug": - case "long, huge plug": - return (V.toysBoughtButtPlugs === 1); - case "tail": - case "cat tail": - case "fox tail": - return (V.toysBoughtButtPlugTails === 1); - default: - return true; - } + } + switch (string) { /* no breaks needed because we always return */ + case "attractive lingerie for a pregnant woman": + return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtMaternityLingerie === 1); + case "a bunny outfit": + return (V.arcologies[0].FSGenderFundamentalist > 0 || V.clothesBoughtBunny === 1); + case "body oil": + return (V.arcologies[0].FSPhysicalIdealist > 0 || V.clothesBoughtOil === 1); + case "chains": + return (V.arcologies[0].FSDegradationist > 0 || V.clothesBoughtChains === 1); + case "a chattel habit": + return (V.arcologies[0].FSChattelReligionist > 0 || V.clothesBoughtHabit === 1); + case "conservative clothing": + return (V.arcologies[0].FSPaternalist > 0 || V.clothesBoughtConservative === 1); + case "harem gauze": + return (V.arcologies[0].FSArabianRevivalist > 0 || V.clothesBoughtHarem === 1); + case "a huipil": + return (V.arcologies[0].FSAztecRevivalist > 0 || V.clothesBoughtHuipil === 1); + case "a kimono": + return (V.arcologies[0].FSEdoRevivalist > 0 || V.clothesBoughtKimono === 1 || V.continent === "Japan"); + case "a maternity dress": + return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtMaternityDress === 1); + case "a slutty qipao": + return (V.arcologies[0].FSChineseRevivalist > 0 || V.clothesBoughtQipao === 1); + case "a long qipao": + return (V.arcologies[0].FSChineseRevivalist > 0 || V.clothesBoughtCultural === 1); + case "stretch pants and a crop-top": + return (V.arcologies[0].FSHedonisticDecadence > 0 || V.clothesBoughtLazyClothes === 1); + case "a toga": + return (V.arcologies[0].FSRomanRevivalist > 0 || V.clothesBoughtToga === 1); + case "Western clothing": + return (V.arcologies[0].FSPastoralist > 0 || V.clothesBoughtWestern === 1); + case "battlearmor": + case "a military uniform": + case "a red army uniform": + case "battledress": + return (V.clothesBoughtMilitary === 1); + case "a biyelgee costume": + case "a dirndl": + case "lederhosen": + case "a mounty outfit": + case "a hanbok": + return (V.clothesBoughtCultural === 1); + case "a burqa": + case "a niqab and abaya": + return (V.clothesBoughtMiddleEastern === 1 || V.continent === "the Middle East"); + case "a hijab and blouse": + return (V.clothesBoughtMiddleEastern === 1 || V.clothesBoughtConservative === 1 || V.continent === "the Middle East"); + case "a burkini": + return (V.clothesBoughtMiddleEastern === 1 && V.clothesBoughtSwimwear === 1 || V.continent === "the Middle East"); + case "a Santa dress": + return (V.clothesBoughtCostume === 1); + case "a klan robe": + case "a slutty klan robe": + case "a schutzstaffel uniform": + case "a slutty schutzstaffel uniform": + return (V.clothesBoughtPol === 1); + case "nice business attire": + case "a nice nurse outfit": + case "a police uniform": + return (V.clothesBoughtCareer === 1); + case "a nice maid outfit": + return (V.clothesBoughtCareer === 1 || V.PC.career === "servant"); + case "a ball gown": + case "a gothic lolita dress": + //case 'a halter top dress': + //case 'a mini dress': + //case 'a slave gown': + return (V.clothesBoughtDresses === 1); + case "a cybersuit": + case "a latex catsuit": + return (V.clothesBoughtBodysuits === 1); + case "a button-up shirt and panties": + case "a button-up shirt": + case "cutoffs": + case "jeans": + case "leather pants and a tube top": + case "leather pants": + case "an oversized t-shirt": + case "a sweater and cutoffs": + case "a sweater and panties": + case "a sweater": + case "a t-shirt and jeans": + case "a t-shirt and panties": + case "a t-shirt": + case "a tank-top and panties": + case "a tank-top": + case "a tube top": + return (V.clothesBoughtCasual === 1); + case "boyshorts": + case "a bra": + case "kitty lingerie": + case "panties and pasties": + case "a skimpy loincloth": + case "a thong": + return (V.clothesBoughtUnderwear === 1); + case "leather pants and pasties": + case "a t-shirt and thong": + case "a tube top and thong": + case "an oversized t-shirt and boyshorts": + return (V.clothesBoughtUnderwear === 1 && V.clothesBoughtCasual === 1); + case "sport shorts and a sports bra": + case "sport shorts": + case "a sports bra": + return (V.clothesBoughtSports === 1); + case "sport shorts and a t-shirt": + return (V.clothesBoughtSports === 1 && V.clothesBoughtCasual === 1); + case "a nice pony outfit": + case "a slutty pony outfit": + return (V.clothesBoughtPony === 1); + case "a monokini": + case "a one-piece swimsuit": + return (V.clothesBoughtSwimwear === 1); + case "shimapan panties": + case "a striped bra": + case "striped panties": + case "striped underwear": + return (V.clothesBoughtPantsu === 1 || V.continent === "Japan"); + case "bowtie": + return (V.arcologies[0].FSGenderFundamentalist > 0 || V.clothesBoughtBunny === 1); + case "ancient Egyptian": + return (V.arcologies[0].FSEgyptianRevivalist > 0 || V.clothesBoughtEgypt === 1); + case "pasties": /* an option in saChoosesOwnClothes.tw, but everything else (e.g. descriptions, artwork, option in wardrobeUse.tw) is missing or not hooked up correctly */ + return false; + case "massive dildo gag": + return (V.toysBoughtGags === 1); + case "a small empathy belly": + case "a medium empathy belly": + case "a large empathy belly": + case "a huge empathy belly": + return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtBelly === 1); + case "bullet vibrator": + case "smart bullet vibrator": + case "long dildo": + case "long, large dildo": + case "long, huge dildo": + return (V.toysBoughtDildos === 1); + case "vibrator": + return (V.toysBoughtVaginalAttachments === 1); + case "long plug": + case "long, large plug": + case "long, huge plug": + return (V.toysBoughtButtPlugs === 1); + case "tail": + case "cat tail": + case "fox tail": + return (V.toysBoughtButtPlugTails === 1); + default: + return true; } }; -- GitLab