From 6b43b8b6bbadb0d7e519a23115edebd776fde121 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Wed, 19 Aug 2020 16:58:45 -0400
Subject: [PATCH] saDevotion.js

---
 src/endWeek/saDevotion.js              | 1112 ++++++++++++++++++++++++
 src/endWeek/standardSlaveReport.js     |    4 +-
 src/uncategorized/arcadeReport.tw      |    4 +-
 src/uncategorized/brothelReport.tw     |    8 +-
 src/uncategorized/cellblockReport.tw   |    8 +-
 src/uncategorized/clubReport.tw        |    8 +-
 src/uncategorized/dairyReport.tw       |    8 +-
 src/uncategorized/fullReport.tw        |    2 +-
 src/uncategorized/masterSuiteReport.tw |    4 +-
 src/uncategorized/saDevotion.tw        |  938 --------------------
 src/uncategorized/saLiveWithHG.tw      |    4 +-
 src/uncategorized/spaReport.tw         |    8 +-
 12 files changed, 1141 insertions(+), 967 deletions(-)
 create mode 100644 src/endWeek/saDevotion.js
 delete mode 100644 src/uncategorized/saDevotion.tw

diff --git a/src/endWeek/saDevotion.js b/src/endWeek/saDevotion.js
new file mode 100644
index 00000000000..fa414216e28
--- /dev/null
+++ b/src/endWeek/saDevotion.js
@@ -0,0 +1,1112 @@
+App.SlaveAssignment.devotion = (function() {
+	"use strict";
+
+	let r;
+
+	// eslint-disable-next-line no-unused-vars
+	let he, him, his, hers, himself, girl, He, His;
+	let playerPronouns;
+	let PC;
+
+	return saDevotion;
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 * @returns {string}
+	 */
+	function saDevotion(slave) {
+		r = [];
+
+		PC = V.PC;
+
+		({
+			// eslint-disable-next-line no-unused-vars
+			he, him, his, hers, himself, girl, He, His
+		} = getPronouns(slave));
+		playerPronouns = getPronouns(PC);
+
+		if (slave.fetish === "mindbroken") {
+			mindbreakDevotion(slave);
+		} else if (slave.fuckdoll !== 0) {
+			fuckdollDevotion(slave);
+		} else {
+			hostageDevotion(slave);
+			playerPregnancyThoughts(slave);
+			if (slave.devotion <= 95) {
+				slaveryResistance(slave);
+			}
+			FSImpacts(slave);
+			if (slave.bodySwap > 0 && slave.origBodyOwnerID > 0) {
+				bodySwapThoughts(slave);
+			}
+			retirementThoughts(slave);
+			if (assignmentVisible(slave) && V.personalAttention === "sex") {
+				sexualAttentionThoughts(slave);
+			}
+			collectiveSpirit(slave);
+			statCrossovers(slave);
+			statRebounding(slave);
+			devotionReport(slave);
+			finalChanges(slave);
+		}
+
+		return r.join(" ");
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function mindbreakDevotion(slave) {
+		r.push(`<span class="red">${His} mind is fundamentally broken, so ${his} experiences have no lasting effect on ${his} emotional state.</span>`);
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function fuckdollDevotion(slave) {
+		r.push(`${He} is confined in a suit that limits ${his} perception of the outside world to tonal commands from the suit itself and things that are inserted into ${his}`);
+		 if (slave.vagina > -1) {
+			r.push(`mouth, vagina,`);
+		} else {
+			r.push(`mouth`);
+		}
+		r.push(`and anus.`);
+		if (slave.sexualFlaw === "self hating") {
+			r.push(`${His} self hatred <span class="trust dec">cannot eliminate the growing fear</span> engendered by ${his} remaining spark of self-preservation.`);
+			slave.trust -= 5;
+		} else if (slave.trust > 50) {
+			r.push(`${He} still hopes you'll ${him} out of ${his} suit so ${he} can be your good slave again, but <span class="trust dec">fear and doubt creep in</span> by the minute. And there are a lot of them.`);
+		} else {
+			r.push(`With little to do but`);
+			 if (slave.fuckdoll <= 60) {
+				r.push(`wonder if ${he}'s about to be used,`);
+			} else {
+				r.push(`desperately hope ${he}'ll be used soon,`);
+			}
+			r.push(`${he} dwells on the <span class="trust dec">horrible fear</span> that this dark existence will be perpetual.`);
+		}
+		slave.trust -= 10;
+		if (slave.sexualFlaw === "self hating") {
+			r.push(`${He} knows to ${his} core that ${he} deserves this, <span class="devotion dec">slowing but not stopping ${his} descent into depression.</span>`);
+			slave.devotion += 5;
+		} else if (slave.devotion > 50) {
+			r.push(`${He} spirals through <span class="devotion dec">obsessive depression,</span> wondering what ${he} did to deserve this fate.`);
+		} else {
+			r.push(`In the silence and darkness between the times ${he}'s used, ${he} has little to do but <span class="devotion dec">hate you.</span>`);
+		}
+		slave.devotion -= 10;
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function hostageDevotion(slave) {
+		 if (slave.origin === "You were acquainted with $him before you were an arcology owner; your rival tried to use $him to manipulate you, but you rescued $him." && slave.newGamePlus === 0 && V.rivalryFS !== "Slave Professionalism" && V.rivalryFS !== "Intellectual Dependency") {
+			if (V.rivalryDuration <= 10 || V.rivalryFS === "Racial Supremacism" || V.rivalryFS === "Paternalism") {
+				r.push(`You <span class="trust inc">saved ${slave.slaveName} from a living nightmare</span> under your rival's rule. ${He} <span class="devotion inc">tries ${his} best to adapt to ${his} savior's wishes.</span>`);
+				slave.devotion += 10;
+				slave.trust += 10;
+			} else if (V.hostageGiveIn === 1) {
+				r.push(`Since you are <span class="trust inc">indulging</span> ${slave.slaveName}'s desires, ${he} <span class="devotion inc">likes you more.</span>`);
+				slave.devotion += 5;
+				slave.trust += 5;
+			} else if (V.rivalryDuration > 20 && slave.devotion < 5) {
+				 if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+					r.push(`You took everything from ${slave.slaveName} and <span class="devotion dec">${he} hates you for it.</span> Since you won't give ${him} what ${he} wants, ${he} <span class="trust dec">refuses to trust you.</span> Since you are putting such a personal touch into ${his} care, ${he} can't find it in ${him} to rebel as strongly.`);
+					slave.devotion -= 5;
+					slave.trust -= 5;
+				} else {
+					r.push(`You took everything from ${slave.slaveName} and <span class="devotion dec">${he} hates you for it.</span> Since you won't give ${him} what ${he} wants, ${he} <span class="trust dec">refuses to trust you at all.</span>`);
+					slave.devotion -= 25;
+					slave.trust -= 25;
+				}
+			} else if (V.rivalryDuration > 10 && slave.devotion < 5) {
+				 if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+					r.push(`${He} is <span class="trust dec">horrified by you.</span> Your rival taught ${him} a great deal about slave life in your arcology and indulged ${his} deepest fantasies. ${slave.slaveName} considers being your pet <span class="devotion dec">a fate worse than death.</span> Since you are putting such a personal touch into ${his} care, maybe you aren't the monster ${he} thought you were. ${He} can't find it in ${him} to hate and fear you as much.`);
+					slave.devotion -= 3;
+					slave.trust -= 3;
+				} else {
+					r.push(`${He} is <span class="trust dec">horrified by you.</span> Your rival taught ${him} a great deal about slave life in your arcology and indulged ${his} deepest fantasies. ${slave.slaveName} considers being your pet <span class="devotion dec">a fate worse than death.</span>`);
+					slave.devotion -= 15;
+					slave.trust -= 15;
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function playerPregnancyThoughts(slave) {
+		 if (PC.preg >= 20 || (PC.preg >= 16 && PC.career === "escort")) {
+			if (slave.devotion > 60) {
+				if (PC.pregMood === 2) {
+					r.push(`${He} is devoted to you and does ${his} best to satisfy your demanding, hormone driven libido, no matter what you want from ${him}. ${His} efforts to give ${himself} you to <span class="devotion inc">further ${his} submission</span> to you.`);
+					slave.devotion += 2;
+				} else if (PC.pregMood === 1) {
+					r.push(`${He} is devoted to you and tries ${his} best to accommodate your needs and desires. Your hormonal mothering <span class="trust inc">leaves ${him} slightly more trusting</span> of you.`);
+					slave.trust += 2;
+				} else {
+					r.push(`${He} is devoted to you and tries ${his} best to accommodate whatever needs and desires your pregnancy ushers forth.`);
+				}
+			} else {
+				if (PC.pregMood === 2) {
+					r.push(`${He} is <span class="trust dec">horrified</span> of your aggressive sexual advances, forcing ${him} to <span class="devotion inc">bend to your will</span> or face punishment at the hands of a hormonal pregnant ${playerPronouns.woman}.`);
+					slave.devotion += 4;
+					slave.trust -= 4;
+				} else if (PC.pregMood === 1) {
+					r.push(`${He} happily <span class="devotion dec">takes advantage</span> of your hormone induced kindness, though your care <span class="trust inc">builds ${his} trust in you.</span>`);
+					slave.devotion -= 4;
+					slave.trust += 4;
+				} else {
+					r.push(`${He} takes note of your gravid form and <span class="devotion dec">begins testing just how much ${he} can get away with</span> while ${he} can.`);
+					slave.devotion -= 3;
+				}
+			}
+		}
+		if (canPenetrate(slave) && PC.preg >= 18) {
+			if (PC.pregMood === 2) {
+				seX(PC, "vaginal", slave, "penetrative", 7);
+			} else {
+				seX(PC, "vaginal", slave, "penetrative", 3);
+			}
+		}
+
+		if (slave.counter.PCKnockedUp > 0 && slave.devotion < -20) {
+			const pregCountFactor = (slave.counter.PCKnockedUp * 5);
+			r.push(`${He} got you pregnant`);
+			if (slave.counter.PCKnockedUp > 1) {
+				r.push(`more than once`);
+			}
+			r.push(`and ${he} knows it. This is a <span class="devotion dec">huge boost</span> to ${his} ego and gives ${him} a slight edge on you.`);
+			slave.devotion -= pregCountFactor;
+			if (slave.counter.PCChildrenFathered > 0) {
+				r.push(`Even better; you gave birth to ${his} child${slave.counter.PCChildrenFathered > 1 ? "ren" : ""}. To ${him}, ${he} is the dominant force and you are just a bitch to be bred. ${He} could create a scandal if ${he} started running ${his} mouth, something ${he} lords over you every chance ${he} gets under the assumption that <span class="trust inc">you'll try to appease ${him} to keep ${him} quiet.</span>`);
+				slave.devotion -= (5 + pregCountFactor);
+				slave.trust += (5 + pregCountFactor);
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function slaveryResistance(slave) {
+		if (slave.devotion <= 20 && slave.devotion >= -50) {
+			if (slave.trust > 20) {
+				r.push(`${slave.slaveName} does not like you and believes that you will not punish ${him} severely; ${his} <span class="devotion dec">regard for you is severely reduced</span> by this lack of respect.`);
+				slave.devotion -= 4;
+			} else if (slave.trust >= -20) {
+				r.push(`${slave.slaveName} neither likes nor fears you, and ${his} <span class="devotion dec">regard for you is reduced</span> by this lack of respect.`);
+				slave.devotion -= 2;
+			}
+		}
+		const effectiveInt = (slave.intelligence + slave.intelligenceImplant);
+		if (effectiveInt > 95) {
+			 if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+				r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} genius.`);
+			} else {
+				 if (slave.trust < -20) {
+					r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
+				} else {
+					r.push(`${slave.slaveName}'s <span class="intelligent">brilliant mind</span> strongly <span class="devotion dec">resists</span> slavery and encourages ${him} to <span class="trust dec">fear you.</span>`);
+					slave.devotion -= 2;
+					slave.trust -= 2;
+				}
+			}
+		} else if (effectiveInt > 50) {
+			 if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+				r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} intelligence.`);
+			} else {
+				 if (slave.trust < -20) {
+					r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
+				} else {
+					r.push(`${slave.slaveName}'s <span class="intelligent">highly acute mind</span> naturally <span class="devotion dec">resists</span> slavery and encourages ${him} to <span class="trust dec">fear you.</span>`);
+					slave.devotion -= 2;
+					slave.trust -= 2;
+				}
+			}
+		} else if (effectiveInt > 15) {
+			 if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+				r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally resists slavery, but since you are giving ${him} personal attention you are able to compensate for ${his} cleverness.`);
+			} else {
+				 if (slave.trust < -20) {
+					r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally resists slavery, but ${he} fears you deeply enough that ${he} consciously forces ${himself} to obey out of self-preservation.`);
+				} else {
+					r.push(`${slave.slaveName}'s <span class="intelligent">intelligent mind</span> naturally <span class="devotion dec">resists</span> slavery.`);
+					slave.devotion -= 2;
+				}
+			}
+		} else if (effectiveInt < -95) {
+			r.push(`${slave.slaveName}'s <span class="stupid">moronic mind</span> naturally <span class="devotion inc">accepts</span> slavery, and ${he}'s imbecile enough to instinctively <span class="trust inc">trust you</span> to know what's best for ${him}.`);
+			slave.devotion += 2;
+			slave.trust += 2;
+		} else if (effectiveInt < -50) {
+			r.push(`${slave.slaveName}'s <span class="stupid">idiotic mind</span> naturally <span class="devotion inc">accepts</span> slavery, and ${he}'s stupid enough to instinctively <span class="trust inc">trust you</span> to know what's best.`);
+			slave.devotion += 1;
+			slave.trust += 1;
+		} else if (effectiveInt < -15) {
+			r.push(`${slave.slaveName}'s <span class="stupid">unintelligent mind</span> naturally <span class="devotion inc">accepts</span> slavery.`);
+			slave.devotion += 1;
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function FSImpacts(slave) {
+		if (V.arcologies[0].FSPaternalistLaw === 1) {
+			r.push(`The totally paternalistic society of your arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
+			slave.trust += 1;
+		} else if (V.arcologies[0].FSPaternalist >= random(1, 120)) {
+			r.push(`The paternalistic culture of your arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
+			slave.trust += 1;
+		}
+		if (V.arcologies[0].FSChattelReligionistLaw === 1) {
+			r.push(`Your status as the prophet of your theocratic arcology encourages ${him} to <span class="trust inc">trust you.</span>`);
+			slave.trust += 1;
+		} else if (V.arcologies[0].FSChattelReligionist >= random(1, 120)) {
+			r.push(`Your arcology's omnipresent religion encourages ${him} to <span class="trust inc">trust you.</span>`);
+			slave.trust += 1;
+		}
+		if (V.arcologies[0].FSRestart !== "unset") {
+			if (slave.bellyPreg >= 1500 && slave.devotion <= 20) {
+				if (slave.breedingMark === 1) {
+					r.push(`The mark prominently displayed across ${his} pregnant swell fills ${him} with an <span class="trust inc">undue sense of pride.</span>`);
+					slave.trust += 5;
+				} else {
+					r.push(`Being visibly pregnant in a society that loathes slave breeding fills ${him} with <span class="trust dec">fear</span> for ${himself} and ${his} unborn child.`);
+					slave.trust -= 10;
+				}
+			} else if (slave.pregKnown === 1 && slave.devotion <= 20) {
+				r.push(`Being pregnant in a society that loathes slave breeding fills ${him} with <span class="trust dec">worry</span> that you'll harm ${him} or ${his} unborn child.`);
+				slave.trust -= 5;
+			}
+		}
+		if (V.arcologies[0].FSChattelReligionistCreed === 1) {
+			if (V.nicaea.focus === "slaves") {
+				r.push(`The creed of ${V.nicaea.name} <span class="devotion inc">focuses on slaves</span> and is repeated constantly all around ${him}.`);
+				slave.devotion += V.nicaea.power;
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function bodySwapThoughts(slave) {
+		if (V.slaveIndices[slave.origBodyOwnerID] === undefined) {
+			slave.origBodyOwnerID = 0;
+			if (slave.devotion > 20) {
+				r.push(`${slave.slaveName} is somewhat saddened to see ${his} body leave forever.`);
+			} else if (slave.devotion >= -50) {
+				r.push(`${slave.slaveName} is <span class="devotion dec">disturbed</span> to find ${his} body is gone for good, damaging ${his} <span class="trust dec">ability to trust you.</span>`);
+				slave.devotion -= 30;
+				slave.trust -= 30;
+			} else {
+				r.push(`${slave.slaveName} is <span class="devotion dec">deeply upset</span> that ${he}'ll never see ${his} body again. With so little left, ${he} finds it easy to take vengeance by <span class="defiant inc">completely rejecting your ownership of ${him}.</span>`);
+				slave.devotion -= 50;
+				slave.trust = 100;
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function retirementThoughts(slave) {
+		if (slave.indenture > -1) {
+			if (slave.indenture <= 52) {
+				r.push(`${He} knows that it's less than a year until ${his} indenture ends.`);
+				if (slave.devotion > 95) {
+					r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect.`);
+				} else if (slave.devotion >= -20) {
+					r.push(`The prospect of freedom <span class="devotion inc">encourages ${him} to submit to your orders</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
+					slave.devotion += 2;
+					slave.trust += 2;
+				} else {
+					r.push(`The prospect of freedom encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
+					slave.trust += 2;
+				}
+			} else {
+				r.push(`The fact that ${he} is an indentured servant, not a permanent slave, is never truly far from ${his} mind.`);
+				if (slave.devotion > 95) {
+					r.push(`Since ${he} loves you, ${he} has mixed feelings about eventual freedom.`);
+				} else if (slave.devotion >= -20) {
+					r.push(`The prospect of eventual freedom <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
+					slave.devotion += 1;
+					slave.trust += 1;
+				} else {
+					r.push(`The prospect of eventual freedom works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
+					slave.trust += 1;
+				}
+			}
+			if (slave.devotion <= 20) {
+				if (slave.indentureRestrictions >= 2) {
+					r.push(`${He}'s also <span class="trust inc">able to rely on the protection</span> of ${his} indenture.`);
+					slave.trust += 1;
+				} else if (slave.indentureRestrictions > 1) {
+					r.push(`${He}'s also <span class="trust inc">able to trust the restrictions</span> that ${his} indenture places on ${his} treatment.`);
+					slave.trust += 1;
+				}
+			}
+		} else if (V.seeAge === 1) {
+			if (slave.actualAge >= V.retirementAge - 5 && V.policies.retirement.physicalAgePolicy === 0) {
+				if (V.policies.retirement.fate === "citizen") {
+					if (slave.actualAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${his} retirement from sexual slavery into citizenship.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. It's ${his} favorite subject, and ${his} strong feelings about it`);
+							if (V.arcologies[0].FSPaternalist !== "unset") {
+								r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
+								r.push(`${FutureSocieties.Change("Paternalist", 2)}`);
+							} else {
+								r.push(`<span class="reputation inc">improves your reputation.</span>`);
+								repX(V.FSSingleSlaveRep * 2, "retirement", slave);
+							}
+						} else if (slave.devotion >= -20) {
+							r.push(`The prospect of manumission <span class="devotion inc">encourages ${him} to submit to slavery</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
+							slave.devotion += 2;
+							slave.trust += 2;
+						} else {
+							r.push(`The prospect of manumission encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
+							slave.trust += 2;
+						}
+					} else {
+						r.push(`${His} retirement from sexual slavery into citizenship is on the horizon.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. This`);
+							 if (V.arcologies[0].FSPaternalist !== "unset") {
+								r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
+								r.push(`${FutureSocieties.Change("Paternalist", 2)}`);
+							} else {
+								r.push(`<span class="reputation inc">improves your reputation.</span>`);
+								repX(V.FSSingleSlaveRep, "retirement", slave);
+							}
+						} else if (slave.devotion >= -20) {
+							r.push(`The prospect of manumission <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
+							slave.devotion += 1;
+							slave.trust += 1;
+						} else {
+							r.push(`The prospect of manumission works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
+							slave.trust += 1;
+						}
+					}
+				} else if (V.policies.retirement.fate === "bioreactor") {
+					if (slave.actualAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${his} permanent inclusion in the arcology's milk production systems.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
+						} else if (slave.devotion > 20) {
+							r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
+							slave.trust -= 3;
+						} else {
+							r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
+							slave.devotion -= 3;
+							slave.trust -= 3;
+						}
+					} else {
+						r.push(`${He} knows that ${his} permanent inclusion in the arcology's milk production systems is not far off.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
+						} else if (slave.devotion > 20) {
+							r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
+							slave.trust -= 2;
+						} else {
+							r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
+							slave.devotion -= 2;
+							slave.trust -= 2;
+						}
+					}
+				} else if (V.policies.retirement.fate === "arcade") {
+					if (slave.actualAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${he} is to be permanently encased in a bodysuit with holes for nothing but dick.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
+						} else if (slave.devotion > 20) {
+							r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
+							slave.trust -= 3;
+						} else {
+							r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
+							slave.devotion -= 3;
+							slave.trust -= 3;
+						}
+					} else {
+						r.push(`${He} knows that ${his} ultimate fate as a Fuckdoll is not far off.`);
+						 if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
+						} else if (slave.devotion > 20) {
+							r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
+							slave.trust -= 2;
+						} else {
+							r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
+							slave.devotion -= 2;
+							slave.trust -= 2;
+						}
+					}
+				}
+			} else if (slave.physicalAge >= V.retirementAge - 5 && V.policies.retirement.physicalAgePolicy) {
+				if (V.policies.retirement.fate === "citizen") {
+					if (slave.physicalAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${his} retirement from sexual slavery into citizenship.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. It's ${his} favorite subject, and ${his} strong feelings about it`);
+							if (V.arcologies[0].FSPaternalist !== "unset") {
+								r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
+								r.push(`${FutureSocieties.Change("Paternalist", 2)}`);
+							} else {
+								r.push(`<span class="reputation inc">improves your reputation.</span>`);
+								repX(V.FSSingleSlaveRep * 2, "retirement", slave);
+							}
+						} else if (slave.devotion >= -20) {
+							r.push(`The prospect of manumission <span class="devotion inc">encourages ${him} to submit to slavery</span> and <span class="trust inc">encourages ${him} to be optimistic.</span>`);
+							slave.devotion += 2;
+							slave.trust += 2;
+						} else {
+							r.push(`The prospect of manumission encourages ${him} to <span class="trust inc">tolerate anything.</span>`);
+							slave.trust += 2;
+						}
+					} else {
+						r.push(`${His} retirement from sexual slavery into citizenship is on the horizon.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} has mixed feelings about the prospect, but ${he} prefers to think of it as your way of looking after ${him}. This`);
+							if (V.arcologies[0].FSPaternalist !== "unset") {
+								r.push(`advances paternalistic ideals and <span class="reputation inc">improves your reputation.</span>`);
+								r.push(`${FutureSocieties.Change("Paternalist", 2)}`);
+							} else {
+								r.push(`<span class="reputation inc">improves your reputation.</span>`);
+								repX(V.FSSingleSlaveRep, "retirement", slave);
+							}
+						} else if (slave.devotion >= -20) {
+							r.push(`The prospect of manumission <span class="devotion inc">cheers ${him} up</span> and <span class="trust inc">makes ${him} optimistic.</span>`);
+							slave.devotion += 1;
+							slave.trust += 1;
+						} else {
+							r.push(`The prospect of manumission works to make the indignities of slavery <span class="trust inc">weigh lightly</span> on ${him}.`);
+							slave.trust += 1;
+						}
+					}
+				} else if (V.policies.retirement.fate === "bioreactor") {
+					if (slave.physicalAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${his} permanent inclusion in the arcology's milk production systems.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
+						} else if (slave.devotion > 20) {
+							r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
+							slave.trust -= 3;
+						} else {
+							r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
+							slave.devotion -= 3;
+							slave.trust -= 3;
+						}
+					} else {
+						r.push(`${He} knows that ${his} permanent inclusion in the arcology's milk production systems is not far off.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
+						} else if (slave.devotion > 20) {
+							r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
+							slave.trust -= 2;
+						} else {
+							r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
+							slave.devotion -= 2;
+							slave.trust -= 2;
+						}
+					}
+				} else if (V.policies.retirement.fate === "arcade") {
+					if (slave.physicalAge >= V.retirementAge - 1) {
+						r.push(`${He} knows that it's less than a year until ${he} is to be permanently encased in a bodysuit with holes for nothing but dick.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} desperately tries not to think about it, though ${he} occasionally bursts into tears without provocation.`);
+						} else if (slave.devotion > 20) {
+							r.push(`To put it mildly, <span class="trust dec">${he} is terrified.</span>`);
+							slave.trust -= 3;
+						} else {
+							r.push(`${He} is filled with <span class="trust dec">terror</span> and <span class="devotion dec">horror.</span>`);
+							slave.devotion -= 3;
+							slave.trust -= 3;
+						}
+					} else {
+						r.push(`${He} knows that ${his} ultimate fate as a Fuckdoll is not far off.`);
+						if (slave.devotion > 95) {
+							r.push(`Since ${he} loves you, ${he} tries not to think about it, though ${he} occasionally seems preoccupied.`);
+						} else if (slave.devotion > 20) {
+							r.push(`The prospect <span class="trust dec">scares ${him}.</span>`);
+							slave.trust -= 2;
+						} else {
+							r.push(`The prospect <span class="trust dec">scares</span> and <span class="devotion dec">disgusts ${him}.</span>`);
+							slave.devotion -= 2;
+							slave.trust -= 2;
+						}
+					}
+				}
+			}
+			if (V.policies.retirement.fate === "citizen") {
+				if (slave.devotion <= 95 || slave.trust <= 95) {
+					if (V.policies.retirement.sex > 0) {
+						if (slave.counter.oral + slave.counter.anal + slave.counter.vaginal + slave.counter.penetrative + slave.counter.mammary >= V.policies.retirement.sex * 0.8) {
+							if (slave.devotion >= -20) {
+								r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
+								slave.devotion += 1;
+								slave.trust += 1;
+							} else {
+								r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
+								slave.trust += 1;
+							}
+							r.push(`since ${he} knows that ${his} freedom is only a few thousand dicks away.`);
+						}
+					}
+					if (V.policies.retirement.milk > 0) {
+						if (slave.counter.milk >= V.policies.retirement.milk * 0.8) {
+							if (slave.devotion >= -20) {
+								r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
+								slave.devotion += 1;
+								slave.trust += 1;
+							} else {
+								r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
+								slave.trust += 1;
+							}
+							r.push(`since ${he} knows ${he} will be free if ${his} udders can gush just a bit more cream.`);
+						}
+					}
+					if (V.policies.retirement.cum > 0) {
+						if (slave.counter.cum >= V.policies.retirement.cum * 0.8) {
+							if (slave.devotion >= -20) {
+								r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
+								slave.devotion += 1;
+								slave.trust += 1;
+							} else {
+								r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
+								slave.trust += 1;
+							}
+							r.push(`since ${he} knows ${he} will be free if ${his} prick can spurt just a bit more jizz.`);
+						}
+					}
+					if (V.policies.retirement.births > 0) {
+						if (slave.counter.births >= V.policies.retirement.births * 0.6) {
+							if (slave.devotion >= -20) {
+								r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
+								slave.devotion += 1;
+								slave.trust += 1;
+							} else {
+								r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
+								slave.trust += 1;
+							}
+							r.push(`since ${he} knows ${he} only has to successfully breed a little more to be free.`);
+						}
+					}
+					if (V.policies.retirement.kills > 0) {
+						if (slave.counter.pitKills >= V.policies.retirement.kills * 0.6) {
+							if (slave.devotion >= -20) {
+								r.push(`${He}'s <span class="devotion inc">more obedient</span> and <span class="trust inc">more tolerant,</span>`);
+								slave.devotion += 1;
+								slave.trust += 1;
+							} else {
+								r.push(`${He} does ${his} best to <span class="trust inc">stay strong,</span>`);
+								slave.trust += 1;
+							}
+							r.push(`since ${he} knows just a bit more murder in the pit will win ${his} freedom.`);
+						}
+					}
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function sexualAttentionThoughts(slave) {
+		if (V.freeSexualEnergy > 0) {
+			if (V.freeSexualEnergy === 3) {
+				r.push(`${He} gets a lot of sexual attention from you, since you don't have nearly enough dedicated fucktoys to sate your libido, and this <span class="devotion inc">`);
+				if (slave.devotion > 50) {
+					r.push(`intensifies ${his} love for you.</span>`);
+				} else {
+					r.push(`forces ${him} to get used to sex slavery.</span>`);
+				}
+			} else if (V.freeSexualEnergy === 2) {
+				r.push(`${He} receives some sexual attention from you, since you don't have enough dedicated fucktoys to sate your libido, and this <span class="devotion inc">`);
+				if (slave.devotion > 50) {
+					r.push(`builds ${his} closeness to you.</span>`);
+				} else {
+					r.push(`gets ${him} used to being your sex slave.</span>`);
+				}
+			} else {
+				r.push(`${He} receives occasional sexual attention from you, since you barely have enough dedicated fucktoys to sate your libido, <span class="devotion inc">`);
+				if (slave.devotion > 50) {
+					r.push(`making ${him} feel closer to you.</span>`);
+				} else {
+					r.push(`keeping ${him} aware ${he}'s your sex slave.</span>`);
+				}
+			}
+			slave.devotion += V.freeSexualEnergy;
+			seX(slave, "oral", PC, "penetrative", V.freeSexualEnergy);
+			if (canDoVaginal(slave) && slave.vagina > 0) {
+				seX(slave, "vaginal", PC, "penetrative", V.freeSexualEnergy);
+			}
+			if (canDoAnal(slave) && slave.anus > 0) {
+				seX(slave, "anal", PC, "penetrative", V.freeSexualEnergy);
+			}
+			if (slave.boobs > 500 && PC.dick > 0) {
+				seX(slave, "mammary", PC, "penetrative", V.freeSexualEnergy);
+			}
+			if ((slave.toyHole === "dick" || V.policies.sexualOpenness === 1) && canPenetrate(slave)) {
+				if (PC.vagina > 0) {
+					seX(slave, "penetrative", PC, "vaginal", V.freeSexualEnergy);
+					if (canImpreg(PC, slave)) {
+						knockMeUp(PC, V.freeSexualEnergy, 0, slave.ID, true);
+					}
+				} else if (PC.anus > 0) {
+					seX(slave, "penetrative", PC, "anal", V.freeSexualEnergy);
+					if (canImpreg(PC, slave)) {
+						knockMeUp(PC, V.freeSexualEnergy, 1, slave.ID, true);
+					}
+				}
+				if (V.policies.sexualOpenness === 0) {
+					PC.degeneracy++;
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function collectiveSpirit(slave) {
+		if (V.slaves.length > 3) {
+			let collectiveTrustEffect = 0;
+			let collectiveDevotionEffect = 0;
+			if (V.enduringDevotion > 50) {
+				if (slave.devotion >= -20) {
+					if (slave.devotion <= 20) {
+						collectiveDevotionEffect = 1;
+						slave.devotion += 1;
+						if (assignmentVisible(slave)) {
+							slave.devotion += 1;
+						}
+					}
+				}
+			} else if (V.enduringDevotion <= 0) {
+				if (slave.devotion <= 20) {
+					collectiveDevotionEffect = -1;
+					slave.devotion -= 1;
+					if (assignmentVisible(slave)) {
+						slave.devotion -= 1;
+					}
+				}
+			}
+			if (V.enduringTrust > 50) {
+				if (slave.trust >= -20) {
+					if (slave.trust <= 20) {
+						collectiveTrustEffect = 1;
+						slave.trust += 1;
+						if (assignmentVisible(slave)) {
+							slave.trust += 1;
+						}
+					}
+				}
+			} else if (V.enduringTrust <= 0) {
+				if (slave.trust <= 20) {
+					collectiveTrustEffect = -1;
+					slave.trust -= 1;
+					if (assignmentVisible(slave)) {
+						slave.trust -= 1;
+					}
+				}
+			}
+			 if (collectiveDevotionEffect === 1) {
+				if (collectiveTrustEffect === 1) {
+					r.push(`Since ${he}'s ambivalent and fearful, the <span class="devotion inc">collective devotion</span> <span class="trust inc">and trust</span> of your slaves affect ${him} slightly.`);
+				} else if (collectiveTrustEffect === 0) {
+					r.push(`Since ${he}'s ambivalent about you, the <span class="devotion inc">collective devotion</span> your slaves feel for you affects ${him} slightly.`);
+				} else {
+					r.push(`Since ${he}'s ambivalent about you, the <span class="devotion inc">collective devotion</span> your slaves feel for you affects ${him} slightly, but their <span class="trust dec">general fear</span> affects ${him} too.`);
+				}
+			} else if (collectiveDevotionEffect === 0) {
+				if (collectiveTrustEffect === 1) {
+					r.push(`Since ${he}'s fearful of you, the <span class="trust inc">collective trust</span> your slaves place in you affects ${him} slightly.`);
+				} else if (collectiveTrustEffect === -1) {
+					r.push(`Since ${he} doesn't trust you, the <span class="trust dec">collective fear</span> your slaves feel for you affects ${him} slightly.`);
+				}
+			} else {
+				if (collectiveTrustEffect === 1) {
+					r.push(`The <span class="devotion dec">collective anger</span> your slaves feel reinforces ${his} own feelings, but their <span class="trust inc">collective trust</span> also affects ${him} slightly.`);
+				} else if (collectiveTrustEffect === 0) {
+					r.push(`The <span class="devotion dec">collective anger</span> your slaves feel reinforces ${his} own feelings.`);
+				} else {
+					r.push(`The <span class="devotion dec">collective anger</span> <span class="trust dec">and fear</span> your slaves feel reinforce ${his} own feelings.`);
+				}
+			}
+		}
+		if (assignmentVisible(slave)) {
+			if (V.arcade !== 0 || (V.dairy !== 0 && V.dairyRestraintsSetting >= 2)) {
+				 if (slave.devotion <= 95) {
+					r.push(`${He} knows about`);
+					 if (V.arcade !== 0) {
+						if (V.dairy !== 0 && V.dairyRestraintsSetting >= 2) {
+							r.push(`${V.arcadeName} and ${V.dairyName},`);
+						} else {
+							r.push(`${V.arcadeName},`);
+						}
+					} else {
+						r.push(`${V.dairyName},`);
+					}
+					r.push(`and <span class="trust dec">fears</span> that you might send ${him} there.`);
+					slave.trust -= 1;
+				} else {
+					r.push(`${He} knows some of your other slaves meet terrible, industrial fates, but ${he} loves you so much that ${he} tries not to think about it.`);
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function statCrossovers(slave) {
+		if (slave.trust >= -20) {
+			if (slave.devotion > 95) {
+				if (slave.trust <= 20) {
+					r.push(`${slave.slaveName} loves you, so ${he} finds ${himself} <span class="trust inc">fearing you a little less.</span>`);
+					slave.trust += 1;
+				} else if (slave.trust <= 50) {
+					r.push(`${slave.slaveName} loves you, so ${he} finds ${himself} <span class="trust inc">trusting you a little more.</span>`);
+					slave.trust += 1;
+				}
+			} else if (slave.devotion > 60) {
+				if (slave.trust <= 20) {
+					r.push(`${slave.slaveName} is devoted to you, so ${he} finds ${himself} <span class="trust inc">fearing you a little less.</span>`);
+					slave.trust += 1;
+				}
+			} else if (slave.devotion < -50) {
+				if (slave.trust > 20) {
+					r.push(`${slave.slaveName} hates you, but also doesn't fear you, <span class="defiant inc">bolstering ${his} disobedience.</span>`);
+					slave.trust += 5;
+				} else {
+					r.push(`${slave.slaveName} hates you, so ${he} finds ${himself} <span class="trust dec">trusting you a little less.</span>`);
+					slave.trust -= 2;
+				}
+			}
+		}
+		if (slave.trust > 95) {
+			if (slave.devotion < -20) {
+				r.push(`${slave.slaveName} feels no threat from you, so ${he} finds it easy to <span class="devotion dec">express ${his} hatred of you.</span>`);
+				slave.devotion -= 10;
+			} else if (slave.devotion <= 20) {
+				r.push(`${slave.slaveName} trusts you implicitly, so ${he} finds ${himself} <span class="devotion inc">hating you a little less.</span>`);
+				slave.devotion += 1;
+			} else if (slave.devotion <= 50) {
+				r.push(`${slave.slaveName} trusts you implicitly, so ${he} finds ${himself} <span class="devotion inc">liking you a little more.</span>`);
+				slave.devotion += 1;
+			}
+		} else if (slave.trust > 50) {
+			if (slave.devotion < -20) {
+				r.push(`${slave.slaveName} finds you non-threatening, so it's easy for ${him} to <span class="devotion dec">defy you.</span>`);
+				slave.devotion -= 5;
+			} else if (slave.devotion <= 20) {
+				r.push(`${slave.slaveName} trusts you, so ${he} finds ${himself} <span class="devotion inc">hating you a little less.</span>`);
+				slave.devotion += 1;
+			}
+		} else if (slave.trust < -50) {
+			if (slave.devotion >= -20) {
+				if (slave.devotion <= 50) {
+					r.push(`${slave.slaveName} is so terrified of you that ${he} tries desperately to avoid punishment, <span class="devotion inc">which is sometimes indistinguishable from devotion.</span>`);
+					slave.devotion += 2;
+				}
+			}
+		} else if (slave.trust < -20) {
+			if (slave.devotion > 20) {
+				if (slave.devotion <= 50) {
+					r.push(`${slave.slaveName} is scared of you, but not truly terrified, so ${he} feels safe in <span class="devotion dec">hating the worst parts of being your sex slave.</span>`);
+					slave.devotion -= 2;
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function statRebounding(slave) {
+		if (slave.tankBaby > 0) {
+			if (slave.devotion <= 95) {
+				r.push(`The tank's imprinting systems left a <span class="devotion inc">deep, subconscious `);
+				if (slave.tankBaby === 2) {
+					r.push(`need`);
+				} else {
+					r.push(`desire`);
+				}
+				r.push(`</span> to serve ${his} owner.`);
+				slave.devotion += 2;
+			}
+		}
+		if (slave.sexualQuirk === "unflinching") {
+			if (slave.devotion <= 95) {
+				if (slave.devotion < slave.oldDevotion) {
+					r.push(`${His} unflinching nature leads ${him} to forget some of the unpleasant things ${he}'s experienced this week, <span class="devotion inc">reducing their impact on ${his} feelings about you.</span>`);
+					slave.devotion += Math.trunc((slave.oldDevotion - slave.devotion) / 2);
+				}
+			}
+		} else if (slave.health.tired > 30) {
+			if (slave.devotion <= 50) {
+				if (slave.devotion < slave.oldDevotion) {
+					r.push(`Some of the less unpleasant things done to ${him} this week slip ${his} tired mind, <span class="devotion inc">reducing their impact on ${his} feelings about you.</span>`);
+					slave.devotion += Math.trunc((slave.oldDevotion - slave.devotion) / 4);
+				}
+			}
+		}
+		if (slave.health.tired > 30) {
+			if (slave.trust >= -50) {
+				if (slave.trust < slave.oldTrust) {
+					r.push(`In ${his} tired state, ${he} begins to recall things as <span class="trust dec">worse than they actually were.</span>`);
+					slave.trust -= Math.trunc((slave.oldTrust - slave.trust) / 2);
+				}
+			}
+		}
+
+		// CAPS ON DEVOTION GAIN
+		 if (slave.tankBaby === 1) {
+			r.push(`The incubation facility conditioned ${his} mind for total subservience to ${his} owner; ${he} cannot resist ${his} progress.`);
+		} else if (slave.tankBaby === 2) {
+			r.push(`The incubation facility conditioned ${his} mind for total reverence of ${his} owner; ${he} cannot resist ${his} progress.`);
+		} else if (slave.devotion >= -20) {
+			if (slave.devotion >= (slave.oldDevotion + 5)) {
+				if (V.arcologies[0].FSChattelReligionist >= random(1, 100)) {
+					r.push(`The natural resilience of ${his} mind is overcome by the omnipresent combination of faith and servitude in ${V.arcologies[0].name}, and ${he} does not resist ${his} progress down the path towards total subservience.`);
+				} else if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+					r.push(`${He} gained so much regard for you this week that ${his} natural reaction is to rebound a little, but since you're giving ${him} personal attention, your charismatic presence prevents this.`);
+				} else if (slave.devotion < 95) {
+					r.push(`So many things served to drive ${him} into subservience this week that ${his} mind <span class="devotion dec">rebounds a little.</span>`);
+					slave.devotion = (slave.oldDevotion + 5);
+				}
+			}
+		} else {
+			 if (slave.devotion >= (slave.oldDevotion+5)) {
+				 if (slave.behavioralFlaw === "arrogant") {
+					r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by ${his} arrogance.</span>`);
+					slave.devotion = (slave.oldDevotion + 5);
+				} else if (slave.behavioralFlaw === "bitchy" && canTalk(slave)) {
+					r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} regains by making snide comments.</span>`);
+					slave.devotion = (slave.oldDevotion + 5);
+				} else if (slave.behavioralFlaw === "devout") {
+					r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} regains through reliance on ${his} faith.</span>`);
+					slave.devotion = (slave.oldDevotion + 5);
+				} else if (slave.behavioralFlaw === "liberated") {
+					r.push(`Though ${he} made progress this week, <span class="devotion dec">it is limited by the independence ${he} retains due to ${his} moral convictions that this is wrong.</span>`);
+					slave.devotion = (slave.oldDevotion + 5);
+				}
+			}
+		}
+
+		// CAPS ON TRUST GAIN
+		if (slave.tankBaby === 1) {
+			r.push(`Any natural doubts ${he} has are overcome by ${his} conditioning in the incubation facility; ${he} cannot resist trusting ${his} owner.`);
+		} else if (slave.trust >= -20) {
+			if (slave.trust >= (slave.oldTrust + 5)) {
+				if (V.arcologies[0].FSChattelReligionist >= random(1, 100)) {
+					r.push(`Any natural doubts ${he} harbors are overcome by ${his} belief in Chattel Religionism, and ${he} does not resist ${his} progress down the path towards total trust in you.`);
+				} else if (Array.isArray(V.personalAttention) && V.personalAttention.findIndex((s) => s.ID === slave.ID) !== -1) {
+					r.push(`${He} gained so much trust in you this week that ${his} natural reaction is to doubt ${himself}, but since you're giving ${him} personal attention, ${he} decides to trust ${his} understanding of your will.`);
+				} else if (slave.trust < 95) {
+					r.push(`${He} gained so much trust in you this week that ${he} <span class="trust dec">draws back a little</span> out of self-doubt.`);
+					slave.trust = (slave.oldTrust + 5);
+				}
+			}
+		} else {
+			if (slave.trust >= (slave.oldTrust + 5)) {
+				if (slave.behavioralFlaw === "odd" && slave.collar !== "shock punishment") {
+					r.push(`Though ${he} made progress this week, <span class="trust dec">it is limited by ${his} preoccupation with ${his} own oddities.</span>`);
+					slave.trust = (slave.oldTrust + 5);
+				}
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function devotionReport(slave) {
+		let energyPlus = 0;
+
+		if (slave.devotion > 100 && slave.trust > 100) {
+			r.push(`${His} perfect devotion and trust <span class="reputation inc">improve your reputation.</span>`);
+			repX(10 * (slave.devotion - 100), "slavesViewOfPC", slave);
+			slave.devotion = 100;
+			repX(10 * (slave.trust - 100), "slavesViewOfPC", slave);
+			slave.trust = 100;
+			if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
+				energyPlus += Math.trunc((slave.trust + slave.devotion) - 200);
+			}
+		} else {
+			if (slave.devotion > 100) {
+				if (slave.trust < 100 && slave.trust > 20) {
+					slave.trust += Math.trunc((slave.devotion - 100) * 5) / 10;
+				} else if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
+					energyPlus += Math.trunc(slave.devotion - 100);
+				} else {
+					r.push(`${His} extreme devotion <span class="reputation inc">improved your reputation.</span>`);
+					repX(10 * (slave.devotion - 100), "slavesViewOfPC", slave);
+				}
+				slave.devotion = 100;
+			} else if (slave.devotion > 95) {
+				slave.devotion = 100;
+			} else if (slave.devotion < -95) {
+				slave.devotion = -100;
+			}
+			if (slave.trust > 100) {
+				 if (slave.devotion < 100 && slave.devotion > 20) {
+					slave.devotion += Math.trunc(slave.trust - 100);
+				} else if (slave.devotion < -50) {
+					r.push(`${His} blatant disregard for your rule <span class="reputation dec">damages your reputation.</span>`);
+					repX(30 * (slave.trust - 100), "slavesViewOfPC", slave);
+				} else if (slave.energy <= 50 && App.Utils.sexAllowed(slave, PC)) {
+					energyPlus += Math.trunc(slave.trust - 100);
+				} else {
+					r.push(`${His} extreme trust <span class="reputation inc">improved your reputation.</span>`);
+					repX(10 * (slave.trust - 100), "slavesViewOfPC", slave);
+				}
+				slave.trust = 100;
+			} else if (slave.trust > 95) {
+				slave.trust = 100;
+			} else if (slave.trust < -95) {
+				slave.trust = -100;
+			}
+		}
+		if (energyPlus > 0) {
+			r.push(`${His} confidence in ${his} sexuality <span class="improvement">improved ${his} low sex drive.</span>`);
+			slave.energy += energyPlus;
+		}
+
+		if (slave.devotion > 95) {
+			r.push(`${slave.slaveName}'s <span class="devotion worship">worshipfulness is beyond improvement,</span> and ${his}`);
+		} else if (slave.devotion > 50 && slave.devotion > slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="devotion accept">devotion increased</span> and ${his}`);
+		} else if (slave.devotion > 50 && slave.devotion === slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="devotion ambivalent">devotion did not change</span> and ${his}`);
+		} else if (slave.devotion > 50) {
+			r.push(`${slave.slaveName}'s <span class="devotion resistant">devotion dropped</span> and ${his}`);
+		} else if (slave.devotion >= -20 && slave.devotion > slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="devotion inc">regard for you increased</span> and ${his}`);
+		} else if (slave.devotion >= -20 && slave.devotion === slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="noteworthy">regard for you did not change</span> and ${his}`);
+		} else if (slave.devotion >= -20) {
+			r.push(`${slave.slaveName}'s <span class="devotion dec">regard for you dropped</span> and ${his}`);
+		} else if (slave.devotion > slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="devotion inc">resistance dropped</span> and ${his}`);
+		} else if (slave.devotion === slave.oldDevotion) {
+			r.push(`${slave.slaveName}'s <span class="noteworthy">resistance did not change</span> and ${his}`);
+		} else {
+			r.push(`${slave.slaveName}'s <span class="devotion dec">resistance increased</span> and ${his}`);
+		}
+		if (slave.devotion < -20) {
+			if (slave.trust > 95) {
+				r.push(`<span class="defiant full">fear of you is non existent.</span>`);
+			} else if (slave.trust > 20 && slave.trust > slave.oldTrust) {
+				r.push(`<span class="defiant inc">fear of you</span> dropped this week.`);
+			} else if (slave.trust > 20 && slave.trust === slave.oldTrust) {
+				r.push(`<span class="noteworthy">fear did not change</span> this week.`);
+			} else if (slave.trust > 20) {
+				r.push(`<span class="improvement">fear increased</span> this week.`);
+			} else if (slave.trust > slave.oldTrust) {
+				r.push(`<span class="mediumaquamarine">fear dropped</span> this week.`);
+			} else if (slave.trust === slave.oldTrust) {
+				r.push(`<span class="noteworthy">fear did not change</span> this week.`);
+			} else {
+				r.push(`<span class="trust dec">fear increased</span> this week.`);
+			}
+		} else {
+			if (slave.trust > 95) {
+				r.push(`<span class="trust prof-trusting">trust in you is total.</span>`);
+			} else if (slave.trust > 20 && slave.trust > slave.oldTrust) {
+				r.push(`<span class="trust inc">trust improved</span> this week.`);
+			} else if (slave.trust > 20 && slave.trust === slave.oldTrust) {
+				r.push(`<span class="noteworthy">trust did not change</span> this week.`);
+			} else if (slave.trust > 20) {
+				r.push(`<span class="trust dec">trust dropped</span> this week.`);
+			} else if (slave.trust > slave.oldTrust) {
+				r.push(`<span class="trust inc">fear dropped</span> this week.`);
+			} else if (slave.trust === slave.oldTrust) {
+				r.push(`<span class="noteworthy">fear did not change</span> this week.`);
+			} else {
+				r.push(`<span class="trust dec">fear increased</span> this week.`);
+			}
+		}
+
+		if (slave.devotion > 50 && slave.oldDevotion <= 50) {
+			r.push(`<span class="positive">${He} has gone from accepting ${his} position to being devoted to you!</span>`);
+			slave.devotion += 1;
+		} else if (slave.devotion > 20 && slave.oldDevotion <= 20) {
+			r.push(`<span class="positive">${He} has gone from being ambivalent toward you to accepting your ownership of ${him}!</span>`);
+			slave.devotion += 1;
+		} else if (slave.devotion >= -20 && slave.oldDevotion < -20) {
+			r.push(`<span class="positive">${He} has gone from disliking you to being ambivalent about you!</span>`);
+			slave.devotion += 1;
+		} else if (slave.devotion >= -50 && slave.oldDevotion < -50) {
+			r.push(`<span class="positive">${He} has gone from hating you to merely disliking you!</span>`);
+			slave.devotion += 1;
+		}
+
+		if (slave.devotion < -20) {
+			if (slave.trust > 50 && slave.oldTrust <= 50) {
+				r.push(`<span class="warning">${He} has gone from being careful around you to showing open defiance!</span>`);
+				slave.trust++;
+			} else if (slave.trust > 20 && slave.oldTrust <= 20) {
+				r.push(`<span class="noteworthy">${He} has gone from fearing you to merely being careful around you!</span>`);
+				slave.trust++;
+			} else if (slave.trust >= -20 && slave.oldTrust < -20) {
+				r.push(`<span class="noteworthy">${He} has gone from being afraid of you to being merely fearful!</span>`);
+				slave.trust++;
+			} else if (slave.trust >= -50 && slave.oldTrust < -50) {
+				r.push(`<span class="noteworthy">${He} has gone from being terrified to being merely afraid of you!</span>`);
+				slave.trust++;
+			}
+		} else {
+			if (slave.trust > 50 && slave.oldTrust <= 50) {
+				r.push(`<span class="positive">${He} has gone from being careful around you to trusting you!</span>`);
+				slave.trust += 1;
+			} else if (slave.trust > 20 && slave.oldTrust <= 20) {
+				r.push(`<span class="positive">${He} has gone from fearing you to merely being careful around you!</span>`);
+				slave.trust += 1;
+			} else if (slave.trust >= -20 && slave.oldTrust < -20) {
+				r.push(`<span class="positive">${He} has gone from being afraid of you to being merely fearful!</span>`);
+				slave.trust += 1;
+			} else if (slave.trust >= -50 && slave.oldTrust < -50) {
+				r.push(`<span class="positive">${He} has gone from being terrified to being merely afraid of you!</span>`);
+				slave.trust += 1;
+			}
+		}
+
+		if (slave.trust < -20 && slave.oldTrust >= -20) {
+			if (slave.devotion <= 20) {
+				r.push(`<span class="positive">${He} has gone from merely fearing you to actively being afraid of you!</span>`);
+				slave.trust -= 2;
+			}
+		}
+	}
+
+	/**
+	 * @param {App.Entity.SlaveState} slave
+	 *
+	 */
+	function finalChanges(slave) {
+		// done stealthily to make the slave's progression seem natural
+		if (slave.rudeTitle === 1 && slave.devotion >= -50) {
+			slave.custom.title = "";
+			slave.custom.titleLisp = "";
+			slave.rudeTitle = 0;
+		}
+	}
+})();
diff --git a/src/endWeek/standardSlaveReport.js b/src/endWeek/standardSlaveReport.js
index 97378aebef6..1f2f850eb76 100644
--- a/src/endWeek/standardSlaveReport.js
+++ b/src/endWeek/standardSlaveReport.js
@@ -17,12 +17,12 @@ App.SlaveAssignment.standardSlaveReport = function(slave, silent=false) {
 		drugs = App.SlaveAssignment.drugs(slave),
 		relationships = App.SlaveAssignment.relationships(slave),
 		rivalries = App.SlaveAssignment.rivalries(slave),
-		devotion = App.UI.DOM.renderPassage("SA devotion");
+		devotion = App.SlaveAssignment.devotion(slave);
 
 	if (!silent) {
 		const content = App.UI.DOM.makeElement("div", '', "indent");
 
-		$(content).append(clothes, rules, diet, ltEffects, drugs, relationships, rivalries, document.createElement('br'), devotion);
+		$(content).append(clothes, rules, diet, ltEffects, drugs, relationships, rivalries, document.createElement('br'), document.createTextNode('	'), devotion);
 
 		return content;
 	}
diff --git a/src/uncategorized/arcadeReport.tw b/src/uncategorized/arcadeReport.tw
index 45fea6cbbb3..845205a31c7 100644
--- a/src/uncategorized/arcadeReport.tw
+++ b/src/uncategorized/arcadeReport.tw
@@ -144,7 +144,7 @@
 		<<= App.SlaveAssignment.drugs(_slave)>>
 		<<= App.SlaveAssignment.relationships(_slave)>>
 		<<= App.SlaveAssignment.rivalries(_slave)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 	<<else>>
 		<<silently>>
 		<<include "SA rules">>
@@ -153,7 +153,7 @@
 		<<run App.SlaveAssignment.drugs(_slave)>>
 		<<run App.SlaveAssignment.relationships(_slave)>>
 		<<run App.SlaveAssignment.rivalries(_slave)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_slave)>>
 		<</silently>>
 	<</if>>
 <</for>>
diff --git a/src/uncategorized/brothelReport.tw b/src/uncategorized/brothelReport.tw
index 78e92d763df..c2a0c23ea06 100644
--- a/src/uncategorized/brothelReport.tw
+++ b/src/uncategorized/brothelReport.tw
@@ -197,7 +197,7 @@
 		<<= App.SlaveAssignment.drugs(_S.Madam)>>
 		<<= App.SlaveAssignment.relationships(_S.Madam)>>
 		<<= App.SlaveAssignment.rivalries(_S.Madam)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_S.Madam)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnClothes(_S.Madam)>>
@@ -208,7 +208,7 @@
 		<<run App.SlaveAssignment.drugs(_S.Madam)>>
 		<<run App.SlaveAssignment.relationships(_S.Madam)>>
 		<<run App.SlaveAssignment.rivalries(_S.Madam)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_S.Madam)>>
 		<</silently>>
 	<</if>>
 <</if>>
@@ -287,7 +287,7 @@
 			<<= App.SlaveAssignment.drugs(_slave)>>
 			<<= App.SlaveAssignment.relationships(_slave)>>
 			<<= App.SlaveAssignment.rivalries(_slave)>>
-			<br><<include "SA devotion">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 		<<else>>
 			<<silently>>
 			<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -299,7 +299,7 @@
 			<<run App.SlaveAssignment.drugs(_slave)>>
 			<<run App.SlaveAssignment.relationships(_slave)>>
 			<<run App.SlaveAssignment.rivalries(_slave)>>
-			<<include "SA devotion">>
+			<<run App.SlaveAssignment.devotion(_slave)>>
 			<</silently>>
 		<</if>>
 
diff --git a/src/uncategorized/cellblockReport.tw b/src/uncategorized/cellblockReport.tw
index bcc54c55344..199ad14d42b 100644
--- a/src/uncategorized/cellblockReport.tw
+++ b/src/uncategorized/cellblockReport.tw
@@ -141,7 +141,7 @@
 		<<= App.SlaveAssignment.drugs($slaves[$i])>>
 		<<= App.SlaveAssignment.relationships($slaves[$i])>>
 		<<= App.SlaveAssignment.rivalries($slaves[$i])>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion($slaves[$i])>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnClothes($slaves[$i])>>
@@ -152,7 +152,7 @@
 		<<run App.SlaveAssignment.drugs($slaves[$i])>>
 		<<run App.SlaveAssignment.relationships($slaves[$i])>>
 		<<run App.SlaveAssignment.rivalries($slaves[$i])>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion($slaves[$i])>>
 		<</silently>>
 	<</if>>
 <</if>>
@@ -262,7 +262,7 @@
 		<<= App.SlaveAssignment.drugs(_slave)>>
 		<<= App.SlaveAssignment.relationships(_slave)>>
 		<<= App.SlaveAssignment.rivalries(_slave)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -273,7 +273,7 @@
 		<<run App.SlaveAssignment.drugs(_slave)>>
 		<<run App.SlaveAssignment.relationships(_slave)>>
 		<<run App.SlaveAssignment.rivalries(_slave)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_slave)>>
 		<</silently>>
 	<</if>>
 <</for>>
diff --git a/src/uncategorized/clubReport.tw b/src/uncategorized/clubReport.tw
index 517d3b01692..e63e365eaa5 100644
--- a/src/uncategorized/clubReport.tw
+++ b/src/uncategorized/clubReport.tw
@@ -122,7 +122,7 @@
 		<<= App.SlaveAssignment.drugs(_S.DJ)>>
 		<<= App.SlaveAssignment.relationships(_S.DJ)>>
 		<<= App.SlaveAssignment.rivalries(_S.DJ)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_S.DJ)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnClothes(_S.DJ)>>
@@ -133,7 +133,7 @@
 		<<run App.SlaveAssignment.drugs(_S.DJ)>>
 		<<run App.SlaveAssignment.relationships(_S.DJ)>>
 		<<run App.SlaveAssignment.rivalries(_S.DJ)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_S.DJ)>>
 		<</silently>>
 	<</if>>
 <</if>>
@@ -198,7 +198,7 @@
 			<<= App.SlaveAssignment.drugs(_slave)>>
 			<<= App.SlaveAssignment.relationships(_slave)>>
 			<<= App.SlaveAssignment.rivalries(_slave)>>
-			<br><<include "SA devotion">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 		<<else>>
 			<<silently>>
 			<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -210,7 +210,7 @@
 			<<run App.SlaveAssignment.drugs(_slave)>>
 			<<run App.SlaveAssignment.relationships(_slave)>>
 			<<run App.SlaveAssignment.rivalries(_slave)>>
-			<<include "SA devotion">>
+			<<run App.SlaveAssignment.devotion(_slave)>>
 			<</silently>>
 		<</if>>
 	<</for>>
diff --git a/src/uncategorized/dairyReport.tw b/src/uncategorized/dairyReport.tw
index 4ec081bb71b..ffd09745535 100644
--- a/src/uncategorized/dairyReport.tw
+++ b/src/uncategorized/dairyReport.tw
@@ -310,7 +310,7 @@
 		<<= App.SlaveAssignment.drugs(_S.Milkmaid)>>
 		<<= App.SlaveAssignment.relationships(_S.Milkmaid)>>
 		<<= App.SlaveAssignment.rivalries(_S.Milkmaid)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_S.Milkmaid)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnClothes(_S.Milkmaid)>>
@@ -321,7 +321,7 @@
 		<<run App.SlaveAssignment.drugs(_S.Milkmaid)>>
 		<<run App.SlaveAssignment.relationships(_S.Milkmaid)>>
 		<<run App.SlaveAssignment.rivalries(_S.Milkmaid)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_S.Milkmaid)>>
 		<</silently>>
 	<</if>>
 <</if>>
@@ -416,7 +416,7 @@
 		<<= App.SlaveAssignment.drugs(_slave)>>
 		<<= App.SlaveAssignment.relationships(_slave)>>
 		<<= App.SlaveAssignment.rivalries(_slave)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -427,7 +427,7 @@
 		<<run App.SlaveAssignment.drugs(_slave)>>
 		<<run App.SlaveAssignment.relationships(_slave)>>
 		<<run App.SlaveAssignment.rivalries(_slave)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_slave)>>
 		<</silently>>
 	<</if>>
 	<<set _milkWeek += $milk, _cumWeek += $cum>>
diff --git a/src/uncategorized/fullReport.tw b/src/uncategorized/fullReport.tw
index 41c5bc90c6f..1d4263c53c2 100644
--- a/src/uncategorized/fullReport.tw
+++ b/src/uncategorized/fullReport.tw
@@ -97,4 +97,4 @@
 	<</if>>
 <</for>>
 
-<<include "SA devotion">>
+&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion($slaves[$i])>>
diff --git a/src/uncategorized/masterSuiteReport.tw b/src/uncategorized/masterSuiteReport.tw
index a4eace5a247..3ff10cbfea1 100644
--- a/src/uncategorized/masterSuiteReport.tw
+++ b/src/uncategorized/masterSuiteReport.tw
@@ -375,7 +375,7 @@
 			<<= App.SlaveAssignment.drugs(_slave)>>
 			<<= App.SlaveAssignment.relationships(_slave)>>
 			<<= App.SlaveAssignment.rivalries(_slave)>>
-			<br><<include "SA devotion">>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 		<<else>>
 			<<silently>>
 			<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -392,7 +392,7 @@
 			<<run App.SlaveAssignment.drugs(_slave)>>
 			<<run App.SlaveAssignment.relationships(_slave)>>
 			<<run App.SlaveAssignment.rivalries(_slave)>>
-			<<include "SA devotion">>
+			<<run App.SlaveAssignment.devotion(_slave)>>
 			<</silently>>
 		<</if>>
 		<<if _slave.health.condition < 80>>
diff --git a/src/uncategorized/saDevotion.tw b/src/uncategorized/saDevotion.tw
deleted file mode 100644
index dbf4f1b9909..00000000000
--- a/src/uncategorized/saDevotion.tw
+++ /dev/null
@@ -1,938 +0,0 @@
-:: SA devotion [nobr]
-
-&nbsp;&nbsp;&nbsp;&nbsp;
-
-<<if $slaves[$i].fetish == "mindbroken">>
-	@@.red;$His mind is fundamentally broken, so $his experiences have no lasting effect on $his emotional state.@@
-<<else>>
-<<if $slaves[$i].fuckdoll == 0>>
-
-<<setPlayerPronouns>>
-<<set _energyPlus = 0>>
-
-<<if $slaves[$i].origin == "You were acquainted with $him before you were an arcology owner; your rival tried to use $him to manipulate you, but you rescued $him." && $slaves[$i].newGamePlus == 0 && $rivalryFS != "Slave Professionalism" && $rivalryFS != "Intellectual Dependency">>
-	<<if ($rivalryDuration <= 10 || $rivalryFS == "Racial Supremacism" || $rivalryFS == "Paternalism")>>
-		You @@.mediumaquamarine;saved $slaves[$i].slaveName from a living nightmare@@ under your rival's rule. $He @@.hotpink;tries $his best to adapt to $his savior's wishes.@@
-		<<set $slaves[$i].devotion += 10>>
-		<<set $slaves[$i].trust += 10>>
-	<<elseif $hostageGiveIn == 1>>
-		Since you are @@.mediumaquamarine;indulging@@ $slaves[$i].slaveName's desires, $he @@.hotpink;likes you more.@@
-		<<set $slaves[$i].devotion += 5>>
-		<<set $slaves[$i].trust += 5>>
-	<<elseif $rivalryDuration > 20 && $slaves[$i].devotion < 5>>
-		<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-			You took everything from $slaves[$i].slaveName and @@.mediumorchid;$he hates you for it.@@ Since you won't give $him what $he wants, $he @@.gold;refuses to trust you.@@ Since you are putting such a personal touch into $his care, $he can't find it in $him to rebel as strongly.
-			<<set $slaves[$i].devotion -= 5>>
-			<<set $slaves[$i].trust -= 5>>
-		<<else>>
-			You took everything from $slaves[$i].slaveName and @@.mediumorchid;$he hates you for it.@@ Since you won't give $him what $he wants, $he @@.gold;refuses to trust you at all.@@
-			<<set $slaves[$i].devotion -= 25>>
-			<<set $slaves[$i].trust -= 25>>
-		<</if>>
-	<<elseif $rivalryDuration > 10 && $slaves[$i].devotion < 5>>
-		<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-			$He is @@.gold;horrified by you.@@ Your rival taught $him a great deal about slave life in your arcology and indulged $his deepest fantasies. $slaves[$i].slaveName considers being your pet @@.mediumorchid;a fate worse than death.@@ Since you are putting such a personal touch into $his care, maybe you aren't the monster $he thought you were. $He can't find it in $him to hate and fear you as much.
-			<<set $slaves[$i].devotion -= 3>>
-			<<set $slaves[$i].trust -= 3>>
-		<<else>>
-			$He is @@.gold;horrified by you.@@ Your rival taught $him a great deal about slave life in your arcology and indulged $his deepest fantasies. $slaves[$i].slaveName considers being your pet @@.mediumorchid;a fate worse than death.@@
-			<<set $slaves[$i].devotion -= 15>>
-			<<set $slaves[$i].trust -= 15>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if $PC.preg >= 20 || ($PC.preg >= 16 && $PC.career == "escort")>>
-	<<if $slaves[$i].devotion > 60>>
-		<<if $PC.pregMood == 2>>
-			$He is devoted to you and does $his best to satisfy your demanding, hormone driven libido, no matter what you want from $him. $His efforts to give $himself you to @@.hotpink;further $his submission@@ to you.
-			<<set $slaves[$i].devotion += 2>>
-		<<elseif $PC.pregMood == 1>>
-			$He is devoted to you and tries $his best to accommodate your needs and desires. Your hormonal mothering @@.mediumaquamarine;leaves $him slightly more trusting@@ of you.
-			<<set $slaves[$i].trust += 2>>
-		<<else>>
-			$He is devoted to you and tries $his best to accommodate your needs and desires.
-		<</if>>
-	<<else>>
-		<<if $PC.pregMood == 2>>
-			$He is @@.gold;horrified@@ of your aggressive sexual advances, forcing $him to @@.hotpink;bend to your will@@ or face punishment at the hands of a hormonal pregnant _womanP.
-			<<set $slaves[$i].devotion += 4>>
-			<<set $slaves[$i].trust -= 4>>
-		<<elseif $PC.pregMood == 1>>
-			$He happily @@.mediumorchid;takes advantage@@ of your hormone induced kindness, though your care @@.mediumaquamarine;builds $his trust in you.@@
-			<<set $slaves[$i].devotion -= 4>>
-			<<set $slaves[$i].trust += 4>>
-		<<else>>
-			$He takes note of your gravid form and @@.mediumorchid;begins testing just how much $he can get away with@@ while $he can.
-			<<set $slaves[$i].devotion -= 3>>
-		<</if>>
-	<</if>>
-<</if>>
-<<if $slaves[$i].dick > 0 && canAchieveErection($slaves[$i]) && $PC.preg >= 18>>
-	<<if $PC.pregMood == 2>>
-		<<set $slaves[$i].counter.penetrative += 7>>
-	<<else>>
-		<<set $slaves[$i].counter.penetrative += 3>>
-	<</if>>
-<</if>>
-
-<<if $slaves[$i].counter.PCKnockedUp > 0 && $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0 && $slaves[$i].devotion < -20>>
-	<<set _pregCountFactor = $slaves[$i].counter.PCKnockedUp*5>>
-	$He got you pregnant<<if $slaves[$i].counter.PCKnockedUp > 1>> more than once<</if>> and $he knows it. This is a @@.mediumorchid;huge boost@@ to $his ego and gives $him a slight edge on you.
-	<<set $slaves[$i].devotion -= _pregCountFactor>>
-	<<if $slaves[$i].counter.PCChildrenFathered > 0>>
-		Even better; you gave birth to $his child<<if $slaves[$i].counter.PCChildrenFathered > 1>>ren<</if>>. To $him, $he is the dominant force and you are just a bitch to be bred. $He could create a scandal if $he started running $his mouth, something $he lords over you every chance $he gets under the assumption that @@.mediumaquamarine;you'll try to appease $him to keep $him quiet.@@
-		<<set $slaves[$i].devotion -= 5+_pregCountFactor, $slaves[$i].trust += 5+_pregCountFactor>>
-	<</if>>
-<</if>>
-
-<<if $slaves[$i].devotion <= 95>>
-
-<<if $slaves[$i].devotion <= 20 && $slaves[$i].devotion >= -50>>
-	<<if $slaves[$i].trust > 20>>
-		$slaves[$i].slaveName does not like you and believes that you will not punish $him severely, and $his @@.mediumorchid;regard for you is severely reduced@@ by this lack of respect.
-		<<set $slaves[$i].devotion -= 4>>
-	<<elseif $slaves[$i].trust >= -20>>
-		$slaves[$i].slaveName neither likes nor fears you, and $his @@.mediumorchid;regard for you is reduced@@ by this lack of respect.
-		<<set $slaves[$i].devotion -= 2>>
-	<</if>>
-<</if>>
-
-<<if $slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 95>>
-	<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-		$slaves[$i].slaveName's @@.deepskyblue;brilliant mind@@ strongly resists slavery, but since you are giving $him personal attention you are able to compensate for $his genius.
-	<<else>>
-		<<if $slaves[$i].trust < -20>>
-			$slaves[$i].slaveName's @@.deepskyblue;brilliant mind@@ strongly resists slavery, but $he fears you deeply enough that $he consciously forces $himself to obey out of self-preservation.
-		<<else>>
-			$slaves[$i].slaveName's @@.deepskyblue;brilliant mind@@ strongly @@.mediumorchid;resists@@ slavery and encourages $him to @@.gold;fear you.@@
-			<<set $slaves[$i].devotion -= 2>>
-			<<set $slaves[$i].trust -= 2>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 50>>
-	<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-		$slaves[$i].slaveName's @@.deepskyblue;highly acute mind@@ naturally resists slavery, but since you are giving $him personal attention you are able to compensate for $his intelligence.
-	<<else>>
-		<<if $slaves[$i].trust < -20>>
-			$slaves[$i].slaveName's @@.deepskyblue;highly acute mind@@ naturally resists slavery, but $he fears you deeply enough that $he consciously forces $himself to obey out of self-preservation.
-		<<else>>
-			$slaves[$i].slaveName's @@.deepskyblue;highly acute mind@@ naturally @@.mediumorchid;resists@@ slavery and encourages $him to @@.gold;fear you.@@
-			<<set $slaves[$i].devotion -= 2>>
-			<<set $slaves[$i].trust -= 2>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 15>>
-	<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-		$slaves[$i].slaveName's @@.deepskyblue;intelligent mind@@ naturally resists slavery, but since you are giving $him personal attention you are able to compensate for $his cleverness.
-	<<else>>
-		<<if $slaves[$i].trust < -20>>
-			$slaves[$i].slaveName's @@.deepskyblue;intelligent mind@@ naturally resists slavery, but $he fears you deeply enough that $he consciously forces $himself to obey out of self-preservation.
-		<<else>>
-			$slaves[$i].slaveName's @@.deepskyblue;intelligent mind@@ naturally @@.mediumorchid;resists@@ slavery.
-			<<set $slaves[$i].devotion -= 2>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant < -95>>
-	$slaves[$i].slaveName's @@.orangered;moronic mind@@ naturally @@.hotpink;accepts@@ slavery, and $he's imbecile enough to instinctively @@.mediumaquamarine;trust you@@ to know what's best for $him.
-	<<set $slaves[$i].devotion += 2, $slaves[$i].trust += 2>>
-<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant < -50>>
-	$slaves[$i].slaveName's @@.orangered;idiotic mind@@ naturally @@.hotpink;accepts@@ slavery, and $he's stupid enough to instinctively @@.mediumaquamarine;trust you@@ to know what's best.
-	<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
-<<elseif $slaves[$i].intelligence+$slaves[$i].intelligenceImplant < -15>>
-	$slaves[$i].slaveName's @@.orangered;unintelligent mind@@ naturally @@.hotpink;accepts@@ slavery.
-	<<set $slaves[$i].devotion += 1>>
-<</if>>
-
-<</if>>
-
-<<if ($arcologies[0].FSPaternalistLaw == 1)>>
-	The totally paternalistic society of your arcology encourages $him to @@.mediumaquamarine;trust you.@@
-	<<set $slaves[$i].trust += 1>>
-<<elseif ($arcologies[0].FSPaternalist >= random(1,120))>>
-	The paternalistic culture of your arcology encourages $him to @@.mediumaquamarine;trust you.@@
-	<<set $slaves[$i].trust += 1>>
-<</if>>
-<<if ($arcologies[0].FSChattelReligionistLaw == 1)>>
-	Your status as the prophet of your theocratic arcology encourages $him to @@.mediumaquamarine;trust you.@@
-	<<set $slaves[$i].trust += 1>>
-<<elseif ($arcologies[0].FSChattelReligionist >= random(1,120))>>
-	Your arcology's omnipresent religion encourages $him to @@.mediumaquamarine;trust you.@@
-	<<set $slaves[$i].trust += 1>>
-<</if>>
-<<if ($arcologies[0].FSRestart != "unset")>>
-	<<if $slaves[$i].bellyPreg >= 1500 && $slaves[$i].devotion <= 20>>
-		Being visibly pregnant in a society that loathes slave breeding fills $him with @@.gold;fear@@ for $himself and $his unborn child.
-		<<set $slaves[$i].trust -= 10>>
-	<<elseif $slaves[$i].pregKnown == 1 && $slaves[$i].devotion <= 20>>
-		Being pregnant in a society that loathes slave breeding fills $him with @@.gold;worry@@ that you'll harm $him or $his unborn child.
-		<<set $slaves[$i].trust -= 5>>
-	<</if>>
-<</if>>
-<<if $arcologies[0].FSChattelReligionistCreed == 1>>
-	<<if $nicaea.focus == "slaves">>
-		The creed of $nicaea.name @@.hotpink;focuses on slaves@@ and is repeated constantly all around $him.
-		<<set $slaves[$i].devotion += $nicaea.power>>
-	<</if>>
-<</if>>
-
-/* Body lost effects */
-
-<<if $slaves[$i].bodySwap > 0 && $slaves[$i].origBodyOwnerID > 0>>
-	<<if ndef $slaveIndices[$slaves[$i].origBodyOwnerID]>>
-		<<set $slaves[$i].origBodyOwnerID = 0>>
-		<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
-			<<if $slaves[$i].devotion > 20>>
-				$slaves[$i].slaveName is somewhat saddened to see $his body leave forever.
-			<<elseif $slaves[$i].devotion >= -50>>
-				$slaves[$i].slaveName is @@.mediumorchid;disturbed@@ to find $his body is gone for good, damaging $his @@.gold;ability to trust you.@@
-				<<set $slaves[$i].devotion -= 30, $slaves[$i].trust -= 30>>
-			<<else>>
-				$slaves[$i].slaveName is @@.mediumorchid;deeply upset@@ that $he'll never see $his body again. With so little left, $he finds it easy to take vengeance by @@.orangered;completely rejecting your ownership of $him.@@
-				<<set $slaves[$i].devotion -= 50, $slaves[$i].trust = 100>>
-			<</if>>
-		<</if>>
-	<</if>>
-<</if>>
-
-/* INDENTURE MENTAL EFFECTS */
-
-<<if ($slaves[$i].indenture > -1)>>
-	<<if $slaves[$i].indenture <= 52>>
-		$He knows that it's less than a year until $his indenture ends.
-		<<if $slaves[$i].devotion > 95>>
-			Since $he loves you, $he has mixed feelings about the prospect.
-		<<elseif $slaves[$i].devotion >= -20>>
-			The prospect of freedom @@.hotpink;encourages $him to submit to your orders@@ and @@.mediumaquamarine;encourages $him to be optimistic.@@
-			<<set $slaves[$i].devotion += 2>>
-			<<set $slaves[$i].trust += 2>>
-		<<else>>
-			The prospect of freedom encourages $him to @@.mediumaquamarine;tolerate anything.@@
-			<<set $slaves[$i].trust += 2>>
-		<</if>>
-	<<else>>
-		The fact that $he is an indentured servant, not a permanent slave, is never truly far from $his mind.
-		<<if $slaves[$i].devotion > 95>>
-			Since $he loves you, $he has mixed feelings about eventual freedom.
-		<<elseif $slaves[$i].devotion >= -20>>
-			The prospect of eventual freedom @@.hotpink;cheers $him up@@ and @@.mediumaquamarine;makes $him optimistic.@@
-			<<set $slaves[$i].devotion += 1>>
-			<<set $slaves[$i].trust += 1>>
-		<<else>>
-			The prospect of eventual freedom works to make the indignities of slavery @@.mediumaquamarine;weigh lightly@@ on $him.
-			<<set $slaves[$i].trust += 1>>
-		<</if>>
-	<</if>>
-	<<if $slaves[$i].devotion <= 20>>
-		<<if $slaves[$i].indentureRestrictions >= 2>>
-			$He's also @@.mediumaquamarine;able to rely on the protection@@ of $his indenture.
-			<<set $slaves[$i].trust += 1>>
-		<<elseif $slaves[$i].indentureRestrictions > 1>>
-			$He's also @@.mediumaquamarine;able to trust the restrictions@@ that $his indenture places on $his treatment.
-			<<set $slaves[$i].trust += 1>>
-		<</if>>
-	<</if>>
-
-<<elseif $seeAge == 1>> /* RETIREMENT */
-
-<<if $slaves[$i].actualAge >= $retirementAge-5 && $policies.retirement.physicalAgePolicy == 0>>
-	<<if ($policies.retirement.fate == "citizen")>>
-		<<if $slaves[$i].actualAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $his retirement from sexual slavery into citizenship.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he has mixed feelings about the prospect, but $he prefers to think of it as your way of looking after $him. It's $his favorite subject, and $his strong feelings about it
-				<<if $arcologies[0].FSPaternalist != "unset">>
-					advances paternalistic ideals and @@.green;improves your reputation.@@
-					<<= FutureSocieties.Change("Paternalist", 2)>>
-				<<else>>
-					@@.green;improves your reputation.@@
-					<<run repX($FSSingleSlaveRep*2, "retirement", $slaves[$i])>>
-				<</if>>
-			<<elseif $slaves[$i].devotion >= -20>>
-				The prospect of manumission @@.hotpink;encourages $him to submit to slavery@@ and @@.mediumaquamarine;encourages $him to be optimistic.@@
-				<<set $slaves[$i].devotion += 2>>
-				<<set $slaves[$i].trust += 2>>
-			<<else>>
-				The prospect of manumission encourages $him to @@.mediumaquamarine;tolerate anything.@@
-				<<set $slaves[$i].trust += 2>>
-			<</if>>
-		<<else>>
-			$His retirement from sexual slavery into citizenship is on the horizon.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he has mixed feelings about the prospect, but $he prefers to think of it as your way of looking after $him. This
-				<<if $arcologies[0].FSPaternalist != "unset">>
-					advances paternalistic ideals and @@.green;improves your reputation.@@
-					<<= FutureSocieties.Change("Paternalist", 2)>>
-				<<else>>
-					@@.green;improves your reputation.@@
-					<<run repX($FSSingleSlaveRep, "retirement", $slaves[$i])>>
-				<</if>>
-			<<elseif $slaves[$i].devotion >= -20>>
-				The prospect of manumission @@.hotpink;cheers $him up@@ and @@.mediumaquamarine;makes $him optimistic.@@
-				<<set $slaves[$i].devotion += 1>>
-				<<set $slaves[$i].trust += 1>>
-			<<else>>
-				The prospect of manumission works to make the indignities of slavery @@.mediumaquamarine;weigh lightly@@ on $him.
-				<<set $slaves[$i].trust += 1>>
-			<</if>>
-		<</if>>
-	<<elseif $policies.retirement.fate == "bioreactor">>
-		<<if $slaves[$i].actualAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $his permanent inclusion in the arcology's milk production systems.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he desperately tries not to think about it, though $he occasionally bursts into tears without provocation.
-			<<elseif $slaves[$i].devotion > 20>>
-				To put it mildly, @@.gold;$he is terrified.@@
-				<<set $slaves[$i].trust -= 3>>
-			<<else>>
-				$He is filled with @@.gold;terror@@ and @@.mediumorchid;horror.@@
-				<<set $slaves[$i].devotion -= 3>>
-				<<set $slaves[$i].trust -= 3>>
-			<</if>>
-		<<else>>
-			$He knows that $his permanent inclusion in the arcology's milk production systems is not far off.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he tries not to think about it, though $he occasionally seems preoccupied.
-			<<elseif $slaves[$i].devotion > 20>>
-				The prospect @@.gold;scares $him.@@
-				<<set $slaves[$i].trust -= 2>>
-			<<else>>
-				The prospect @@.gold;scares@@ and @@.mediumorchid;disgusts $him.@@
-				<<set $slaves[$i].devotion -= 2>>
-				<<set $slaves[$i].trust -= 2>>
-			<</if>>
-		<</if>>
-	<<elseif $policies.retirement.fate == "arcade">>
-		<<if $slaves[$i].actualAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $he is to be permanently encased in a bodysuit with holes for nothing but dick.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he desperately tries not to think about it, though $he occasionally bursts into tears without provocation.
-			<<elseif $slaves[$i].devotion > 20>>
-				To put it mildly, @@.gold;$he is terrified.@@
-				<<set $slaves[$i].trust -= 3>>
-			<<else>>
-				$He is filled with @@.gold;terror@@ and @@.mediumorchid;horror.@@
-				<<set $slaves[$i].devotion -= 3>>
-				<<set $slaves[$i].trust -= 3>>
-			<</if>>
-		<<else>>
-			$He knows that $his ultimate fate as a Fuckdoll is not far off.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he tries not to think about it, though $he occasionally seems preoccupied.
-			<<elseif $slaves[$i].devotion > 20>>
-				The prospect @@.gold;scares $him.@@
-				<<set $slaves[$i].trust -= 2>>
-			<<else>>
-				The prospect @@.gold;scares@@ and @@.mediumorchid;disgusts $him.@@
-				<<set $slaves[$i].devotion -= 2>>
-				<<set $slaves[$i].trust -= 2>>
-			<</if>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].physicalAge >= $retirementAge-5 && $policies.retirement.physicalAgePolicy>>
-	<<if $policies.retirement.fate == "citizen">>
-		<<if $slaves[$i].physicalAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $his retirement from sexual slavery into citizenship.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he has mixed feelings about the prospect, but $he prefers to think of it as your way of looking after $him. It's $his favorite subject, and $his strong feelings about it
-				<<if $arcologies[0].FSPaternalist != "unset">>
-					advances paternalistic ideals and @@.green;improves your reputation.@@
-					<<= FutureSocieties.Change("Paternalist", 2)>>
-				<<else>>
-					@@.green;improves your reputation.@@
-					<<run repX($FSSingleSlaveRep*2, "retirement", $slaves[$i])>>
-				<</if>>
-			<<elseif $slaves[$i].devotion >= -20>>
-				The prospect of manumission @@.hotpink;encourages $him to submit to slavery@@ and @@.mediumaquamarine;encourages $him to be optimistic.@@
-				<<set $slaves[$i].devotion += 2>>
-				<<set $slaves[$i].trust += 2>>
-			<<else>>
-				The prospect of manumission encourages $him to @@.mediumaquamarine;tolerate anything.@@
-				<<set $slaves[$i].trust += 2>>
-			<</if>>
-		<<else>>
-			$His retirement from sexual slavery into citizenship is on the horizon.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he has mixed feelings about the prospect, but $he prefers to think of it as your way of looking after $him. This
-				<<if $arcologies[0].FSPaternalist != "unset">>
-					advances paternalistic ideals and @@.green;improves your reputation.@@
-					<<= FutureSocieties.Change("Paternalist", 2)>>
-				<<else>>
-					@@.green;improves your reputation.@@
-					<<run repX($FSSingleSlaveRep, "retirement", $slaves[$i])>>
-				<</if>>
-			<<elseif $slaves[$i].devotion >= -20>>
-				The prospect of manumission @@.hotpink;cheers $him up@@ and @@.mediumaquamarine;makes $him optimistic.@@
-				<<set $slaves[$i].devotion += 1>>
-				<<set $slaves[$i].trust += 1>>
-			<<else>>
-				The prospect of manumission works to make the indignities of slavery @@.mediumaquamarine;weigh lightly@@ on $him.
-				<<set $slaves[$i].trust += 1>>
-			<</if>>
-		<</if>>
-	<<elseif $policies.retirement.fate == "bioreactor">>
-		<<if $slaves[$i].physicalAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $his permanent inclusion in the arcology's milk production systems.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he desperately tries not to think about it, though $he occasionally bursts into tears without provocation.
-			<<elseif $slaves[$i].devotion > 20>>
-				To put it mildly, @@.gold;$he is terrified.@@
-				<<set $slaves[$i].trust -= 3>>
-			<<else>>
-				$He is filled with @@.gold;terror@@ and @@.mediumorchid;horror.@@
-				<<set $slaves[$i].devotion -= 3>>
-				<<set $slaves[$i].trust -= 3>>
-			<</if>>
-		<<else>>
-			$He knows that $his permanent inclusion in the arcology's milk production systems is not far off.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he tries not to think about it, though $he occasionally seems preoccupied.
-			<<elseif $slaves[$i].devotion > 20>>
-				The prospect @@.gold;scares $him.@@
-				<<set $slaves[$i].trust -= 2>>
-			<<else>>
-				The prospect @@.gold;scares@@ and @@.mediumorchid;disgusts $him.@@
-				<<set $slaves[$i].devotion -= 2>>
-				<<set $slaves[$i].trust -= 2>>
-			<</if>>
-		<</if>>
-	<<elseif $policies.retirement.fate == "arcade">>
-		<<if $slaves[$i].physicalAge >= $retirementAge-1>>
-			$He knows that it's less than a year until $he is to be permanently encased in a bodysuit with holes for nothing but dick.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he desperately tries not to think about it, though $he occasionally bursts into tears without provocation.
-			<<elseif $slaves[$i].devotion > 20>>
-				To put it mildly, @@.gold;$he is terrified.@@
-				<<set $slaves[$i].trust -= 3>>
-			<<else>>
-				$He is filled with @@.gold;terror@@ and @@.mediumorchid;horror.@@
-				<<set $slaves[$i].devotion -= 3>>
-				<<set $slaves[$i].trust -= 3>>
-			<</if>>
-		<<else>>
-			$He knows that $his ultimate fate as a Fuckdoll is not far off.
-			<<if $slaves[$i].devotion > 95>>
-				Since $he loves you, $he tries not to think about it, though $he occasionally seems preoccupied.
-			<<elseif $slaves[$i].devotion > 20>>
-				The prospect @@.gold;scares $him.@@
-				<<set $slaves[$i].trust -= 2>>
-			<<else>>
-				The prospect @@.gold;scares@@ and @@.mediumorchid;disgusts $him.@@
-				<<set $slaves[$i].devotion -= 2>>
-				<<set $slaves[$i].trust -= 2>>
-			<</if>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if $policies.retirement.fate == "citizen">>
-	<<if ($slaves[$i].devotion <= 95) || ($slaves[$i].trust <= 95)>>
-		<<if $policies.retirement.sex > 0>>
-			<<if $slaves[$i].counter.oral + $slaves[$i].counter.anal + $slaves[$i].counter.vaginal + $slaves[$i].counter.penetrative + $slaves[$i].counter.mammary >= $policies.retirement.sex*0.8>>
-				<<if $slaves[$i].devotion >= -20>>
-					$He's @@.hotpink;more obedient@@ and @@.mediumaquamarine;more tolerant,@@
-					<<set $slaves[$i].devotion += 1>>
-					<<set $slaves[$i].trust += 1>>
-				<<else>>
-					$He does $his best to @@.mediumaquamarine;stay strong,@@
-					<<set $slaves[$i].trust += 1>>
-				<</if>>
-				since $he knows that $his freedom is only a few thousand dicks away.
-			<</if>>
-		<</if>>
-		<<if $policies.retirement.milk > 0>>
-			<<if $slaves[$i].counter.milk >= $policies.retirement.milk*0.8>>
-				<<if $slaves[$i].devotion >= -20>>
-					$He's @@.hotpink;more obedient@@ and @@.mediumaquamarine;more tolerant,@@
-					<<set $slaves[$i].devotion += 1>>
-					<<set $slaves[$i].trust += 1>>
-				<<else>>
-					$He does $his best to @@.mediumaquamarine;stay strong,@@
-					<<set $slaves[$i].trust += 1>>
-				<</if>>
-				since $he knows $he will be free if $his udders can gush just a bit more cream.
-			<</if>>
-		<</if>>
-		<<if $policies.retirement.cum > 0>>
-			<<if $slaves[$i].counter.cum >= $policies.retirement.cum*0.8>>
-				<<if $slaves[$i].devotion >= -20>>
-					$He's @@.hotpink;more obedient@@ and @@.mediumaquamarine;more tolerant,@@
-					<<set $slaves[$i].devotion += 1>>
-					<<set $slaves[$i].trust += 1>>
-				<<else>>
-					$He does $his best to @@.mediumaquamarine;stay strong,@@
-					<<set $slaves[$i].trust += 1>>
-				<</if>>
-				since $he knows $he will be free if $his prick can spurt just a bit more jizz.
-			<</if>>
-		<</if>>
-		<<if $policies.retirement.births > 0>>
-			<<if $slaves[$i].counter.births >= $policies.retirement.births*0.6>>
-				<<if $slaves[$i].devotion >= -20>>
-					$He's @@.hotpink;more obedient@@ and @@.mediumaquamarine;more tolerant,@@
-					<<set $slaves[$i].devotion += 1>>
-					<<set $slaves[$i].trust += 1>>
-				<<else>>
-					$He does $his best to @@.mediumaquamarine;stay strong,@@
-					<<set $slaves[$i].trust += 1>>
-				<</if>>
-				since $he knows $he only has to successfully breed a little more to be free.
-			<</if>>
-		<</if>>
-		<<if $policies.retirement.kills > 0>>
-			<<if $slaves[$i].counter.pitKills >= $policies.retirement.kills*0.6>>
-				<<if $slaves[$i].devotion >= -20>>
-					$He's @@.hotpink;more obedient@@ and @@.mediumaquamarine;more tolerant,@@
-					<<set $slaves[$i].devotion += 1>>
-					<<set $slaves[$i].trust += 1>>
-				<<else>>
-					$He does $his best to @@.mediumaquamarine;stay strong,@@
-					<<set $slaves[$i].trust += 1>>
-				<</if>>
-				since $he knows just a bit more murder in the pit will win $his freedom.
-			<</if>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<</if>> /* CLOSES RETIREMENT */
-
-<<if assignmentVisible($slaves[$i])>>
-	<<if $personalAttention == "sex">>
-		<<if $freeSexualEnergy > 0>>
-			<<if $freeSexualEnergy == 3>>
-				$He gets a lot of sexual attention from you, since you don't have nearly enough dedicated fucktoys to sate your libido, and this @@.hotpink;<<if $slaves[$i].devotion > 50>>intensifies $his love for you<<else>>forces $him to get used to sex slavery<</if>>.@@
-			<<elseif $freeSexualEnergy == 2>>
-				$He receives some sexual attention from you, since you don't have enough dedicated fucktoys to sate your libido, and this @@.hotpink;<<if $slaves[$i].devotion > 50>>builds $his closeness to you<<else>>gets $him used to being your sex slave<</if>>.@@
-			<<else>>
-				$He receives occasional sexual attention from you, since you barely have enough dedicated fucktoys to sate your libido, @@.hotpink;<<if $slaves[$i].devotion > 50>>making $him feel closer to you<<else>>keeping $him aware $he's your sex slave<</if>>.@@
-			<</if>>
-			<<set $slaves[$i].devotion += $freeSexualEnergy>>
-			<<set $slaves[$i].counter.oral += $freeSexualEnergy>>
-			<<set $oralTotal += $freeSexualEnergy>>
-			<<if canDoVaginal($slaves[$i]) && $slaves[$i].vagina > 0>>
-				<<set $slaves[$i].counter.vaginal += $freeSexualEnergy>>
-				<<set $vaginalTotal += $freeSexualEnergy>>
-			<</if>>
-			<<if canDoAnal($slaves[$i]) && $slaves[$i].anus > 0>>
-				<<set $slaves[$i].counter.anal += $freeSexualEnergy>>
-				<<set $analTotal += $freeSexualEnergy>>
-			<</if>>
-			<<if $slaves[$i].boobs > 500 && $PC.dick > 0>>
-				<<set $slaves[$i].counter.mammary += $freeSexualEnergy>>
-				<<set $mammaryTotal += $freeSexualEnergy>>
-			<</if>>
-			<<if ($slaves[$i].toyHole == "dick") && canPenetrate($slaves[$i])>>
-				<<set $slaves[$i].counter.penetrative += $freeSexualEnergy>>
-				<<set $penetrativeTotal += $freeSexualEnergy>>
-				<<if canImpreg($PC, $slaves[$i])>>
-					<<= knockMeUp($PC, $freeSexualEnergy, 0, $slaves[$i].ID, 1)>>
-				<</if>>
-				<<if $policies.sexualOpenness == 0>>
-					<<set $PC.degeneracy++>>
-				<</if>>
-			<</if>>
-		<</if>>
-	<</if>>
-<</if>>
-
-/* COLLECTIVE SPIRIT IMPACTS */
-
-<<if ($slaves.length > 3)>>
-	<<set _collectiveTrustEffect = 0>>
-	<<set _collectiveDevotionEffect = 0>>
-	<<if $enduringDevotion > 50>>
-		<<if $slaves[$i].devotion >= -20>>
-			<<if $slaves[$i].devotion <= 20>>
-				<<set _collectiveDevotionEffect = 1, $slaves[$i].devotion += 1>>
-				<<if assignmentVisible($slaves[$i])>><<set $slaves[$i].devotion += 1>><</if>>
-			<</if>>
-		<</if>>
-	<<elseif $enduringDevotion <= 0>>
-		<<if $slaves[$i].devotion <= 20>>
-			<<set _collectiveDevotionEffect = -1, $slaves[$i].devotion -= 1>>
-			<<if assignmentVisible($slaves[$i])>><<set $slaves[$i].devotion -= 1>><</if>>
-		<</if>>
-	<</if>>
-	<<if $enduringTrust > 50>>
-		<<if $slaves[$i].trust >= -20>>
-			<<if $slaves[$i].trust <= 20>>
-				<<set _collectiveTrustEffect = 1, $slaves[$i].trust += 1>>
-				<<if assignmentVisible($slaves[$i])>><<set $slaves[$i].trust += 1>><</if>>
-			<</if>>
-		<</if>>
-	<<elseif $enduringTrust <= 0>>
-		<<if $slaves[$i].trust <= 20>>
-			<<set _collectiveTrustEffect = -1, $slaves[$i].trust -= 1>>
-			<<if assignmentVisible($slaves[$i])>><<set $slaves[$i].trust -= 1>><</if>>
-		<</if>>
-	<</if>>
-	<<if _collectiveDevotionEffect == 1>>
-		<<if _collectiveTrustEffect == 1>>
-			Since $he's ambivalent and fearful, the @@.hotpink;collective devotion@@ @@.mediumaquamarine;and trust@@ of your slaves affect $him slightly.
-		<<elseif _collectiveTrustEffect == 0>>
-			Since $he's ambivalent about you, the @@.hotpink;collective devotion@@ your slaves feel for you affects $him slightly.
-		<<else>>
-			Since $he's ambivalent about you, the @@.hotpink;collective devotion@@ your slaves feel for you affects $him slightly, but their @@.gold;general fear@@ affects $him too.
-		<</if>>
-	<<elseif _collectiveDevotionEffect == 0>>
-		<<if _collectiveTrustEffect == 1>>
-			Since $he's fearful of you, the @@.mediumaquamarine;collective trust@@ your slaves place in you affects $him slightly.
-		<<elseif _collectiveTrustEffect == -1>>
-			Since $he doesn't trust you, the @@.gold;collective fear@@ your slaves feel for you affects $him slightly.
-		<</if>>
-	<<else>>
-		<<if _collectiveTrustEffect == 1>>
-			The @@.mediumorchid;collective anger@@ your slaves feel reinforces $his own feelings, but their @@.mediumaquamarine;collective trust@@ also affects $him slightly.
-		<<elseif _collectiveTrustEffect == 0>>
-			The @@.mediumorchid;collective anger@@ your slaves feel reinforces $his own feelings.
-		<<else>>
-			The @@.mediumorchid;collective anger@@ @@.gold;and fear@@ your slaves feel reinforce $his own feelings.
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if assignmentVisible($slaves[$i])>>
-	<<if ($arcade != 0) || (($dairy != 0) && ($dairyRestraintsSetting >= 2))>>
-		<<if $slaves[$i].devotion <= 95>>
-			$He knows about <<if $arcade != 0>>$arcadeName<<if ($dairy != 0) && ($dairyRestraintsSetting >= 2)>> and $dairyName<</if>><<else>>$dairyName<</if>>, and @@.gold;fears@@ that you might send $him there.
-			<<set $slaves[$i].trust -= 1>>
-		<<else>>
-			$He knows some of your other slaves meet terrible, industrial fates, but $he loves you so much that $he tries not to think about it.
-		<</if>>
-	<</if>>
-<</if>>
-
-/* STAT CROSSOVERS */
-
-<<if $slaves[$i].trust >= -20>>
-	<<if $slaves[$i].devotion > 95>>
-		<<if $slaves[$i].trust <= 20>>
-			$slaves[$i].slaveName loves you, so $he finds $himself @@.mediumaquamarine;fearing you a little less.@@
-			<<set $slaves[$i].trust += 1>>
-		<<elseif $slaves[$i].trust <= 50>>
-			$slaves[$i].slaveName loves you, so $he finds $himself @@.mediumaquamarine;trusting you a little more.@@
-			<<set $slaves[$i].trust += 1>>
-		<</if>>
-	<<elseif $slaves[$i].devotion > 60>>
-		<<if $slaves[$i].trust <= 20>>
-			$slaves[$i].slaveName is devoted to you, so $he finds $himself @@.mediumaquamarine;fearing you a little less.@@
-			<<set $slaves[$i].trust += 1>>
-		<</if>>
-	<<elseif $slaves[$i].devotion < -50>>
-		<<if $slaves[$i].trust > 20>>
-			$slaves[$i].slaveName hates you, but also doesn't fear you, @@.orangered;bolstering $his disobedience.@@
-			<<set $slaves[$i].trust += 5>>
-		<<else>>
-			$slaves[$i].slaveName hates you, so $he finds $himself @@.gold;trusting you a little less.@@
-			<<set $slaves[$i].trust -= 2>>
-		<</if>>
-	<</if>>
-<</if>>
-<<if $slaves[$i].trust > 95>>
-	<<if $slaves[$i].devotion < -20>>
-		$slaves[$i].slaveName feels no threat from you, so $he finds it easy to @@.mediumorchid;express $his hatred of you.@@
-		<<set $slaves[$i].devotion -= 10>>
-	<<elseif $slaves[$i].devotion <= 20>>
-		$slaves[$i].slaveName trusts you implicitly, so $he finds $himself @@.hotpink;hating you a little less.@@
-		<<set $slaves[$i].devotion += 1>>
-	<<elseif $slaves[$i].devotion <= 50>>
-		$slaves[$i].slaveName trusts you implicitly, so $he finds $himself @@.hotpink;liking you a little more.@@
-		<<set $slaves[$i].devotion += 1>>
-	<</if>>
-<<elseif $slaves[$i].trust > 50>>
-	<<if $slaves[$i].devotion < -20>>
-		$slaves[$i].slaveName finds you non-threatening, so it's easy for $him to @@.mediumorchid;defy you.@@
-		<<set $slaves[$i].devotion -= 5>>
-	<<elseif $slaves[$i].devotion <= 20>>
-		$slaves[$i].slaveName trusts you, so $he finds $himself @@.hotpink;hating you a little less.@@
-		<<set $slaves[$i].devotion += 1>>
-	<</if>>
-<<elseif $slaves[$i].trust < -50>>
-	<<if $slaves[$i].devotion >= -20>>
-		<<if $slaves[$i].devotion <= 50>>
-			$slaves[$i].slaveName is so terrified of you that $he tries desperately to avoid punishment, @@.hotpink;which is sometimes indistinguishable from devotion.@@
-			<<set $slaves[$i].devotion += 2>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].trust < -20>>
-	<<if $slaves[$i].devotion > 20>>
-		<<if $slaves[$i].devotion <= 50>>
-			$slaves[$i].slaveName is scared of you, but not truly terrified, so $he feels safe in @@.mediumorchid;hating the worst parts of being your sex slave.@@
-			<<set $slaves[$i].devotion -= 2>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if ($slaves[$i].tankBaby > 0)>>
-	<<if ($slaves[$i].devotion <= 95)>>
-		The tank's imprinting systems left a @@.hotpink;deep, subconscious <<if $slaves[$i].tankBaby == 2>>need<<else>>desire<</if>>@@ to serve $his owner.
-	<</if>>
-<</if>>
-
-<<if $slaves[$i].sexualQuirk == "unflinching">>
-	<<if ($slaves[$i].devotion <= 95)>>
-		<<if ($slaves[$i].devotion < $slaves[$i].oldDevotion)>>
-			$His unflinching nature leads $him to forget some of the unpleasant things $he's experienced this week, @@.hotpink;reducing their impact on $his feelings about you.@@
-			<<set $slaves[$i].devotion += ($slaves[$i].oldDevotion - $slaves[$i].devotion)/2>>
-		<</if>>
-	<</if>>
-<<elseif $slaves[$i].health.tired > 30>>
-	<<if ($slaves[$i].devotion <= 50)>>
-		<<if ($slaves[$i].devotion < $slaves[$i].oldDevotion)>>
-			Some of the less unpleasant things done to $him this week slip $his tired mind, @@.hotpink;reducing their impact on $his feelings about you.@@
-			<<set $slaves[$i].devotion += Math.trunc(($slaves[$i].oldDevotion - $slaves[$i].devotion)/4)>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if $slaves[$i].health.tired > 30>>
-	<<if ($slaves[$i].trust >= -50)>>
-		<<if ($slaves[$i].trust < $slaves[$i].oldTrust)>>
-			In $his tired state, $he begins to recall things as @@.gold;worse than they actually were.@@
-			<<set $slaves[$i].trust -= ($slaves[$i].oldTrust - $slaves[$i].trust)/2>>
-		<</if>>
-	<</if>>
-<</if>>
-
-/* CAPS ON DEVOTION GAIN */
-
-<<if $slaves[$i].tankBaby == 1>>
-	The incubation facility conditioned $his mind for total subservience to $his owner; $he cannot resist $his progress.
-<<elseif $slaves[$i].tankBaby == 2>>
-	The incubation facility conditioned $his mind for total reverence of $his owner; $he cannot resist $his progress.
-<<elseif $slaves[$i].devotion >= -20>>
-	<<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>>
-		<<if $arcologies[0].FSChattelReligionist >= random(1,100)>>
-			The natural resilience of $his mind is overcome by the omnipresent combination of faith and servitude in $arcologies[0].name, and $he does not resist $his progress down the path towards total subservience.
-		<<elseif Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-			$He gained so much regard for you this week that $his natural reaction is to rebound a little, but since you're giving $him personal attention, your charismatic presence prevents this.
-		<<elseif $slaves[$i].devotion < 95>>
-			So many things served to drive $him into subservience this week that $his mind @@.mediumorchid;rebounds a little.@@
-			<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
-		<</if>>
-	<</if>>
-<<else>>
-	<<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>>
-		<<if $slaves[$i].behavioralFlaw == "arrogant">>
-			Though $he made progress this week, @@.mediumorchid;it is limited by $his arrogance.@@
-			<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
-		<<elseif ($slaves[$i].behavioralFlaw == "bitchy") && canTalk($slaves[$i])>>
-			Though $he made progress this week, @@.mediumorchid;it is limited by the independence $he regains by making snide comments.@@
-			<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
-		<<elseif $slaves[$i].behavioralFlaw == "devout">>
-			Though $he made progress this week, @@.mediumorchid;it is limited by the independence $he regains through reliance on $his faith.@@
-			<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
-		<<elseif $slaves[$i].behavioralFlaw == "liberated">>
-			Though $he made progress this week, @@.mediumorchid;it is limited by the independence $he retains due to $his moral convictions that this is wrong.@@
-			<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
-		<</if>>
-	<</if>>
-<</if>>
-
-/* CAPS ON TRUST GAIN */
-
-<<if $slaves[$i].tankBaby == 1>>
-	Any natural doubts $he has are overcome by $his conditioning in the incubation facility; $he cannot resist trusting $his owner.
-<<elseif $slaves[$i].trust >= -20>>
-	<<if $slaves[$i].trust >= ($slaves[$i].oldTrust+5)>>
-		<<if $arcologies[0].FSChattelReligionist >= random(1,100)>>
-			Any natural doubts $he harbors are overcome by $his belief in Chattel Religionism, and $he does not resist $his progress down the path towards total trust in you.
-		<<elseif Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
-			$He gained so much trust in you this week that $his natural reaction is to doubt $himself, but since you're giving $him personal attention, $he decides to trust $his understanding of your will.
-		<<elseif $slaves[$i].trust < 95>>
-			$He gained so much trust in you this week that $he @@.gold;draws back a little@@ out of self-doubt.
-			<<set $slaves[$i].trust = ($slaves[$i].oldTrust+5)>>
-		<</if>>
-	<</if>>
-<<else>>
-	<<if $slaves[$i].trust >= ($slaves[$i].oldTrust+5)>>
-		<<if ($slaves[$i].behavioralFlaw == "odd") && ($slaves[$i].collar != "shock punishment")>>
-			Though $he made progress this week, @@.gold;it is limited by $his preoccupation with $his own oddities.@@
-			<<set $slaves[$i].trust = ($slaves[$i].oldTrust+5)>>
-		<</if>>
-	<</if>>
-<</if>>
-
-<<if ($slaves[$i].devotion > 100) && ($slaves[$i].trust > 100) && ($slaves[$i].energy > 50)>>
-	$His perfect devotion and trust @@.green;improve your reputation.@@
-	<<run repX(10*($slaves[$i].devotion-100), "slavesViewOfPC", $slaves[$i])>>
-	<<set $slaves[$i].devotion = 100>>
-	<<run repX(10*($slaves[$i].trust-100), "slavesViewOfPC", $slaves[$i])>>
-	<<set $slaves[$i].trust = 100>>
-<<else>>
-	<<if ($slaves[$i].devotion > 100)>>
-		<<if ($slaves[$i].trust < 100) && ($slaves[$i].trust > 20)>>
-			<<set $slaves[$i].trust += Math.trunc(($slaves[$i].devotion-100)*5)/10>>
-		<<elseif $slaves[$i].energy <= 50>>
-			<<set _energyPlus += Math.trunc($slaves[$i].devotion-100)>>
-		<<else>>
-			$His extreme devotion @@.green;improved your reputation.@@
-			<<run repX(10*($slaves[$i].devotion-100), "slavesViewOfPC", $slaves[$i])>>
-		<</if>>
-		<<set $slaves[$i].devotion = 100>>
-	<<elseif $slaves[$i].devotion > 95>>
-		<<set $slaves[$i].devotion = 100>>
-	<<elseif ($slaves[$i].devotion < -95)>>
-		<<set $slaves[$i].devotion = -100>>
-	<</if>>
-	<<if ($slaves[$i].trust > 100)>>
-		<<if $slaves[$i].devotion < 100 && $slaves[$i].devotion > 20>>
-			<<set $slaves[$i].devotion += Math.trunc($slaves[$i].trust-100)>>
-		<<elseif $slaves[$i].devotion < -50>>
-			$His blatant disregard for your rule @@.red;damages your reputation.@@
-			<<run repX(30*($slaves[$i].trust-100), "slavesViewOfPC", $slaves[$i])>>
-		<<elseif $slaves[$i].energy <= 50>>
-			<<set _energyPlus += Math.trunc($slaves[$i].trust-100)>>
-		<<else>>
-			$His extreme trust @@.green;improved your reputation.@@
-			<<run repX(10*($slaves[$i].trust-100), "slavesViewOfPC", $slaves[$i])>>
-		<</if>>
-		<<set $slaves[$i].trust = 100>>
-	<<elseif $slaves[$i].trust > 95>>
-		<<set $slaves[$i].trust = 100>>
-	<<elseif ($slaves[$i].trust < -95)>>
-		<<set $slaves[$i].trust = -100>>
-	<</if>>
-<</if>>
-<<if (_energyPlus > 0)>>
-	$His confidence in $his sexuality @@.green;improved $his low sex drive.@@
-	<<set $slaves[$i].energy += _energyPlus>>
-<</if>>
-
-<<if ($slaves[$i].devotion > 95)>>
-	$slaves[$i].slaveName's @@.magenta;worshipfulness is beyond improvement,@@ and $his
-<<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.hotpink;devotion increased@@ and $his
-<<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion == $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.yellow;devotion did not change@@ and $his
-<<elseif ($slaves[$i].devotion > 50)>>
-	$slaves[$i].slaveName's @@.mediumorchid;devotion dropped@@ and $his
-<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.hotpink;regard for you increased@@ and $his
-<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion == $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.yellow;regard for you did not change@@ and $his
-<<elseif ($slaves[$i].devotion >= -20)>>
-	$slaves[$i].slaveName's @@.mediumorchid;regard for you dropped@@ and $his
-<<elseif ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.hotpink;resistance dropped@@ and $his
-<<elseif ($slaves[$i].devotion == $slaves[$i].oldDevotion)>>
-	$slaves[$i].slaveName's @@.yellow;resistance did not change@@ and $his
-<<else>>
-	$slaves[$i].slaveName's @@.mediumorchid;resistance increased@@ and $his
-<</if>>
-
-<<if $slaves[$i].devotion < -20>>
-	<<if ($slaves[$i].trust > 95)>>
-		@@.darkred;fear of you is non existent.@@
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust > $slaves[$i].oldTrust)>>
-		@@.orangered;fear of you@@ dropped this week.
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust == $slaves[$i].oldTrust)>>
-		@@.yellow;fear did not change@@ this week.
-	<<elseif ($slaves[$i].trust > 20)>>
-		@@.green;fear increased@@ this week.
-	<<elseif ($slaves[$i].trust > $slaves[$i].oldTrust)>>
-		@@.mediumaquamarine;fear dropped@@ this week.
-	<<elseif ($slaves[$i].trust == $slaves[$i].oldTrust)>>
-		@@.yellow;fear did not change@@ this week.
-	<<else>>
-		@@.gold;fear increased@@ this week.
-	<</if>>
-<<else>>
-	<<if ($slaves[$i].trust > 95)>>
-		@@.seagreen;trust in you is total.@@
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust > $slaves[$i].oldTrust)>>
-		@@.mediumaquamarine;trust improved@@ this week.
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust == $slaves[$i].oldTrust)>>
-		@@.yellow;trust did not change@@ this week.
-	<<elseif ($slaves[$i].trust > 20)>>
-		@@.gold;trust dropped@@ this week.
-	<<elseif ($slaves[$i].trust > $slaves[$i].oldTrust)>>
-		@@.mediumaquamarine;fear dropped@@ this week.
-	<<elseif ($slaves[$i].trust == $slaves[$i].oldTrust)>>
-		@@.yellow;fear did not change@@ this week.
-	<<else>>
-		@@.gold;fear increased@@ this week.
-	<</if>>
-<</if>>
-
-<<if ($slaves[$i].devotion > 50) && ($slaves[$i].oldDevotion <= 50)>>
-	@@.green;$He has gone from accepting $his position to being devoted to you!@@
-	<<set $slaves[$i].devotion += 1>>
-<<elseif ($slaves[$i].devotion > 20) && ($slaves[$i].oldDevotion <= 20)>>
-	@@.green;$He has gone from being ambivalent toward you to accepting your ownership of $him!@@
-	<<set $slaves[$i].devotion += 1>>
-<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].oldDevotion < -20)>>
-	@@.green;$He has gone from disliking you to being ambivalent about you!@@
-	<<set $slaves[$i].devotion += 1>>
-<<elseif ($slaves[$i].devotion >= -50) && ($slaves[$i].oldDevotion < -50)>>
-	@@.green;$He has gone from hating you to merely disliking you!@@
-	<<set $slaves[$i].devotion += 1>>
-<</if>>
-
-<<if $slaves[$i].devotion < -20>>
-	<<if ($slaves[$i].trust > 50) && ($slaves[$i].oldTrust <= 50)>>
-		@@.red;$He has gone from being careful around you to showing open defiance!@@
-		<<set $slaves[$i].trust++>>
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].oldTrust <= 20)>>
-		@@.yellow;$He has gone from fearing you to merely being careful around you!@@
-		<<set $slaves[$i].trust++>>
-	<<elseif ($slaves[$i].trust >= -20) && ($slaves[$i].oldTrust < -20)>>
-		@@.yellow;$He has gone from being afraid of you to being merely fearful!@@
-		<<set $slaves[$i].trust++>>
-	<<elseif ($slaves[$i].trust >= -50) && ($slaves[$i].oldTrust < -50)>>
-		@@.yellow;$He has gone from being terrified to being merely afraid of you!@@
-		<<set $slaves[$i].trust++>>
-	<</if>>
-<<else>>
-	<<if ($slaves[$i].trust > 50) && ($slaves[$i].oldTrust <= 50)>>
-		@@.green;$He has gone from being careful around you to trusting you!@@
-		<<set $slaves[$i].trust += 1>>
-	<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].oldTrust <= 20)>>
-		@@.green;$He has gone from fearing you to merely being careful around you!@@
-		<<set $slaves[$i].trust += 1>>
-	<<elseif ($slaves[$i].trust >= -20) && ($slaves[$i].oldTrust < -20)>>
-		@@.green;$He has gone from being afraid of you to being merely fearful!@@
-		<<set $slaves[$i].trust += 1>>
-	<<elseif ($slaves[$i].trust >= -50) && ($slaves[$i].oldTrust < -50)>>
-		@@.green;$He has gone from being terrified to being merely afraid of you!@@
-		<<set $slaves[$i].trust += 1>>
-	<</if>>
-<</if>>
-
-<<if ($slaves[$i].trust < -20) && ($slaves[$i].oldTrust >= -20)>>
-	<<if ($slaves[$i].devotion <= 20)>>
-		@@.green;$He has gone from merely fearing you to actively being afraid of you!@@
-		<<set $slaves[$i].trust -= 2>>
-	<</if>>
-<</if>>
-
-/* done stealthily to make the slave's progression seem natural */
-<<if ($slaves[$i].rudeTitle == 1) && ($slaves[$i].devotion >= -50)>>
-	<<set $slaves[$i].custom.title = "", $slaves[$i].custom.titleLisp = "", $slaves[$i].rudeTitle = 0>>
-<</if>>
-
-<<else>> /* IS FUCKDOLL */
-
-$He is confined in a suit that limits $his perception of the outside world to tonal commands from the suit itself and things that are inserted into $his mouth<<if $slaves[$i].vagina > -1>>, vagina,<</if>> and anus.
-<<if $slaves[$i].sexualFlaw == "self hating">>
-	$His self hatred @@.gold;cannot eliminate the growing fear@@ engendered by $his remaining spark of self-preservation.
-	<<set $slaves[$i].trust -= 5>>
-<<elseif $slaves[$i].trust > 50>>
-	$He still hopes you'll let $him out of $his suit so $he can be your good slave again, but @@.gold;fear and doubt creep in@@ by the minute. And there are a lot of them.
-<<else>>
-	With little to do but <<if $slaves[$i].fuckdoll <= 60>>wonder if $he's about to be used<<else>>desperately hope $he'll be used soon<</if>>, $he dwells on the @@.gold;horrible fear@@ that this dark existence will be perpetual.
-<</if>>
-<<set $slaves[$i].trust -= 10>>
-<<if $slaves[$i].sexualFlaw == "self hating">>
-	$He knows to $his core that $he deserves this, @@.mediumorchid;slowing but not stopping $his descent into depression.@@
-	<<set $slaves[$i].devotion += 5>>
-<<elseif $slaves[$i].devotion > 50>>
-	$He spirals through @@.mediumorchid;obsessive depression,@@ wondering what $he did to deserve this fate.
-<<else>>
-	In the silence and darkness between the times $he's used, $he has little to do but @@.mediumorchid;hate you.@@
-<</if>>
-<<set $slaves[$i].devotion -= 10>>
-
-<</if>> /* CLOSES FUCKDOLL CHECK */
-<</if>> /* CLOSES MINDBROKEN CHECK */
diff --git a/src/uncategorized/saLiveWithHG.tw b/src/uncategorized/saLiveWithHG.tw
index 3a42696f9ad..cada2ecd36b 100644
--- a/src/uncategorized/saLiveWithHG.tw
+++ b/src/uncategorized/saLiveWithHG.tw
@@ -1039,7 +1039,7 @@
 	<<run App.SlaveAssignment.drugs($slaves[$i])>>
 	<<run App.SlaveAssignment.relationships($slaves[$i])>>
 	<<run App.SlaveAssignment.rivalries($slaves[$i])>>
