code:
:: SA devotion [nobr]

<<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>>

<<set $energyPlus = 0>>

<<if $slaves[$i].origin == "You were acquainted with her before you were an arcology owner; your rival tried to use $him to manipulate you, but you rescued her.">>
	<<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 woman.
			<<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].penetrativeCount += 7>>
	<<else>>
		<<set $slaves[$i].penetrativeCount += 3>>
	<</if>>
<</if>>

<<if $slaves[$i].PCKnockedUp > 0 && $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0 && $slaves[$i].devotion < -20>>
	<<set _pregCountFactor = $slaves[$i].PCKnockedUp*5>>
	$He got you pregnant<<if $slaves[$i].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].PCChildrenFathered > 0>>
		Even better; you gave birth to $his child<<if $slaves[$i].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 $nicaeaFocus == "slaves">>
		The creed of $nicaeaName @@.hotpink;focuses on slaves@@ and is repeated constantly all around $him.
		<<set $slaves[$i].devotion += $nicaeaPower>>
	<</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 && $PhysicalRetirementAgePolicy != 1>>
<<if ($CitizenRetirement == 1)>>
	<<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.@@
			<<= FSChange("Paternalist", 2)>>
		<<else>>
			@@.green;improves your reputation.@@
			<<set $repGain += $FSSingleSlaveRep*2>>
		<</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.@@
			<<= FSChange("Paternalist", 2)>>
		<<else>>
			@@.green;improves your reputation.@@
			<<set $repGain += $FSSingleSlaveRep>>
		<</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 ($BioreactorRetirement == 1)>>
	<<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 ($ArcadeRetirement == 1)>>
	<<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 && $PhysicalRetirementAgePolicy == 1>>
<<if ($CitizenRetirement == 1)>>
	<<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.@@
			<<= FSChange("Paternalist", 2)>>
		<<else>>
			@@.green;improves your reputation.@@
			<<set $repGain += $FSSingleSlaveRep*2>>
		<</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.@@
			<<= FSChange("Paternalist", 2)>>
		<<else>>
			@@.green;improves your reputation.@@
			<<set $repGain += $FSSingleSlaveRep>>
		<</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 ($BioreactorRetirement == 1)>>
	<<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 ($ArcadeRetirement == 1)>>
	<<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 ($CitizenRetirement == 1)>>
<<if ($slaves[$i].devotion <= 95) || ($slaves[$i].trust <= 95)>>
<<if $SexMilestoneRetirement == 1>>
	<<if $slaves[$i].oralCount + $slaves[$i].analCount + $slaves[$i].vaginalCount + $slaves[$i].penetrativeCount + $slaves[$i].mammaryCount >= $retirementSex*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 $MilkMilestoneRetirement == 1>>
	<<if $slaves[$i].milk >= $retirementMilk*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 $CumMilestoneRetirement == 1>>
	<<if $slaves[$i].cum >= $retirementCum*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 $BirthsMilestoneRetirement == 1>>
	<<if $slaves[$i].births >= $retirementBirths*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 $KillsMilestoneRetirement == 1>>
	<<if $slaves[$i].pitKills >= $retirementKills*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 $slaves[$i].assignmentVisible == 1>>
<<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].oralCount += $freeSexualEnergy>>
	<<set $oralTotal += $freeSexualEnergy>>
	<<if canDoVaginal($slaves[$i]) && $slaves[$i].vagina > 0>>
		<<set $slaves[$i].vaginalCount += $freeSexualEnergy>>
		<<set $vaginalTotal += $freeSexualEnergy>>
	<</if>>
	<<if canDoAnal($slaves[$i]) && $slaves[$i].anus > 0>>
		<<set $slaves[$i].analCount += $freeSexualEnergy>>
		<<set $analTotal += $freeSexualEnergy>>
	<</if>>
	<<if $slaves[$i].boobs > 500 && $PC.dick > 0>>
		<<set $slaves[$i].mammaryCount += $freeSexualEnergy>>
		<<set $mammaryTotal += $freeSexualEnergy>>
	<</if>>
	<<if ($slaves[$i].toyHole == "dick") && canPenetrate($slaves[$i])>>
		<<set $slaves[$i].penetrativeCount += $freeSexualEnergy>>
		<<set $penetrativeTotal += $freeSexualEnergy>>
		<<if canImpreg($PC, $slaves[$i])>>
			<<= knockMeUp($PC, $freeSexualEnergy, 0, $slaves[$i].ID, 1)>>
		<</if>>
		<<if $sexualOpeness == 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 $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].devotion += 1>><</if>>
	<</if>>
	<</if>>
<<elseif $enduringDevotion <= 0>>
	<<if $slaves[$i].devotion <= 20>>
		<<set _collectiveDevotionEffect = -1, $slaves[$i].devotion -= 1>>
		<<if $slaves[$i].assignmentVisible == 1>><<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 $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].trust += 1>><</if>>
	<</if>>
	<</if>>
<<elseif $enduringTrust <= 0>>
	<<if $slaves[$i].trust <= 20>>
		<<set _collectiveTrustEffect = -1, $slaves[$i].trust -= 1>>
		<<if $slaves[$i].assignmentVisible == 1>><<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 $slaves[$i].assignmentVisible == 1>>
<<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 $activeSlave.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>>
<</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 $slaves[$i].tankBaby == 1>>
			The incubation facility conditioned $his mind for total subservience to $his owner; $he cannot resist $his progress.
		<<elseif $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].tankBaby == 1>>
		The incubation facility conditioned $his mind for total subservience to $his owner; $he cannot resist $his progress.
	<<elseif $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].trust >= -20>>
	<<if $slaves[$i].trust >= ($slaves[$i].oldTrust+5)>>
		<<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 $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].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].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.@@
	<<set $repGain += 10*($slaves[$i].devotion-100)>>
	<<set $slaves[$i].devotion = 100>>
	<<set $repGain += 10*($slaves[$i].trust-100)>>
	<<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.@@
			<<set $repGain += 10*($slaves[$i].devotion-100)>>
		<</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.@@
			<<set $repGain -= 30*($slaves[$i].trust-100)>>
		<<elseif $slaves[$i].energy <= 50>>
			<<set $energyPlus += Math.trunc($slaves[$i].trust-100)>>
		<<else>>
			$His extreme trust @@.green;improved your reputation.@@
			<<set $repGain += 10*($slaves[$i].trust-100)>>
		<</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].customTitle = "", $slaves[$i].customTitleLisp = "", $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 $activeSlave.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 $activeSlave.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 */