From e4adffd3838e46d75a15ff7278ec34c063efaaa2 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Fri, 16 Oct 2020 23:02:47 -0400
Subject: [PATCH] spaces

---
 src/npc/generate/newChildIntro.js | 120 ++++++++++++------------------
 1 file changed, 46 insertions(+), 74 deletions(-)

diff --git a/src/npc/generate/newChildIntro.js b/src/npc/generate/newChildIntro.js
index 1b32b4b99e8..482e0963cf1 100644
--- a/src/npc/generate/newChildIntro.js
+++ b/src/npc/generate/newChildIntro.js
@@ -348,17 +348,13 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 
 	r.push(`now stands before your desk`);
 	if (tempMom !== 0 && tempDad !== 0 && slave.father !== slave.mother) {
-		r.push(`alongside ${his} mother${tempMom.slaveName} and father ${tempDad.slaveName}.`);
+		r.push(`alongside ${his} mother ${tempMom.slaveName} and father ${tempDad.slaveName}.`);
 	} else if (tempMom !== 0) {
-		r.push(`alongside ${his} mother${tempMom.slaveName}.`);
+		r.push(`alongside ${his} mother ${tempMom.slaveName}.`);
 	} else if (tempDad !== 0) {
-		r.push(`alongside ${his} father${tempDad.slaveName}.`);
+		r.push(`alongside ${his} father ${tempDad.slaveName}.`);
 	} else {
-		r.push(`alone, having no family`);
-		if (slave.mother === -1 || slave.father === -1) {
-			r.push(`, other than you,`);
-		}
-		r.push(` in your stock.`);
+		r.push(`alone, having no family${(slave.mother === -1 || slave.father === -1) ? `, other than you,` : ``} in your stock.`);
 	}
 	if (V.arcologies[0].FSRestartDecoration === 100 && tempMom !== 0) {
 		if (tempMom.breedingMark === 1 && V.propOutcome === 1) {
@@ -371,7 +367,7 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 					} else {
 						r.push(`dog`);
 					}
-					r.push(` you've sired for them and <span class="red">leave in a huff.</span>`);
+					r.push(`you've sired for them and <span class="red">leave in a huff.</span>`);
 					V.failedElite += 5;
 				} else {
 					r.push(`They quickly realize how unsuitable ${he} is for breeding and leave, apologizing sycophantically for wasting your time.`);
@@ -403,11 +399,10 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 			} else if (tempMom.devotion + tempMom.trust >= 175) {
 				r.push(`and <span class="hotpink">notices how happy</span> the look on ${his2} face is.${tempMom.slaveName} is positively beaming with pride at `);
 				if (slave.father === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust += 35;
 				slave.devotion += 35;
 			} else if (tempMom.devotion < -20 && tempMom.trust > 20) {
@@ -421,23 +416,20 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 				} else {
 					r.push(`faces`);
 				}
-				r.push(` `);
 				if (slave.father === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust -= 30;
 				slave.devotion -= 30;
 			} else {
 				r.push(`and <span class="hotpink">notices how obedient</span> the look on ${his2} face is.${tempMom.slaveName} is eagerly awaiting your reaction to `);
 				if (slave.father === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust += 25;
 				slave.devotion += 25;
 			}
@@ -481,43 +473,42 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 			} else {
 				r.push(`centimeter`);
 			}
-			r.push(` of their enormity, but lingering on ${his2} `);
+			r.push(`of their enormity, but lingering on ${his2} `);
 			if (tempMom.lactation === 2) {
-				r.push(`milk gushing `);
+				r.push(`milk gushing`);
 			} else if (tempMom.lactation === 1) {
-				r.push(`milk leaking `);
+				r.push(`milk leaking`);
 			}
 			r.push(`${tempMom.nipples} nipples.`);
 			momInterest = "boobs";
 		} else if (tempMom.bellyPreg >= 450000) {
 			r.push(`${His} eyes focus on${tempMom.slaveName}'s massively distended, child-filled belly, taking in every obvious motion beneath ${his2} taut skin.`);
 			if (slave.readyOva >= 20) {
-				r.push(` A hand runs across ${his} own bloated middle and another down to ${his} moist pussy.`);
+				r.push(`A hand runs across ${his} own bloated middle and another down to ${his} moist pussy.`);
 			}
 			momInterest = "belly";
 		} else if (tempMom.belly >= 5000) {
 			r.push(`${His} eyes focus on${tempMom.slaveName}'s rounded middle, staring in fascination at the unfamiliar bulge.`);
 			if (slave.readyOva >= 20) {
-				r.push(` A hand runs across ${his} own middle and another down to ${his} moist pussy.`);
+				r.push(`A hand runs across ${his} own middle and another down to ${his} moist pussy.`);
 			}
 			momInterest = "belly";
 		} else if (tempMom.dick > 15) {
 			r.push(`${His} eyes focus on${tempMom.slaveName}'s ${dickToEitherUnit(tempMom.dick).replace("es", "")} long dick, trying to understand how it can fit in a girl.`);
 			momInterest = "dick";
 		} else if (tempMom.balls > 60) {
-			r.push(`${His} eyes focus on${tempMom.slaveName}'s ${ballsToEitherUnit(tempMom.balls).replace("es", "")} long testicles, taking in every `);
+			r.push(`${His} eyes focus on${tempMom.slaveName}'s ${ballsToEitherUnit(tempMom.balls).replace("es", "")} long testicles, taking in every`);
 			if (V.showInches === 2) {
 				r.push(`inch`);
 			} else {
 				r.push(`centimeter`);
 			}
-			r.push(` of their enormity, before shifting to the cum steadily drooling from `);
+			r.push(`of their enormity, before shifting to the cum steadily drooling from `);
 			if (tempMom.dick > 0) {
-				r.push(`the tip of ${his2} dick`);
+				r.push(`the tip of ${his2} dick.`);
 			} else {
-				r.push(`the hole in ${his2} crotch`);
+				r.push(`the hole in ${his2} crotch.`);
 			}
-			r.push(`.`);
 			momInterest = "balls";
 		} else if (tempMom.hips > 2) {
 			r.push(`${His} eyes focus on${tempMom.slaveName}'s abnormally wide hips. ${He} runs ${his} hands down ${his} own sides, pondering how such a wonder occurs.`);
@@ -549,11 +540,10 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 			} else if (tempDad.devotion + tempDad.trust >= 175) {
 				r.push(`and <span class="hotpink">notices how happy</span> the look on ${his2} face is.${tempDad.slaveName} is positively beaming with pride at `);
 				if (slave.mother === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust += 35;
 				slave.devotion += 35;
 			} else if (tempDad.devotion < -20 && tempDad.trust > 20) {
@@ -567,23 +557,20 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 				} else {
 					r.push(`faces`);
 				}
-				r.push(` `);
 				if (slave.mother === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust -= 30;
 				slave.devotion -= 30;
 			} else {
 				r.push(`and <span class="hotpink">notices how obedient</span> the look on ${his2} face is.${tempDad.slaveName} is eagerly awaiting your reaction to `);
 				if (slave.mother === -1) {
-					r.push(`the result of your union`);
+					r.push(`the result of your union.`);
 				} else {
-					r.push(`${his2} addition to your harem`);
+					r.push(`${his2} addition to your harem.`);
 				}
-				r.push(`.`);
 				slave.trust += 25;
 				slave.devotion += 25;
 			}
@@ -621,55 +608,48 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 			slave.devotion += 20;
 		}
 		if (tempDad.boobs > 10000) {
-			r.push(`${His} eyes focus on${tempDad.slaveName}'s `);
-			V.tempDad.boobs;
-			r.push(`cc tits, taking in every `);
+			r.push(`${His} eyes focus on${tempDad.slaveName}'s ${tempDad.boobs} cc tits, taking in every `);
 			if (V.showInches === 2) {
 				r.push(`inch`);
 			} else {
 				r.push(`centimeter`);
 			}
-			r.push(` of their enormity, but lingering on ${his2} `);
+			r.push(`of their enormity, but lingering on ${his2}`);
 			if (tempDad.lactation === 2) {
-				r.push(`milk gushing `);
+				r.push(`milk gushing`);
 			} else if (tempDad.lactation === 1) {
-				r.push(`milk leaking `);
+				r.push(`milk leaking`);
 			}
 			r.push(`${tempDad.nipples} nipples.`);
 			dadInterest = "boobs";
 		} else if (tempDad.bellyPreg >= 450000) {
 			r.push(`${His} eyes focus on${tempDad.slaveName}'s massively distended, child-filled belly, taking in every obvious motion beneath ${his2} taut skin.`);
 			if (slave.readyOva >= 20) {
-				r.push(` A hand runs across ${his} own bloated middle and another down to ${his} moist pussy.`);
+				r.push(`A hand runs across ${his} own bloated middle and another down to ${his} moist pussy.`);
 			}
 			dadInterest = "belly";
 		} else if (tempDad.belly >= 5000) {
 			r.push(`${His} eyes focus on${tempDad.slaveName}'s rounded middle, staring in fascination at the unfamiliar bulge.`);
 			if (slave.readyOva >= 20) {
-				r.push(` A hand runs across ${his} own middle and another down to ${his} moist pussy.`);
+				r.push(`A hand runs across ${his} own middle and another down to ${his} moist pussy.`);
 			}
 			dadInterest = "belly";
 		} else if (tempDad.dick > 15) {
-			r.push(`${His} eyes focus on${tempDad.slaveName}'s `);
-			V.dickToEitherUnit(tempDad.dick).replace("es", "");
-			r.push(` long dick, trying to understand how it can fit in anybody.`);
+			r.push(`${His} eyes focus on${tempDad.slaveName}'s ${dickToEitherUnit(tempDad.dick).replace("es", "")} long dick, trying to understand how it can fit in anybody.`);
 			dadInterest = "dick";
 		} else if (tempDad.balls > 60) {
-			r.push(`${His} eyes focus on${tempDad.slaveName}'s `);
-			V.ballsToEitherUnit(tempDad.balls).replace("es", "");
-			r.push(` long testicles, taking in every `);
+			r.push(`${His} eyes focus on${tempDad.slaveName}'s ${ballsToEitherUnit(tempDad.balls).replace("es", "")} long testicles, taking in every `);
 			if (V.showInches === 2) {
 				r.push(`inch`);
 			} else {
 				r.push(`centimeter`);
 			}
-			r.push(` of their enormity, before shifting to the cum steadily drooling from `);
+			r.push(`of their enormity, before shifting to the cum steadily drooling from `);
 			if (tempDad.dick > 0) {
-				r.push(`the tip of ${his2} dick`);
+				r.push(`the tip of ${his2} dick.`);
 			} else {
-				r.push(`the hole in ${his2} crotch`);
+				r.push(`the hole in ${his2} crotch.`);
 			}
-			r.push(`.`);
 			dadInterest = "balls";
 		} else if (tempDad.hips > 2) {
 			r.push(`${His} eyes focus on${tempDad.slaveName}'s abnormally wide hips. ${He} runs ${his} hands down ${his} own sides, pondering how such a wonder occurs.`);
@@ -693,17 +673,17 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 	r = [];
 
 	if (tempMom !== 0 && tempDad !== 0 && slave.father !== slave.mother) {
-		r.push(`You dismiss${tempMom.slaveName} and tempDad.slaveName so that you may conduct a more intimate inspection of their ${daughter}.`);
+		r.push(`You dismiss ${tempMom.slaveName} and ${tempDad.slaveName} so that you may conduct a more intimate inspection of their ${daughter}.`);
 	} else if (tempMom !== 0) {
 		({
 			he2, his2, He2
 		} = getPronouns(tempMom).appendSuffix("2"));
-		r.push(`You dismiss${tempMom.slaveName} so that you may conduct a more intimate inspection of ${his2} ${daughter}.`);
+		r.push(`You dismiss ${tempMom.slaveName} so that you may conduct a more intimate inspection of ${his2} ${daughter}.`);
 	} else if (tempDad !== 0) {
 		({
 			he2, his2, He2
 		} = getPronouns(tempDad).appendSuffix("2"));
-		r.push(`You dismiss${tempDad.slaveName} so that you may conduct a more intimate inspection of ${his2} ${daughter}.`);
+		r.push(`You dismiss ${tempDad.slaveName} so that you may conduct a more intimate inspection of ${his2} ${daughter}.`);
 	}
 	r.push(`You slowly strip down, gauging ${his} reactions to your show, until you are fully nude before ${him}.`);
 
@@ -721,7 +701,7 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 				} else {
 					r.push(`presence`);
 				}