-	<<include "SA devotion">>
+	<<run App.SlaveAssignment.devotion($slaves[$i])>>
 	<</silently>>
 <<else>>
 	/*<<= App.SlaveAssignment.choosesOwnClothes($slaves[$i])>>*/
@@ -1049,7 +1049,7 @@
 	<<= App.SlaveAssignment.drugs($slaves[$i])>>
 	<<= App.SlaveAssignment.relationships($slaves[$i])>>
 	<<= App.SlaveAssignment.rivalries($slaves[$i])>>
-	<br><<include "SA devotion">>
+	<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion($slaves[$i])>>
 <</if>>
 
 <<unset $HGTastes>>
diff --git a/src/uncategorized/spaReport.tw b/src/uncategorized/spaReport.tw
index 1d79263d41a..76ed0fd2d6c 100644
--- a/src/uncategorized/spaReport.tw
+++ b/src/uncategorized/spaReport.tw
@@ -237,7 +237,7 @@
 		<<= App.SlaveAssignment.drugs(_S.Attendant)>>
 		<<= App.SlaveAssignment.relationships(_S.Attendant)>>
 		<<= App.SlaveAssignment.rivalries(_S.Attendant)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_S.Attendant)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnClothes(_S.Attendant)>>
@@ -248,7 +248,7 @@
 		<<run App.SlaveAssignment.drugs(_S.Attendant)>>
 		<<run App.SlaveAssignment.relationships(_S.Attendant)>>
 		<<run App.SlaveAssignment.rivalries(_S.Attendant)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_S.Attendant)>>
 		<</silently>>
 	<</if>>
 <</if>>
@@ -345,7 +345,7 @@
 		<<= App.SlaveAssignment.drugs(_slave)>>
 		<<= App.SlaveAssignment.relationships(_slave)>>
 		<<= App.SlaveAssignment.rivalries(_slave)>>
-		<br><<include "SA devotion">>
+		<br>&nbsp;&nbsp;&nbsp;&nbsp;<<= App.SlaveAssignment.devotion(_slave)>>
 	<<else>>
 		<<silently>>
 		<<run App.SlaveAssignment.choosesOwnJob(_slave)>>
@@ -357,7 +357,7 @@
 		<<run App.SlaveAssignment.drugs(_slave)>>
 		<<run App.SlaveAssignment.relationships(_slave)>>
 		<<run App.SlaveAssignment.rivalries(_slave)>>
-		<<include "SA devotion">>
+		<<run App.SlaveAssignment.devotion(_slave)>>
 		<</silently>>
 	<</if>>
 <</for>>
-- 
GitLab