diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index bd0a2bed181a70e3615958ba6347d681ebf3d89a..1d97c59ed6a1a16c027bbff4d40e41c838145065 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -186,7 +186,7 @@ window.DefaultRules = (function() { slave.choosesOwnClothes = 1; r += `<br>${slave.slaveName} is now allowed to choose ${his} own clothes.`; } - } else if ((slave.clothes !== rule.clothes)) { + } else if (slave.clothes !== rule.clothes) { slave.clothes = rule.clothes; slave.choosesOwnClothes = 0; r += `<br>${slave.slaveName} is now wearing ${slave.clothes}.`; @@ -201,7 +201,7 @@ window.DefaultRules = (function() { function ProcessCollar(slave, rule) { // apply collar to slave if ((rule.collar !== undefined) && (rule.collar !== null)) { - if ((slave.collar !== rule.collar)) { + if (slave.collar !== rule.collar) { r += "<br>"; if (rule.collar === "preg biometrics" && slave.preg <= -1 && slave.ovaries === 0 && slave.mpreg === 0) { slave.collar = "none"; @@ -589,7 +589,7 @@ window.DefaultRules = (function() { if (slave.vaginalAccessory === "none" && slave.vaginalAttachment === "vibrator") { slave.vaginalAttachment = "none"; // clears dildo attachment when dildos are removed above } else if ((rule.vaginalAttachment !== undefined) && (rule.vaginalAttachment !== null)) { - if ((slave.vaginalAttachment !== rule.vaginalAttachment)) { + if (slave.vaginalAttachment !== rule.vaginalAttachment) { slave.vaginalAttachment = rule.vaginalAttachment; if (slave.vaginalAccessory !== "none") { switch (slave.vaginalAttachment) { @@ -629,7 +629,7 @@ window.DefaultRules = (function() { if ((slave.dick > 0)) { if (slave.anus === 0) { if ((rule.aVirginDickAccessory !== undefined) && (rule.aVirginDickAccessory !== null)) { - if ((slave.dickAccessory !== rule.aVirginDickAccessory)) { + if (slave.dickAccessory !== rule.aVirginDickAccessory) { slave.dickAccessory = rule.aVirginDickAccessory; if (slave.dickAccessory === "none") { r += `<br>${slave.slaveName} is a virgin and has been instructed not to wear a dick accessory.`; @@ -640,7 +640,7 @@ window.DefaultRules = (function() { } } else { if ((rule.dickAccessory !== undefined) && (rule.dickAccessory !== null)) { - if ((slave.dickAccessory !== rule.dickAccessory)) { + if (slave.dickAccessory !== rule.dickAccessory) { slave.dickAccessory = rule.dickAccessory; if (slave.dickAccessory === "none") { r += `<br>${slave.slaveName} has been instructed not to wear a dick accessory.`; @@ -661,7 +661,7 @@ window.DefaultRules = (function() { // apply chastity to slave if ((rule.chastityVagina !== undefined) && (rule.chastityVagina !== null)) { if (slave.vagina > -1) { - if ((slave.chastityVagina !== rule.chastityVagina)) { + if (slave.chastityVagina !== rule.chastityVagina) { slave.chastityVagina = rule.chastityVagina; if (rule.chastityVagina === 1) { r += `<br>${slave.slaveName} has been given a chastity belt to wear.`; @@ -673,7 +673,7 @@ window.DefaultRules = (function() { } if ((rule.chastityPenis !== undefined) && (rule.chastityPenis !== null)) { if (slave.dick > 0) { - if ((slave.chastityPenis !== rule.chastityPenis)) { + if (slave.chastityPenis !== rule.chastityPenis) { slave.chastityPenis = rule.chastityPenis; if (rule.chastityPenis === 1) { r += `<br>${slave.slaveName} has been given a chastity cage to wear.`; @@ -684,7 +684,7 @@ window.DefaultRules = (function() { } } if ((rule.chastityAnus !== undefined) && (rule.chastityAnus !== null)) { - if ((slave.chastityAnus !== rule.chastityAnus)) { + if (slave.chastityAnus !== rule.chastityAnus) { slave.chastityAnus = rule.chastityAnus; if (rule.chastityAnus === 1) { r += `<br>${slave.slaveName} has been given anal chastity to wear.`; @@ -702,7 +702,7 @@ window.DefaultRules = (function() { function ProcessShoes(slave, rule) { // apply shoes to slave if ((rule.shoes !== undefined) && (rule.shoes !== null)) { - if ((slave.shoes !== rule.shoes)) { + if (slave.shoes !== rule.shoes) { if (hasAnyLegs(slave)) { slave.shoes = rule.shoes; r += `<br>${slave.slaveName}'s shoes have been set to ${slave.shoes}.`; @@ -718,7 +718,7 @@ window.DefaultRules = (function() { function ProcessBellyAccessories(slave, rule) { // apply belly accessories to slave if ((rule.bellyAccessory !== undefined) && (rule.bellyAccessory !== null)) { - if ((slave.bellyAccessory !== rule.bellyAccessory)) { + if (slave.bellyAccessory !== rule.bellyAccessory) { if ((slave.belly >= 1500 || slave.weight >= 130) && setup.fakeBellies.includes(rule.bellyAccessory)) { r += `<br>${slave.slaveName}'s natural belly is too big to properly wear an empathy belly.`; slave.bellyAccessory = "none"; @@ -779,7 +779,7 @@ window.DefaultRules = (function() { function ProcessAnalVirginButtplugs(slave, rule) { // apply buttplugs to virgins if ((rule.aVirginButtplug !== undefined) && (rule.aVirginButtplug !== null)) { - if ((slave.buttplug !== rule.aVirginButtplug)) { + if (slave.buttplug !== rule.aVirginButtplug) { slave.buttplug = rule.aVirginButtplug; switch (slave.buttplug) { case "huge plug": @@ -840,7 +840,7 @@ window.DefaultRules = (function() { function ProcessNonVirginButtplugs(slave, rule) { // apply buttplugs to non-virgins if ((rule.buttplug !== undefined) && (rule.buttplug !== null)) { - if ((slave.buttplug !== rule.buttplug)) { + if (slave.buttplug !== rule.buttplug) { slave.buttplug = rule.buttplug; switch (slave.buttplug) { case "huge plug": @@ -905,7 +905,7 @@ window.DefaultRules = (function() { slave.buttplugAttachment = "none"; // clears buttplug attachments when buttplugs are removed above } // otherwise ignores the rule since the slave is not wearing a buttplug } else if ((rule.buttplugAttachment !== undefined) && (rule.buttplugAttachment !== null)) { - if ((slave.buttplugAttachment !== rule.buttplugAttachment)) { + if (slave.buttplugAttachment !== rule.buttplugAttachment) { slave.buttplugAttachment = rule.buttplugAttachment; switch (slave.buttplugAttachment) { case "none": @@ -1711,7 +1711,7 @@ window.DefaultRules = (function() { if ((slave.dick > 0)) { if ((slave.balls === 0)) { if ((rule.gelding !== undefined) && (rule.gelding !== null)) { - if ((slave.hormones !== rule.gelding)) { + if (slave.hormones !== rule.gelding) { const _oldHormones = slave.hormones; slave.hormones = rule.gelding; if (slave.indentureRestrictions >= 2) { @@ -1724,7 +1724,7 @@ window.DefaultRules = (function() { } } else if ((slave.balls > 0)) { if ((rule.XY !== undefined) && (rule.XY !== null)) { - if ((slave.hormones !== rule.XY)) { + if (slave.hormones !== rule.XY) { if ((slave.assignment !== "recruit girls")) { if ((slave.assignment !== "be the Wardeness")) { if ((slave.assignment !== "be the Madam")) { @@ -1751,7 +1751,7 @@ window.DefaultRules = (function() { */ function ProcessFemaleHormones(slave, rule) { if ((slave.vagina > -1) && (slave.dick === 0) && (rule.XX !== undefined) && (rule.XX !== null)) { - if ((slave.hormones !== rule.XX)) { + if (slave.hormones !== rule.XX) { const _oldHormones = slave.hormones; slave.hormones = rule.XX; if (slave.indentureRestrictions >= 2) { @@ -1872,7 +1872,7 @@ window.DefaultRules = (function() { function ProcessRelationship(slave, rule) { if ((slave.fetish !== "mindbroken")) { if ((rule.relationshipRules !== undefined) && (rule.relationshipRules !== null)) { - if ((slave.rules.relationship !== rule.relationshipRules )) { + if (slave.rules.relationship !== rule.relationshipRules ) { slave.rules.relationship = rule.relationshipRules; r += `<br>${slave.slaveName}'s relationship rules have been set to ${rule.relationshipRules}.`; } @@ -1913,7 +1913,7 @@ window.DefaultRules = (function() { */ function ProcessPunishment(slave, rule) { if ((rule.standardPunishment !== undefined) && (rule.standardPunishment !== null)) { - if ((slave.rules.punishment !== rule.standardPunishment)) { + if (slave.rules.punishment !== rule.standardPunishment) { slave.rules.punishment = rule.standardPunishment; r += `<br>${slave.slaveName}'s typical punishment has been updated to ${rule.standardPunishment}.`; } @@ -1926,7 +1926,7 @@ window.DefaultRules = (function() { */ function ProcessReward(slave, rule) { if ((rule.standardReward !== undefined) && (rule.standardReward !== null)) { - if ((slave.rules.reward !== rule.standardReward)) { + if (slave.rules.reward !== rule.standardReward) { slave.rules.reward = rule.standardReward; r += `<br>${slave.slaveName}'s typical reward has been updated to ${rule.standardReward}.`; } @@ -1963,7 +1963,7 @@ window.DefaultRules = (function() { slave.toyHole = "all her holes"; r += `<br>${slave.slaveName}'s hole preference has defaulted to all ${his} holes.`; } - } else if ((slave.toyHole !== rule.toyHole)) { + } else if (slave.toyHole !== rule.toyHole) { slave.toyHole = rule.toyHole; r += `<br>${slave.slaveName} has been instructed to use ${his} ${rule.toyHole} to please you.`; } @@ -2016,7 +2016,7 @@ window.DefaultRules = (function() { */ function ProcessSolidFood(slave, rule) { if ((rule.onDiet !== undefined) && (rule.onDiet !== null)) { - if ((slave.onDiet !== rule.onDiet)) { + if (slave.onDiet !== rule.onDiet) { slave.onDiet = rule.onDiet; if (slave.onDiet === 1) { r += `<br>${slave.slaveName} is not permitted to eat the solid slave food.`; @@ -2086,7 +2086,7 @@ window.DefaultRules = (function() { } if (rule.makeup !== undefined && (rule.makeup !== null)) { - if ((slave.makeup !== rule.makeup)) { + if (slave.makeup !== rule.makeup) { slave.makeup = rule.makeup; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been assigned the standard makeup.`; @@ -2095,7 +2095,7 @@ window.DefaultRules = (function() { if (hasAnyArms(slave)) { if (rule.nails !== undefined && (rule.nails !== null)) { - if ((slave.nails !== rule.nails)) { + if (slave.nails !== rule.nails) { slave.nails = rule.nails; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been assigned the standard nails.`; @@ -2105,7 +2105,7 @@ window.DefaultRules = (function() { if (rule.hColor !== undefined && (rule.hColor !== null)) { if (slave.bald !== 1) { - if ((slave.hColor !== rule.hColor)) { + if (slave.hColor !== rule.hColor) { slave.hColor = rule.hColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s hair has been dyed ${rule.hColor}.`; @@ -2115,7 +2115,7 @@ window.DefaultRules = (function() { if (rule.hornColor !== undefined && (rule.hornColor !== null)) { if (slave.horn !== "none") { - if ((slave.hornColor !== rule.hornColor)) { + if (slave.hornColor !== rule.hornColor) { slave.hornColor = rule.hornColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s horns has been dyed ${rule.hornColor}.`; @@ -2125,7 +2125,7 @@ window.DefaultRules = (function() { if (rule.hStyle !== undefined && (rule.hStyle !== null)) { if (slave.bald !== 1) { - if ((slave.hStyle !== rule.hStyle)) { + if (slave.hStyle !== rule.hStyle) { slave.hStyle = rule.hStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); if ((rule.hStyle === "shaved")) { @@ -2140,8 +2140,8 @@ window.DefaultRules = (function() { if (rule.hLength !== undefined && (rule.hLength !== null)) { if (slave.bald !== 1) { - if ((slave.hLength !== rule.hLength)) { - if ((slave.hLength > rule.hLength)) { + if (slave.hLength !== rule.hLength) { + if (slave.hLength > rule.hLength) { cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s hair has been cut; it `; } else { @@ -2168,7 +2168,7 @@ window.DefaultRules = (function() { if (rule.eyebrowHColor !== undefined && (rule.eyebrowHColor !== null)) { if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { - if ((slave.eyebrowHColor !== rule.eyebrowHColor)) { + if (slave.eyebrowHColor !== rule.eyebrowHColor) { slave.eyebrowHColor = rule.eyebrowHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair, if present, has been dyed ${rule.eyebrowHColor}.`; @@ -2178,7 +2178,7 @@ window.DefaultRules = (function() { if (rule.eyebrowHStyle !== undefined && (rule.eyebrowHStyle !== null)) { if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { - if ((slave.eyebrowHStyle !== rule.eyebrowHStyle)) { + if (slave.eyebrowHStyle !== rule.eyebrowHStyle) { slave.eyebrowHStyle = rule.eyebrowHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair has been restyled; they are now ${rule.eyebrowHStyle}.`; @@ -2188,7 +2188,7 @@ window.DefaultRules = (function() { if (rule.eyebrowFullness !== undefined && (rule.eyebrowFullness !== null)) { if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { - if ((slave.eyebrowFullness !== rule.eyebrowFullness)) { + if (slave.eyebrowFullness !== rule.eyebrowFullness) { slave.eyebrowFullness = rule.eyebrowFullness; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair thickness has been adjusted; they are now ${rule.eyebrowFullness}.`; @@ -2198,7 +2198,7 @@ window.DefaultRules = (function() { if (rule.pubicHColor !== undefined && (rule.pubicHColor !== null)) { if (slave.pubicHStyle !== "bald" && slave.pubicHStyle !== "hairless") { - if ((slave.pubicHColor !== rule.pubicHColor)) { + if (slave.pubicHColor !== rule.pubicHColor) { slave.pubicHColor = rule.pubicHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s pubic hair, if present, has been dyed ${rule.pubicHColor}.`; @@ -2208,7 +2208,7 @@ window.DefaultRules = (function() { if (rule.pubicHStyle !== undefined && (rule.pubicHStyle !== null)) { if (slave.pubicHStyle !== "bald" && slave.pubicHStyle !== "hairless") { - if ((slave.pubicHStyle !== rule.pubicHStyle)) { + if (slave.pubicHStyle !== rule.pubicHStyle) { slave.pubicHStyle = rule.pubicHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s pubic hair has been restyled; it is now ${rule.pubicHStyle}.`; @@ -2218,7 +2218,7 @@ window.DefaultRules = (function() { if (rule.underArmHColor !== undefined && (rule.underArmHColor !== null)) { if (slave.underArmHStyle !== "bald" && slave.underArmHStyle !== "hairless") { - if ((slave.underArmHColor !== rule.underArmHColor)) { + if (slave.underArmHColor !== rule.underArmHColor) { slave.underArmHColor = rule.underArmHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s underarm hair, if present, has been dyed ${rule.underArmHColor}.`; @@ -2228,7 +2228,7 @@ window.DefaultRules = (function() { if (rule.underArmHStyle !== undefined && (rule.underArmHStyle !== null)) { if (slave.underArmHStyle !== "bald" && slave.underArmHStyle !== "hairless") { - if ((slave.underArmHStyle !== rule.underArmHStyle)) { + if (slave.underArmHStyle !== rule.underArmHStyle) { slave.underArmHStyle = rule.underArmHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s underarm hair has been restyled; it is now ${rule.underArmHStyle}.`; @@ -2238,7 +2238,7 @@ window.DefaultRules = (function() { if (rule.eyebrowHColor !== undefined && (rule.eyebrowHColor !== null)) { if (slave.eyebrowHStyle !== "bald") { - if ((slave.eyebrowHColor !== rule.eyebrowHColor)) { + if (slave.eyebrowHColor !== rule.eyebrowHColor) { slave.eyebrowHColor = rule.eyebrowHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair, if present, has been dyed ${rule.eyebrowHColor}.`; @@ -2248,7 +2248,7 @@ window.DefaultRules = (function() { if (rule.eyebrowHStyle !== undefined && (rule.eyebrowHStyle !== null)) { if (slave.eyebrowHStyle !== "bald") { - if ((slave.eyebrowHStyle !== rule.eyebrowHStyle)) { + if (slave.eyebrowHStyle !== rule.eyebrowHStyle) { slave.eyebrowHStyle = rule.eyebrowHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair has been restyled; it is now ${rule.eyebrowHStyle}.`; @@ -2258,7 +2258,7 @@ window.DefaultRules = (function() { if (rule.eyebrowFullness !== undefined && (rule.eyebrowFullness !== null)) { if (slave.eyebrowHStyle !== "bald") { - if ((slave.eyebrowFullness !== rule.eyebrowFullness)) { + if (slave.eyebrowFullness !== rule.eyebrowFullness) { slave.eyebrowFullness = rule.eyebrowFullness; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s eyebrow hair has been reshaped; it is now ${rule.eyebrowFullness}.`; @@ -2296,7 +2296,7 @@ window.DefaultRules = (function() { */ function ProcessPiercings(slave, rule) { if (rule.nipplesPiercing !== undefined && (rule.nipplesPiercing !== null)) { - if ((slave.nipplesPiercing !== rule.nipplesPiercing)) { + if (slave.nipplesPiercing !== rule.nipplesPiercing) { if ((rule.nipplesPiercing === 0)) { slave.nipplesPiercing = 0; r += `<br>${slave.slaveName}'s nipple piercings have been removed.`; @@ -2311,7 +2311,7 @@ window.DefaultRules = (function() { } if (rule.areolaePiercing !== undefined && (rule.areolaePiercing !== null)) { - if ((slave.areolaePiercing !== rule.areolaePiercing)) { + if (slave.areolaePiercing !== rule.areolaePiercing) { if ((rule.areolaePiercing === 0)) { slave.areolaePiercing = 0; r += `<br>${slave.slaveName}'s areolae piercings have been removed.`; @@ -2324,7 +2324,7 @@ window.DefaultRules = (function() { } if (rule.clitPiercing !== undefined && (rule.clitPiercing !== null)) { - if ((slave.clitPiercing !== rule.clitPiercing)) { + if (slave.clitPiercing !== rule.clitPiercing) { if ((rule.clitPiercing === 0)) { slave.clitPiercing = 0; if (slave.dick > 0) { @@ -2351,7 +2351,7 @@ window.DefaultRules = (function() { if ((slave.vagina !== -1)) { if (rule.vaginaPiercing !== undefined && (rule.vaginaPiercing !== null)) { - if ((slave.vaginaPiercing !== rule.vaginaPiercing)) { + if (slave.vaginaPiercing !== rule.vaginaPiercing) { if ((rule.vaginaPiercing === 0)) { slave.vaginaPiercing = 0; r += `<br>${slave.slaveName}'s labia piercings have been removed.`; @@ -2366,7 +2366,7 @@ window.DefaultRules = (function() { if ((slave.dick > 0)) { if (rule.dickPiercing !== undefined && (rule.dickPiercing !== null)) { - if ((slave.dickPiercing !== rule.dickPiercing)) { + if (slave.dickPiercing !== rule.dickPiercing) { if ((rule.dickPiercing === 0)) { slave.dickPiercing = 0; r += `<br>${slave.slaveName}'s shaft piercings have been removed.`; @@ -2380,7 +2380,7 @@ window.DefaultRules = (function() { } if (rule.anusPiercing !== undefined && (rule.anusPiercing !== null)) { - if ((slave.anusPiercing !== rule.anusPiercing)) { + if (slave.anusPiercing !== rule.anusPiercing) { if ((rule.anusPiercing === 0)) { slave.anusPiercing = 0; r += `<br>${slave.slaveName}'s asshole piercings have been removed.`; @@ -2393,7 +2393,7 @@ window.DefaultRules = (function() { } if (rule.lipsPiercing !== undefined && (rule.lipsPiercing !== null)) { - if ((slave.lipsPiercing !== rule.lipsPiercing)) { + if (slave.lipsPiercing !== rule.lipsPiercing) { if ((rule.lipsPiercing === 0)) { slave.lipsPiercing = 0; r += `<br>${slave.slaveName}'s lip piercings have been removed.`; @@ -2406,7 +2406,7 @@ window.DefaultRules = (function() { } if (rule.tonguePiercing !== undefined && (rule.tonguePiercing !== null)) { - if ((slave.tonguePiercing !== rule.tonguePiercing)) { + if (slave.tonguePiercing !== rule.tonguePiercing) { if ((rule.tonguePiercing === 0)) { slave.tonguePiercing = 0; r += `<br>${slave.slaveName}'s tongue piercings have been removed.`; @@ -2419,7 +2419,7 @@ window.DefaultRules = (function() { } if (rule.earPiercing !== undefined && (rule.earPiercing !== null)) { - if ((slave.earPiercing !== rule.earPiercing)) { + if (slave.earPiercing !== rule.earPiercing) { if ((rule.earPiercing === 0)) { slave.earPiercing = 0; r += `<br>${slave.slaveName}'s ear piercings have been removed.`; @@ -2432,7 +2432,7 @@ window.DefaultRules = (function() { } if (rule.nosePiercing !== undefined && (rule.nosePiercing !== null)) { - if ((slave.nosePiercing !== rule.nosePiercing)) { + if (slave.nosePiercing !== rule.nosePiercing) { if ((rule.nosePiercing === 0)) { slave.nosePiercing = 0; r += `<br>${slave.slaveName}'s nose piercing has been removed.`; @@ -2445,7 +2445,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowPiercing !== undefined && (rule.eyebrowPiercing !== null)) { - if ((slave.eyebrowPiercing !== rule.eyebrowPiercing)) { + if (slave.eyebrowPiercing !== rule.eyebrowPiercing) { if ((rule.eyebrowPiercing === 0)) { slave.eyebrowPiercing = 0; r += `<br>${slave.slaveName}'s eyebrow piercings have been removed.`; @@ -2458,7 +2458,7 @@ window.DefaultRules = (function() { } if (rule.navelPiercing !== undefined && (rule.navelPiercing !== null)) { - if ((slave.navelPiercing !== rule.navelPiercing)) { + if (slave.navelPiercing !== rule.navelPiercing) { if ((rule.navelPiercing === 0)) { slave.navelPiercing = 0; r += `<br>${slave.slaveName}'s navel piercing have been removed.`; @@ -2471,7 +2471,7 @@ window.DefaultRules = (function() { } if (rule.corsetPiercing !== undefined && (rule.corsetPiercing !== null)) { - if ((slave.corsetPiercing !== rule.corsetPiercing)) { + if (slave.corsetPiercing !== rule.corsetPiercing) { if ((rule.corsetPiercing === 0)) { slave.corsetPiercing = 0; r += `<br>${slave.slaveName}'s corset piercings have been removed.`; @@ -2560,7 +2560,7 @@ window.DefaultRules = (function() { */ function ProcessTattoos(slave, rule) { if (rule.boobsTat !== undefined && (rule.boobsTat !== null)) { - if ((slave.boobsTat !== rule.boobsTat)) { + if (slave.boobsTat !== rule.boobsTat) { slave.boobsTat = rule.boobsTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s chest has been tattooed.`; @@ -2568,7 +2568,7 @@ window.DefaultRules = (function() { } if (rule.buttTat !== undefined && (rule.buttTat !== null)) { - if ((slave.buttTat !== rule.buttTat)) { + if (slave.buttTat !== rule.buttTat) { slave.buttTat = rule.buttTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s butt has been tattooed.`; @@ -2576,7 +2576,7 @@ window.DefaultRules = (function() { } if (rule.vaginaTat !== undefined && (rule.vaginaTat !== null)) { - if ((slave.vaginaTat !== rule.vaginaTat)) { + if (slave.vaginaTat !== rule.vaginaTat) { slave.vaginaTat = rule.vaginaTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s abdomen has been tattooed.`; @@ -2585,7 +2585,7 @@ window.DefaultRules = (function() { if ((slave.dick > 0)) { if (rule.dickTat !== undefined && (rule.dickTat !== null)) { - if ((slave.dickTat !== rule.dickTat)) { + if (slave.dickTat !== rule.dickTat) { slave.dickTat = rule.dickTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s dick has been tattooed.`; @@ -2594,7 +2594,7 @@ window.DefaultRules = (function() { } if (rule.lipsTat !== undefined && (rule.lipsTat !== null)) { - if ((slave.lipsTat !== rule.lipsTat)) { + if (slave.lipsTat !== rule.lipsTat) { slave.lipsTat = rule.lipsTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s face has been tattooed.`; @@ -2602,7 +2602,7 @@ window.DefaultRules = (function() { } if (rule.anusTat !== undefined && (rule.anusTat !== null)) { - if ((slave.anusTat !== rule.anusTat)) { + if (slave.anusTat !== rule.anusTat) { slave.anusTat = rule.anusTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s asshole has been modded.`; @@ -2610,7 +2610,7 @@ window.DefaultRules = (function() { } if (rule.backTat !== undefined && (rule.backTat !== null)) { - if ((slave.backTat !== rule.backTat)) { + if (slave.backTat !== rule.backTat) { slave.backTat = rule.backTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s back has been tattooed.`; @@ -2618,7 +2618,7 @@ window.DefaultRules = (function() { } if (rule.shouldersTat !== undefined && (rule.shouldersTat !== null)) { - if ((slave.shouldersTat !== rule.shouldersTat)) { + if (slave.shouldersTat !== rule.shouldersTat) { slave.shouldersTat = rule.shouldersTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s shoulders have been tattooed.`; @@ -2626,7 +2626,7 @@ window.DefaultRules = (function() { } if (rule.armsTat !== undefined && (rule.armsTat !== null)) { - if ((slave.armsTat !== rule.armsTat)) { + if (slave.armsTat !== rule.armsTat) { slave.armsTat = rule.armsTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s `; @@ -2640,7 +2640,7 @@ window.DefaultRules = (function() { } if (rule.legsTat !== undefined && (rule.legsTat !== null)) { - if ((slave.legsTat !== rule.legsTat)) { + if (slave.legsTat !== rule.legsTat) { slave.legsTat = rule.legsTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s legs have been tattooed.`; @@ -2648,14 +2648,14 @@ window.DefaultRules = (function() { } if (rule.stampTat !== undefined && (rule.stampTat !== null)) { - if ((slave.stampTat !== rule.stampTat)) { + if (slave.stampTat !== rule.stampTat) { slave.stampTat = rule.stampTat; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName}'s lower back has been tattooed.`; } } if (rule.birthsTat !== undefined && (rule.birthsTat !== null)) { - if ((slave.birthsTat !== rule.birthsTat)) { + if (slave.birthsTat !== rule.birthsTat) { if (rule.birthsTat === "remove") { if (slave.birthsTat > 0) { cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2673,7 +2673,7 @@ window.DefaultRules = (function() { } } if (rule.abortionTat !== undefined && (rule.abortionTat !== null)) { - if ((slave.abortionTat !== rule.abortionTat)) { + if (slave.abortionTat !== rule.abortionTat) { if (rule.abortionTat === "remove") { if (slave.abortionTat > 0) { cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2861,7 +2861,7 @@ window.DefaultRules = (function() { function ProcessPorn(slave, rule) { if ((rule.pornFameSpending !== undefined) && (rule.pornFameSpending !== null)) { if ((slave.porn.prestige < 3)) { - if ((slave.porn.spending !== rule.pornFameSpending)) { + if (slave.porn.spending !== rule.pornFameSpending) { slave.porn.spending = rule.pornFameSpending; r += `<br>${slave.slaveName}'s porn publicity has been corrected.`; }