From 8de4abc7da099d96c9fc56e87923406a86d64628 Mon Sep 17 00:00:00 2001
From: klorpa <30924131+klorpa@users.noreply.github.com>
Date: Sun, 23 Jun 2019 00:50:26 -0500
Subject: [PATCH] MorePregThings

---
 src/npc/startingGirls/startingGirls.tw |  2 +-
 src/pregmod/birthStorm.tw              | 30 +++++++++++++++++-
 src/pregmod/csec.tw                    | 44 +++++++++++++++++---------
 src/pregmod/seBurst.tw                 | 16 +++++++++-
 src/pregmod/widgets/seBirthWidgets.tw  | 23 ++++++++++++++
 src/utility/descriptionWidgetsStyle.tw |  2 +-
 6 files changed, 98 insertions(+), 19 deletions(-)

diff --git a/src/npc/startingGirls/startingGirls.tw b/src/npc/startingGirls/startingGirls.tw
index e966354ae77..7a399d9c679 100644
--- a/src/npc/startingGirls/startingGirls.tw
+++ b/src/npc/startingGirls/startingGirls.tw
@@ -244,7 +244,7 @@ __You are customizing this slave:__
 			<<set $activeSlave.custom.tattoo = "$He has your custom emblem tattooed on $his left breast.">>
 		<<elseif $activeSlave.mother == -1>>
 			<<set $activeSlave.origin = "$He was the result of unprotected sex with a client. He paid you quite well to enjoy your body as you grew heavy with his child.">>
-			<<set $activeSlave.custom.tattoo = "$He has the number of times $his father came in you while you were pregnant with $his tattooed down $his back.">>
+			<<set $activeSlave.custom.tattoo = "$He has the number of times $his father came in you while you were pregnant with $him tattooed down $his back.">>
 		<<elseif $activeSlave.father == -1>>
 			<<set $activeSlave.origin = "$He was the result of unprotected sex with a client. $His mother tracked you down years after $his birth to force $him upon you.">>
 			<<set $activeSlave.custom.tattoo = "$He has your name angrily tattooed on $his right shoulder.">>
diff --git a/src/pregmod/birthStorm.tw b/src/pregmod/birthStorm.tw
index 91e66b1b206..36bb947cbb2 100644
--- a/src/pregmod/birthStorm.tw
+++ b/src/pregmod/birthStorm.tw
@@ -5,7 +5,7 @@
 <<set $activeSlave.curBabies = WombBirth($activeSlave, 34)>> /*Here check - how many children survive this event. 34 weeks minimum.*/
 <<set _curBabies = $activeSlave.curBabies.length>>
 
-<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
+<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _elite = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
 <<for _cb = 0; _cb < $activeSlave.curBabies.length; _cb++>>
 	<<if $activeSlave.curBabies[_cb].fatherID == 0>>
 		<<set _others++>>
@@ -26,6 +26,9 @@
 	<<elseif $activeSlave.curBabies[_cb].fatherID == -5>>
 		<<set _clients++>>
 		<<set _fathers.push("your client's")>>
+	<<elseif $activeSlave.curBabies[_cb].fatherID == -6>>
+		<<set _elite++>>
+		<<set _fathers.push("the Societal Elite's")>>
 	<<elseif $activeSlave.curBabies[_cb].fatherID == -7>>
 		<<set _lab++>>
 		<<set _fathers.push("the gene lab's")>>
@@ -77,6 +80,8 @@
 		<<set _num = _arcOwner>>
 	<<elseif _fathersReduced[_cb] == "your client's">>
 		<<set _num = _clients>>
+	<<elseif _fathersReduced[_cb] == "the Societal Elite's">>
+		<<set _num = _elite>>
 	<<elseif _fathersReduced[_cb] == "the gene lab's">>
 		<<set _num = _lab>>
 	<<elseif _fathersReduced[_cb] == "a Futanari Sister's">>
@@ -262,6 +267,29 @@ The remote surgery allows the removal of the pregnancy generator through convent
 			<</replace>>
 			<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
 		<</link>>
+		<<if $activeSlave.breedingMark == 1 && ($activeSlave.pregSource == -1 || $activeSlave.pregSource == -6) && $propOutcome == 1>>
+			<br><<link "...handed off to the Societal Elite.">>
+				<<replace #_disposition>>
+					handed off to be raised into <<if _curBabies > 1>>future members<<else>>a future member<</if>> of the Societal Elite. $activeSlave.slaveName
+					<<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>>
+						does not give any hint of a response.
+					<<elseif $activeSlave.devotion > 95>>
+						will @@.hotpink;worship you utterly@@ for this.
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 50>>
+						understands that this is the best possible outcome for the offspring of a slave, and will be @@.hotpink;overjoyed.@@
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 20>>
+						will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother.
+						<<set $activeSlave.devotion += 6>>
+					<<else>>
+						will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
+						<<set $activeSlave.devotion += 6>>
+					<</if>>
+				<</replace>>
+				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
+			<</link>>
+		<</if>>
 		<<if $activeSlave.pregSource == -9>>
 			<br><<link "...handed off to the Futanari Sisters.">>
 				<<replace #_disposition>>