-				r.push(` of your dick.`);
+				r.push(`of your dick.`);
 			}
 		}
 	} else if (slave.dick > 0) {
@@ -738,13 +718,13 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 				} else {
 					r.push(`engorging`);
 				}
-				r.push(` to the `);
+				r.push(`to the `);
 				if (canSee(slave)) {
 					r.push(`sight`);
 				} else {
 					r.push(`presence`);
 				}
-				r.push(` of your pussy.`);
+				r.push(`of your pussy.`);
 			}
 		}
 	}
@@ -773,21 +753,13 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 	if (V.PC.pregKnown === 1) {
 		if (V.PC.career === "escort") {
 			if (V.PC.preg >= 16) {
-				r.push(`${He} is fascinated by your pregnancy, to the point that ${he} attempts a gesture to let you know ${he} wants to feel it. Just this once, you permit ${him} to touch your belly`);
-				if (slave.pubertyXX === 1) {
-					r.push(`, since it is likely ${he} ${himself} will be swollen with child before long`);
-				}
-				r.push(`. ${He} eagerly rubs it all over before pushing ${his} ear to it, provoking a kick and a gasp in response. ${He} instinctively <span class="hotpink">connects to you</span> and <span class="mediumaquamarine">trusts you</span> like a mother.`);
+				r.push(`${He} is fascinated by your pregnancy, to the point that ${he} attempts a gesture to let you know ${he} wants to feel it. Just this once, you permit ${him} to touch your belly${(slave.pubertyXX === 1) ? `, since it is likely ${he} ${himself} will be swollen with child before long` : ``}. ${He} eagerly rubs it all over before pushing ${his} ear to it, provoking a kick and a gasp in response. ${He} instinctively <span class="hotpink">connects to you</span> and <span class="mediumaquamarine">trusts you</span> like a mother.`);
 				slave.trust += 2;
 				slave.devotion += 2;
 			}
 		} else {
 			if (V.PC.preg >= 16 && V.PC.belly >= 1500) {
-				r.push(`${He} is fascinated by your pregnancy, to the point that ${he} attempts a gesture to let you know ${he} wants to feel it. Just this once, you permit ${him} to touch your belly`);
-				if (slave.pubertyXX === 1) {
-					r.push(`, since it is likely ${he} ${himself} will be swollen with child before long`);
-				}
-				r.push(`. ${He} eagerly rubs it all over before pushing ${his} ear to it, provoking a kick and a gasp in response. ${He} instinctively <span class="hotpink">connects to you</span> and <span class="mediumaquamarine">trusts you</span> like a mother.`);
+				r.push(`${He} is fascinated by your pregnancy, to the point that ${he} attempts a gesture to let you know ${he} wants to feel it. Just this once, you permit ${him} to touch your belly${(slave.pubertyXX === 1) ? `, since it is likely ${he} ${himself} will be swollen with child before long` : ``}. ${He} eagerly rubs it all over before pushing ${his} ear to it, provoking a kick and a gasp in response. ${He} instinctively <span class="hotpink">connects to you</span> and <span class="mediumaquamarine">trusts you</span> like a mother.`);
 				slave.trust += 2;
 				slave.devotion += 2;
 			}
@@ -897,7 +869,7 @@ App.UI.newChildIntro = function(slave, slave2, familyStatus = true) {
 		} else {
 			r.push(`passed through`);
 		}
-		r.push(` a good deal of your arcology and its society on ${his} way to your penthouse, and was amazed by all the happy, healthy slaves. ${He} <span class="mediumaquamarine">begins to trust</span> that ${he}'ll be one of them, and <span class="hotpink">anticipates playing</span> with all ${his} happy friends.`);
+		r.push(`a good deal of your arcology and its society on ${his} way to your penthouse, and was amazed by all the happy, healthy slaves. ${He} <span class="mediumaquamarine">begins to trust</span> that ${he}'ll be one of them, and <span class="hotpink">anticipates playing</span> with all ${his} happy friends.`);
 		slave.trust += 4;
 		slave.devotion += 4;
 	}
-- 
GitLab