From a71b5acdabc9b2759afcd4c282f72aa5211fe4a5 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 6 Nov 2020 18:51:45 -0500 Subject: [PATCH] fix spacing --- src/npc/generate/newSlaveIntro.js | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 542e980419b..b30e47e753e 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -3313,13 +3313,14 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = r.push(`${knockMeUp(V.PC, 100, 0, slave.ID)}`); r.push(`You groan as you rub your belly. You were fertile and are now likely <span class="lime">quite pregnant.</span>`); } - el.append(r.join(" ")); + App.Events.addNode(el, r); r = []; - const result2 = document.createElement("span"); + const result2 = document.createElement("p"); result2.id = "result2"; + el.append(result2); App.UI.DOM.appendNewElement( "div", - el, + result2, App.UI.DOM.link( `Let it slide for now`, () => { @@ -3333,7 +3334,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = App.UI.DOM.appendNewElement( "div", - el, + result2, App.UI.DOM.link( `Teach ${him} what ${he} did wrong`, () => { @@ -3348,7 +3349,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = App.UI.DOM.appendNewElement( "div", - el, + result2, App.UI.DOM.link( `Punish ${his} nuts`, () => { @@ -3363,7 +3364,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = App.UI.DOM.appendNewElement( "div", - el, + result2, App.UI.DOM.link( `Punish ${him} with a chastity belt`, () => { @@ -3380,7 +3381,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = if (V.seeExtreme === 1) { App.UI.DOM.appendNewElement( "div", - el, + result2, App.UI.DOM.link( `Geld ${him} as punishment`, () => { @@ -3410,7 +3411,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = r.push(`${he} <span class="hotpink">complies meekly,</span> knowing you are the <span class="gold">dominant force</span> in ${his} life now.`); slave.devotion += 5; slave.trust -= 3; - el.append(r.join(" ")); + App.Events.addNode(el, r); } return el; } @@ -3694,8 +3695,8 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = slave.fetish = "dom"; slave.fetishStrength = 20; } - el.append(r.join(" ")); - const result2 = document.createElement("span"); + App.Events.addNode(el, r); + const result2 = document.createElement("p"); result2.id = "result2"; App.UI.DOM.appendNewElement( "div", @@ -3780,7 +3781,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = slave.fetish = "boobs"; slave.fetishStrength = 20; } - el.append(r.join(" ")); + App.Events.addNode(el, r); } } else { r.push(`You quickly strip off your shirt and draw close to ${slave.slaveName}. You grab ${him} as ${he} attempts to back away and pull ${his} tits directly into your own. Both sets of`); @@ -3803,7 +3804,7 @@ App.UI.newSlaveIntro = function(slave, slave2, {tankBorn = false, momInterest = } } slave.devotion += 5; - el.append(r.join(" ")); + App.Events.addNode(el, r); } return el; }, -- GitLab