diff --git a/src/pregmod/csec.tw b/src/pregmod/csec.tw
index 2e04c66013d..a88791f3fc2 100644
--- a/src/pregmod/csec.tw
+++ b/src/pregmod/csec.tw
@@ -19,7 +19,7 @@
 <<set $activeSlave.counter.birthsTotal += _curBabies>>
 <<set $birthsTotal += _curBabies>>
 
-<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
+<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _elite = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
 <<for _cb = 0; _cb < $activeSlave.curBabies.length; _cb++>>
 	<<if $activeSlave.curBabies[_cb].fatherID == 0>>
 		<<set _others++>>
@@ -40,6 +40,9 @@
 	<<elseif $activeSlave.curBabies[_cb].fatherID == -5>>
 		<<set _clients++>>
 		<<set _fathers.push("your client's")>>
+	<<elseif $activeSlave.curBabies[_cb].fatherID == -6>>
+		<<set _elite++>>
+		<<set _fathers.push("the Societal Elite's")>>
 	<<elseif $activeSlave.curBabies[_cb].fatherID == -7>>
 		<<set _lab++>>
 		<<set _fathers.push("the gene lab's")>>
@@ -91,6 +94,8 @@
 		<<set _num = _arcOwner>>
 	<<elseif _fathersReduced[_cb] == "your client's">>
 		<<set _num = _clients>>
+	<<elseif _fathersReduced[_cb] == "the Societal Elite's">>
+		<<set _num = _elite>>
 	<<elseif _fathersReduced[_cb] == "the gene lab's">>
 		<<set _num = _lab>>
 	<<elseif _fathersReduced[_cb] == "a Futanari Sister's">>
@@ -109,20 +114,6 @@
 		<<set _fathersReduced[_cb] += String(" brood of " + _num + " babies")>>
 	<<elseif _num >= 10>>
 		<<set _fathersReduced[_cb] += String(" impressive group of " + _num + " babies")>>
-	<<elseif _num == 9>>
-		<<set _fathersReduced[_cb] += " nonuplets">>
-	<<elseif _num == 8>>
-		<<set _fathersReduced[_cb] += " octuplets">>
-	<<elseif _num == 7>>
-		<<set _fathersReduced[_cb] += " septuplets">>
-	<<elseif _num == 6>>
-		<<set _fathersReduced[_cb] += " sextuplets">>
-	<<elseif _num == 5>>
-		<<set _fathersReduced[_cb] += " quintuplets">>
-	<<elseif _num == 4>>
-		<<set _fathersReduced[_cb] += " quadruplets">>
-	<<elseif _num == 3>>
-		<<set _fathersReduced[_cb] += " triplets">>
 	<<else>>
 		<<set _fathersReduced[_cb] += String(" " + pregNumberName(_num, 2))>>
 	<</if>>
@@ -249,6 +240,29 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a
 			<</replace>>
 			<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
 		<</link>>
+		<<if $activeSlave.breedingMark == 1 && ($activeSlave.pregSource == -1 || $activeSlave.pregSource == -6) && $propOutcome == 1>>
+			<br><<link "...handed off to the Societal Elite.">>
+				<<replace #_disposition>>
+					handed off to be raised into <<if _curBabies > 1>>future members<<else>>a future member<</if>> of the Societal Elite. $activeSlave.slaveName
+					<<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>>
+						does not give any hint of a response.
+					<<elseif $activeSlave.devotion > 95>>
+						will @@.hotpink;worship you utterly@@ for this.
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 50>>
+						understands that this is the best possible outcome for the offspring of a slave, and will be @@.hotpink;overjoyed.@@
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 20>>
+						will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother.
+						<<set $activeSlave.devotion += 6>>
+					<<else>>
+						will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
+						<<set $activeSlave.devotion += 6>>
+					<</if>>
+				<</replace>>
+				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
+			<</link>>
+		<</if>>
 		<<if $activeSlave.pregSource == -9>>
 			<br><<link "...handed off to the Futanari Sisters.">>
 				<<replace #_disposition>>
diff --git a/src/pregmod/seBurst.tw b/src/pregmod/seBurst.tw
index fe7c3e49c82..7a8db650221 100644
--- a/src/pregmod/seBurst.tw
+++ b/src/pregmod/seBurst.tw
@@ -12,7 +12,7 @@
 		<<set _curBabies = $slaves[_b].curBabies.length>> /*just to improve speed and usability here.*/
 		<<set $birthsTotal += _curBabies>>
 
-		<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
+		<<set _others = 0, _PC = 0, _citizens = 0, _oldMaster = 0, _arcOwner = 0, _clients = 0, _elite = 0, _lab = 0, _futaS = 0, _fathers = [], _babyFatherLink = []>>
 		<<for _cb = 0; _cb < $slaves[_b].curBabies.length; _cb++>>
 			<<if $slaves[_b].curBabies[_cb].fatherID == 0>>
 				<<set _others++>>
