From 20814ba88630ed6eba9e3769f8128aa7ad6ac213 Mon Sep 17 00:00:00 2001
From: DCoded <dsoloha@live.com>
Date: Sat, 4 May 2019 11:35:17 -0400
Subject: [PATCH] Finished longChildDescription()

---
 .../nursery/longChildDescription.tw           |   4 +-
 src/js/nurseryWidgets.js                      | 110 +++++++++++++++++-
 2 files changed, 106 insertions(+), 8 deletions(-)

diff --git a/src/facilities/nursery/longChildDescription.tw b/src/facilities/nursery/longChildDescription.tw
index 46d6e88e858..87fc03d2e17 100644
--- a/src/facilities/nursery/longChildDescription.tw
+++ b/src/facilities/nursery/longChildDescription.tw
@@ -1431,7 +1431,7 @@ $He is
 				<<if $activeChild.anus == 0>>
 					plays with a nipple with one hand while furiously rubbing $his virgin anus and the sensitive perineum beneath it with the other, desperately trying to get $himself off. $His frantic attempts force $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more.
 				<<else>>
-					<<if $activeChild.anus > 2>>$his entire hand, formed into a beak shape,<<elseif $activeChild.anus > 1>>two fingers<<else>>a finger<</if>> to fuck $his own ass. $His frantic attempts force $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more.
+					uses <<if $activeChild.anus > 2>>$his entire hand, formed into a beak shape,<<elseif $activeChild.anus > 1>>two fingers<<else>>a finger<</if>> to fuck $his own ass. $His frantic attempts force $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more.
 				<</if>>
 			<<elseif ($activeChild.releaseRules == "permissive" || $activeChild.releaseRules == "masturbation")>>
 				aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his clit with one hand while $he fingers $his anus with the other.
@@ -1457,7 +1457,7 @@ $He is
 				<<if $activeChild.anus == 0>>
 					plays with a nipple with one hand while furiously rubbing $his virgin anus and the sensitive perineum beneath it with the other, desperately trying to get $himself off.
 				<<else>>
-					<<if $activeChild.anus > 2>>$his entire hand, formed into a beak shape,<<elseif $activeChild.anus > 1>>two fingers<<else>>a finger<</if>> to fuck $his own ass.
+					uses <<if $activeChild.anus > 2>>$his entire hand, formed into a beak shape,<<elseif $activeChild.anus > 1>>two fingers<<else>>a finger<</if>> to fuck $his own ass.
 				<</if>>
 			<<elseif ($activeChild.releaseRules == "permissive" || $activeChild.releaseRules == "masturbation")>>
 				aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his clit with one hand while $he fingers $his anus with the other.
