diff --git a/src/interaction/useSlave/useSlave.js b/src/interaction/useSlave/useSlave.js index bca63469cabbbcd2e0a4e7110ce0c0002e2c0a60..5f324fae5adf7e354d0958ab8682efcbabc6d094 100644 --- a/src/interaction/useSlave/useSlave.js +++ b/src/interaction/useSlave/useSlave.js @@ -76,10 +76,10 @@ App.UI.SlaveInteract.useSlave = function(slave) { /** @type {boolean} Whether the character is completely naked. */ get isNaked() { - return this.clothing.top.isOff - && this.clothing.bottom.isOff - && !this.clothing.bra - && !this.clothing.underwear; + return this.clothing.top.isOff && + this.clothing.bottom.isOff && + !this.clothing.bra && + !this.clothing.underwear; } /** @type {boolean} Whether the character's chest is accessible. */ @@ -198,9 +198,9 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Have ${him} go down on you`, desc: face.slaveGivesOral(tempSlave), tooltip: `Have ${him} give you oral.`, - prereq: () => (tempSlave.mouthAccessory === none || tempSlave.mouthAccessory === "ring gag") - && !playerState.isKneeling - && !slaveState.isKneeling, + prereq: () => (tempSlave.mouthAccessory === none || tempSlave.mouthAccessory === "ring gag") && + !playerState.isKneeling && + !slaveState.isKneeling, effect: () => { playerState.lust++; slaveState.lust++; @@ -280,11 +280,11 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Fuck ${his} pussy`, desc: crotch.fuckPussy(tempSlave), tooltip: `Push your ${PC.dick ? `dick` : `strapon`} into ${his} pussy.`, - prereq: () => tempSlave.vagina > -1 - && slaveState.bottomFree - && !slaveState.clothing.underwear - && !tempSlave.chastityVagina - && playerState.lust > 5, + prereq: () => tempSlave.vagina > -1 && + slaveState.bottomFree && + !slaveState.clothing.underwear && + !tempSlave.chastityVagina && + playerState.lust > 5, effect: () => { playerState.lust += 8; slaveState.lust += 8; @@ -294,10 +294,10 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Fuck ${his} asshole`, desc: crotch.fuckAnus(tempSlave), tooltip: `Push your ${PC.dick ? `dick` : `strapon`} into ${his} asshole.`, - prereq: () => slaveState.bottomFree - && !slaveState.clothing.underwear - && !tempSlave.chastityAnus - && playerState.lust > 5, + prereq: () => slaveState.bottomFree && + !slaveState.clothing.underwear && + !tempSlave.chastityAnus && + playerState.lust > 5, effect: () => { playerState.lust += 8; slaveState.lust += tempSlave.fetish === Fetish.BUTTSLUT ? 8 : 5; @@ -571,8 +571,8 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Take off ${his} vaginal chastity device`, desc: clothing.removeChastityVaginal(tempSlave), tooltip: `${He} won't be needing it.`, - prereq: () => (clothes === "no clothing" || clothes.includes("dress")) - && tempSlave.chastityVagina === 1, + prereq: () => (clothes === "no clothing" || clothes.includes("dress")) && + tempSlave.chastityVagina === 1, effect: () => { tempSlave.chastityVagina = 0; @@ -583,8 +583,8 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Take off ${his} anal chastity device`, desc: clothing.removeChastityAnal(tempSlave), tooltip: `${He} won't be needing it.`, - prereq: () => (clothes === "no clothing" || clothes.includes("dress")) - && tempSlave.chastityVagina === 1, + prereq: () => (clothes === "no clothing" || clothes.includes("dress")) && + tempSlave.chastityVagina === 1, effect: () => { tempSlave.chastityVagina = 0; @@ -595,8 +595,8 @@ App.UI.SlaveInteract.useSlave = function(slave) { link: `Take the chastity device off of ${his} dick`, desc: clothing.removeChastityPenis(tempSlave), tooltip: `${He} won't be needing it.`, - prereq: () => (clothes === "no clothing" || clothes.includes("dress")) - && tempSlave.chastityPenis === 1, + prereq: () => (clothes === "no clothing" || clothes.includes("dress")) && + tempSlave.chastityPenis === 1, effect: () => { tempSlave.chastityPenis = 0;