@@ -33,6 +33,9 @@
 			<<elseif $slaves[_b].curBabies[_cb].fatherID == -5>>
 				<<set _clients++>>
 				<<set _fathers.push("your client's")>>
+			<<elseif $slaves[_b].curBabies[_cb].fatherID == -6>>
+				<<set _elite++>>
+				<<set _fathers.push("the Societal Elite's")>>
 			<<elseif $slaves[_b].curBabies[_cb].fatherID == -7>>
 				<<set _lab++>>
 				<<set _fathers.push("the gene lab's")>>
@@ -84,6 +87,8 @@
 				<<set _num = _arcOwner>>
 			<<elseif _fathersReduced[_cb] == "your client's">>
 				<<set _num = _clients>>
+			<<elseif _fathersReduced[_cb] == "the Societal Elite's">>
+				<<set _num = _elite>>
 			<<elseif _fathersReduced[_cb] == "the gene lab's">>
 				<<set _num = _lab>>
 			<<elseif _fathersReduced[_cb] == "a Futanari Sister's">>
@@ -222,6 +227,15 @@
 					<</replace>>
 				<</link>>
 				//Will cost <<print cashFormat(100)>> weekly//
+		<<if $activeSlave.breedingMark == 1 && ($activeSlave.pregSource == -1 || $activeSlave.pregSource == -6) && $propOutcome == 1>>
+			<br><<link "Give them to the Societal Elite.">>
+				<<replace `"#" + $dispositionId`>>
+					The child<<if _curBabies > 1>>ren are<<else>> is<</if>> sent to be raised by the Societal Elite, to be brought up as <<if _curBabies > 1>>future members<<else>>a future member<</if>> of their vision of the world.
+					<<set $slaveOrphanageTotal -= _curBabies>>
+				<</replace>>
+				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
+			<</link>>
+		<</if>>
 				<<if $slaves[_b].pregSource == -9>>
 					<br><<link "Give them to the Futanari Sisters">>
 						<<replace #dispositionId>>
diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw
index 44135cd8865..074864c3e69 100644
--- a/src/pregmod/widgets/seBirthWidgets.tw
+++ b/src/pregmod/widgets/seBirthWidgets.tw
@@ -938,6 +938,29 @@ All in all,
 			<</replace>>
 		<</link>>
 		//Will cost <<print cashFormat(100)>> weekly//
+		<<if $activeSlave.breedingMark == 1 && ($activeSlave.pregSource == -1 || $activeSlave.pregSource == -6) && $propOutcome == 1>>
+			<br><<link "Give them to the Societal Elite.">>
+				<<replace #_disposition>>
+					The child<<if _curBabies > 1>>ren are<<else>> is<</if>> sent to be raised by the Societal Elite, to be brought up as <<if _curBabies > 1>>future members<<else>>a future member<</if>> of their vision of the world. $activeSlave.slaveName
+					<<if $activeSlave.fetish == "mindbroken" || $activeSlave.fuckdoll > 0>>
+						does not give any hint of a response.
+					<<elseif $activeSlave.devotion > 95>>
+						will @@.hotpink;worship you utterly@@ for this.
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 50>>
+						understands that this is the best possible outcome for the offspring of a slave, and will be @@.hotpink;overjoyed.@@
+						<<set $activeSlave.devotion += 6>>
+					<<elseif $activeSlave.devotion > 20>>
+						will miss $his child<<if _curBabies > 1>>ren<</if>>, but will be @@.hotpink;very grateful,@@ since <<print $he>>'ll understand this is the best possible outcome for a slave mother.
+						<<set $activeSlave.devotion += 6>>
+					<<else>>
+						will resent being separated from $his child<<if _curBabies > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
+						<<set $activeSlave.devotion += 6>>
+					<</if>>
+				<</replace>>
+				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
+			<</link>>
+		<</if>>
 		<<if $slaves[$i].pregSource == -9>>
 			<br><<link "Give them to the Futanari Sisters">>
 				<<replace `"#" + $dispositionId`>>
diff --git a/src/utility/descriptionWidgetsStyle.tw b/src/utility/descriptionWidgetsStyle.tw
index 95bac5eff51..7cf0f56afbe 100644
--- a/src/utility/descriptionWidgetsStyle.tw
+++ b/src/utility/descriptionWidgetsStyle.tw
@@ -3721,7 +3721,7 @@ $His
 					"Put a baby in me today!"
 				<<elseif $activeSlave.pregSource == -1>>
 					"Womb claimed by my <<= WrittenMaster($activeSlave)>>!"
-				<<elseif ($activeSlave.pregSource == -2 || $activeSlave.pregSource == 0)>>
+				<<elseif ($activeSlave.pregSource == 0 || $activeSlave.pregSource == -2 || $activeSlave.pregSource == -5)>>
 					"Baby made by slutting around!"
 				<<elseif $activeSlave.pregSource == -7>>
 					"My baby was made with science!"
-- 
GitLab