From 70513cc4e8828c66ab037d1e074345bcc50a5e89 Mon Sep 17 00:00:00 2001 From: Blank_Alt <12406-Blank_Alt@users.noreply.gitgud.io> Date: Tue, 4 Feb 2020 00:03:26 -0800 Subject: [PATCH] More activeSlave in JS hits and minor tweaking --- src/js/modification.js | 6 +++--- src/js/slaveListing.js | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/js/modification.js b/src/js/modification.js index 9d545125833..8670dd6176a 100644 --- a/src/js/modification.js +++ b/src/js/modification.js @@ -388,7 +388,7 @@ App.Medicine.Modification.setTattoo = function(slave, location, design) { break; case "rude words": r += `$He stares, $his mouth working as $he spells out `; - if ($activeSlave.vagina > -1) { + if (slave.vagina > -1) { r += `'Fucktoy's Favorite Fuckhole.' ${He} smiles naughtily. "${Master}, it sure i${s}, `; } else { r += `'Sissy Slut's Sodomy Slit.' ${He} smiles naughtily. "${Master}, I love it when you fuck my lewd butt ${s}lit," `; @@ -520,7 +520,7 @@ App.Medicine.Modification.setTattoo = function(slave, location, design) { break; case "advertisements": r += `${He} stares, ${his} mouth working as ${he} spells out `; - if ($activeSlave.vagina > -1) { + if (slave.vagina > -1) { r += `'Second Pussy.' ${His} face darkens. "No it'${s} not," ${he} bursts out. "Anal is dirty."`; } else { r += `'Spit First.' ${His} face darkens. "Gro${ss}," ${he} bursts out. "Gro${ss} and wrong!"`; @@ -528,7 +528,7 @@ App.Medicine.Modification.setTattoo = function(slave, location, design) { break; case "rude words": r += `${He} stares, ${his} mouth working as ${he} spells out `; - if ($activeSlave.vagina > -1) { + if (slave.vagina > -1) { r += `'Fucktoy's Favorite Fuckhole.' ${His} face darkens. "No it'${s} not," ${he} bursts out. "It'${s} my a${ss}!"`; } else { r += `'Sissy Slut's Sodomy Slit.' ${His} face darkens. "No it'${s} not," ${he} bursts out. "I'm not a ${s}i${ss}y! Or a ${s}lut! And it'${s} not a ${s}lit!" Those are debatable, but they can all change, of course.`; diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 73c92ecdaec..a949912d9a7 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -935,9 +935,8 @@ App.UI.SlaveList.penthousePage = function() { * @returns {string} */ function encycTips(jn) { - let r =``; + let r =`<span class="note">`; if (V.showTipsFromEncy) { - r += `<span class="note">`; switch (jn) { case "rest": r += `<<encyclopediaEntryRest>>`; @@ -975,9 +974,8 @@ App.UI.SlaveList.penthousePage = function() { r += `missing tip for this tab`; break; } - r += `</span>`; } - return r; + return r += `</span>`; } let r = ''; -- GitLab