From 491ca08f5478556ee6a132a3b6f71cacdc97d376 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Fri, 25 Sep 2020 23:10:40 -0400
Subject: [PATCH] move into js

---
 src/js/birth/birth.js                     | 145 +++++-
 src/npc/interaction/passage/birthStorm.tw | 508 +---------------------
 2 files changed, 136 insertions(+), 517 deletions(-)

diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js
index 013403dfdab..57861dbf2c9 100644
--- a/src/js/birth/birth.js
+++ b/src/js/birth/birth.js
@@ -22,7 +22,8 @@ globalThis.allBirths = function() {
  * Describes birth for a single slave, and can present options for the player to send the babies to a particular place
  * @param {App.Entity.SlaveState} slave
  */
-globalThis.birth = function(slave) {
+globalThis.birth = function(slave, {birthStorm = false} = {}) {
+	console.log(birthStorm);
 	const el = document.createElement("p");
 	el.style.overflow = "hidden"; // Keep image from floating into the next slave.
 	let p;
@@ -278,9 +279,133 @@ globalThis.birth = function(slave) {
 		if (V.seeImages && V.seeReportImages) {
 			App.UI.DOM.appendNewElement("div", el, App.Art.SlaveArtElement(slave, 2), ["imageRef", "medImg"]);
 		}
-		if (slave.burst === 1) {
+		if (birthStorm) {
+			r.push(`The remote surgery allows the removal of the pregnancy generator through conventional means, an injection to induce labor and the resulting birthing of the womb's contents.`);
+			if (slave.broodmother === 2) {
+				r.push(`${slave.slaveName}'s obscenely swollen belly begins to shudder and writhe moments after being injected with the drug as all ${his} waters break. ${He} spreads ${his}`);
+				if (hasBothLegs(slave)) {
+					r.push(`legs to either side of ${his} spasming bulk`);
+				} else if (!hasAnyLegs(slave)) {
+					r.push(`stumps`);
+				} else {
+					r.push(`leg and ${his} stump`);
+				}
+				r.push(`as wide as ${he} can with a loud moan. ${His} vaginal lips part as the first of ${his} brood is born, followed by another, and another. After hours of constant`);
+			} else if (slave.broodmother === 1) {
+				r.push(`${slave.slaveName}'s massive belly shudders and shrinks as all ${his} waters simultaneously break. ${He} spreads ${his}`);
+				if (hasBothLegs(slave)) {
+					r.push(`legs`);
+				} else if (!hasAnyLegs(slave)) {
+					r.push(`stumps`);
+				} else {
+					r.push(`leg and stump`);
+				}
+				r.push(`wide with a loud moan. ${His} vaginal lips part as the first of ${his} brood is born, followed not long after by another. After an hour of constant`);
+			} else {
+				r.push(`${slave.slaveName}'s massive belly shudders and shrinks as all ${his} waters simultaneously break. ${He} spreads ${his}`);
+				if (hasBothLegs(slave)) {
+					r.push(`legs`);
+				} else if (!hasAnyLegs(slave)) {
+					r.push(`stumps`);
+				} else {
+					r.push(`leg and stump`);
+				}
+				r.push(`wide with a loud moan. ${His} vaginal lips part as ${his} birthing begins. After an hour of intensive`);
+			}
+			if (slave.fetish === "mindbroken") {
+				r.push(`birthing, ${he} shows little interest in the changes to ${his} body.`);
+				r.push(
+					App.UI.DOM.makeElement("span", `The ordeal of intensive birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina`, "red")
+				);
+			} else if (slave.sexualFlaw === "breeder") {
+				r.push(`birthing and the realization that you are taking away ${his} ideal body, ${his} perfect existence, ${his} mind`);
+				r.push(
+					App.UI.DOM.makeElement("span", `fundamentally breaks. The ordeal of intensive birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red")
+				);
+				slave.fetish = "mindbroken";
+			} else if (slave.fetish === "pregnancy" && S.Nurse) {
+				r.push(`birthing and orgasming all the time, ${slave.slaveName}'s mind would have broken. However, ${S.Nurse.slaveName} had the foresight to sedate ${him} after witnessing ${his} constant orgasming. ${He} awakes to find ${his} belly deflated, no longer crammed full of life. ${He} is`);
+				r.push(
+					App.UI.DOM.makeElement("span", `disappointed`, "mediumorchid")
+				);
+				(`that you would forbid ${him} from such a pleasure, but`);
+				r.push(
+					App.UI.DOM.makeElement("span", `understands`, "mediumaquamarine")
+				);
+				r.push(`why it was done.`);
+				r.push(
+					App.UI.DOM.makeElement("span", `The ordeal of intensive birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red")
+				);
+				slave.trust += 5;
+				slave.devotion -= 5;
+			} else if (slave.fetish === "pregnancy") {
+				if (slave.broodmother === 2) {
+					r.push(`birthing and orgasming each time, ${slave.slaveName}'s mind is`);
+					r.push(App.UI.DOM.makeElement("span", `fundamentally broken.`, "red"));
+					r.push(`Being under constant pleasure for so long has destroyed all but the part of ${him} that feels pleasure. With one final push the breeding device is expelled from ${his} womb as the last spark of what was ${his} mind is extinguished.`);
+					r.push(App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+					slave.fetish = "mindbroken";
+				} else if (slave.broodmother === 1) {
+					r.push(`birthing and orgasming each time, ${slave.slaveName} is reduced to a quivering, overstimulated pile. When ${he} returns to ${his} senses,`);
+					r.push(App.UI.DOM.makeElement("span", `${he} can only express how much ${he} wants to go again.`, "hotpink"));
+					r.push(App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+					slave.devotion += 4;
+				} else {
+					r.push(`birthing and orgasming all the time, ${slave.slaveName} is reduced to a quivering, overstimulated pile. When ${he} returns to ${his} senses,`);
+					r.push(App.UI.DOM.makeElement("span", `${he} can only express how much ${he} wants to go again.`, "hotpink"));
+					r.push(App.UI.DOM.makeElement("span", `The ordeal of intensive birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+					slave.devotion += 3;
+				}
+			} else if (slave.devotion <= 20) {
+				r.push(`birthing,`);
+				r.push(App.UI.DOM.makeElement("span", `${he} hates you for destroying ${his} body like this.`, "mediumorchid"));
+				r.push(`${He} is`);
+				r.push(App.UI.DOM.makeElement("span", `terrified of your power`, "gold"));
+				r.push(`over ${his} body.`);
+				r.push(App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+				slave.trust -= 40;
+				slave.devotion -= 50;
+			} else if (slave.devotion <= 50) {
+				r.push(`birthing, ${he} is dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting. ${He} is`);
+				r.push(App.UI.DOM.makeElement("span", `terrified of your power`, "gold"));
+				r.push(`over ${his} body.`);
+				r.push(App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+				slave.trust -= 40;
+			} else {
+				r.push(`birthing, ${he} is`);
+				r.push(App.UI.DOM.makeElement("span", `pleased by this stark development`, "hotpink"));
+				r.push(`since ${he} is so attentive to your will. ${He} also expects ${he}'ll be able to fuck better now without a massive belly getting in the way.`);
+				r.push(App.UI.DOM.makeElement("span", `The ordeal of constant birthing has had a massive effect on ${his} health as well as completely destroying ${his} vagina.`, "red"));
+				slave.devotion += 4;
+			}
+
+			if (slave.birthsTat > -1) {
+				slave.birthsTat++;
+				r.push(`The temporary tattoo of a child has been replaced with ${his} ${ordinalSuffix(slave.birthsTat)} permanent infant.`);
+				cashX(forceNeg(V.modCost), "slaveMod", slave);
+			}
+
+			if (slave.broodmother === 2) {
+				slave.preg = -3;
+				if (slave.vagina < 6) {
+					slave.vagina = 10;
+				}
+				healthDamage(slave, 80);
+			} else {
+				if (lastPregRule(slave, V.defaultRules)) {
+					slave.preg = -1;
+				} else {
+					slave.preg = 0;
+				}
+				// I think, it's not logical to break her reproductive system out of repair, if she is only type 1 broodmother. In this case she have to birth only like 5-10 fully grown babies, others get progressively smaller. It's should be even smaller stress to body then for "normal" hyperpregnant with 15-20+ children - they have to birth them all at full size.
+				if (slave.vagina < 6) {
+					slave.vagina = 6;
+				}
+				healthDamage(slave, 30);
+			}
+		} else if (slave.burst === 1) {
 			r.push(`${slave.slaveName}'s straining womb gave out and burst, taking ${his} life.`);
-		} else if (slave.fuckdoll === 0) {
+		}else if (slave.fuckdoll === 0) {
 			if (slave.broodmother === 0 || slave.broodmotherCountDown === 1) {
 				if (slave.assignment !== "work in the dairy") {
 					if (V.universalRulesCSec === 1 || (slave.mpreg === 0 && slave.vagina < 0)) {
@@ -7029,7 +7154,7 @@ globalThis.birth = function(slave) {
 					if (slave.fetish === "mindbroken") {
 						r.push(`${babies} into ${his} habit, indifferent to their discomfort.`);
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is disappointed that ${his} habit hides what's happening between ${his} legs.`);
 						} else {
@@ -7344,7 +7469,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is disappointed that ${his} burqa hides what's happening between ${his} legs.`);
 						} else {
@@ -7855,7 +7980,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is disappointed that ${his} skirt hides what's happening between ${his} legs.`);
 						} else {
@@ -7897,7 +8022,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is disappointed that ${his} dress hides what's happening between ${his} legs.`);
 						} else {
@@ -8047,7 +8172,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is thrilled that ${his} short dress reveals what's happening between ${his} legs.`);
 						} else {
@@ -8095,7 +8220,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is thrilled that ${his} frilly apron reveals what's happening between ${his} legs.`);
 						} else {
@@ -8191,7 +8316,7 @@ globalThis.birth = function(slave) {
 							r.push(`over ${his} crotch.`);
 						}
 					} else {
-						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}. `);
+						r.push(`Quickly ${he} spreads ${his} legs apart and begins pushing out ${babyIntro}.`);
 						if (slave.fetish === "humiliation") {
 							r.push(`${He} is thrilled that ${his} swimsuit fully reveals what's happening between ${his} legs.`);
 						} else {
diff --git a/src/npc/interaction/passage/birthStorm.tw b/src/npc/interaction/passage/birthStorm.tw
index 454579d7905..c083ae497ba 100644
--- a/src/npc/interaction/passage/birthStorm.tw
+++ b/src/npc/interaction/passage/birthStorm.tw
@@ -1,511 +1,5 @@
 :: BirthStorm [nobr]
 
 <<set $nextButton = "Back", $nextLink = "Slave Interact">>
-<<set $AS = $activeSlave.ID>>
 
-<<set _babiesBeingBorn = WombBirth(getSlave($AS), 34)>> /*Here check - how many children survive this event. 34 weeks minimum.*/
-<<set _numBeingBorn = _babiesBeingBorn.length>>
-
-<<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 < _babiesBeingBorn.length; _cb++>>
-	<<if _babiesBeingBorn[_cb].fatherID == 0>>
-		<<set _others++>>
-		<<set _fathers.push("some man's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -1>>
-		<<set $PC.counter.slavesFathered++>>
-		<<set _PC++>>
-		<<set _fathers.push("your")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -2>>
-		<<set _citizens++>>
-		<<set _fathers.push("a citizen's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -3>>
-		<<set _oldMaster++>>
-		<<set _fathers.push("your former Master's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -4>>
-		<<set _arcOwner++>>
-		<<set _fathers.push("another arcology owner's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -5>>
-		<<set _clients++>>
-		<<set _fathers.push("your client's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -6>>
-		<<set _elite++>>
-		<<set _fathers.push("the Societal Elite's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -7>>
-		<<set _lab++>>
-		<<set _fathers.push("the gene lab's")>>
-	<<elseif _babiesBeingBorn[_cb].fatherID == -9>>
-		<<set _futaS++>>
-		<<set _fathers.push("a Futanari Sister's")>>
-	<<else>>
-		<<set _babyDaddy = findFather(_babiesBeingBorn[_cb].fatherID)>>
-		<<if def _babyDaddy>>
-			<<if _babyDaddy.ID == getSlave($AS).ID>>
-				<<set _fathers.push(String($his + " own"))>>
-				<<for _cb2 = 0; _cb2 < _babyFatherLink.length; _cb2++>>
-					<<if _babyFatherLink[_cb2].string == String($his + " own")>>
-						<<set _babyFatherLink[_cb2].count++>>
-					<<else>>
-						<<set _babyFatherLink[_cb2] = {string: String($his + " own"), count: 1}>>
-					<</if>>
-				<</for>>
-			<<else>>
-				<<set _fathers.push(String(_babyDaddy.slaveName+ "'s"))>>
-				<<for _cb2 = 0; _cb2 < _babyFatherLink.length; _cb2++>>
-					<<if _babyFatherLink[_cb2].string == String(_babyDaddy.slaveName+ "'s")>>
-						<<set _babyFatherLink[_cb2].count++>>
-					<<else>>
-						<<set _babyFatherLink[_cb2] = {string: String(_babyDaddy.slaveName+ "'s"), count: 1}>>
-					<</if>>
-				<</for>>
-			<</if>>
-			<<set _adjust = _babyDaddy.counter.slavesFathered++>>
-			<<set adjustFatherProperty(_babyDaddy, "slavesFathered", _adjust)>>
-		<<else>>
-			<<set _others++>>
-			<<set _fathers.push("some man's")>>
-		<</if>>
-	<</if>>
-<</for>>
-<<set _fathersReduced = removeDuplicates(_fathers)>>
-<<for _cb = 0; _cb < _fathersReduced.length; _cb++>>
-	<<set _num = 0>>
-	<<if _fathersReduced[_cb] == "some man's">>
-		<<set _num = _others>>
-	<<elseif _fathersReduced[_cb] == "your">>
-		<<set _num = _PC>>
-	<<elseif _fathersReduced[_cb] == "a citizen's">>
-		<<set _num = _citizens>>
-	<<elseif _fathersReduced[_cb] == "your former Master's">>
-		<<set _num = _oldMaster>>
-	<<elseif _fathersReduced[_cb] == "another arcology owner's">>
-		<<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">>
-		<<set _num = _futaS>>
-	<<else>>
-		<<set _cb2 = _babyFatherLink.findIndex(function(s) {_fathersReduced[_cb] == _babyFatherLink[s].string; })>>
-		<<if _cb2 != -1>>
-			<<set _num = _babyFatherLink[_cb2].count>>
-		<</if>>
-	<</if>>
-	<<if _num == 1>>
-		<<set _fathersReduced[_cb] += " baby">>
-	<<elseif _num >= 40>>
-		<<set _fathersReduced[_cb] += String(" massive brood of " + _num + " babies")>>
-	<<elseif _num >= 20>>
-		<<set _fathersReduced[_cb] += String(" brood of " + _num + " babies")>>
-	<<elseif _num >= 10>>
-		<<set _fathersReduced[_cb] += String(" impressive group of " + _num + " babies")>>
-	<<else>>
-		<<set _fathersReduced[_cb] += String(" " + pregNumberName(_numBeingBorn, 2))>>
-	<</if>>
-<</for>>
-
-<<set _cToIncub = 0, _cToNursery = 0>>
-<<for _csec = 0; _csec < _numBeingBorn; _csec++>>
-	<<if _babiesBeingBorn[_csec].reserve === "incubator">>
-		<<set _cToIncub++>>
-	<<elseif _babiesBeingBorn[_csec].reserve === "nursery">>
-		<<set _cToNursery++>>
-	<</if>>
-<</for>>
-
-The remote surgery allows the removal of the pregnancy generator through conventional means, an injection to induce labor and the resulting birthing of the womb's contents.
-<<if getSlave($AS).broodmother == 2>>
-	<<= getSlave($AS).slaveName>>'s obscenely swollen belly begins to shudder and writhe moments after being injected with the drug as all $his waters break. $He spreads $his <<if hasBothLegs(getSlave($AS))>>legs to either side of $his spasming bulk<<elseif !hasAnyLegs(getSlave($AS))>>stumps<<else>>leg and $his stump<</if>> as wide as $he can with a loud moan. $His vaginal lips part as the first of $his brood is born, followed by another, and another. After hours of constant
-<<elseif getSlave($AS).broodmother == 1>>
-	<<= getSlave($AS).slaveName>>'s massive belly shudders and shrinks as all $his waters simultaneously break. $He spreads $his <<if hasBothLegs(getSlave($AS))>>legs<<elseif !hasAnyLegs(getSlave($AS))>>stumps<<else>>leg and stump<</if>> wide with a loud moan. $His vaginal lips part as the first of $his brood is born, followed not long after by another. After an hour of constant
-<<else>>
-	<<= getSlave($AS).slaveName>>'s massive belly shudders and shrinks as all $his waters simultaneously break. $He spreads $his <<if hasBothLegs(getSlave($AS))>>legs<<elseif !hasAnyLegs(getSlave($AS))>>stumps<<else>>leg and stump<</if>> wide with a loud moan. $His vaginal lips part as $his birthing begins. After an hour of intensive
-<</if>>
-<<if getSlave($AS).fetish == "mindbroken">>
-	birthing, $he shows little interest in the changes to $his body. @@.red;The ordeal of intensive birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-<<elseif getSlave($AS).sexualFlaw == "breeder">>
-	birthing and the realization that you are taking away $his ideal body, $his perfect existence, $his mind @@.red;fundamentally breaks. The ordeal of intensive birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-	<<set getSlave($AS).fetish = "mindbroken">>
-<<elseif getSlave($AS).fetish == "pregnancy" && _S.Nurse>>
-	birthing and orgasming all the time, <<= getSlave($AS).slaveName>>'s mind would have broken. However, _S.Nurse.slaveName had the foresight to sedate $him after witnessing $his constant orgasming. $He awakes to find $his belly deflated, no longer crammed full of life. $He is @@.mediumorchid;disappointed@@ that you would forbid $him from such a pleasure, but @@.mediumaquamarine;understands@@ why it was done. @@.red;The ordeal of intensive birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-	<<set getSlave($AS).trust += 5, getSlave($AS).devotion -= 5>>
-<<elseif getSlave($AS).fetish == "pregnancy">>
-	<<if getSlave($AS).broodmother == 2>>
-		birthing and orgasming each time, <<= getSlave($AS).slaveName>>'s mind is @@.red;fundamentally broken.@@ Being under constant pleasure for so long has destroyed all but the part of $him that feels pleasure. With one final push the breeding device is expelled from $his womb as the last spark of what was $his mind is extinguished. @@.red;The ordeal of constant birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-		<<set getSlave($AS).fetish = "mindbroken">>
-	<<elseif getSlave($AS).broodmother == 1>>
-		birthing and orgasming each time, <<= getSlave($AS).slaveName>> is reduced to a quivering, overstimulated pile. When $he returns to $his senses, @@.hotpink;$he can only express how much $he wants to go again.@@ @@.red;The ordeal of constant birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-		<<set getSlave($AS).devotion += 4>>
-	<<else>>
-		birthing and orgasming all the time, <<= getSlave($AS).slaveName>> is reduced to a quivering, overstimulated pile. When $he returns to $his senses, @@.hotpink;$he can only express how much $he wants to go again.@@ @@.red;The ordeal of intensive birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-		<<set getSlave($AS).devotion += 3>>
-	<</if>>
-<<elseif getSlave($AS).devotion <= 20>>
-	birthing, @@.mediumorchid;$he hates you for destroying $his body like this.@@ $He is @@.gold;terrified of your power@@ over $his body. @@.red;The ordeal of constant birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-	<<set getSlave($AS).trust -= 40, getSlave($AS).devotion -= 50>>
-<<elseif getSlave($AS).devotion <= 50>>
-	birthing, $he is dully obedient. $He has been broken to slave life so thoroughly that even this is neither surprising nor affecting. $He is @@.gold;terrified of your power@@ over $his body. @@.red;The ordeal of constant birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-	<<set getSlave($AS).trust -= 40>>
-<<else>>
-	birthing, $he is @@.hotpink;pleased by this stark development@@ since $he is so attentive to your will. $He also expects $he'll be able to fuck better now without a massive belly getting in the way. @@.red;The ordeal of constant birthing has had a massive effect on $his health as well as completely destroying $his vagina.@@
-	<<set getSlave($AS).devotion += 4>>
-<</if>>
-
-<<if getSlave($AS).birthsTat > -1>>
-	<<set getSlave($AS).birthsTat++>>
-	The temporary tattoo of a child has been replaced with $his <<= ordinalSuffix(getSlave($AS).birthsTat)>> permanent infant.
-	<<run cashX(forceNeg($modCost), "slaveMod", getSlave($AS))>>
-<</if>>
-
-<<if getSlave($AS).broodmother == 2>>
-	<<set getSlave($AS).preg = -3>>
-	<<if getSlave($AS).vagina < 6>>
-		<<set getSlave($AS).vagina = 10>>
-	<</if>>
-	<<run healthDamage(getSlave($AS), 80)>>
-<<else>>
-	<<if lastPregRule(getSlave($AS),$defaultRules)>><<set getSlave($AS).preg = -1>><<else>><<set getSlave($AS).preg = 0>><</if>> /* I think, it's not logical to break her reproductive system out of repair, if she is only type 1 broodmother. In this case she have to birth only like 5-10 fully grown babies, others get progressively smaller. It's should be even smaller stress to body then for "normal" hyperpregnant with 15-20+ children - they have to birth them all at full size.*/
-	<<if getSlave($AS).vagina < 6>>
-		<<set getSlave($AS).vagina = 6>>
-	<</if>>
-	<<run healthDamage(getSlave($AS), 30)>>
-<</if>>
-
-<<if _numBeingBorn > 0>>
-	<br><br>
-	After <<= getSlave($AS).slaveName>> has finally finished birthing,
-	<<if _fathersReduced.length > 2>>
-		<<for _cb = 0; _cb < _fathersReduced.length; _cb++>>
-			<<if _cb < _fathersReduced.length-1>>
-				_fathersReduced[_cb],
-			<<else>>
-				and _fathersReduced[_cb]
-			<</if>>
-		<</for>>
-	<<elseif _fathersReduced.length > 1>>
-		_fathersReduced[0] and _fathersReduced[1]
-	<<else>>
-		_fathersReduced[0]
-	<</if>>
-
-	<<if _numBeingBorn <= 1>>is<<else>>are<</if>>
-
-	<<if _cToIncub == _numBeingBorn>>
-		taken to $incubatorName.
-		<<set _incubated = 2>>
-	<<elseif _cToIncub < _numBeingBorn && _cToIncub > 0>>
-		split between $incubatorName and
-		<<set _incubated = 1>>
-	<</if>>
-
-	<<if _cToNursery == _numBeingBorn>>
-		taken to $nurseryName.
-		<<set _nursed = 2>>
-	<<elseif _cToNursery < _numBeingBorn && _cToNursery > 0>>
-		split between $nurseryName and
-		<<set _nursed = 1>>
-	<</if>>
-
-	<<if _cToIncub > 0 || _cToNursery > 0>>
-		<<set _babiesBeingBorn = sendNewbornsToFacility(getSlave($AS), _babiesBeingBorn)>>
-	<</if>>
-
-<<else>>
-	/* TODO: No live babies. Placeholder */
-<</if>>
-
-<<set _numBeingBorn = _babiesBeingBorn.length>>
-
-<<if _incubated != 2 && _nursed != 2 && _numBeingBorn > 0>>
-	<span id="_disposition">
-	<<if _incubated == 1 || _nursed == 1>>the rest<</if>>
-	<<if $arcologies[0].FSRestart != "unset" && getSlave($AS).breedingMark == 1 && (getSlave($AS).pregSource == -1 || getSlave($AS).pregSource == -6) && $propOutcome == 1>>
-		handed off to the Societal Elite to be raised into upstanding members of the new society.
-	<<elseif getSlave($AS).breedingMark == 1 && (getSlave($AS).pregSource == -1 || getSlave($AS).pregSource == -6) && $propOutcome == 1 && $DefaultBirthDestination == "the market">>
-		<<set _babyCost = random(2000,4500)>>
-		purchased by the Societal Elite for @@.yellowgreen;<<print cashFormat(_numBeingBorn*(_babyCost))>>.@@
-		<<run cashX((_numBeingBorn*(_babyCost)), "babyTransfer")>>
-	<<elseif getSlave($AS).pregSource == -9 && $DefaultBirthDestination == "the market">>
-		<<set _babyCost = random(1000,2500)>>
-		purchased by the Futanari Sisters for @@.yellowgreen;<<print cashFormat(_numBeingBorn*(_babyCost))>>.@@
-		<<run cashX((_numBeingBorn*(_babyCost)), "babyTransfer")>>
-	<<elseif $DefaultBirthDestination == "individually decided fates">>
-		<br><br>
-		<<link "...sent to a slave orphanage.">>
-			<<replace #_disposition>>
-				sent to one of $arcologies[0].name's slave orphanages. <<= getSlave($AS).slaveName>>
-				<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-					shows no indication of an opinion on the matter.
-				<<elseif getSlave($AS).devotion > 95>>
-					worships you so completely that $he will not resent this.
-				<<elseif getSlave($AS).devotion > 50>>
-					is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@
-					<<set getSlave($AS).devotion -= 2>>
-				<<elseif getSlave($AS).devotion > 20>>
-					has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@
-					<<set getSlave($AS).devotion -= 3>>
-				<<else>>
-					will of course @@.mediumorchid;hate you for this.@@
-					<<set getSlave($AS).devotion -= 4>>
-				<</if>>
-				<<set $slaveOrphanageTotal += _numBeingBorn>>
-			<</replace>>
-			<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-		<</link>>
-		<<if getSlave($AS).breedingMark == 1 && (getSlave($AS).pregSource == -1 || getSlave($AS).pregSource == -6) && $propOutcome == 1>>
-			<br><<link "...handed off to the Societal Elite.">>
-				<<replace #_disposition>>
-					handed off to be raised into <<if _numBeingBorn > 1>>future members<<else>>a future member<</if>> of the Societal Elite. <<= getSlave($AS).slaveName>>
-					<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-						does not give any hint of a response.
-					<<elseif getSlave($AS).devotion > 95>>
-						will @@.hotpink;worship you utterly@@ for this.
-						<<set getSlave($AS).devotion += 6>>
-					<<elseif getSlave($AS).devotion > 50>>
-						understands that this is the best possible outcome for the offspring of a slave, and will be @@.hotpink;overjoyed.@@
-						<<set getSlave($AS).devotion += 6>>
-					<<elseif getSlave($AS).devotion > 20>>
-						will miss $his child<<if _numBeingBorn > 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 getSlave($AS).devotion += 6>>
-					<<else>>
-						will resent being separated from $his child<<if _numBeingBorn > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
-						<<set getSlave($AS).devotion += 6>>
-					<</if>>
-				<</replace>>
-				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-			<</link>>
-		<</if>>
-		<<if getSlave($AS).pregSource == -9>>
-			<br><<link "...handed off to the Futanari Sisters.">>
-				<<replace #_disposition>>
-					handed off to be raised into <<if _numBeingBorn > 1>>future Futanari Sisters<<else>>a future Futanari Sister<</if>>. <<= getSlave($AS).slaveName>>
-					<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-						has few thoughts about the matter.
-					<<else>>
-						is overjoyed that $his child<<if _numBeingBorn > 1>>ren<</if>> will follow in <<if _numBeingBorn > 1>>their<<else>>its<</if>> parent's footsteps.
-						<<set getSlave($AS).devotion += 4>>
-					<</if>>
-				<</replace>>
-				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-			<</link>>
-		<</if>>
-		<<if $arcologies[0].FSRepopulationFocus > 40>>
-			<br><<link "...sent to a breeder school.">>
-				<<replace #_disposition>>
-					sent to one of $arcologies[0].name's future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction. <<= getSlave($AS).slaveName>>
-					<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-						has few thoughts about the matter.
-					<<elseif getSlave($AS).devotion > 95>>
-						loves you already, but $he'll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _numBeingBorn > 1>>ren<</if>> proudly furthering your cause.
-						<<set getSlave($AS).devotion += 4>>
-					<<elseif getSlave($AS).devotion > 50>>
-						heard about these and will be @@.hotpink;happy that $his child<<if _numBeingBorn > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but $he expected that.
-						<<set getSlave($AS).devotion += 4>>
-					<<elseif getSlave($AS).devotion > 20>>
-						will naturally miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one.
-					<<else>>
-						will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his <<if $minimumSlaveAge > $fertilityAge>>$minimumSlaveAge<<else>>$fertilityAge<</if>> year old daughter<<if _numBeingBorn > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@
-						<<set getSlave($AS).devotion -= 4, getSlave($AS).trust -= 4>>
-					<</if>>
-					<<set $breederOrphanageTotal += _numBeingBorn>>
-				<</replace>>
-				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-			<</link>>
-			//Will cost a one-time <<print cashFormat(50)>>//
-		<</if>>
-		<br><<link "...sent to a citizen school.">>
-			<<replace #_disposition>>
-				sent to one of $arcologies[0].name's citizen schools, to be brought up coequal with the arcology's other young people. <<= getSlave($AS).slaveName>>
-				<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-					fails to acknowledge this.
-				<<elseif getSlave($AS).devotion > 95>>
-					loves you already, but $he'll @@.hotpink;love you even more@@ for this.
-					<<set getSlave($AS).devotion += 4>>
-				<<elseif getSlave($AS).devotion > 50>>
-					knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but $he expected that.
-					<<set getSlave($AS).devotion += 4>>
-				<<elseif getSlave($AS).devotion > 20>>
-					will naturally miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life.
-					<<set getSlave($AS).devotion += 4>>
-				<<else>>
-					will naturally retain some resentment over being separated from $his child<<if _numBeingBorn > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life.
-					<<set getSlave($AS).devotion += 4>>
-				<</if>>
-				<<set $citizenOrphanageTotal += _numBeingBorn>>
-			<</replace>>
-			<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-		<</link>>
-		//Will cost <<print cashFormat(100)>> weekly//
-		<br><<link "...sent to be raised privately.">>
-			<<replace #_disposition>>
-				sent to be privately raised, to be brought up as <<if _numBeingBorn > 1>>future high class citizens<<else>>a future high class citizen<</if>>, an expensive proposition. <<= getSlave($AS).slaveName>>
-				<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-					does not give any hint of a response.
-				<<elseif getSlave($AS).devotion > 95>>
-					will @@.hotpink;worship you utterly@@ for this.
-					<<set getSlave($AS).devotion += 6>>
-				<<elseif getSlave($AS).devotion > 50>>
-					understands that this is the best possible outcome for the offspring of a slave, and will be @@.hotpink;overjoyed.@@
-					<<set getSlave($AS).devotion += 6>>
-				<<elseif getSlave($AS).devotion > 20>>
-					will miss $his child<<if _numBeingBorn > 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 getSlave($AS).devotion += 6>>
-				<<else>>
-					will resent being separated from $his child<<if _numBeingBorn > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
-					<<set getSlave($AS).devotion += 6>>
-				<</if>>
-				<<set $privateOrphanageTotal += _numBeingBorn>>
-			<</replace>>
-			<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-		<</link>>
-		//Will cost <<print cashFormat(500)>> weekly//
-		<<if $policies.cash4Babies == 1>>
-			<br><<link "... sold at auction.">>
-				<<replace #_disposition>>
-					<<if getSlave($AS).prestige > 1 || getSlave($AS).porn.prestige > 2>>
-						<<set _babyCost = random(-12,100)>>
-						<<if getSlave($AS).prematureBirth > 0>><<set _babyCost = random(-32,40)>><</if>>
-					<<else>>
-						<<set _babyCost = random(-12,12)>>
-						<<if getSlave($AS).prematureBirth > 0>><<set _babyCost = -45>><</if>>
-					<</if>>
-					sold for <<if _numBeingBorn > 1>>a total of <</if>><<if getSlave($AS).prematureBirth == 1>>@@.yellowgreen;<<print cashFormat(_numBeingBorn*(50+_babyCost))>>,@@ a low price, due to the added costs of caring for them.<<else>>@@.yellowgreen;<<print cashFormat(_numBeingBorn*(50+_babyCost))>>.@@<</if>>
-					<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-						<<= getSlave($AS).slaveName>> lacks the capacity to understand what you've done.
-					<<elseif getSlave($AS).devotion > 95>>
-						<<= getSlave($AS).slaveName>> adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _numBeingBorn > 1>>ren<</if>>, $he still truly believes you are doing $him an honor.
-					<<elseif getSlave($AS).devotion > 50>>
-						<<= getSlave($AS).slaveName>> is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _numBeingBorn > 1>>ren<</if>> instead of having <<if _numBeingBorn > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _numBeingBorn > 1>>ren<</if>>'s future.
-						<<set getSlave($AS).trust -= 5, getSlave($AS).devotion -= 5>>
-					<<elseif getSlave($AS).devotion > 20>>
-						<<= getSlave($AS).slaveName>> is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _numBeingBorn > 1>>ren<</if>> instead of having <<if _numBeingBorn > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@
-						<<set getSlave($AS).trust -= 10, getSlave($AS).devotion -= 10>>
-					<<else>>
-						For a moment, <<= getSlave($AS).slaveName>> thought $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even thing of trusting such a person.@@
-						<<set getSlave($AS).trust -= 30, getSlave($AS).devotion -= 30>>
-					<</if>>
-					<<run cashX(_numBeingBorn*(50+_babyCost), "babyTransfer")>>
-				<</replace>>
-				<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-			<</link>>
-		<</if>>
-	<<elseif $DefaultBirthDestination != "individually decided fates">>
-		sent to $DefaultBirthDestination.
-		<<switch $DefaultBirthDestination>>
-		<<case "an orphanage">>
-			<<= getSlave($AS).slaveName>>
-			<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-				shows no indication of an opinion on the matter.
-			<<elseif getSlave($AS).devotion > 95>>
-				worships you so completely that $he will not resent this.
-			<<elseif getSlave($AS).devotion > 50>>
-				is devoted to you, but $he will @@.mediumorchid;struggle to accept this.@@
-				<<set getSlave($AS).devotion -= 2>>
-			<<elseif getSlave($AS).devotion > 20>>
-				has accepted being a sex slave, but $he will @@.mediumorchid;resent this intensely.@@
-				<<set getSlave($AS).devotion -= 3>>
-			<<else>>
-				will of course @@.mediumorchid;hate you for this.@@
-				<<set getSlave($AS).devotion -= 4>>
-			<</if>>
-			<<set $slaveOrphanageTotal += _numBeingBorn>>
-		<<case "a citizen school">>
-			<<= getSlave($AS).slaveName>>
-			<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-				fails to acknowledge this.
-			<<elseif getSlave($AS).devotion > 95>>
-				loves you already, but $he'll @@.hotpink;love you even more@@ for this.
-				<<set getSlave($AS).devotion += 4>>
-			<<elseif getSlave($AS).devotion > 50>>
-				knows about these and will be @@.hotpink;overjoyed.@@ $He will miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but $he expected that.
-				<<set getSlave($AS).devotion += 4>>
-			<<elseif getSlave($AS).devotion > 20>>
-				will naturally miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but will @@.hotpink;take comfort@@ in the hope that $his offspring will have a better life.
-				<<set getSlave($AS).devotion += 4>>
-			<<else>>
-				will naturally retain some resentment over being separated from $his child<<if _numBeingBorn > 1>>ren<</if>>, but this should be balanced by hope that $his offspring will have a better life.
-				<<set getSlave($AS).devotion += 4>>
-			<</if>>
-			<<set $citizenOrphanageTotal += _numBeingBorn>>
-		<<case "a private school">>
-			<<= getSlave($AS).slaveName>>
-			<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-				does not give any hint of a response.
-			<<elseif getSlave($AS).devotion > 95>>
-				will @@.hotpink;worship you utterly@@ for this.
-				<<set getSlave($AS).devotion += 6>>
-			<<elseif getSlave($AS).devotion > 50>>
-				understands that this is the best possible outcome for the offspring of slave, and will be @@.hotpink;overjoyed.@@
-				<<set getSlave($AS).devotion += 6>>
-			<<elseif getSlave($AS).devotion > 20>>
-				will miss $his child<<if _numBeingBorn > 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 getSlave($AS).devotion += 6>>
-			<<else>>
-				will resent being separated from $his child<<if _numBeingBorn > 1>>ren<</if>>, but @@.hotpink;should understand and be grateful@@ that this is the best possible outcome here.
-				<<set getSlave($AS).devotion += 6>>
-			<</if>>
-			The child<<if _numBeingBorn > 1>>ren<</if>> will be raised privately, with expert care and tutoring, an expensive proposition.
-			<<set $privateOrphanageTotal += _numBeingBorn>>
-		<<case "breeder schools">>
-			<<= getSlave($AS).slaveName>>
-			<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-				has few thoughts about the matter.
-			<<elseif getSlave($AS).devotion > 95>>
-				loves you already, but $he'll @@.hotpink;love you even more@@ for this. $He can't wait to see $his child<<if _numBeingBorn > 1>>ren<</if>> proudly furthering your cause.
-				<<set getSlave($AS).devotion += 4>>
-			<<elseif getSlave($AS).devotion > 50>>
-				heard about these and will be @@.hotpink;happy that $his child<<if _numBeingBorn > 1>>ren<</if>> will have a purpose in your society other than slavery.@@ $He will miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but $he expected that.
-				<<set getSlave($AS).devotion += 4>>
-			<<elseif getSlave($AS).devotion > 20>>
-				will naturally miss $his child<<if _numBeingBorn > 1>>ren<</if>>, but will is broken enough to hope that $his offspring will have a better life, or at least an enjoyable one.
-			<<else>>
-				will of course @@.mediumorchid;hate you for this.@@ The mere thought of $his <<if $minimumSlaveAge > $fertilityAge>>$minimumSlaveAge<<else>>$fertilityAge<</if>> year old daughter<<if _numBeingBorn > 1>>s<</if>> swollen with life, and proud of it, fills $him with @@.gold;disdain.@@
-				<<set getSlave($AS).devotion -= 4, getSlave($AS).trust -= 4>>
-			<</if>>
-			<<set $breederOrphanageTotal += _numBeingBorn>>
-		<<case "the market">>
-			<<if getSlave($AS).prestige > 1 || getSlave($AS).porn.prestige > 2>>
-				<<set _babyCost = random(-12,100)>>
-				<<if getSlave($AS).prematureBirth > 0>><<set _babyCost = random(-32,40)>><</if>>
-			<<else>>
-				<<set _babyCost = random(-12,12)>>
-				<<if getSlave($AS).prematureBirth > 0>><<set _babyCost = -45>><</if>>
-			<</if>>
-			$His <<if _numBeingBorn > 1>>babies were<<else>>baby was<</if>> sold for <<if _numBeingBorn > 1>>a total of <</if>><<if getSlave($AS).prematureBirth == 1>>@@.yellowgreen;<<print cashFormat(_numBeingBorn*(50+_babyCost))>>,@@ a low price, due to the added costs of caring for them.<<else>>@@.yellowgreen;<<print cashFormat(_numBeingBorn*(50+_babyCost))>>.@@<</if>>
-			<<if getSlave($AS).fetish == "mindbroken" || getSlave($AS).fuckdoll > 0>>
-				<<= getSlave($AS).slaveName>> lacks the capacity to understand what you've done.
-			<<elseif getSlave($AS).devotion > 95>>
-				<<= getSlave($AS).slaveName>> adheres to your thoughts so strongly that even though you backed out of caring for $his child<<if _numBeingBorn > 1>>ren<</if>>, $he still truly believes you are doing $him an honor.
-			<<elseif getSlave($AS).devotion > 50>>
-				<<= getSlave($AS).slaveName>> is @@.mediumorchid;deeply hurt@@ by your sudden decision to sell $his child<<if _numBeingBorn > 1>>ren<</if>> instead of having <<if _numBeingBorn > 1>>them<<else>>it<</if>> cared for. $His trust in your words @@.gold;wavers@@ as $he thinks of $his child<<if _numBeingBorn > 1>>ren<</if>>'s future.
-				<<set getSlave($AS).trust -= 5, getSlave($AS).devotion -= 5>>
-			<<elseif getSlave($AS).devotion > 20>>
-				<<= getSlave($AS).slaveName>> is @@.mediumorchid;devastated@@ by your sudden decision to sell $his child<<if _numBeingBorn > 1>>ren<</if>> instead of having <<if _numBeingBorn > 1>>them<<else>>it<</if>> cared for. $His mind struggles to comprehend @@.gold;such betrayal.@@
-				<<set getSlave($AS).trust -= 10, getSlave($AS).devotion -= 10>>
-			<<else>>
-				For a moment, <<= getSlave($AS).slaveName>> thought $he saw a glimmer of good in you; @@.mediumorchid;$he was clearly wrong.@@ $His mind struggles to comprehend @@.gold;why $he could ever even thing of trusting such a person.@@
-				<<set getSlave($AS).trust -= 30, getSlave($AS).devotion -= 30>>
-			<</if>>
-			<<run cashX(_numBeingBorn*(50+_babyCost), "babyTransfer")>>
-		<</switch>>
-	<<else>>
-		<<set $nextButton = "Back">><<UpdateNextButton>> /* unlock Continue button */
-	<</if>>
-	</span>
-<</if>>
-
-<<set getSlave($AS).counter.births += _numBeingBorn>>
-<<set getSlave($AS).counter.birthsTotal += _numBeingBorn>>
-<<set $birthsTotal += _numBeingBorn>>
-<<if getSlave($AS).geneticQuirks.fertility+getSlave($AS).geneticQuirks.hyperFertility >= 4>>
-	<<set getSlave($AS).pregWeek = -2>>
-<<elseif getSlave($AS).geneticQuirks.hyperFertility > 1>>
-	<<set getSlave($AS).pregWeek = -3>>
-<<else>>
-	<<set getSlave($AS).pregWeek = -4>>
-<</if>>
-<<set WombFlush(getSlave($AS))>>
-<<set getSlave($AS).broodmother = 0>>
-<<run SetBellySize(getSlave($AS))>>
+<<includeDOM birth(getSlave(V.AS), {birthStorm: true})>>
-- 
GitLab