diff --git a/src/js/assignJS.js b/src/js/assignJS.js index 3908b176f450a48122075593a5aadc30db943655..99ab793e2253c1c6540d983db4360cc5b79a6c91 100644 --- a/src/js/assignJS.js +++ b/src/js/assignJS.js @@ -508,14 +508,18 @@ window.removeJob = function removeJob(slave, assignment) { break; } - if (slave.livingRules === "luxurious" && slave.assignmentVisible !== 1) { slave.livingRules = "normal"; } + if (slave.livingRules === "luxurious" && slave.assignmentVisible !== 1) { + slave.livingRules = "normal"; + } slave.assignmentVisible = 1; slave.choosesOwnAssignment = 0; slave.sentence = 0; } V.JobIDArray = resetJobIDArray(); - if (idx >= 0) { V.slaves[idx] = slave; } + if (idx >= 0) { + V.slaves[idx] = slave; + } return r; }; @@ -537,7 +541,9 @@ window.resetJobIDArray = function resetJobIDArray() { }; slaves.forEach(function(slave) { - if (JobIDArray.hasOwnProperty(slave.assignment)) { JobIDArray[slave.assignment].push(slave.ID); } + if (JobIDArray.hasOwnProperty(slave.assignment)) { + JobIDArray[slave.assignment].push(slave.ID); + } }); return JobIDArray; diff --git a/src/js/familyTreeJS.js b/src/js/familyTreeJS.js index 0db995ff25bd49a7054ea6786548e148fdefedee..7331a00855c9fc64be75da96f44c57ba21bf7d9e 100644 --- a/src/js/familyTreeJS.js +++ b/src/js/familyTreeJS.js @@ -217,7 +217,7 @@ window.renderFamilyTree = function(slaves, filterID) { }; window.buildFamilyTree = function(slaves = State.variables.slaves, filterID) { - let family_graph = {nodes: [], links: []}; + let family_graph = { nodes: [], links: [] }; let node_lookup = {}; let preset_lookup = { '-2': 'A citizen', @@ -401,7 +401,7 @@ window.buildFamilyTree = function(slaves = State.variables.slaves, filterID) { let seen = {}; let saveTree = {}; - function relatedTo(character, targetID, relIDs = {tree: {}, related: false}) { + function relatedTo(character, targetID, relIDs = { tree: {}, related: false }) { relIDs.tree[character.ID] = true; if (related[character.ID]) { relIDs.related = true; @@ -510,7 +510,7 @@ window.buildFamilyTree = function(slaves = State.variables.slaves, filterID) { continue; } if (typeof node_lookup[character.father] !== 'undefined') { - family_graph.links.push({type: 'paternal', target: node_lookup[char_id] * 1, source: node_lookup[character.father] * 1}); + family_graph.links.push({ type: 'paternal', target: node_lookup[char_id] * 1, source: node_lookup[character.father] * 1 }); } } return family_graph; @@ -561,13 +561,15 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS }; } if (id === 0) { - return {"slaveName": "-", "ID": id, "genes": expectedGenes}; + return { "slaveName": "-", "ID": id, "genes": expectedGenes }; } if (id === activeSlave.ID) { return activeSlave; } for (let i = 0; i < slaves.length; ++i) { - if (slaves[i].ID === id) { return slaves[i]; } + if (slaves[i].ID === id) { + return slaves[i]; + } } return { "slaveName": "-", @@ -585,7 +587,9 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS } recursionProtectSlaveId[slave.ID] = true; - if (typeof slave.father === "undefined" || typeof slave.mother === "undefined") { return slaveInfo_(slave, activeSlaveId); } + if (typeof slave.father === "undefined" || typeof slave.mother === "undefined") { + return slaveInfo_(slave, activeSlaveId); + } if (slave.father === -1 || slave.mother === -1) { return slaveInfo(getSlave(-1), activeSlaveId, recursionProtectSlaveId); @@ -657,7 +661,7 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS spouseName = (spouse.ID === -1) ? "(yourself)" : "(themselves)"; } let marriage = { - "spouse": {"name": spouseName, "class": spouse.genes}, + "spouse": { "name": spouseName, "class": spouse.genes }, "children": children.map(function(x) { return slaveInfo_(x, activeSlaveId, slavesAdded, depth + 1); }) }; data.marriages.push(marriage); @@ -666,14 +670,18 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS return data; } - if (activeSlave === PC || activeSlave === null) { activeSlave = getSlave(-1); } + if (activeSlave === PC || activeSlave === null) { + activeSlave = getSlave(-1); + } const treeData = [slaveInfo(activeSlave, activeSlave.ID)]; console.log("Family tree is", treeData, 'and has:', numTreeNodes); let parentWidth = document.getElementById('editFamily').offsetWidth; console.log(parentWidth, document.getElementById('passages').offsetWidth); - if (!parentWidth) { parentWidth = document.body.offsetWidth - 483; } + if (!parentWidth) { + parentWidth = document.body.offsetWidth - 483; + } console.log(parentWidth, Math.min(200 + 40 * numTreeNodes, parentWidth - 200) + 200); diff --git a/src/js/pregJS.js b/src/js/pregJS.js index f8f08951944368009bbb0b66608e9a1c32895360..177fd0e483b8ab9dea1d73afe0a8c601103b3a55 100644 --- a/src/js/pregJS.js +++ b/src/js/pregJS.js @@ -24,25 +24,25 @@ window.getPregBellySize = function(s) { window.bellyAdjective = function(slave) { if (slave.belly >= 1500) { if (slave.belly >= 1000000) { - if (slave.preg > slave.pregData.normalBirth/4) { + if (slave.preg > slave.pregData.normalBirth / 4) { return 'unfathomably distended, brimming with life'; } else { return `unfathomable`; } } else if (slave.belly >= 750000) { - if (slave.preg > slave.pregData.normalBirth/4) { + if (slave.preg > slave.pregData.normalBirth / 4) { return 'monolithic bulging'; } else { return `monolithic`; } } else if (slave.belly >= 600000) { - if (slave.preg > slave.pregData.normalBirth/4) { + if (slave.preg > slave.pregData.normalBirth / 4) { return 'titanic bulging'; } else { return `titanic`; } } else if (slave.belly >= 450000) { - if (slave.preg > slave.pregData.normalBirth/4) { + if (slave.preg > slave.pregData.normalBirth / 4) { return 'gigantic bulgy'; } else { return `gigantic`; @@ -146,7 +146,7 @@ window.setPregType = function(actor) { if (State.variables.masterSuitePregnancyFertilitySupplements === 1 && ((actor.assignment === "serve in the master suite" || actor.assignment === "be your Concubine"))) { fertilityStack += .5; } - if (State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { + if (State.variables.reproductionFormula === 1 && (State.variables.week - actor.weekAcquired > 0)) { fertilityStack += .2; } if (actor.drugs === "super fertility drugs") { @@ -157,7 +157,7 @@ window.setPregType = function(actor) { fertilityStack = Math.floor(fertilityStack); if (State.variables.seeHyperPreg === 1) { if (actor.drugs === "super fertility drugs") { - ovum += jsRandom(0, fertilityStack*2); + ovum += jsRandom(0, fertilityStack * 2); } else { ovum += jsRandom(0, fertilityStack); } @@ -210,7 +210,7 @@ window.setPregType = function(actor) { fertilityStack++; fertilityStack++; } - if (State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { + if (State.variables.reproductionFormula === 1 && (State.variables.week - actor.weekAcquired > 0)) { fertilityStack++; } if (actor.drugs === "super fertility drugs") { @@ -226,7 +226,7 @@ window.setPregType = function(actor) { } if (State.variables.seeHyperPreg === 1) { if (actor.drugs === "super fertility drugs") { - ovum += jsRandom(0, fertilityStack*2); + ovum += jsRandom(0, fertilityStack * 2); } else { ovum += jsRandom(0, fertilityStack); } @@ -275,7 +275,7 @@ window.setPregType = function(actor) { ovum += jsRandom(8, 16); fertilityStack += 10; } - if (State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { + if (State.variables.reproductionFormula === 1 && (State.variables.week - actor.weekAcquired > 0)) { fertilityStack += 2; } if (actor.drugs === "super fertility drugs") { @@ -287,7 +287,7 @@ window.setPregType = function(actor) { } if (State.variables.seeHyperPreg === 1) { if (actor.drugs === "super fertility drugs") { - ovum += jsRandom(fertilityStack/2, fertilityStack*2); + ovum += jsRandom(fertilityStack / 2, fertilityStack * 2); } else { ovum += jsRandom(fertilityStack / 4, fertilityStack); } @@ -343,7 +343,7 @@ window.setPregType = function(actor) { fertilityStack++; fertilityStack++; } - if (State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { + if (State.variables.reproductionFormula === 1 && (State.variables.week - actor.weekAcquired > 0)) { fertilityStack++; } if (actor.drugs === "super fertility drugs") { @@ -359,7 +359,7 @@ window.setPregType = function(actor) { } if (State.variables.seeHyperPreg === 1) { if (actor.drugs === "super fertility drugs") { - ovum += jsRandom(0, fertilityStack*2); + ovum += jsRandom(0, fertilityStack * 2); } else { ovum += jsRandom(0, fertilityStack); } @@ -474,11 +474,11 @@ window.knockMeUp = function(target, chance, hole, fatherID, displayOverride) { return r; }; -window.getIncubatorReserved = function(/* slaves */) { +window.getIncubatorReserved = function( /* slaves */ ) { return FetusGlobalReserveCount("incubator"); }; -window.getNurseryReserved = function(/* slaves */) { +window.getNurseryReserved = function( /* slaves */ ) { return FetusGlobalReserveCount("nursery"); }; @@ -507,7 +507,9 @@ window.findFather = function(fatherID) { window.adjustFatherProperty = function(actor, property, newValue) { let father = findFather(actor.ID); - if (father) { father[property] = newValue; } + if (father) { + father[property] = newValue; + } }; /* OLD diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 4a0a2f6ec1059d469c6713e1c3ed61a47620b47a..1a760dec9ba50eeb3a84e75858c76b6fa785ce34 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -216,7 +216,9 @@ window.rulesAssistantOptions = (function() { parse(what) { return what; } propagateChange() { - if (this.onchange instanceof Function) { this.onchange(this.getData()); } + if (this.onchange instanceof Function) { + this.onchange(this.getData()); + } } } @@ -673,11 +675,11 @@ window.rulesAssistantOptions = (function() { this.show_custom_editor(CustomEditor, current_rule.condition.data); } else if (this.betweenP(value)) { current_rule.condition.function = "between"; - current_rule.condition.data = {attribute: value, value: [null, null]}; + current_rule.condition.data = { attribute: value, value: [null, null] }; this.show_custom_editor(RangeEditor, current_rule.condition.function, current_rule.condition.data); } else if (this.belongsP(value)) { current_rule.condition.function = "belongs"; - current_rule.condition.data = {attribute: value, value: []}; + current_rule.condition.data = { attribute: value, value: [] }; this.show_custom_editor(ItemEditor, current_rule.condition.function, current_rule.condition.data); } } @@ -823,18 +825,42 @@ window.rulesAssistantOptions = (function() { constructor() { super("Apply to assignments and facilities"); const items = ["Classes", "Confined", "Fucktoy", "Gloryhole", "House Servant", "Milked", "Public Servant", "Rest", "Subordinate Slave", "Whore"]; - if (V.HGSuite > 0) { items.push("Head Girl Suite"); } - if (V.brothel > 0) { items.push("Brothel"); } - if (V.club > 0) { items.push("Club"); } - if (V.arcade > 0) { items.push("Arcade"); } - if (V.dairy > 0) { items.push("Dairy"); } - if (V.servantsQuarters > 0) { items.push("Servant Quarters"); } - if (V.masterSuite > 0) { items.push("Master Suite"); } - if (V.schoolroom > 0) { items.push("Schoolroom"); } - if (V.spa > 0) { items.push("Spa"); } - if (V.nursery > 0) { items.push("Nursery"); } - if (V.clinic > 0) { items.push("Clinic"); } - if (V.cellblock > 0) { items.push("Cellblock"); } + if (V.HGSuite > 0) { + items.push("Head Girl Suite"); + } + if (V.brothel > 0) { + items.push("Brothel"); + } + if (V.club > 0) { + items.push("Club"); + } + if (V.arcade > 0) { + items.push("Arcade"); + } + if (V.dairy > 0) { + items.push("Dairy"); + } + if (V.servantsQuarters > 0) { + items.push("Servant Quarters"); + } + if (V.masterSuite > 0) { + items.push("Master Suite"); + } + if (V.schoolroom > 0) { + items.push("Schoolroom"); + } + if (V.spa > 0) { + items.push("Spa"); + } + if (V.nursery > 0) { + items.push("Nursery"); + } + if (V.clinic > 0) { + items.push("Clinic"); + } + if (V.cellblock > 0) { + items.push("Cellblock"); + } items.forEach( i => this.appendChild(new ButtonItem(i, this.getAttribute(i), current_rule.condition.assignment.includes(this.getAttribute(i))))); } @@ -982,13 +1008,17 @@ window.rulesAssistantOptions = (function() { class RegimenSection extends Section { constructor() { super("Physical Regimen Settings"); - if (V.arcologies[0].FSAssetExpansionistResearch === 1) { this.appendChild(new HyperGrowthSwitch()); } + if (V.arcologies[0].FSAssetExpansionistResearch === 1) { + this.appendChild(new HyperGrowthSwitch()); + } this.appendChild(new GrowthList()); this.appendChild(new CurrativesList()); this.appendChild(new AphrodisiacList()); this.appendChild(new ContraceptiveList()); this.appendChild(new AbortionList()); - if (V.pregSpeedControl) { this.appendChild(new PregDrugsList()); } + if (V.pregSpeedControl) { + this.appendChild(new PregDrugsList()); + } this.appendChild(new FemaleHormonesList()); this.appendChild(new ShemaleHormonesList()); this.appendChild(new GeldingHormonesList()); @@ -1089,7 +1119,9 @@ window.rulesAssistantOptions = (function() { this.appendChild(new UpperBackTattooList()); this.appendChild(new LowerBackTattooList()); this.appendChild(new AbdomenTattooList()); - if (V.seeDicks || V.makeDicks) { this.appendChild(new DickTattooList()); } + if (V.seeDicks || V.makeDicks) { + this.appendChild(new DickTattooList()); + } this.appendChild(new ButtockTattooList()); this.appendChild(new AnalTattooList()); this.appendChild(new LegTattooList()); @@ -1117,7 +1149,9 @@ window.rulesAssistantOptions = (function() { this.appendChild(new TummyTuckSurgeryList()); this.appendChild(new BodyHairSurgeryList()); this.appendChild(new HairSurgeryList()); - if (V.bellyImplants > 0) { this.appendChild(new BellyImplantList()); } + if (V.bellyImplants > 0) { + this.appendChild(new BellyImplantList()); + } } } @@ -1365,7 +1399,9 @@ window.rulesAssistantOptions = (function() { setup.vaginalAccessories.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); + } }); super("Vaginal accessories for virgins", accs); this.setValue(current_rule.set.virginAccessory); @@ -1379,7 +1415,9 @@ window.rulesAssistantOptions = (function() { setup.vaginalAccessories.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); + } }); super("Vaginal accessories for anal virgins", accs); this.setValue(current_rule.set.aVirginAccessory); @@ -1393,7 +1431,9 @@ window.rulesAssistantOptions = (function() { setup.vaginalAccessories.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyBigDildos" && V.toysBoughtDildos === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); + } }); super("Vaginal accessories for other slaves", accs); this.setValue(current_rule.set.vaginalAccessory); @@ -1407,7 +1447,9 @@ window.rulesAssistantOptions = (function() { setup.vaginalAttachments.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyVaginalAttachments" && V.toysBoughtVaginalAttachments === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyVaginalAttachments" && V.toysBoughtVaginalAttachments === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); + } }); super("Vaginal attachments for slaves with vaginal accessories", accs); this.setValue(current_rule.set.vaginalAttachment); @@ -1853,12 +1895,16 @@ window.rulesAssistantOptions = (function() { ["intensive testicle enhancement"], ]; - if (V.growthStim === 1) { drugs.push(["Growth Stimulants (Research)", "growth stimulants"]); } + if (V.growthStim === 1) { + drugs.push(["Growth Stimulants (Research)", "growth stimulants"]); + } if (V.precociousPuberty === 1 && V.pubertyHormones) { drugs.push(["Female hormone injections (Research)", "female hormone injections"]); drugs.push(["Male hormone injections (Research)", "male hormone injections"]); } - if (V.purchasedSagBGone === 1) { drugs.push(["Sag-B-gone (Product)", "sag-B-gone"]); } + if (V.purchasedSagBGone === 1) { + drugs.push(["Sag-B-gone (Product)", "sag-B-gone"]); + } if (V.arcologies[0].FSSlimnessEnthusiastResearch === 1) { drugs.push(["Weight loss pills (FS)", "appetite suppressors"]); drugs.push(["breast redistributors"]); @@ -1876,8 +1922,12 @@ window.rulesAssistantOptions = (function() { drugs.push(["hyper penis enhancement"]); drugs.push(["hyper testicle enhancement"]); } - if (V.arcologies[0].FSYouthPreferentialistResearch === 1) { drugs.push(["Anti-aging cream (FS)", "anti-aging cream"]); } - if (V.seeHyperPreg === 1 && V.superFertilityDrugs === 1) { drugs.push(["Super fertility drugs", "super fertility drugs"]); } + if (V.arcologies[0].FSYouthPreferentialistResearch === 1) { + drugs.push(["Anti-aging cream (FS)", "anti-aging cream"]); + } + if (V.seeHyperPreg === 1 && V.superFertilityDrugs === 1) { + drugs.push(["Super fertility drugs", "super fertility drugs"]); + } super("Other drugs", drugs); this.setValue(current_rule.set.drug); this.onchange = (value) => current_rule.set.drug = value; @@ -1919,11 +1969,19 @@ window.rulesAssistantOptions = (function() { ["Feminine", "XX"], ["Masculine", "XY"] ); - if (V.dietXXY === 1) { diets.push(["Futanari", "XXY"]); } + if (V.dietXXY === 1) { + diets.push(["Futanari", "XXY"]); + } + } + if (V.dietCleanse === 1) { + diets.push(["Cleansing", "cleansing"]); + } + if (V.dietFertility === 1) { + diets.push(["Fertility", "fertility"]); + } + if (V.cumProDiet === 1) { + diets.push(["Cum production", "cum production"]); } - if (V.dietCleanse === 1) { diets.push(["Cleansing", "cleansing"]); } - if (V.dietFertility === 1) { diets.push(["Fertility", "fertility"]); } - if (V.cumProDiet === 1) { diets.push(["Cum production", "cum production"]); } super("Slave diets", diets, true); this.setValue(current_rule.set.diet); @@ -1947,13 +2005,13 @@ window.rulesAssistantOptions = (function() { constructor() { // TODO: better data structure? const pairs = [ - ["No default setting", {cum: "no default setting", milk: "no default setting"}], - ["Normal Diet", {cum: 0, milk: 0}], - ["Cum Added", {cum: 1, milk: 0}], - ["Milk Added", {cum: 0, milk: 1}], - ["Cum & Milk Added", {cum: 1, milk: 1}], - ["Cum-Based", {cum: 2, milk: 0}], - ["Milk-Based", {cum: 0, milk: 2}], + ["No default setting", { cum: "no default setting", milk: "no default setting" }], + ["Normal Diet", { cum: 0, milk: 0 }], + ["Cum Added", { cum: 1, milk: 0 }], + ["Milk Added", { cum: 0, milk: 1 }], + ["Cum & Milk Added", { cum: 1, milk: 1 }], + ["Cum-Based", { cum: 2, milk: 0 }], + ["Milk-Based", { cum: 0, milk: 2 }], ]; super("Diet base", pairs); this.setValue(this.value2string(current_rule.set.dietCum, current_rule.set.dietMilk)); @@ -2254,8 +2312,12 @@ window.rulesAssistantOptions = (function() { combine() { const lst = []; - if (this.colorlist.value !== "no default setting") { lst.push(this.colorlist.value); } - if (this.shapelist.value !== "no default setting") { lst.push(this.shapelist.value); } + if (this.colorlist.value !== "no default setting") { + lst.push(this.colorlist.value); + } + if (this.shapelist.value !== "no default setting") { + lst.push(this.shapelist.value); + } if (lst.length === 0) { return "no default setting"; } else { @@ -3021,55 +3083,101 @@ window.rulesAssistantOptions = (function() { ["Devil", "a devil silhouette"] ]; - if (V.arcologies[0].FSSupremacist !== "unset" || V.arcologies[0].FSSubjugationist !== "unset") { items.push(["(FS) Racial Slur", "a racial slur"]); } + if (V.arcologies[0].FSSupremacist !== "unset" || V.arcologies[0].FSSubjugationist !== "unset") { + items.push(["(FS) Racial Slur", "a racial slur"]); + } - if (V.arcologies[0].FSSupremacist !== "unset" && V.arcologies[0].FSSupremacistRace === "white") { items.push(["(FS) Swastika", "a swastika"]); } + if (V.arcologies[0].FSSupremacist !== "unset" && V.arcologies[0].FSSupremacistRace === "white") { + items.push(["(FS) Swastika", "a swastika"]); + } - if (V.arcologies[0].FSSubjugationist !== "unset" && V.arcologies[0].FSSubjugationistRace === "semitic") { items.push(["(FS) Star of David", "a Star of David"]); } + if (V.arcologies[0].FSSubjugationist !== "unset" && V.arcologies[0].FSSubjugationistRace === "semitic") { + items.push(["(FS) Star of David", "a Star of David"]); + } - if (V.arcologies[0].FSGenderRadicalist !== "unset" || V.arcologies.FSGenderFundamentalist !== "unset") { items.push(["(FS) Gender Symbol", "a gender symbol"]); } + if (V.arcologies[0].FSGenderRadicalist !== "unset" || V.arcologies.FSGenderFundamentalist !== "unset") { + items.push(["(FS) Gender Symbol", "a gender symbol"]); + } - if (V.arcologies[0].FSPaternalist !== "unset") { items.push(["(FS) Personal Symbol", "her own personal symbol"]); } + if (V.arcologies[0].FSPaternalist !== "unset") { + items.push(["(FS) Personal Symbol", "her own personal symbol"]); + } - if (V.arcologies[0].FSDegradationist !== "unset") { items.push(["(FS) Chain Symbol", "a chain symbol"]); } + if (V.arcologies[0].FSDegradationist !== "unset") { + items.push(["(FS) Chain Symbol", "a chain symbol"]); + } - if (V.arcologies[0].FSBodyPurist !== "unset") { items.push(["(FS) Vitruvian Man", "a Vitruvian man"]); } + if (V.arcologies[0].FSBodyPurist !== "unset") { + items.push(["(FS) Vitruvian Man", "a Vitruvian man"]); + } - if (V.arcologies[0].FSTransformationFetishist !== "unset") { items.push(["(FS) Most Desired Implants", "a shortlist of desired implants"]); } + if (V.arcologies[0].FSTransformationFetishist !== "unset") { + items.push(["(FS) Most Desired Implants", "a shortlist of desired implants"]); + } - if (V.arcologies[0].FSYouthPreferentialist !== "unset") { items.push(["(FS) Virginity Status", "her virginity status"]); } + if (V.arcologies[0].FSYouthPreferentialist !== "unset") { + items.push(["(FS) Virginity Status", "her virginity status"]); + } - if (V.arcologies[0].FSMaturityPreferentialist !== "unset") { items.push(["(FS) Sexual Skill Info", "her sexual skills"]); } + if (V.arcologies[0].FSMaturityPreferentialist !== "unset") { + items.push(["(FS) Sexual Skill Info", "her sexual skills"]); + } - if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") { items.push(["(FS) Breast Ceiling", "her absolute maximum breast size"]); } + if (V.arcologies[0].FSSlimnessEnthusiast !== "unset") { + items.push(["(FS) Breast Ceiling", "her absolute maximum breast size"]); + } - if (V.arcologies[0].FSAssetExpansionist !== "unset") { items.push(["(FS) Breast Floor", "her absolute minimum breast size"]); } + if (V.arcologies[0].FSAssetExpansionist !== "unset") { + items.push(["(FS) Breast Floor", "her absolute minimum breast size"]); + } - if (V.arcologies[0].FSPastoralist !== "unset") { items.push(["(FS) Product Quality", "her body product quality"]); } + if (V.arcologies[0].FSPastoralist !== "unset") { + items.push(["(FS) Product Quality", "her body product quality"]); + } if (V.arcologies[0].FSPhysicalIdealist !== "unset") { items.push(["(FS) Deadlift Info", "her deadlift record"]); } - if (V.arcologies[0].FSHedonisticDecadence !== "unset") { items.push(["(FS) Weight Record", "her highest weigh-in"]); } + if (V.arcologies[0].FSHedonisticDecadence !== "unset") { + items.push(["(FS) Weight Record", "her highest weigh-in"]); + } - if (V.arcologies[0].FSHedonisticDecadence && V.PC.refreshmentType === 2) { items.push(["(FS) Favorite Food", `a big helping of ${V.PC.refreshment}`]); } + if (V.arcologies[0].FSHedonisticDecadence && V.PC.refreshmentType === 2) { + items.push(["(FS) Favorite Food", `a big helping of ${V.PC.refreshment}`]); + } - if (V.arcologies[0].FSRepopulationFocus !== "unset") { items.push(["(FS) Birth Count", "the number of children she has birthed"]); } + if (V.arcologies[0].FSRepopulationFocus !== "unset") { + items.push(["(FS) Birth Count", "the number of children she has birthed"]); + } - if (V.arcologies[0].FSChattelReligionist !== "unset") { items.push(["(FS) Religious Symbol", "a religious symbol"]); } + if (V.arcologies[0].FSChattelReligionist !== "unset") { + items.push(["(FS) Religious Symbol", "a religious symbol"]); + } - if (V.arcologies[0].FSRomanRevivalist !== "unset") { items.push(["(FS) Republican Crest", "a small crest of your Republic"]); } + if (V.arcologies[0].FSRomanRevivalist !== "unset") { + items.push(["(FS) Republican Crest", "a small crest of your Republic"]); + } - if (V.arcologies[0].FSAztecRevivalist !== "unset") { items.push(["(FS) Seven Serpents", "a small symbol of the Aztec gods"]); } + if (V.arcologies[0].FSAztecRevivalist !== "unset") { + items.push(["(FS) Seven Serpents", "a small symbol of the Aztec gods"]); + } - if (V.arcologies[0].FSEgyptianRevivalist !== "unset") { items.push(["(FS) Dynastic Sigil", "a small sigil of your Dynasty"]); } + if (V.arcologies[0].FSEgyptianRevivalist !== "unset") { + items.push(["(FS) Dynastic Sigil", "a small sigil of your Dynasty"]); + } - if (V.arcologies[0].FSEdoRevivalist !== "unset") { items.push(["(FS) Mon", "a small image of the Shogunate's mon"]); } + if (V.arcologies[0].FSEdoRevivalist !== "unset") { + items.push(["(FS) Mon", "a small image of the Shogunate's mon"]); + } - if (V.arcologies[0].FSArabianRevivalist !== "unset") { items.push(["(FS) Caliphate Symbol", "a small symbol of the Caliphate"]); } + if (V.arcologies[0].FSArabianRevivalist !== "unset") { + items.push(["(FS) Caliphate Symbol", "a small symbol of the Caliphate"]); + } - if (V.arcologies[0].FSChineseRevivalist !== "unset") { items.push(["(FS) Imperial Seal", "a small image of your Imperial Seal"]); } + if (V.arcologies[0].FSChineseRevivalist !== "unset") { + items.push(["(FS) Imperial Seal", "a small image of your Imperial Seal"]); + } super("Your brand design is", items, true); } @@ -3571,18 +3679,42 @@ window.rulesAssistantOptions = (function() { ["Choose Her Own", "choose her own job"] ]; - if (V.HGSuite > 0) { items.push(["Head Girl Suite", "live with your Head Girl"]); } - if (V.brothel > 0) { items.push(["Brothel", "work in the brothel"]); } - if (V.club > 0) { items.push(["Club", "serve in the club"]); } - if (V.arcade > 0) { items.push(["Arcade", "be confined in the arcade"]); } - if (V.dairy > 0) { items.push(["Dairy", "work in the dairy"]); } - if (V.farmyard > 0) { items.push(["Farmyard", "work as a farmhand"]); } - if (V.servantsQuarters > 0) { items.push(["Servant Quarters", "work as a servant"]); } - if (V.masterSuite > 0) { items.push(["Master Suite", "serve in the master suite"]); } - if (V.schoolroom > 0) { items.push(["Schoolroom", "learn in the schoolroom"]); } - if (V.spa > 0) { items.push(["Spa", "rest in the spa"]); } - if (V.clinic > 0) { items.push(["Clinic", "get treatment in the clinic"]); } - if (V.cellblock > 0) { items.push(["Cellblock", "be confined in the cellblock"]); } + if (V.HGSuite > 0) { + items.push(["Head Girl Suite", "live with your Head Girl"]); + } + if (V.brothel > 0) { + items.push(["Brothel", "work in the brothel"]); + } + if (V.club > 0) { + items.push(["Club", "serve in the club"]); + } + if (V.arcade > 0) { + items.push(["Arcade", "be confined in the arcade"]); + } + if (V.dairy > 0) { + items.push(["Dairy", "work in the dairy"]); + } + if (V.farmyard > 0) { + items.push(["Farmyard", "work as a farmhand"]); + } + if (V.servantsQuarters > 0) { + items.push(["Servant Quarters", "work as a servant"]); + } + if (V.masterSuite > 0) { + items.push(["Master Suite", "serve in the master suite"]); + } + if (V.schoolroom > 0) { + items.push(["Schoolroom", "learn in the schoolroom"]); + } + if (V.spa > 0) { + items.push(["Spa", "rest in the spa"]); + } + if (V.clinic > 0) { + items.push(["Clinic", "get treatment in the clinic"]); + } + if (V.cellblock > 0) { + items.push(["Cellblock", "be confined in the cellblock"]); + } super("Automatically set assignment", items); this.setValue(current_rule.set.setAssignment);