diff --git a/src/art/artJS.js b/src/art/artJS.js index 94ffb36352e205dd437b227808b532dcf3a933a9..4f23c9685416bc224a52fd41ecc6df8df8e0be26 100644 --- a/src/art/artJS.js +++ b/src/art/artJS.js @@ -21,13 +21,13 @@ window.SlaveArt = function(artSlave, artSize, UIDisplay) { const imageChoice = State.variables.imageChoice; if (artSlave.custom.image !== null && artSlave.custom.image.filename !== "") { return CustomArt(artSlave, artSize); - } else if (imageChoice === 1) /* VECTOR ART BY NOX/DEEPMURK */ { + } else if (imageChoice === 1) { /* VECTOR ART BY NOX/DEEPMURK */ return VectorArt(artSlave, artSize); - } else if (imageChoice === 2) /* VECTOR ART BY NOX - Pregmod Legacy Version */ { + } else if (imageChoice === 2) { /* VECTOR ART BY NOX - Pregmod Legacy Version */ return LegacyVectorArt(artSlave, UIDisplay); - } else if (imageChoice === 3) /* VECTOR ART REVAMP*/ { + } else if (imageChoice === 3) { /* VECTOR ART REVAMP*/ return RevampedVectorArt(artSlave); - } else /* RENDERED IMAGES BY SHOKUSHU */ { + } else { /* RENDERED IMAGES BY SHOKUSHU */ return ArtControlRendered(artSlave, artSize); } }; diff --git a/src/js/assignJS.js b/src/js/assignJS.js index 99ab793e2253c1c6540d983db4360cc5b79a6c91..47da3b346cd5d99ca599394477de6e97437b76af 100644 --- a/src/js/assignJS.js +++ b/src/js/assignJS.js @@ -366,7 +366,9 @@ window.removeJob = function removeJob(slave, assignment) { V.Wardeness = 0; } else if (V.Concubine !== 0 && slave.ID === V.Concubine.ID) { V.Concubine = 0; - } else if (V.Collectrix !== 0 && slave.ID === V.Collectrix.ID) { V.Collectrix = 0; } + } else if (V.Collectrix !== 0 && slave.ID === V.Collectrix.ID) { + V.Collectrix = 0; + } /* use .toLowerCase() to get rid of a few dupe conditions. */ switch (assignment.toLowerCase()) { diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 7b37ae10a0d0385434377fadf51bc8e516d2ad9b..8b30fd944c4b91ea9f378857716b7c29fa868741 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -1358,7 +1358,9 @@ window.rulesAssistantOptions = (function() { bellies.push([acc.name, acc.value]); } else if (acc.fs === "repopulation" && V.arcologies[0].FSRepopulationFocus !== "unset") { bellies.push([`${acc.name} (FS)`, acc.value]); - } else if (acc.rs === "boughtBelly" && V.clothesBoughtBelly === 1) { bellies.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "boughtBelly" && V.clothesBoughtBelly === 1) { + bellies.push([`${acc.name} (Purchased)`, acc.value]); +} }); super("Corsetage", bellies); this.setValue(current_rule.set.bellyAccessory); @@ -1505,7 +1507,9 @@ window.rulesAssistantOptions = (function() { setup.buttplugs.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyBigPlugs" && V.toysBoughtButtPlugs === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyBigPlugs" && V.toysBoughtButtPlugs === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); +} }); super("Buttplugs for anal virgins", accs); this.setValue(current_rule.set.aVirginButtplug); @@ -1519,7 +1523,9 @@ window.rulesAssistantOptions = (function() { setup.buttplugs.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyBigPlugs" && V.toysBoughtButtPlugs === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyBigPlugs" && V.toysBoughtButtPlugs === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); +} }); super("Buttplugs for other slaves", accs); this.setValue(current_rule.set.buttplug); @@ -1533,7 +1539,9 @@ window.rulesAssistantOptions = (function() { setup.buttplugAttachments.forEach(acc => { if (acc.fs === undefined && acc.rs === undefined) { accs.push([acc.name, acc.value]); - } else if (acc.rs === "buyTails" && V.toysBoughtButtPlugTails === 1) { accs.push([`${acc.name} (Purchased)`, acc.value]); } + } else if (acc.rs === "buyTails" && V.toysBoughtButtPlugTails === 1) { + accs.push([`${acc.name} (Purchased)`, acc.value]); +} }); super("Buttplug attachments for slaves with buttplugs", accs); this.setValue(current_rule.set.buttplugAttachment); @@ -1635,7 +1643,7 @@ window.rulesAssistantOptions = (function() { this.butts.setValue(2); this.lips.setValue(25); if (this.dicks) { this.dicks.setValue(0); } - if (this.balls) { this.balls.setValue(0); } + if (this.balls) { his.balls.setValue(0); } this.sublists.forEach(i => i.propagateChange()); }