diff --git a/src/js/nurseryWidgets.js b/src/js/nurseryWidgets.js
index ee6df176e18..cc85e51d63d 100644
--- a/src/js/nurseryWidgets.js
+++ b/src/js/nurseryWidgets.js
@@ -350,7 +350,7 @@ App.Facilities.Nursery.ChildSummary = function(child) {
 					r += `${He} is <span class="red">sexually judgemental,</span> and often denigrates ${his} sexual partners' performance. `;
 					break;
 				case "cum addict":
-					r += `${He}'s a <span class="yellow">cum addict:</span> ${he} has a deep psychological addiction to <<if $PC.dick == 1>>semen<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>pussyjuice<</if>> and becomes anxious if ${he} goes for a few hours without drinking any. `;
+					r += `${He}'s a <span class="yellow">cum addict:</span> ${he} has a deep psychological addiction to ${PC.dick ? `semen` : PC.dick && PC.vagina ? ` and ` : PC.vagina ? `pussyjuice` : ``} and becomes anxious if ${he} goes for a few hours without drinking any. `;
 					break;
 				case "anal addict":
 					r += `${He}'s an <span class="yellow">anal addict:</span> ${he} has a deep psychological need to be fucked in the ass and becomes anxious if ${he} goes for a few hours without anal. `;
@@ -1299,10 +1299,10 @@ App.Facilities.Nursery.ChildSummary = function(child) {
 	}
 
 	if (!child.voice) {
-		r += `$He is @@.pink;completely silent,@@ which is understandable, since $he's mute. `;
+		r += `$He is <span class="pink">completely silent,</span> which is understandable, since $he's mute. `;
 	} else {
 		if (child.lips > 95) {
-			r += `$He is @@.pink;effectively mute,@@ since $his lips are so large that $he can no longer speak intelligibly. $He can still `;
+			r += `$He is <span class="pink">effectively mute,</span> since $his lips are so large that $he can no longer speak intelligibly. $He can still `;
 			if (child.devotion > 50) {
 				r += `moan`;
 			} else if (child.devotion > 20) {
@@ -1344,7 +1344,7 @@ App.Facilities.Nursery.ChildSummary = function(child) {
 	// r += App.Desc.nails(child)	TODO:
 
 	if (child.minorInjury !== 0 && child.minorInjury !== "sore ass") {
-		r += `$He is sporting a @@.red;$activeChild.minorInjury,@@ covered by makeup. `;
+		r += `$He is sporting a <span class="red">$activeChild.minorInjury,</span> covered by makeup. `;
 	}
 
 	r += `<br>&nbsp;&nbsp;&nbsp;&nbsp;`;
@@ -1447,12 +1447,110 @@ App.Facilities.Nursery.ChildSummary = function(child) {
 			break;
 		case "breast redistributors":
 		case "butt redistributors":
-			r += `$He ${child.amp !== 1 ? `pinches at the fat building on $his belly and lets off a sigh` : `squirms under the added weight building on $his belly`}. The RDST-D must be having an effect, encouraging $his body to redistribute $his ${child.drugs === "breast redistributors" ? `breasts'` : `buttocks'`} adipose tissue to $his middle.`;
+			r += `$He ${child.amp !== 1 ? `pinches at the fat building on $his belly and lets off a sigh` : `squirms under the added weight building on $his belly`}. The RDST-D must be having an effect, encouraging $his body to redistribute $his ${child.drugs === "breast redistributors" ? `breasts'` : `buttocks'`} adipose tissue to $his middle. `;
 			break;
 		case "sag-B-gone":
-			r += `$His breasts are shiny from the layer of anti-sag cream rubbed onto them. They might be a little perkier, or not.`;
+			r += `$His breasts are shiny from the layer of anti-sag cream rubbed onto them. They might be a little perkier, or not. `;
 			break;
 	}
 
+	if (child.aphrodisiacs > 0 || child.inflationType === "aphrodisiacs") {
+		if (child.inflationType === "aphrodisiacs") {
+			r += `$He's literally full of`;
+			if (child.amp) {
+				r += `aphrodisiacs, but is an amputee, so $he cannot touch $himself. $He writhes with extreme sexual frustration, desperately trying to relieve $himself, but only managing to stir up the aphrodisiacs contained in $his gut, strengthening their effects even more. `;
+			} else if (child.chastityVagina) {
+				r += `aphrodisiacs, but is wearing a chastity belt and cannot touch $himself. $He writhes with extreme sexual frustration, desperately trying to relieve $himself, but only managing to stir up the aphrodisiacs contained in $his gut, strengthening their effects even more. `;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0 && child.vagina === -1) {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his shaft with one hand while $he fingers $his anus with the other. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}$His frantic masturbation forces $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more. `;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0) {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his shaft and pussy with one hand while $he fingers $his anus with the other. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}$His frantic masturbation forces $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more. `;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.vagina !== -1) {
+				r += `aphrodisiacs, has ${V.seeDicks > 0 ? `no penis and ` : ``}no vagina, and is not allowed to masturbate, so as $he stands before you $he `;
+				if (child.anus === 0) {
+					r += `plays with a nipple with one hand while furiously rubbing $his virgin anus and the sensitive perineum beneath it with the other, desperately trying to get $himself off. $His frantic attempts force $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more. `;
+				} else {
+					r += `uses `;
+					if (child.anus > 2) {
+						r += `$his entire hand, formed into a beak shape,`;
+					} else if (child.anus > 1) {
+						r += `two fingers`;
+					} else {
+						r += `a finger`;
+					}
+					r += ` to fuck $his own ass. $His frantic attempts force $his distended middle to jiggle obscenely, stirring up the aphrodisiacs contained in $his gut and strengthening their effects even more. `;
+				}
+			} else if (child.releaseRules === "permissive" || child.releaseRules === "masturbation") {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his clit with one hand while $he fingers $his anus with the other. `;
+			} else if (child.dick !== 0) {
+				r += `aphrodisiacs and is not allowed to masturbate, so as $he stands before you $he desperately presents $his open mouth, $his breasts, $his crotch, and $his anus in turn, hoping that something will entice you to give $him relief. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}`;
+			} else if (child.vagina === -1) {
+				r += `aphrodisiacs, has ${V.seeDicks > 0 ? `no penis and ` : ``}no vagina, and is not allowed to masturbate, so as $he stands before you $he desperately presents $his asshole, desperately hoping you'll fuck $his only real source of relief. `;
+			} else {
+				r += `aphrodisiacs and is not allowed to masturbate, so as $he stands before you $he desperately presents $his open mouth, $his breasts, $his pussy, and $his anus in turn, hoping that something will entice you to give $him relief. `;
+			}
+		} else if (child.aphrodisiacs > 1) {
+			r += `$He's swimming in`;
+			if (child.amp) {
+				r += `aphrodisiacs, but is an amputee, so $he cannot touch $himself. $He writhes with extreme sexual frustration, desperately trying to relieve $himself.`;
+			} else if (child.chastityVagina) {
+				r += `aphrodisiacs, but is wearing a chastity belt and cannot touch $himself. $He writhes with extreme sexual frustration, desperately trying to relieve $himself.`;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0 && child.vagina === -1) {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his shaft with one hand while $he fingers $his anus with the other. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}`;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0) {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his shaft and pussy with one hand while $he fingers $his anus with the other. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}`;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.vagina !== -1) {
+				r += `aphrodisiacs, has ${V.seeDicks > 0 ? `no penis and ` : ``}no vagina, and is not allowed to masturbate, so as $he stands before you $he`;
+				if (child.anus === 0) {
+					r += `plays with a nipple with one hand while furiously rubbing $his virgin anus and the sensitive perineum beneath it with the other, desperately trying to get $himself off.`;
+				} else {
+					r += `uses `;
+					if (child.anus > 2) {
+						r += `$his entire hand, formed into a beak shape,`;
+					} else if (child.anus > 1) {
+						r += `two fingers`;
+					} else {
+						r += `a finger`;
+					}
+					r += ` to fuck $his own ass. `;
+				}
+			} else if (child.releaseRules === "permissive" || child.releaseRules === "masturbation") {
+				r += `aphrodisiacs and is allowed to masturbate, so as $he stands before you $he rubs $his clit with one hand while $he fingers $his anus with the other.`;
+			} else if (child.dick !== 0) {
+				r += `aphrodisiacs and is not allowed to masturbate, so as $he stands before you $he desperately presents $his open mouth, $his breasts, $his crotch, and $his anus in turn, hoping that something will entice you to give $him relief. ${canPenetrate(child) ? `$His cock is painfully erect. ` : ``}`;
+			} else if (child.vagina === -1) {
+				r += `aphrodisiacs, has ${V.seeDicks > 0 ? `no penis and ` : ``}no vagina, and is not allowed to masturbate, so as $he stands before you $he desperately presents $his asshole, desperately hoping you'll fuck $his only real source of relief.`;
+			} else {
+				r += `aphrodisiacs and is not allowed to masturbate, so as $he stands before you $he desperately presents $his open mouth, $his breasts, $his pussy, and $his anus in turn, hoping that something will entice you to give $him relief.`;
+			}
+		} else {
+			if (child.amp) {
+				r += `$He's on aphrodisiacs, but is an amputee, so $he cannot touch $himself. $He writhes with sexual frustration.`;
+			} else if (child.chastityVagina) {
+				r += `$He's on aphrodisiacs, but is wearing a chastity belt and cannot touch $himself. $He writhes with sexual frustration.`;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0 && child.vagina === -1) {
+				r += `$He's on aphrodisiacs and is allowed to masturbate, so as $he obeys your commands $he idly rubs $his shaft with one hand while the other pinches a nipple.`;
+			} else if ((child.releaseRules === "permissive" || child.releaseRules === "masturbation") && child.dick !== 0) {
+				r += `$He's on aphrodisiacs and is allowed to masturbate, so as $he obeys your commands $he idly rubs $his shaft and pussy with one hand while the other pinches a nipple.`;
+			} else if (child.releaseRules === "permissive" || child.releaseRules === "masturbation") {
+				r += `$He's on aphrodisiacs and is allowed to masturbate, so as $he obeys your commands $he idly rubs $his pussy with one hand while the other pinches a nipple.`;
+			} else if (child.dick !== 0 && canPenetrate(child)) {
+				r += `$He's on aphrodisiacs and is not allowed to masturbate, so as $he obeys your commands $he shifts $his weight uncomfortably. $His erect dick sways as $he does.`;
+			} else {
+				r += `$He's on aphrodisiacs and is not allowed to masturbate, so as $he obeys your commands $he shifts $his weight uncomfortably.`;
+			}
+		}
+	}
+
+	if (child.addict > 0 && child.addict < 3) {
+		r += `$He is a new <span class="cyan">aphrodisiac addict.</span>`;
+	} else if (child.addict > 0 && child.addict < 10) {
+		r += `$He is a confirmed <span class="cyan">aphrodisiac addict.</span>`;
+	} else if (child.addict > 0) {
+		r += `$He is completely <span class="cyan">dependent on aphrodisiacs,</span> and it is unlikely you will ever be able to wean $him off them.`;
+	}
+
+	V.saleDescription = 0, V.applyLaw = 0;
+
 	return r;
 };
-- 
GitLab