From ea2e139528c3a56d539f191b6db8f428c2d23888 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 27 Jul 2020 19:57:46 -0400 Subject: [PATCH] class --- src/interaction/rename.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/interaction/rename.js b/src/interaction/rename.js index 280e830d518..0c9333ec62b 100644 --- a/src/interaction/rename.js +++ b/src/interaction/rename.js @@ -33,15 +33,15 @@ App.UI.SlaveInteract.rename = function(slave, {oldName = "", oldSurname = ""} = } else if ((oldName === slave.birthName && slave.slaveName !== slave.birthName) || (oldSurname === slave.birthSurname && slave.slaveSurname !== slave.birthSurname)) { r.push(`${slave.slaveName}`); if (slave.devotion > 50) { - r.push(`accepts ${his} new name cheerfully. This attachment to you <span class="hotpink"> increases ${his} devotion.</span>`); + r.push(`accepts ${his} new name cheerfully. This attachment to you <span class="devotion inc"> increases ${his} devotion.</span>`); slave.devotion += 4; } else if (slave.devotion >= -20) { - r.push(`obediently accepts ${his} new name. This surrender to you <span class="hotpink"> increases ${his} obedience.</span>`); + r.push(`obediently accepts ${his} new name. This surrender to you <span class="devotion inc"> increases ${his} obedience.</span>`); slave.devotion += 4; } else if (slave.devotion >= -50) { r.push(`reluctantly accepts ${his} new name.`); } else { - r.push(`angrily tries to resist ${his} new name, insisting that ${his} name is ${SlaveFullBirthName(slave)}. This resistance <span class="mediumorchid"> increases ${his} rebelliousness.</span>`); + r.push(`angrily tries to resist ${his} new name, insisting that ${his} name is ${SlaveFullBirthName(slave)}. This resistance <span class="devotion dec"> increases ${his} rebelliousness.</span>`); slave.devotion -= 5; } } else { @@ -79,10 +79,10 @@ App.UI.SlaveInteract.rename = function(slave, {oldName = "", oldSurname = ""} = if (slave.fetish === "mindbroken") { r.push(`${His} new name would be insulting to a normal ${girl}, but ${he} dully accepts that it is an accurate description and goes about ${his} duties.`); } else if (slave.devotion < -50) { - r.push(`Being given such a degrading name <span class="mediumorchid">further increases ${his} hatred</span> of you.`); + r.push(`Being given such a degrading name <span class="devotion dec">further increases ${his} hatred</span> of you.`); slave.devotion -= 5; } else if (slave.devotion <= 50) { - r.push(`Being given such a degrading name <span class="gold">terrifies ${him},</span> since ${he} thinks it's fair warning for what ${he}'ll suffer in the future.`); + r.push(`Being given such a degrading name <span class="trust dec">terrifies ${him},</span> since ${he} thinks it's fair warning for what ${he}'ll suffer in the future.`); slave.trust -= 5; } } @@ -97,10 +97,10 @@ App.UI.SlaveInteract.rename = function(slave, {oldName = "", oldSurname = ""} = if (slaveWife.slaveSurname) { const {wife2} = getPronouns(slaveWife).appendSuffix('2'); if (slave.slaveSurname === slaveWife.slaveSurname) { - r.push(`${He}'s touched that ${he} now shares a surname with ${his} ${wife2} ${slaveWife.slaveName} ${slaveWife.slaveSurname}, and is <span class="mediumaquamarine">more confident than ever</span> that you intend to keep them together in marital bliss.`); + r.push(`${He}'s touched that ${he} now shares a surname with ${his} ${wife2} ${slaveWife.slaveName} ${slaveWife.slaveSurname}, and is <span class="trust inc">more confident than ever</span> that you intend to keep them together in marital bliss.`); slave.trust += 5; } else if (oldSurname === slaveWife.slaveSurname) { - r.push(`${He}'s concerned that ${he} no longer shares a surname with ${his} ${wife2} ${slaveWife.slaveName} ${slaveWife.slaveSurname}, and is <span class="gold">very worried</span> that you might be considering splitting them up.`); + r.push(`${He}'s concerned that ${he} no longer shares a surname with ${his} ${wife2} ${slaveWife.slaveName} ${slaveWife.slaveSurname}, and is <span class="trust dec">very worried</span> that you might be considering splitting them up.`); slave.trust -= 5; } } @@ -120,11 +120,11 @@ App.UI.SlaveInteract.rename = function(slave, {oldName = "", oldSurname = ""} = if (hasAnyArms(slave)) { r.push(`wiping at the tears running down ${his} ${slave.skin} cheeks,`); } - r.push(`but ${he} can't seem to stop weeping as ${he} thanks you over and over. ${He}'s a sex slave, your property, and it's understandable that some doubts about the permanence of ${his} place as your slave ${wife}. This has <span class="mediumaquamarine">helped reassure ${him},</span> and explains the strength of ${his} emotional reaction. The next time you make love to ${him}, ${he} <span class="hotpink">presses ${himself} as close to you as ${he} can,</span> eager to drink in as much of your presence as ${he} can get.`); + r.push(`but ${he} can't seem to stop weeping as ${he} thanks you over and over. ${He}'s a sex slave, your property, and it's understandable that some doubts about the permanence of ${his} place as your slave ${wife}. This has <span class="trust inc">helped reassure ${him},</span> and explains the strength of ${his} emotional reaction. The next time you make love to ${him}, ${he} <span class="devotion inc">presses ${himself} as close to you as ${he} can,</span> eager to drink in as much of your presence as ${he} can get.`); slave.devotion += 5; slave.trust += 5; } else if (oldSurname === V.PC.slaveSurname) { - r.push(`${He}'s devastated that you'd rename ${him} something other than your name. ${He}'s <span class="gold">terrified</span> that you intend to discard ${him} as your slave ${V.wife}, and <span class="mediumorchid">saddened</span> that you would take away something that was precious to ${him}.`); + r.push(`${He}'s devastated that you'd rename ${him} something other than your name. ${He}'s <span class="trust dec">terrified</span> that you intend to discard ${him} as your slave ${V.wife}, and <span class="devotion dec">saddened</span> that you would take away something that was precious to ${him}.`); slave.devotion -= 5; slave.trust -= 5; } @@ -132,24 +132,24 @@ App.UI.SlaveInteract.rename = function(slave, {oldName = "", oldSurname = ""} = if (slave.slaveSurname === V.PC.slaveSurname) { r.push(`When you tell ${him} that ${he}'s to be known as ${slave.slaveName} ${slave.slaveSurname} now, ${he} shows no reaction. You already took everything from ${him}, what's a name at this point?`); } else if (oldSurname === V.PC.slaveSurname) { - r.push(`${He} doesn't care about losing your surname at first, but it quickly sets in that ${he} may have <span class="gold">pushed ${his} position too far.</span>`); + r.push(`${He} doesn't care about losing your surname at first, but it quickly sets in that ${he} may have <span class="trust dec">pushed ${his} position too far.</span>`); slave.trust -= 20; } } else if (slave.devotion < -20) { if (slave.slaveSurname === V.PC.slaveSurname) { - r.push(`When you tell ${him} that ${he}'s to be known as ${slave.slaveName} ${slave.slaveSurname} now, ${he} pleads with you not to steal ${his} name. It matters little to you, and ${he} is forced to <span class="hotpink">accept your will.</span>`); + r.push(`When you tell ${him} that ${he}'s to be known as ${slave.slaveName} ${slave.slaveSurname} now, ${he} pleads with you not to steal ${his} name. It matters little to you, and ${he} is forced to <span class="devotion inc">accept your will.</span>`); slave.devotion += 5; } else if (oldSurname === V.PC.slaveSurname) { - r.push(`${He}'s <span class="mediumorchid">happy</span> to no longer have to share a name with ${his} tormentor, but the bliss doesn't last long as <span class="gold">dread</span> quickly sets in about what this may mean.`); + r.push(`${He}'s <span class="devotion dec">happy</span> to no longer have to share a name with ${his} tormentor, but the bliss doesn't last long as <span class="trust dec">dread</span> quickly sets in about what this may mean.`); slave.devotion += 5; slave.trust -= 10; } } else { if (slave.slaveSurname === V.PC.slaveSurname) { - r.push(`When you tell ${him} that ${he}'s to be known as ${slave.slaveName} ${slave.slaveSurname} now, ${he} nods with approval feeling <span class="mediumaquamarine">that ${he} may hold at least some value in your eyes.</span>`); + r.push(`When you tell ${him} that ${he}'s to be known as ${slave.slaveName} ${slave.slaveSurname} now, ${he} nods with approval feeling <span class="trust inc">that ${he} may hold at least some value in your eyes.</span>`); slave.trust += 5; } else if (oldSurname === V.PC.slaveSurname) { - r.push(`${He} accepts that you'd rename ${him} something other than your name. ${He}'s <span class="gold">a little scared</span> that you intend to discard ${him} as your slave ${V.wife}, or worse, but realizes this was not only a possibility, but likely.`); + r.push(`${He} accepts that you'd rename ${him} something other than your name. ${He}'s <span class="trust dec">a little scared</span> that you intend to discard ${him} as your slave ${V.wife}, or worse, but realizes this was not only a possibility, but likely.`); slave.trust -= 5; } } -- GitLab