From f2ff83379b116821f21abded53408c66d0204310 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Mon, 4 Nov 2019 22:36:06 +0100 Subject: [PATCH] eslint --- src/interaction/main/walkPast.js | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/interaction/main/walkPast.js b/src/interaction/main/walkPast.js index 58757d77a38..ef242c44e67 100644 --- a/src/interaction/main/walkPast.js +++ b/src/interaction/main/walkPast.js @@ -3,7 +3,6 @@ window.walkPast = (function() { "use strict"; - // core string variables let t; @@ -33,6 +32,9 @@ window.walkPast = (function() { let activeSlaveRel; let partnerSlaveRel; + /* eslint-enable no-unused-vars */ + + function walkPast(activeSlave, fixed) { output = ""; seed = jsRandom(1, 100); @@ -2100,7 +2102,7 @@ window.walkPast = (function() { const breasts = (slave.boobs < 300) ? `flat chest` : `breasts`; - t += ' ' + App.Desc.boobs(slave, pronouns) + ' '; + t += ` ${App.Desc.boobs(slave, pronouns)} `; switch (slave.clothes) { case "uncomfortable straps": if (slave.boobs < 300) { @@ -7704,7 +7706,7 @@ window.walkPast = (function() { t += `along ${his} perineum, `; } t += `and the big ring over ${his} hermaphroditic genitalia gleams from between them.`; - } else if (slave.dick !== 0){ + } else if (slave.dick !== 0) { t += `A strap passes `; if (hasBothLegs(V.activeSlave)) { t += `between ${his} legs, `; @@ -7723,7 +7725,7 @@ window.walkPast = (function() { } break; case "shibari ropes": - `${His} ropes run tightly `; + t += `${His} ropes run tightly `; if (hasBothLegs(V.activeSlave)) { t += `between ${his} legs, `; } else { @@ -8096,13 +8098,10 @@ window.walkPast = (function() { case "an oversized t-shirt": t += `${His} clothing leaves ${his} genitals bare and visible.`; break; - case "a tube top and thong": case "a button-up shirt and panties": - case "a thong": case "a slutty klan robe": case "a sweater and panties": case "a tank-top and panties": - case "a t-shirt and thong": case "an oversized t-shirt and boyshorts": case "a t-shirt and jeans": case "boyshorts": @@ -8228,7 +8227,7 @@ window.walkPast = (function() { } break; case "a courtesan dress": - t += `${He} is just begging to be splayed out so that ${his} skirt may 'bloom'.` + t += `${He} is just begging to be splayed out so that ${his} skirt may 'bloom'.`; break; default: if (slave.chastityVagina) { @@ -8276,7 +8275,7 @@ window.walkPast = (function() { t += `along ${his} perineum, `; } t += `and the big ring over ${his} hermaphroditic genitalia gleams from between them.`; - } else if (slave.dick !== 0){ + } else if (slave.dick !== 0) { t += `A strap passes `; if (hasBothLegs(V.activeSlave)) { t += `between ${his} legs, `; @@ -8295,7 +8294,7 @@ window.walkPast = (function() { } break; case "shibari ropes": - `${His} ropes run tightly `; + t += `${His} ropes run tightly `; if (hasBothLegs(V.activeSlave)) { t += `between ${his} legs, `; } else { @@ -8668,13 +8667,10 @@ window.walkPast = (function() { case "an oversized t-shirt": t += `${His} clothing leaves ${his} genitals bare and visible.`; break; - case "a tube top and thong": case "a button-up shirt and panties": - case "a thong": case "a slutty klan robe": case "a sweater and panties": case "a tank-top and panties": - case "a t-shirt and thong": case "an oversized t-shirt and boyshorts": case "a t-shirt and jeans": case "boyshorts": @@ -8800,7 +8796,7 @@ window.walkPast = (function() { } break; case "a courtesan dress": - t += `${He} is just begging to be splayed out so that ${his} skirt may 'bloom'.` + t += `${He} is just begging to be splayed out so that ${his} skirt may 'bloom'.`; break; default: if (slave.chastityVagina) { -- GitLab