From a51b71f12c2e3bf6f513ee858a254dd1a2e99749 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 17 Feb 2020 00:34:51 -0500 Subject: [PATCH] setup js --- js/003-data/miscData.js | 165 +++++++++++++++++++++++++++++++++++++ src/js/itemAvailability.js | 13 ++- 2 files changed, 177 insertions(+), 1 deletion(-) diff --git a/js/003-data/miscData.js b/js/003-data/miscData.js index 31a9ec88db5..f9d2c1c3b32 100644 --- a/js/003-data/miscData.js +++ b/js/003-data/miscData.js @@ -452,6 +452,171 @@ App.Data.misc = { badNames: ["Ass Kisser", "Ass Licker", "Ass", "Assfucker", "Asshole", "Ballsack", "Bastard", "Bitch", "Cock", "Cocksucker", "Coward", "Creep", "Cum Rag", "Cunt", "Degenerate", "Despoiler", "Dick", "Dickhead", "Dicksucker", "Dickweed", "Dipshit", "Douchebag", "Dumbass", "DumbFuck", "Dunderfuck", "Faggot", "Fucker", "Fuckface", "Fuckhead", "Fucko", "Fucktard", "Fuckwit", "Idiot", "Inbred", "Jackass", "Jerk", "Jizz Stain", "Moron", "Motherfucker", "Nutsack", "Pissbaby", "Prick", "Pussy", "Rapist", "Ratfuck", "Retard", "Ruiner", "Schmuck", "Scumbag", "Shitbird", "Shithead", "Slave", "Slaver", "Sleazeball", "Slut", "Sodomite", "Thundercunt", "Traitor", "Trash", "Whore"], + clothes: [ + { name: "Cruel retirement counter", value: "cruel retirement counter", unlock: {seeAge: 1} }, + {name: "attractive lingerie for a pregnant woman", value: "attractive lingerie for a pregnant woman", unlock: {FSRepopulationFocus: 1, clothesBoughtMaternityLingerie: 1} }, + {name: "a bunny outfit", value: "a bunny outfit", fs: "FSGenderFundamentalist", unlock: {clothesBoughtBunny: 1} }, + {name: "body oil", value: "body oil", fs: "FSPhysicalIdealist", unlock: {clothesBoughtOil: 1} }, + {name: "chains", value: "chains", fs: "FSDegradationist", unlock: {clothesBoughtChains: 1} }, + {name: "a chattel habit", value: "a chattel habit", fs: "FSChattelReligionist", unlock: {clothesBoughtHabit: 1} }, + {name: "conservative clothing", value: "conservative clothing", fs: "FSPaternalist", unlock: {clothesBoughtConservative: 1} }, + {name: "harem gauze", value: "harem gauze", fs: "FSArabianRevivalist", unlock: {clothesBoughtHarem: 1} }, + {name: "a huipil", value: "a huipil", fs: "FSAztecRevivalist", unlock: {clothesBoughtHuipil: 1} }, + {name: "a kimono", value: "a kimono", fs: "FSEdoRevivalist", unlock: {clothesBoughtKimono: 1, continent:"Japan"} }, + {name: "a maternity dress", value: "a maternity dress", fs: "FSRepopulationFocus", unlock: {clothesBoughtMaternityDress: 1} }, + {name: "a slutty qipao", value: "a slutty qipao", fs: "FSChineseRevivalist", unlock: {clothesBoughtQipao: 1} }, + {name: "a long qipao", value: "a long qipao", fs: "FSChineseRevivalist", unlock: {clothesBoughtCultural: 1} }, + {name: "stretch pants and a crop-top", value: "stretch pants and a crop-top", unlock: {FSHedonisticDecadence: 1, clothesBoughtLazyClothes: 1} }, + {name: "a toga", value: "a toga", unlock: {FSRomanRevivalist: 1, clothesBoughtToga: 1} }, + {name: "Western clothing", value: "Western clothing", unlock: {FSPastoralist: 1, clothesBoughtWestern: 1} }, + {name: "a courtesan dress", value: "a courtesan dress", unlock: {FSSlaveProfessionalism: 1, clothesBoughtCourtesan: 1} }, + {name: "a bimbo outfit", value: "a bimbo outfit", unlock: {FSIntellectualDependency: 1, clothesBoughtBimbo: 1} }, + {name: "petite admi outfit", value: "petite admi outfit", unlock: {FSPetiteAdmiration: 1, clothesBoughtPetite: 1} }, + {name: "battlearmor", value: "battlearmor", unlock: {clothesBoughtMilitary: 1} }, + {name: "a military uniform", value: "a military uniform", unlock: {clothesBoughtMilitary: 1} }, + {name: "a red army uniform", value: "a red army uniform", unlock: {clothesBoughtMilitary: 1} }, + {name: "battledress", value: "battledress", unlock: {clothesBoughtMilitary: 1} }, + {name: "a biyelgee costume", value: "a biyelgee costume", unlock: {clothesBoughtCultural: 1,} }, + {name: "a dirndl", value: "a dirndl", unlock: {clothesBoughtCultural: 1,} }, + {name: "lederhosen", value: "lederhosen", unlock: {clothesBoughtCultural: 1,} }, + {name: "a mounty outfit", value: "a mounty outfit", unlock: {clothesBoughtCultural: 1,} }, + {name: "a hanbok", value: "a hanbok", unlock: {clothesBoughtCultural: 1,} }, + {name: "a burqa", value: "a burqa", unlock: {clothesBoughtMiddleEastern: 1, continent: "the Middle East"} }, + {name: "a niqab and abaya", value: "a niqab and abaya", unlock: {clothesBoughtMiddleEastern: 1, continent: "the Middle East"} }, + {name: "a hijab and blouse", value: "a hijab and blouse", unlock: {clothesBoughtMiddleEastern: 1, clothesBoughtConservative: 1, continent: "the Middle East"} }, + {name: "a burkini", value: "a burkini", unlock: {clothesBoughtMiddleEastern: 1, clothesBoughtSwimwear: 1, continent: "the Middle East"} }, + {name: "a Santa dress", value: "a Santa dress", unlock: {clothesBoughtCostume: 1} }, + {name: "a klan robe", value: "a klan robe", unlock: {clothesBoughtPol: 1} }, + {name: "a slutty klan robe", value: "a slutty klan robe", unlock: {clothesBoughtPol: 1} }, + {name: "a schutzstaffel uniform", value: "a schutzstaffel uniform", unlock: {clothesBoughtPol: 1} }, + {name: "a slutty schutzstaffel uniform", value: "a slutty schutzstaffel uniform", unlock: {clothesBoughtPol: 1} }, + {name: "nice business attire", value: "nice business attire", unlock: {clothesBoughtCareer: 1} }, + {name: "a nice nurse outfit", value: "a nice nurse outfit", unlock: {clothesBoughtCareer: 1} }, + {name: "a police uniform", value: "a police uniform", unlock: {clothesBoughtCareer: 1} }, + {name: "a nice maid outfit", value: "a nice maid outfit", unlock: {clothesBoughtCareer: 1, "PC.career": "servant"} }, + {name: "a ball gown", value: "a ball gown", unlock: {clothesBoughtDresses: 1} }, + {name: "a gothic lolita dress", value: "a gothic lolita dress", unlock: {clothesBoughtDresses: 1} }, + {name: "a cybersuit", value: "a cybersuit", unlock: {clothesBoughtBodysuits: 1} }, + {name: "a latex catsuit", value: "a latex catsuit", unlock: {clothesBoughtBodysuits: 1} }, + {name: "a button-up shirt and panties", value: "a button-up shirt and panties", unlock: {clothesBoughtBodysuits: 1} }, + {name: "a button-up shirt", value: "a button-up shirt", unlock: {clothesBoughtBodysuits: 1} }, + {name: "cutoffs", value: "cutoffs", unlock: {clothesBoughtCasual: 1} }, + {name: "jeans", value: "jeans", unlock: {clothesBoughtCasual: 1} }, + {name: "leather pants and a tube top", value: "leather pants and a tube top", unlock: {clothesBoughtCasual: 1} }, + {name: "leather pants", value: "leather pants", unlock: {clothesBoughtCasual: 1} }, + {name: "an oversized t-shirt", value: "an oversized t-shirt", unlock: {clothesBoughtCasual: 1} }, + {name: "a sweater and cutoffs", value: "a sweater and cutoffs", unlock: {clothesBoughtCasual: 1} }, + {name: "a sweater and panties", value: "a sweater and panties", unlock: {clothesBoughtCasual: 1} }, + {name: "a sweater", value: "a sweater", unlock: {clothesBoughtCasual: 1} }, + {name: "a t-shirt and jeans", value: "a t-shirt and jeans", unlock: {clothesBoughtCasual: 1} }, + {name: "a t-shirt and panties", value: "a t-shirt and panties", unlock: {clothesBoughtCasual: 1} }, + {name: "a t-shirt", value: "a t-shirt", unlock: {clothesBoughtCasual: 1} }, + {name: "a tank-top and panties", value: "a tank-top and panties", unlock: {clothesBoughtCasual: 1} }, + {name: "a tank-top", value: "a tank-top", unlock: {clothesBoughtCasual: 1} }, + {name: "a tube top", value: "a tube top", unlock: {clothesBoughtCasual: 1} }, + + {name: "boyshorts", value: "boyshorts", unlock: {clothesBoughtUnderwear: 1} }, + {name: "a bra", value: "a bra", unlock: {clothesBoughtUnderwear: 1} }, + {name: "kitty lingerie", value: "kitty lingerie", unlock: {clothesBoughtUnderwear: 1} }, + {name: "panties and pasties", value: "panties and pasties", unlock: {clothesBoughtUnderwear: 1} }, + {name: "a skimpy loincloth", value: "a skimpy loincloth", unlock: {clothesBoughtUnderwear: 1} }, + {name: "a thong", value: "a thong", unlock: {clothesBoughtUnderwear: 1} }, + {name: "pasties", value: "pasties", unlock: {clothesBoughtUnderwear: 1} }, + + {name: "leather pants and pasties", value: "leather pants and pasties", unlock: {clothesBoughtUnderwear: 1, clothesBoughtCasual: 1} }, + {name: "a t-shirt and thong", value: "a t-shirt and thong", unlock: {clothesBoughtUnderwear: 1, clothesBoughtCasual: 1} }, + {name: "a tube top and thong", value: "a tube top and thong", unlock: {clothesBoughtUnderwear: 1, clothesBoughtCasual: 1} }, + {name: "an oversized t-shirt and boyshorts", value: "an oversized t-shirt and boyshorts", unlock: {clothesBoughtUnderwear: 1, clothesBoughtCasual: 1} }, + + {name: "sport shorts and a sports bra", value: "sport shorts and a sports bra", unlock: {clothesBoughtSports: 1} }, + {name: "sport shorts", value: "sport shorts", unlock: {clothesBoughtSports: 1} }, + {name: "a sports bra", value: "a sports bra", unlock: {clothesBoughtSports: 1} }, + + {name: "sport shorts and a t-shirt", value: "sport shorts and a t-shirt", unlock: {clothesBoughtSports: 1, clothesBoughtCasual: 1} }, + //return (V.clothesBoughtSports === 1 && V.clothesBoughtCasual === 1); COMBINED + {name: "a nice pony outfit", value: "a nice pony outfit", unlock: {clothesBoughtPony: 1} }, + {name: "a slutty pony outfit", value: "a slutty pony outfit", unlock: {clothesBoughtPony: 1} }, + + {name: "a monokini", value: "a monokini", unlock: {clothesBoughtSwimwear: 1} }, + {name: "a one-piece swimsuit", value: "a one-piece swimsuit", unlock: {clothesBoughtSwimwear: 1} }, + + {name: "a striped bra", value: "a striped bra", unlock: {clothesBoughtPantsu: 1, continent: "Japan"} }, + {name: "striped panties", value: "striped panties", unlock: {clothesBoughtPantsu: 1, continent: "Japan"} }, + {name: "striped underwear", value: "striped underwear", unlock: {clothesBoughtPantsu: 1, continent: "Japan"} }, + + {name: "platform shoes", value: "platform shoes", fs: "FSStatuesqueGlorification", unlock: {shoesBoughtHeels: 1} }, + {name: "platform heels", value: "platform heels", fs: "FSStatuesqueGlorification", unlock: {shoesBoughtHeels: 1} }, + {name: "extreme platform heels", value: "extreme platform heels", fs: "FSStatuesqueGlorification", unlock: {shoesBoughtHeels: 1} }, + + {name: "bowtie", value: "bowtie", fs: "FSGenderFundamentalist", unlock: {clothesBoughtBunny: 1} }, + + {name: "ancient Egyptian", value: "ancient Egyptian", fs: "FSEgyptianRevivalist", unlock: {clothesBoughtEgypt: 1} }, + + // "Normal" things: + {name: "an apron", value: "an apron"}, + {name: "slutty jewelry", value: "slutty jewelry"}, + {name: "clubslut netting", value: "clubslut netting"}, + {name: "cutoffs and a t-shirt", value: "cutoffs and a t-shirt"}, + {name: "a comfortable bodysuit", value: "a comfortable bodysuit"}, + {name: "a cheerleader outfit", value: "a cheerleader outfit"}, + {name: "a fallen nuns habit", value: "a fallen nuns habit"}, + {name: "a hijab and abaya", value: "a hijab and abaya"}, + {name: "a leotard", value: "a leotard"}, + {name: "a slutty maid outfit", value: "a slutty maid outfit"}, + {name: "a mini dress", value: "a mini dress"}, + {name: "attractive lingerie", value: "attractive lingerie"}, + {name: "a slutty nurse outfit", value: "a slutty nurse outfit"}, + {name: "overalls", value: "overalls"}, + {name: "panties", value: "panties"}, + {name: "a scalemail bikini", value: "a scalemail bikini"}, + {name: "a schoolgirl outfit", value: "a schoolgirl outfit"}, + {name: "a slutty outfit", value: "a slutty outfit"}, + {name: "spats and a tank top", value: "spats and a tank top"}, + {name: "a string bikini", value: "a string bikini"}, + {name: "a succubus outfit", value: "a succubus outfit"}, + {name: "slutty business attire", value: "slutty business attire"}, + {name: "no clothing", value: "no clothing"}, + {name: "a penitent nuns habit", value: "a penitent nuns habit"}, + {name: "restrictive latex", value: "restrictive latex"}, + {name: "shibari ropes", value: "shibari ropes"}, + {name: "uncomfortable straps", value: "uncomfortable straps"}, + {name: "choosing her own clothes", value: "choosing her own clothes"}, + {name: "a halter top dress", value: "a halter top dress"}, + {name: "a slave gown", value: "a slave gown"}, + ], + + + + /* + {name: "massive dildo gag", value: "massive dildo gag", fs: "", unlock: {: 1, : 1} }, + return (V.toysBoughtGags === 1); + {name: "a small empathy belly", value: "a small empathy belly", fs: "", unlock: {: 1, : 1} }, + {name: "a medium empathy belly", value: "a medium empathy belly", fs: "", unlock: {: 1, : 1} }, + {name: "a large empathy belly", value: "a large empathy belly", fs: "", unlock: {: 1, : 1} }, + {name: "a huge empathy belly", value: "a huge empathy belly", fs: "", unlock: {: 1, : 1} }, + return (V.arcologies[0].FSRepopulationFocus > 0 || V.clothesBoughtBelly === 1); + {name: "bullet vibrator", value: "bullet vibrator", fs: "", unlock: {: 1, : 1} }, + {name: "smart bullet vibrator", value: "smart bullet vibrator", fs: "", unlock: {: 1, : 1} }, + {name: "long dildo", value: "long dildo", fs: "", unlock: {: 1, : 1} }, + case "long, large dildo": + case "long, huge dildo": + return (V.toysBoughtDildos === 1); + {name: "vibrator", value: "vibrator", fs: "", unlock: {: 1, : 1} }, + return (V.toysBoughtVaginalAttachments === 1); + {name: "long plug", value: "long plug", fs: "", unlock: {: 1, : 1} }, + case "long, large plug": + case "long, huge plug": + return (V.toysBoughtButtPlugs === 1); + {name: "tail", value: "tail", fs: "", unlock: {: 1, : 1} }, + {name: "cow tail", value: "cow tail", fs: "", unlock: {: 1, : 1} }, + {name: "cat tail", value: "cat tail", fs: "", unlock: {: 1, : 1} }, + {name: "fox tail", value: "fox tail", fs: "", unlock: {: 1, : 1} }, + return (V.toysBoughtButtPlugTails === 1); + + niceClothes: [ + + ]*/ + harshCollars: [ { name: "Tight steel", value: "tight steel" }, { name: "Cruel retirement counter", value: "cruel retirement counter", fs: "seeAge" }, diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 940ff65b989..80308c2d119 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -9,6 +9,17 @@ window.isItemAccessible = function(string) { if (V.cheatMode === 1) { return true; } + /*if (setup.clothes.includes(string)) { + console.log(`${string} is in setup!`); + } else { + console.log(`${string} is not in setup!`); + }*/ + setup.clothes.forEach(item => { + if (item.value === string) { + console.log(`${string} is in setup!`); + if (item.fs V.arcologies[0][item.fs] + } + }); switch (string) { /* no breaks needed because we always return */ case "attractive lingerie for a pregnant woman": @@ -198,7 +209,7 @@ window.isItemAccessible = function(string) { console.log(`${string} not found`); return true; } -}; +} /** * @param {App.Entity.SlaveState} slave -- GitLab