From a46fc6c8ea7c9fa1ce0ffaf117a7d4634db36329 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Sat, 29 Aug 2020 18:43:38 -0700
Subject: [PATCH] Fix bad ${slave} interpolation

---
 src/npc/generate/newSlaveIntro.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js
index ce40d4138e0..b5746e7a237 100644
--- a/src/npc/generate/newSlaveIntro.js
+++ b/src/npc/generate/newSlaveIntro.js
@@ -155,7 +155,7 @@ App.UI.newSlaveIntro = function(slave, slave2 = V.eventSlave) {
 		} else if (slave.origin === "$He submitted to enslavement for a better chance at survival than $he had as a migrant.") {
 			r.push(`wondering what life as a sex slave will be like.`);
 		} else if (slave.origin === "$He came to you to escape being sold to a cruel master after $his producer informed $him of $his debt.") {
-			r.push(`wondering if ${he} will get to continue to perform for your people even as a ${slave}.`);
+			r.push(`wondering if ${he} will get to continue to perform for your people even as a slave.`);
 		} else {
 			r.push(`looking shyly at you and blushing.`);
 		}
@@ -996,7 +996,7 @@ App.UI.newSlaveIntro = function(slave, slave2 = V.eventSlave) {
 							} else {
 								r.push(`learns`);
 							}
-							r.push(`${he}'ll be heading to surgery immediately, ${he} bursts into <span class="hotpink">tears of gratitude</span> and makes to run around your desk to hug you before checking ${himself}. ${He} clearly doesn't want to put a foot wrong and isn't sure it would be appropriate. You solve ${his} dilemma by meeting ${him} with an embrace. ${He} <span class="mediumaquamarine">cries into your chest</span> and promises to be your best ${slave}. The surgery does affect ${his} <span class="red">health</span> a little.`);
+							r.push(`${he}'ll be heading to surgery immediately, ${he} bursts into <span class="hotpink">tears of gratitude</span> and makes to run around your desk to hug you before checking ${himself}. ${He} clearly doesn't want to put a foot wrong and isn't sure it would be appropriate. You solve ${his} dilemma by meeting ${him} with an embrace. ${He} <span class="mediumaquamarine">cries into your chest</span> and promises to be your best slave. The surgery does affect ${his} <span class="red">health</span> a little.`);
 							slave.devotion += 15;
 							surgeryDamage(slave, 10);
 							slave.trust += 10;
@@ -3887,7 +3887,7 @@ App.UI.newSlaveIntro = function(slave, slave2 = V.eventSlave) {
 
 							App.UI.DOM.appendNewElement("p", el, r.join(" "));
 							r = [];
-							r.push(`You pause to examine the tap, making sure it is set to cum, before releasing the valve and unleashing a steady flow. The feeder bucks against ${his} face as thick, white liquid rushes downward towards the helpless ${slave}.`);
+							r.push(`You pause to examine the tap, making sure it is set to cum, before releasing the valve and unleashing a steady flow. The feeder bucks against ${his} face as thick, white liquid rushes downward towards the helpless slave.`);
 							if (slave.devotion > 20) {
 								if (slave.fetish === "cumslut") {
 									if (slave.fetishKnown === 0) {
@@ -3974,7 +3974,7 @@ App.UI.newSlaveIntro = function(slave, slave2 = V.eventSlave) {
 							App.UI.DOM.appendNewElement("p", el, r.join(" "));
 							r = [];
 
-							r.push(`You pause to examine the tap, making sure it is set to milk, before releasing the valve and unleashing a steady flow. The feeder bucks against ${his} face as creamy, white liquid rushes downward towards the helpless ${slave}.`);
+							r.push(`You pause to examine the tap, making sure it is set to milk, before releasing the valve and unleashing a steady flow. The feeder bucks against ${his} face as creamy, white liquid rushes downward towards the helpless slave.`);
 							if (slave.behavioralFlaw === "gluttonous") {
 								if (!hasBothEyes(slave)) {
 									r.push(`${His} face swells`);
-- 
GitLab