code:
:: SA chooses own clothes [nobr]

<<set $bellyAccessory to $slaves[$i].bellyAccessory>>

<<if ($slaves[$i].devotion <= 20)>>
	and uses the ability to select outfits to cover up with comfortable cut-offs and a t-shirt,
	<<set $slaves[$i].clothes to "cutoffs and a t-shirt">>
	<<if ($slaves[$i].amp != 1)>>
	<<if ($slaves[$i].heels == 0)>>
	and wears comfortable flats,
	<<set $slaves[$i].shoes to "flats">>
	<<else>>
	and angrily wears the heels she needs to walk,
	<<set $slaves[$i].shoes to "heels">>
	<</if>>
	<</if>>
	@@color:mediumorchid;increasing her independence.@@

<<else>>
	She @@color:hotpink;loves@@ being able to dress herself,

<<if ($arcologies[0].FSEgyptianRevivalist > 0)>>
	dons a wesekh to support your ancient Egyptian pretensions,
	<<set $slaves[$i].collar to "ancient Egyptian">>
<</if>>

<<if ($arcologies[0].FSRepopulationFocus > 0) && ($slaves[$i].preg <= 10) && ($slaves[$i].bellyImplant < 2000) && ($slaves[$i].inflation == 0) && $slaves[$i].sexualFlaw != "breeder">>
	straps on a fake pregnant belly to fit in with all the other pregnant girls,
	<<set $slaves[$i].bellyAccessory to "a large empathy belly">>
<<elseif ($slaves[$i].preg <= 10) && $slaves[$i].inflation == 0 && ($slaves[$i].bellyImplant < 2000) && ($slaves[$i].fetish is "pregnancy") && ($clothesBoughtBelly == 1 || $cheatMode == 1 || $arcologies[0].FSRepopulationFocus != "unset") && $slaves[$i].sexualFlaw != "breeder">>
	<<if ($slaves[$i].fetishStrength <= 30)>>
	  <<set $bellySeed to random(1,3)>>
	  <<if $bellySeed == 1>>
		straps on a 1st trimester belly to satisfy her curiosity,
		<<set $slaves[$i].bellyAccessory to "a small empathy belly">>
	  <<elseif $bellySeed is 2>>
		straps on a 2nd trimester belly to satisfy her curiosity,
		<<set $slaves[$i].bellyAccessory to "a medium empathy belly">>
	  <<else>>
		straps on a 3rd trimester belly to satisfy her curiosity,
		<<set $slaves[$i].bellyAccessory to "a large empathy belly">>
	  <</if>>
	<<elseif ($slaves[$i].fetishStrength < 60)>>
	  straps on a 3rd trimester belly to satisfy her pregnancy fetish,
	  <<set $slaves[$i].bellyAccessory to "a large empathy belly">>
	<<elseif ($slaves[$i].fetishStrength > 95)>>
	  straps on the largest belly she can find to satisfy her pregnancy fetish,
	  <<set $slaves[$i].bellyAccessory to "a huge empathy belly">>
	<</if>>
<<elseif ($fakeBellies.contains($bellyAccessory)) && ($slaves[$i].fetish != "pregnancy")>>
	removes her fake belly, since she dislikes it,
	<<set $slaves[$i].bellyAccessory to "none">>
<<elseif ($fakeBellies.contains($bellyAccessory)) && ($slaves[$i].sexualFlaw == "breeder")>>
	pulls her fake belly off, disgusted by it,
	<<set $slaves[$i].bellyAccessory to "none">>
<</if>>

<<if ($arcologies[0].FSChattelReligionist > 0)>>
	and wears a chattel habit to conform to your arcology's culture.
	<<set $slaves[$i].clothes to "a chattel habit">>
<<elseif ($arcologies[0].FSEgyptianRevivalist > 0) && (random(1,3) == 1)>>
	and complements it with golden bangles, since no clothing is necessary for a sex slave in your warm and sunny arcology.
	<<set $slaves[$i].clothes to "slutty jewelry">>
<<elseif ($arcologies[0].FSRomanRevivalist > 0) && (random(1,3) == 1)>>
	and wears a toga to take part in your Roman revivalism.
	<<set $slaves[$i].clothes to "a toga">>
<<elseif ($arcologies[0].FSEdoRevivalist > 0) && (random(1,3) == 1)>>
	and wears a kimono, overjoyed that such lovely clothing is now appropriate.
	<<set $slaves[$i].clothes to "a kimono">>
<<elseif ($arcologies[0].FSArabianRevivalist > 0) && (random(1,3) == 1)>>
	and wears a harem outfit to look like a slave girl fit for a Sultan.
	<<set $slaves[$i].clothes to "harem gauze">>
<<elseif ($arcologies[0].FSChineseRevivalist > 0) && (random(1,3) == 1)>>
	and wears a brief qipao to show off and look Chinese at the same time.
	<<set $slaves[$i].clothes to "a slutty qipao">>
<<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>>
	and wears a cheerleader outfit to look like a hot slut.
	<<set $slaves[$i].clothes to "a cheerleader outfit">>
<<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>>
	and wears a bunny outfit to look like a slut from the glory days.
	<<set $slaves[$i].clothes to "a bunny outfit">>
<<elseif ($arcologies[0].FSPaternalist > 0) && (random(1,3) == 1)>>
	and wears conservative clothing, as permitted by your paternalism.
	<<set $slaves[$i].clothes to "conservative clothing">>
<<elseif ($arcologies[0].FSMaturityPreferentialist > 0) && (random(1,3) == 1) && ($slaves[$i].visualAge >= 30)>>
	and wears a slutty suit to look like the ideal horny older woman.
	<<set $slaves[$i].clothes to "slutty business attire">>
<<elseif ($arcologies[0].FSYouthPreferentialist > 0) && (random(1,3) == 1)>>
	and wears a schoolgirl outfit to look younger.
	<<set $slaves[$i].clothes to "a schoolgirl outfit">>
<<elseif ($arcologies[0].FSDegradationist > 0) && (random(1,3) == 1)>>
	and wears chains, to degrade herself as required by your societal goals.
	<<set $slaves[$i].clothes to "chains">>
<<elseif ($arcologies[0].FSPhysicalIdealist > 0) && (random(1,3) == 1)>>
	and coats herself in body oil to show off how she's part of your physical idealism.
	<<set $slaves[$i].clothes to "body oil">>
<<elseif ($arcologies[0].FSPastoralist > 0) && (random(1,3) == 1)>>
	and wears Western clothing, since she thinks it fits with pastoralism.
	<<set $slaves[$i].clothes to "Western clothing">>
<<elseif ($arcologies[0].FSBodyPurist > 0) && (random(1,3) == 1)>>
	and wears a leotard to show off the purity of her body.
	<<set $slaves[$i].clothes to "a leotard">>
<<elseif ($slaves[$i].behavioralQuirk is "sinful") and (random(1,3) == 1)>>
	and dresses up like a succubus because it makes her feel naughty.
	<<set $slaves[$i].clothes to "a succubus outfit">>
<<elseif ($slaves[$i].assignment is "guard you")>>
	<<if random(1,2) == 1>>
	and wears a bodysuit to show off her curves without hindering her deadliness.
	<<set $slaves[$i].clothes to "a comfortable bodysuit">>
	<<else>>
	and wears a military uniform to look the part of the honor guard.
	<<set $slaves[$i].clothes to "a military uniform">>
	<</if>>
<<elseif ($slaves[$i].assignment is "be the Nurse")>>
	and wears a nice nurse outfit to look professional before her patients.
	<<set $slaves[$i].clothes to "a nice nurse outfit">>
<<elseif ($slaves[$i].assignment is "be your Recruiter")>>
	and wears a flattering mini dress to appear sexy and carefree before those desperately seeking a better life.
	<<set $slaves[$i].clothes to "a mini dress">>
<<elseif ($slaves[$i].assignment is "be the Madam")>>
	and wears a slutty suit to entice and arouse while still looking managerial.
	<<set $slaves[$i].clothes to "slutty business attire">>
<<elseif ($slaves[$i].assignment is "be the DJ")>>
	and wears clubslut netting to look like the perfect easy club girl.
	<<set $slaves[$i].clothes to "clubslut netting">>
<<elseif ($slaves[$i].assignment is "be the Milkmaid")>>
	and wears a sturdy maid outfit, since anything else might be damaged by her hard work with the cows.
	<<set $slaves[$i].clothes to "a nice maid outfit">>
<<elseif ($slaves[$i].assignment is "be the Collectrix")>>
	and wears a slutty nurse outfit to help keep her charges hard.
	<<set $slaves[$i].clothes to "a slutty nurse outfit">>
<<elseif ($slaves[$i].assignment is "be your Head Girl")>>
	and wears a handsome suit to give her that extra touch of authority.
	<<set $slaves[$i].clothes to "nice business attire">>
<<elseif ($slaves[$i].assignment is "be the Schoolteacher")>>
	and wears a schoolgirl outfit to help keep her charges on task.
	<<set $slaves[$i].clothes to "a schoolgirl outfit">>
<<elseif ($slaves[$i].assignment is "be the Attendant")>>
	and wears a string bikini, since it's all she can wear that won't be ruined by all the moisture in the spa.
	<<set $slaves[$i].clothes to "a string bikini">>
<<elseif ($slaves[$i].assignment is "be the Wardeness")>>
	and dons battledress, the better to intimidate the prisoners.
	<<set $slaves[$i].clothes to "battledress">>
<<elseif ($slaves[$i].assignment is "be your concubine")>>
	and goes naked, since it's her honored role to be the chief object of your desire.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "submissive")>>
	<<if random(1,2) == 1>>
	and wears restrictive latex to encourage others to dominate her.
	<<set $slaves[$i].clothes to "restrictive latex">>
	<<else>>
	and wears shibari ropes to encourage others to dominate her.
	<<set $slaves[$i].clothes to "shibari ropes">>
	<</if>>
<<elseif ($slaves[$i].fetishKnown == 1) and ($slaves[$i].fetish is "dom")>>
	<<if random(1,2) == 1>>
	and wears a handsome suit, since she likes other slaves to look up to her.
	<<set $slaves[$i].clothes to "nice business attire">>
	<<else>>
	and wears a full body latex catsuit to look the part of the whip cracking domme.
	<<set $slaves[$i].clothes to "a latex catsuit">>
	<</if>>
<<elseif ($slaves[$i].fetishKnown == 1) and ($slaves[$i].fetish is "masochist")>>
	and wears painfully restrictive bondage gear, since she likes the torment.
	<<set $slaves[$i].clothes to "uncomfortable straps">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "sadist")>>
	and wears an elegant gown, since she thinks it makes her look the part of the femme fatale.
	<<set $slaves[$i].clothes to "a slave gown">>
<<elseif ($slaves[$i].attrKnown == 1) && ($slaves[$i].attrXY > 85)>>
	and wears a schoolgirl outfit to show off a some T&A to attract boys.
	<<set $slaves[$i].clothes to "a schoolgirl outfit">>
<<elseif ($slaves[$i].attrKnown == 1) && ($slaves[$i].attrXX > 85)>>
	and wears a fashionable gown, since girls appreciate nice clothes.
	<<set $slaves[$i].clothes to "a slave gown">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "cumslut")>>
	and wears cut-offs and a t-shirt, because the fun yet relatively conservative outfit seems to encourage others to ask her for blowjobs.
	<<set $slaves[$i].clothes to "cutoffs and a t-shirt">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "humiliation")>>
	and wears leather straps with rings over her private parts because she enjoys the embarrassment such a humiliating outfit causes her.
	<<set $slaves[$i].clothes to "uncomfortable straps">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "buttslut")>>
	and wears nothing other than slutty bangles, because she likes to catch the eye without putting anything between cocks and her rear end.
	<<set $slaves[$i].clothes to "slutty jewelry">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "mindbroken")>>
	or would, if she were competent or sane.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "pregnancy")>>
	and wears a short maid dress, because she wants to look motherly and fuckable at the same time.
	<<set $slaves[$i].clothes to "a slutty maid outfit">>
<<elseif ($slaves[$i].energy > 95)>>
	but goes nude, since as a nympho she gets plenty of attention anyway, and considers clothes an unnecessary hindrance.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].assignment is "rest")>>
	and wears a comfortable t-shirt and cutoffs to relax.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].assignment is "be a subordinate slave")>>
	but gives up and goes naked after the other slaves constantly tear whatever she's wearing off her.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].assignment is "work a glory hole")>>
	but doesn't bother wearing anything, since no one can see her clothing when she's immured inside a glory hole.
	<<set $slaves[$i].clothes to "no clothing">>
<<elseif ($slaves[$i].assignment is "take classes") || ($slaves[$i].assignment is "learn in the schoolroom")>>
	and wears a schoolgirl outfit, since it seems most appropriate.
	<<set $slaves[$i].clothes to "a schoolgirl outfit">>
<<elseif ($slaves[$i].assignment is "whore") || ($slaves[$i].assignment is "work in the brothel")>>
	and wears pretty lingerie to show off her merchandise and still look a little classy.
	<<set $slaves[$i].clothes to "attractive lingerie">>
<<elseif ($slaves[$i].assignment is "serve the public") || ($slaves[$i].assignment is "serve in the club")>>
	and wears string lingerie to look fun and fuckable.
	<<set $slaves[$i].clothes to "a string bikini">>
<<elseif ($slaves[$i].assignment is "get milked") || ($slaves[$i].assignment is "work in the dairy")>>
	and wears sturdy lingerie to offer the best support to her sore, milk-filled udders.
	<<set $slaves[$i].clothes to "attractive lingerie">>
<<elseif ($slaves[$i].assignment is "get cockmilked") || ($slaves[$i].assignment is "work in the collection facility")>>
	and wears a slutty maid outfit to let her sore private parts breathe a little.
	<<set $slaves[$i].clothes to "a slutty maid outfit">>
<<elseif ($slaves[$i].assignment is "be a servant") || ($slaves[$i].assignment is "work as a servant")>>
	and wears a sturdy maid outfit, since anything else might be damaged by her hard work around the penthouse.
	<<set $slaves[$i].clothes to "a nice maid outfit">>
<<else>>
	and wears string lingerie to show off her body.
	<<set $slaves[$i].clothes to "a string bikini">>
<</if>>

<<if $arcologies[0].FSRestart != "unset">>
	<<if $slaves[$i].vagina > -1 && $slaves[$i].vaginalAccessory != "chastity belt">>
		She also affixes a chastity belt over her vagina to discourage use of her reproductive organ.
		<<set $slaves[$i].vaginalAccessory to "chastity belt">>
	<</if>>
	<<if $slaves[$i].dick > 0 && $slaves[$i].dickAccessory != "chastity">>
		She also affixes a chastity cage onto her dick to discourage use of her reproductive organ.
		<<set $slaves[$i].dickAccessory to "chastity">>
	<</if>>
<</if>>

<<if ($slaves[$i].amp != 1)>>
<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "dom")>>
	She wears boots to look like a proper dominant.
	<<set $slaves[$i].shoes to "boots">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "sadist")>>
	She wears boots, since she thinks they make her look dangerous.
	<<set $slaves[$i].shoes to "boots">>
<<elseif ($slaves[$i].heels == 1)>>
	She wears the heels she needs to walk.
	<<set $slaves[$i].shoes to "heels">>
<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "none")>>
	She wears comfortable flats, since she doesn't have a fetish to show off.
	<<set $slaves[$i].shoes to "flats">>
<<else>>
	She wears heels to strut her stuff.
	<<set $slaves[$i].shoes to "heels">>
<</if>>
<</if>>

<</if>>


code:
:: SA chooses own job [nobr]

<<if ($slaves[$i].assignment is "choose her own job")>>
	is allowed to select her own job this week. She watches your other slaves to decide what to do, @@color:hotpink;happy@@ to be permitted a choice and a little more @@color:mediumaquamarine;confident@@ than if you had just given her orders. She
	<<set $slaves[$i].devotion += 1>>
	<<set $slaves[$i].trust += 1>>
<</if>>

<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
	chooses to rest, taking advantage of your permission to choose her own assignment to @@color:mediumorchid;remain indolent.@@
	<<set $slaves[$i].assignment to "rest">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<<set $slaves[$i].devotion -= 5>>

<<elseif ($slaves[$i].health < 20)>>
	<<if $clinic > 0>>
	is unhealthy, so she goes to get treatment at $clinicName.
	<<set $slaves[$i].assignment to "get treatment in the clinic">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is unhealthy, so she chooses to rest.
	<<set $slaves[$i].assignment to "rest">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>

<<elseif (($slaves[$i].devotion < 45) || ($slaves[$i].trust < 45)) && (($slaves[$i].sexualFlaw != "none") || ($slaves[$i].behavioralFlaw != "none")) && ($Attendant != 0)>>
	could use some counseling, so she chooses to visit $spaName.
	<<set $slaves[$i].assignment to "rest in the spa">>
	<<set $slaves[$i].assignmentVisible to 0>>

<<elseif ($slaves[$i].intelligenceImplant != 1)>>
	<<if $schoolroom > 0>>
	is uneducated, so she sits herself down in $schoolroomName.
	<<set $slaves[$i].assignment to "learn in the schoolroom">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is uneducated, so she sits herself down to learn.
	<<set $slaves[$i].assignment to "take classes">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>

<<elseif ($slaves[$i].devotion <= 50) and canWalk($slaves[$i])>>
	<<if $servantsQuarters > 0>>
	is obedient but not devoted, so she chooses to work from $servantsQuartersName since it's the least sexually demanding job available.
	<<set $slaves[$i].assignment to "work as a servant">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is obedient but not devoted, so she chooses to work as a servant since it's the least sexually demanding job available.
	<<set $slaves[$i].assignment to "be a servant">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>

<<elseif ($slaves[$i].relationship is -1)>>
	relies on promiscuity to fulfill her emotional needs,
	<<if ($cash > 10000)>>
	and doesn't mind being a whore, so she prostitutes herself
	<<if $brothel > 0>>
		in $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		on the streets.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	so she eagerly decides to slut around
	<<if $club > 0>>
		in $clubName.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		on the streets.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>

<<elseif ($slaves[$i].relationship is -2)>>
	is emotionally bonded to you,
	<<if ($slaves[$i].behavioralQuirk is "insecure")>>
	but insecure, so she chooses to make you money by prostituting herself
	<<if $brothel > 0>>
		in $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		on the streets.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<elseif ($slaves[$i].behavioralQuirk is "advocate")>>
	and an advocate for slavery, so she chooses to burnish your reputation by slutting it up
	<<if $club > 0>>
		in $clubName.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		on the streets.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<elseif ($slaves[$i].energy > 60)>>
	and she thinks of little but sex with you,
	<<if $masterSuite > 0>>
		so she heads straight to $masterSuiteName.
		<<set $slaves[$i].assignment to "serve in the master suite">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		so she cheerfully designates herself one of your fucktoys.
		<<set $slaves[$i].assignment to "please you">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	so she chooses to work
	<<if $servantsQuarters > 0>>
		from $servantsQuartersName
		<<set $slaves[$i].assignment to "work as a servant">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		as a servant
		<<set $slaves[$i].assignment to "be a servant">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	to make your penthouse as clean and homelike as possible.
	<</if>>

<<elseif ($slaves[$i].relationship is -3)>>
	is married to you,
	<<if ($slaves[$i].energy > 60)>>
	and she thinks of little but sex with you,
	<<if $masterSuite > 0>>
		so she heads straight to $masterSuiteName.
		<<set $slaves[$i].assignment to "serve in the master suite">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		so she cheerfully designates herself one of your fucktoys.
		<<set $slaves[$i].assignment to "please you">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	so she chooses to work
	<<if $servantsQuarters > 0>>
		from $servantsQuartersName
		<<set $slaves[$i].assignment to "work as a servant">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		as a servant
		<<set $slaves[$i].assignment to "be a servant">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	to make your penthouse as clean and homelike as possible.
	<</if>>

<<elseif ($slaves[$i].fetishKnown == 1)>>
	<<if ($slaves[$i].fetish is "submissive") and canWalk($slaves[$i])>>
	<<if $servantsQuarters > 0>>
		thinks she belongs at the bottom of the penthouse hierarchy, so she goes to live in $servantsQuartersName.
		<<set $slaves[$i].assignment to "work as a servant">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		thinks she belongs at the bottom of the penthouse hierarchy, so she decides she should be a servant.
		<<set $slaves[$i].assignment to "be a servant">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].fetish is "dom") || ($slaves[$i].fetish is "sadist")>>
	<<if $club > 0>>
		is self-confident, so she decides to work in $clubName.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		is self-confident, so she decides to work as a public servant.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].fetish is "masochist")>>
	<<if $brothel > 0>>
		enjoys abuse, so she hurries down to $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		enjoys abuse, so she decides to become a whore.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].fetish is "cumslut")>>
	<<if $brothel > 0>>
		hurries down to $brothelName to suck cocks.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to become a whore, mostly to suck cock.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].fetish is "humiliation")>>
	<<if $brothel > 0>>
		chooses $brothelName, since it's even more embarrassing to be a whore than a club slut.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		chooses to whore, since it's even more embarrassing to be a whore than to be a public servant.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].fetish is "buttslut")>>
	<<if ($slaves[$i].balls > 0)>>
	<<if ($dairy > 0) && ($dairyRestraintsSetting < 2)>>
		chooses confinement in $dairyName, since all she'll be expected to do is make cum by orgasming to buttsex.
		<<set $slaves[$i].assignment to "work in the dairy">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		chooses to get milked, since all she'll be expected to do is make cum by orgasming to buttsex.
		<<set $slaves[$i].assignment to "get milked">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	<<if $brothel > 0>>
		chooses $brothelName, since whores get buttfucked more than anyone else.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		chooses to whore, since whores get buttfucked more than anyone else.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>
<<elseif ($slaves[$i].fetish is "pregnancy")>>
	<<if ($slaves[$i].lactation > 0)>>
	<<if $dairy > 0>>
		heads down to $dairyName to be around other lactating girls.
		<<set $slaves[$i].assignment to "work in the dairy">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to get milked, since she's already lactating.
		<<set $slaves[$i].assignment to "get milked">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<elseif ($slaves[$i].preg > -2) && ($slaves[$i].preg < 1) && ($PC.dick == 1)>>
	<<if $masterSuite > 0>>
		heads straight to $masterSuiteName, in the hope you'll get her pregnant.
		<<set $slaves[$i].assignment to "serve in the master suite">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		chooses to be your fucktoy, in the hope you'll get her pregnant.
		<<set $slaves[$i].assignment to "please you">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<elseif ($slaves[$i].preg > 0)>>
	<<if $masterSuite > 0>>
		heads straight to $masterSuiteName to share the intimacy of her pregnant body with you.
		<<set $slaves[$i].assignment to "serve in the master suite">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		chooses to be your fucktoy to share the intimacy of her pregnant body with you.
		<<set $slaves[$i].assignment to "please you">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	<<if $brothel > 0>>
		can't indulge her fetish by getting pregnant herself, so she just heads down to $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		can't indulge her fetish by getting pregnant herself, so she glumly decides to be a whore.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>
<<elseif ($slaves[$i].fetish is "boobs")>>
	<<if ($slaves[$i].lactation > 0)>>
	<<if $dairy > 0>>
		heads down to $dairyName for all the attention that'll be lavished on her nipples.
		<<set $slaves[$i].assignment to "work in the dairy">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to get milked, since she loves getting off to it.
		<<set $slaves[$i].assignment to "get milked">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	<<if $club > 0>>
		decides to work in $clubName so she can show off her bare breasts.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to work as a public servant so she can show off her bare breasts.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>
<<elseif ($slaves[$i].attrXX > 85)>>
	<<if $club > 0>>
		decides to work in $clubName so she can hit on hot girls.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to work as a public servant so she can hit on hot girls.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].attrXY > 85)>>
	<<if $club > 0>>
		decides to work in $clubName so she can hit on cute boys.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to work as a public servant so she can hit on cute boys.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($slaves[$i].energy > 95)>>
	<<if $brothel > 0>>
		decides to help those of your girls who mind taking dick all day by working in $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to help those of your girls who mind taking dick all day by working as a whore.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>

<<elseif ($arcologies[0].FSChattelReligionist > 0)>>
	<<if $brothel > 0>>
	is a pure and faithful slave, so she sells her body in the holy brothel.
	<<set $slaves[$i].assignment to "work in the brothel">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is a pure and faithful slave, so she sells her body as a holy prostitute.
	<<set $slaves[$i].assignment to "whore">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($arcologies[0].FSEgyptianRevivalist > 0)>>
	<<if $masterSuite > 0>>
	is a devoted slave, so she immediately joins your harem.
	<<set $slaves[$i].assignment to "serve in the master suite">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is a devoted slave, so she immediately joins your harem.
	<<set $slaves[$i].assignment to "please you">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($arcologies[0].FSRomanRevivalist > 0)>>
	<<if $brothel > 0>>
	is a devoted slave, so she decides she can best serve the state by raising money for the treasury, by selling her body in $brothelName.
	<<set $slaves[$i].assignment to "work in the brothel">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	is a devoted slave, so she decides she can best serve the state by raising money for the treasury, by selling her body as a prostitute.
	<<set $slaves[$i].assignment to "whore">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($arcologies[0].FSPaternalist > 0)>>
	<<if $brothel > 0>>
	decides to work in $brothelName, a respectable position for a slave in this enlightened arcology.
	<<set $slaves[$i].assignment to "work in the brothel">>
	<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
	decides to be a whore, a respectable position for a slave in this enlightened arcology.
	<<set $slaves[$i].assignment to "whore">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<<elseif ($arcologies[0].FSPastoralist > 0)>>
	<<if ($slaves[$i].lactation > 0)>>
	<<if $dairy > 0>>
		hurries to join your herd of dairy cows.
		<<set $slaves[$i].assignment to "work in the dairy">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		hurries to join your herd of cows.
		<<set $slaves[$i].assignment to "get milked">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	<<if $brothel > 0>>
		decides to work in $brothelName to help raise money to get more girls lactating properly.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to prostitute herself to help raise money to get more girls lactating properly.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>
<<else>>
	<<if ($slaves[$i].whoreSkill > $slaves[$i].entertainSkill)>>
	<<if $brothel > 0>>
		decides to work in $brothelName, since she thinks herself a better whore than a public slut.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to whore, since she thinks herself a better whore than a public slut.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<elseif ($slaves[$i].entertainSkill >= $slaves[$i].whoreSkill)>>
	<<if $club > 0>>
		decides to be a club girl, since she thinks herself a better public slut than a whore.
		<<set $slaves[$i].assignment to "serve in the club">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to serve the public, since she thinks herself a better public slut than a whore.
		<<set $slaves[$i].assignment to "serve the public">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	<<if $brothel > 0>>
		decides to join her sisters and work in $brothelName.
		<<set $slaves[$i].assignment to "work in the brothel">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		decides to prostitute herself to help you upgrade $arcologies[0].name and improve everyone's life.
		<<set $slaves[$i].assignment to "whore">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</if>>
<</if>>

<</if>>

<<if ($slaves[$i].assignment is "choose her own job")>>
	<<if canWalk($slaves[$i])>>
	<<if $servantsQuarters > 0>>
		isn't strongly inclined towards any other assignment, so she goes to live in $servantsQuartersName.
		<<set $slaves[$i].assignment to "work as a servant">>
		<<set $slaves[$i].assignmentVisible to 0>>
	<<else>>
		isn't strongly inclined towards any other assignment, so she decides to work as a servant.
		<<set $slaves[$i].assignment to "be a servant">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<<else>>
	isn't strongly inclined towards an assignment, and can't be a servant without arms and legs, so she just rests.
	<<set $slaves[$i].assignment to "rest">>
	<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
<</if>>

repo_name: EstaUnCachucha/fc


code:
:: SA devotion [nobr]

<<if $slaves[$i].fetish is "mindbroken">>
<<else>>
<<if $slaves[$i].fuckdoll == 0>>

<<set $energyPlus to 0>>

<<if $slaves[$i].origin is "You were acquainted with her before you were an arcology owner; your rival tried to use her to manipulate you, but you rescued her.">>
	<<if ($rivalryDuration <= 10 or $rivalryFS is "Racial Supremacism" or $rivalryFS is "Paternalism")>>
		You @@color:mediumaquamarine;saved $slaves[$i].slaveName from a living nightmare@@ under your rival's rule. She @@color:hotpink;tries her best to adapt to her savior's wishes@@.
		<<set $slaves[$i].devotion += 2.0>>
		<<set $slaves[$i].trust += 2.0>>
	<<elseif $hostageGiveIn == 1>>
		Since you are @@color:mediumaquamarine;indulging@@ $slaves[$i].slaveName's desires, she @@color:hotpink;likes you more@@.
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<elseif $rivalryDuration > 20 and $slaves[$i].devotion < 5>>
		<<if $personalAttention is $slaves[$i].ID>>
			You took everything from $slaves[$i].slaveName and @@color:mediumorchid;she hates you for it@@. Since you won't give her what she wants, she @@color:gold;refuses to trust you@@. Since you are putting such a personal touch into her care, she can't find it in her to rebel as strongly.
			<<set $slaves[$i].devotion -= 1.0>>
			<<set $slaves[$i].trust -= 1.0>>
		<<else>>
			You took everything from $slaves[$i].slaveName and @@color:mediumorchid;she hates you for it@@. Since you won't give her what she wants, she @@color:gold;refuses to trust you at all@@.
			<<set $slaves[$i].devotion -= 8.0>>
			<<set $slaves[$i].trust -= 8.0>>
		<</if>>
	<<elseif $rivalryDuration > 10 and $slaves[$i].devotion < 5>>
		<<if $personalAttention is $slaves[$i].ID>>
			She is @@color:gold;horrified by you@@. Your rival taught her a great deal about slave life in your arcology and indulged her deepest fantasies. $slaves[$i].slaveName considers being your pet @@color:mediumorchid;a fate worse than death@@. Since you are putting such a personal touch into her care, maybe you aren't the monster she thought you were. She can't find it in her to hate and fear you as much.
			<<set $slaves[$i].devotion -= 3>>
			<<set $slaves[$i].trust -= 3>>
		<<else>>
			She is @@color:gold;horrified by you@@. Your rival taught her a great deal about slave life in your arcology and indulged her deepest fantasies. $slaves[$i].slaveName considers being your pet @@color:mediumorchid;a fate worse than death@@.
			<<set $slaves[$i].devotion -= 15.0>>
			<<set $slaves[$i].trust -= 15.0>>
		<</if>>
	<</if>>
<</if>>

<<if $PC.preg >= 20 && $PC.career != "escort">>
	<<if $slaves[$i].devotion > 60>>
		<<if $PC.pregMood == 2>>
			She is devoted to you and does her best to satisfy your demanding, hormone driven libido, no matter what you want from her. Her efforts to give herself you to @@color:hotpink;further her submission@@ to you.
			<<set $slaves[$i].devotion += 2>>
		<<elseif $PC.pregMood == 1>>
			She is devoted to you and tries her best to accommodate your needs and desires. Your hormonal mothering @@color:mediumaquamarine;leaves her slightly more trusting@@ of you.
			<<set $slaves[$i].trust += 2>>
		<<else>>
			She is devoted to you and tries her best to accommodate your needs and desires.
		<</if>>
	<<else>>
		<<if $PC.pregMood == 2>>
			She is @@color:gold;horrified@@ of your aggressive sexual advances, forcing her @@color: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>>
			She happily @@color:mediumorchid;takes advantage@@ of your hormone induced kindness, though your care @@color:mediumaquamarine;builds her trust in you.@@
			<<set $slaves[$i].devotion -= 4>>
			<<set $slaves[$i].trust += 4>>
		<<else>>
			She takes note of your gravid form and @@color:mediumorchid;begins testing just how much she can get away with@@ while she can.
			<<set $slaves[$i].devotion -= 3>>
		<</if>>
	<</if>>
<<elseif $PC.preg >= 16>>
	<<if $slaves[$i].devotion > 60>>
		<<if $PC.pregMood == 2>>
			She is devoted to you and does her best to satisfy your demanding, hormonal driven libido, no matter what you want from her. Her efforts to give herself you to @@color:hotpink;further her submission@@ to you.
			<<set $slaves[$i].devotion += 2>>
		<<elseif $PC.pregMood == 1>>
			She is devoted to you and tries her best to accommodate your needs and desires. Your hormonal mothering @@color:mediumaquamarine;leaves her slightly more trusting@@ of you.
			<<set $slaves[$i].trust += 2>>
		<<else>>
			She is devoted to you and tries her best to accommodate your needs and desires.
		<</if>>
	<<else>>
		<<if $PC.pregMood == 2>>
			She is @@color:gold;horrified@@ of your aggressive sexual advances, forcing her @@color: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>>
			She happily @@color:mediumorchid;takes advantage@@ of your hormone induced kindness, though your care @@color:mediumaquamarine;builds her trust in you.@@
			<<set $slaves[$i].devotion -= 4>>
			<<set $slaves[$i].trust += 4>>
		<<else>>
			She takes note of your gravid form and @@color:mediumorchid;begins testing just how much she can get away with@@ while she 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].devotion <= 95>>

<<if $slaves[$i].devotion <= 20>>
<<if $slaves[$i].devotion >= -50>>
<<if $slaves[$i].trust > 20>>
	$slaves[$i].slaveName does not like you and believes that you will not punish her severely, and her @@color:mediumorchid;regard for you is severely reduced@@ by this lack of respect.
	<<set $slaves[$i].trust -= 4>>
<<elseif $slaves[$i].trust >= -20>>
	$slaves[$i].slaveName neither likes nor fears you, and her @@color:mediumorchid;regard for you is reduced@@ by this lack of respect.
	<<set $slaves[$i].trust -= 2>>
<</if>>
<</if>>
<</if>>

<<if $slaves[$i].intelligence != 0>>
<<if $slaves[$i].intelligence >= 3>>
	<<if $personalAttention is $slaves[$i].ID>>
	$slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly resists slavery, but since you are giving her personal attention you are able to compensate for her genius.
	<<else>>
	<<if $slaves[$i].trust < -20>>
		$slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation.
	<<else>>
		$slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly @@color:mediumorchid;resists@@ slavery and encourages her to @@color:gold;fear you.@@
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
	<</if>>
	<</if>>
<<elseif $slaves[$i].intelligence >= 2>>
	<<if $personalAttention is $slaves[$i].ID>>
	$slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally resists slavery, but since you are giving her personal attention you are able to compensate for her intelligence.
	<<else>>
	<<if $slaves[$i].trust < -20>>
		$slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation.
	<<else>>
		$slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally @@color:mediumorchid;resists@@ slavery and encourages her to @@color:gold;fear you.@@
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
	<</if>>
	<</if>>
<<elseif $slaves[$i].intelligence >= 1>>
	<<if $personalAttention is $slaves[$i].ID>>
	$slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally resists slavery, but since you are giving her personal attention you are able to compensate for her cleverness.
	<<else>>
	<<if $slaves[$i].trust < -20>>
		$slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation.
	<<else>>
		$slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally @@color:mediumorchid;resists@@ slavery.
		<<set $slaves[$i].devotion -= 2>>
	<</if>>
	<</if>>
<<elseif $slaves[$i].intelligence <= -3>>
	$slaves[$i].slaveName's @@color:orangered;moronic mind@@ naturally @@color:hotpink;accepts@@ slavery, and she's imbecile enough to instinctively @@color:mediumaquamarine;trust you@@ to know what's best for her.
	<<set $slaves[$i].devotion += 2>>
	<<set $slaves[$i].trust += 2>>
<<elseif $slaves[$i].intelligence <= -2>>
	$slaves[$i].slaveName's @@color:orangered;idiotic mind@@ naturally @@color:hotpink;accepts@@ slavery, and she's stupid enough to instinctively @@color:mediumaquamarine;trust you@@ to know what's best.
	<<set $slaves[$i].devotion += 1>>
	<<set $slaves[$i].trust += 1>>
<<elseif $slaves[$i].intelligence <= -1>>
	$slaves[$i].slaveName's @@color:orangered;unintelligent mind@@ naturally @@color:hotpink;accepts@@ slavery.
	<<set $slaves[$i].devotion += 1>>
<</if>>
<</if>>

<</if>>

<<if ($arcologies[0].FSPaternalistLaw == 1)>>
	The totally paternalistic society of your arcology encourages her to @@color:mediumaquamarine;trust you.@@
	<<set $slaves[$i].trust += 1>>
<<elseif ($arcologies[0].FSPaternalist >= random(1,120))>>
	The paternalistic culture of your arcology encourages her to @@color:mediumaquamarine;trust you.@@
	<<set $slaves[$i].trust += 1>>
<</if>>
<<if ($arcologies[0].FSChattelReligionistLaw == 1)>>
	Your status as the prophet of your theocratic arcology encourages her to @@color:mediumaquamarine;trust you.@@
	<<set $slaves[$i].trust += 1>>
<<elseif ($arcologies[0].FSChattelReligionist >= random(1,120))>>
	Your arcology's omnipresent religion encourages her to @@color:mediumaquamarine;trust you.@@
	<<set $slaves[$i].trust += 1>>
<</if>>
<<if ($arcologies[0].FSRestart != "unset")>>
	<<if $slaves[$i].preg > 5 and $slaves[$i].devotion < 20>>
	Being pregnant in a society that loathes slave breeding fills her with @@color:gold;fear@@ for herself and her unborn child.
	<<set $slaves[$i].trust -= 10>>
	<</if>>
<</if>>

/* INDENTURE MENTAL EFFECTS */

<<if ($slaves[$i].indenture > -1)>>
	<<if $slaves[$i].indenture <= 52>>
	She knows that it's less than a year until her indenture ends.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about the prospect.
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of freedom @@color:hotpink;encourages her to submit to your orders@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@
		<<set $slaves[$i].devotion += 2>>
		<<set $slaves[$i].trust += 2>>
	<<else>>
		The prospect of freedom encourages her to @@color:mediumaquamarine;tolerate anything.@@
		<<set $slaves[$i].trust += 2>>
	<</if>>
	<<else>>
	The fact that she is an indentured servant, not a permanent slave, is never truly far from her mind.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about eventual freedom.
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of eventual freedom @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		The prospect of eventual freedom works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her.
		<<set $slaves[$i].trust += 1>>
	<</if>>
	<</if>>
	<<if $slaves[$i].devotion <= 20>>
	<<if $slaves[$i].indentureRestrictions >= 2>>
		She's also @@color:mediumaquamarine;able to rely on the protection@@ of her indenture.
		<<set $slaves[$i].trust += 1>>
	<<elseif $slaves[$i].indentureRestrictions > 1>>
		She's also @@color:mediumaquamarine;able to trust the restrictions@@ that her indenture places on her 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>>
	She knows that it's less than a year until her retirement from sexual slavery into citizenship.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. It's her favorite subject, and her strong feelings about it
		<<if $arcologies[0].FSPaternalist != "unset">>
		advances paternalistic ideals and @@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*2*($arcologies[0].FSPaternalist/$FSLockinLevel)>>
		<<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>>
		<<else>>
		@@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*2>>
		<</if>>
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of manumission @@color:hotpink;encourages her to submit to slavery@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@
		<<set $slaves[$i].devotion += 2>>
		<<set $slaves[$i].trust += 2>>
	<<else>>
		The prospect of manumission encourages her to @@color:mediumaquamarine;tolerate anything.@@
		<<set $slaves[$i].trust += 2>>
	<</if>>
	<<else>>
	Her retirement from sexual slavery into citizenship is on the horizon.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. This
		<<if $arcologies[0].FSPaternalist != "unset">>
		advances paternalistic ideals and @@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel)>>
		<<set $arcologies[0].FSPaternalist += 0.05*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>>
		<<else>>
		@@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep>>
		<</if>>
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of manumission @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		The prospect of manumission works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her.
		<<set $slaves[$i].trust += 1>>
	<</if>>
	<</if>>
<<elseif ($BioreactorRetirement == 1)>>
	<<if $slaves[$i].actualAge >= $retirementAge-1>>
	She knows that it's less than a year until her permanent inclusion in the arcology's milk production systems.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation.
	<<elseif $slaves[$i].devotion > 20>>
		To put it mildly, @@color:gold;she is terrified.@@
		<<set $slaves[$i].trust -= 3>>
	<<else>>
		She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@
		<<set $slaves[$i].devotion -= 3>>
		<<set $slaves[$i].trust -= 3>>
	<</if>>
	<<else>>
	She knows that her permanent inclusion in the arcology's milk production systems is not far off.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she tries not to think about it, though she occasionally seems preoccupied.
	<<elseif $slaves[$i].devotion > 20>>
		The prospect @@color:gold;scares her.@@
		<<set $slaves[$i].trust -= 2>>
	<<else>>
		The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
	<</if>>
	<</if>>
<<elseif ($ArcadeRetirement == 1)>>
	<<if $slaves[$i].actualAge >= $retirementAge-1>>
	She knows that it's less than a year until she is to be permanently encased in a bodysuit with holes for nothing but dick.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation.
	<<elseif $slaves[$i].devotion > 20>>
		To put it mildly, @@color:gold;she is terrified.@@
		<<set $slaves[$i].trust -= 3>>
	<<else>>
		She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@
		<<set $slaves[$i].devotion -= 3>>
		<<set $slaves[$i].trust -= 3>>
	<</if>>
	<<else>>
	She knows that her ultimate fate as a Fuckdoll is not far off.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she tries not to think about it, though she occasionally seems preoccupied.
	<<elseif $slaves[$i].devotion > 20>>
		The prospect @@color:gold;scares her.@@
		<<set $slaves[$i].trust -= 2>>
	<<else>>
		The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@
		<<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>>
	She knows that it's less than a year until her retirement from sexual slavery into citizenship.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. It's her favorite subject, and her strong feelings about it
		<<if $arcologies[0].FSPaternalist != "unset">>
		advances paternalistic ideals and @@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*2*($arcologies[0].FSPaternalist/$FSLockinLevel)>>
		<<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>>
		<<else>>
		@@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*2>>
		<</if>>
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of manumission @@color:hotpink;encourages her to submit to slavery@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@
		<<set $slaves[$i].devotion += 2>>
		<<set $slaves[$i].trust += 2>>
	<<else>>
		The prospect of manumission encourages her to @@color:mediumaquamarine;tolerate anything.@@
		<<set $slaves[$i].trust += 2>>
	<</if>>
	<<else>>
	Her retirement from sexual slavery into citizenship is on the horizon.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. This
		<<if $arcologies[0].FSPaternalist != "unset">>
		advances paternalistic ideals and @@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel)>>
		<<set $arcologies[0].FSPaternalist += 0.05*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>>
		<<else>>
		@@color:green;improves your reputation.@@
		<<set $repGain += $FSSingleSlaveRep>>
		<</if>>
	<<elseif $slaves[$i].devotion >= -20>>
		The prospect of manumission @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		The prospect of manumission works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her.
		<<set $slaves[$i].trust += 1>>
	<</if>>
	<</if>>
<<elseif ($BioreactorRetirement == 1)>>
	<<if $slaves[$i].physicalAge >= $retirementAge-1>>
	She knows that it's less than a year until her permanent inclusion in the arcology's milk production systems.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation.
	<<elseif $slaves[$i].devotion > 20>>
		To put it mildly, @@color:gold;she is terrified.@@
		<<set $slaves[$i].trust -= 3>>
	<<else>>
		She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@
		<<set $slaves[$i].devotion -= 3>>
		<<set $slaves[$i].trust -= 3>>
	<</if>>
	<<else>>
	She knows that her permanent inclusion in the arcology's milk production systems is not far off.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she tries not to think about it, though she occasionally seems preoccupied.
	<<elseif $slaves[$i].devotion > 20>>
		The prospect @@color:gold;scares her.@@
		<<set $slaves[$i].trust -= 2>>
	<<else>>
		The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@
		<<set $slaves[$i].devotion -= 2>>
		<<set $slaves[$i].trust -= 2>>
	<</if>>
	<</if>>
<<elseif ($ArcadeRetirement == 1)>>
	<<if $slaves[$i].physicalAge >= $retirementAge-1>>
	She knows that it's less than a year until she is to be permanently encased in a bodysuit with holes for nothing but dick.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation.
	<<elseif $slaves[$i].devotion > 20>>
		To put it mildly, @@color:gold;she is terrified.@@
		<<set $slaves[$i].trust -= 3>>
	<<else>>
		She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@
		<<set $slaves[$i].devotion -= 3>>
		<<set $slaves[$i].trust -= 3>>
	<</if>>
	<<else>>
	She knows that her ultimate fate as a Fuckdoll is not far off.
	<<if $slaves[$i].devotion > 95>>
		Since she loves you, she tries not to think about it, though she occasionally seems preoccupied.
	<<elseif $slaves[$i].devotion > 20>>
		The prospect @@color:gold;scares her.@@
		<<set $slaves[$i].trust -= 2>>
	<<else>>
		The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@
		<<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>>
		She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		She does her best to @@color:mediumaquamarine;stay strong,@@
		<<set $slaves[$i].trust += 1>>
	<</if>>
	since she knows that her 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>>
		She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		She does her best to @@color:mediumaquamarine;stay strong,@@
		<<set $slaves[$i].trust += 1>>
	<</if>>
	since she knows she will be free if her udders can gush just a bit more cream.
	<</if>>
<</if>>
<<if $BirthsMilestoneRetirement == 1>>
	<<if $slaves[$i].births >= $retirementBirths*0.6>>
	<<if $slaves[$i].devotion >= -20>>
		She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		She does her best to @@color:mediumaquamarine;stay strong,@@
		<<set $slaves[$i].trust += 1>>
	<</if>>
	since she knows she 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>>
		She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@
		<<set $slaves[$i].devotion += 1>>
		<<set $slaves[$i].trust += 1>>
	<<else>>
		She does her best to @@color:mediumaquamarine;stay strong,@@
		<<set $slaves[$i].trust += 1>>
	<</if>>
	since she knows just a bit more murder in the pit will win her freedom.
	<</if>>
<</if>>
<</if>>
<</if>>

<</if>> /* CLOSES RETIREMENT */

<<if $slaves[$i].assignmentVisible == 1>>
<<if $personalAttention == "sex">>
<<if $freeSexualEnergy > 0>>
	<<if $freeSexualEnergy == 3>>
		She gets a lot of sexual attention from you, since you don't have nearly enough dedicated fucktoys to sate your libido, and this @@color:hotpink;<<if $slaves[$i].devotion > 50>>intensifies her love for you<<else>>forces her to get used to sex slavery<</if>>.@@
	<<elseif $freeSexualEnergy == 2>>
		She receives some sexual attention from you, since you don't have enough dedicated fucktoys to sate your libido, and this @@color:hotpink;<<if $slaves[$i].devotion > 50>>builds her closeness to you<<else>>gets her used to being your sex slave<</if>>.@@
	<<else>>
		She receives occasional sexual attention from you, since you barely have enough dedicated fucktoys to sate your libido, @@color:hotpink;<<if $slaves[$i].devotion > 50>>making her feel closer to you<<else>>keeping her aware she's your sex slave<</if>>.@@
	<</if>>
	<<set $slaves[$i].devotion += $freeSexualEnergy>>
	<<set $slaves[$i].oralCount += $freeSexualEnergy>>
	<<set $oralotal += $freeSexualEnergy>>
	<<if canDoVaginal($slaves[$i])>>
		<<set $slaves[$i].vaginalCount += $freeSexualEnergy>>
		<<set $vaginalTotal += $freeSexualEnergy>>
	<</if>>
	<<if canDoAnal($slaves[$i])>>
		<<set $slaves[$i].analCount += $freeSexualEnergy>>
		<<set $analTotal += $freeSexualEnergy>>
	<</if>>
<</if>>
<</if>>
<</if>>

/* COLLECTIVE SPIRIT IMPACTS */

<<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 she's ambivalent and fearful, the @@color:hotpink;collective devotion@@ @@color:mediumaquamarine;and trust@@ of your slaves affect her slightly.
	<<elseif _collectiveTrustEffect == 0>>
		Since she's ambivalent about you, the @@color:hotpink;collective devotion@@ your slaves feel for you affects her slightly.
	<<else>>
		Since she's ambivalent about you, the @@color:hotpink;collective devotion@@ your slaves feel for you affects her slightly, but their @@color:gold;general fear@@ affects her too.
	<</if>>
<<elseif _collectiveDevotionEffect == 0>>
	<<if _collectiveTrustEffect == 1>>
		Since she's fearful of you, the @@color:mediumaquamarine;collective trust@@ your slaves place in you affects her slightly.
	<<elseif _collectiveTrustEffect == -1>>
		Since she doesn't trust you, the @@color:gold;collective fear@@ your slaves feel for you affects her slightly.
	<</if>>
<<else>>
	<<if _collectiveTrustEffect == 1>>
		The @@color:mediumorchid;collective anger@@ your slaves feel reinforces her own feelings, but their @@color:mediumaquamarine;collective trust@@ also affects her slightly.
	<<elseif _collectiveTrustEffect == 0>>
		The @@color:mediumorchid;collective anger@@ your slaves feel reinforces her own feelings.
	<<else>>
		The @@color:mediumorchid;collective anger@@ @@color:gold;and fear@@ your slaves feel reinforce her own feelings.
	<</if>>
<</if>>
<<if $slaves[$i].assignmentVisible == 1>>
<<if ($arcade != 0) || (($dairy != 0) && ($dairyRestraintsSetting >= 2))>>
	<<if $slaves[$i].devotion <= 95>>
		She knows about <<if $arcade != 0>>$arcadeName<<if ($dairy != 0) && ($dairyRestraintsSetting >= 2)>> and $dairyName<</if>><<else>>$dairyName<</if>>, and @@color:gold;fears@@ that you might send her there.
		<<set $slaves[$i].trust -= 1>>
	<<else>>
		She knows some of your other slaves meet terrible, industrial fates, but she loves you so much that she 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 she finds herself @@color:mediumaquamarine;fearing you a little less.@@
		<<set $slaves[$i].trust += 1>>
	<<elseif $slaves[$i].trust <= 50>>
		$slaves[$i].slaveName loves you, so she finds herself @@color: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 she finds herself @@color:mediumaquamarine;fearing you a little less.@@
		<<set $slaves[$i].trust += 1>>
	<</if>>
<<elseif $slaves[$i].devotion < -50>>
	<<if $slaves[$i].trust > 20>>
	<<if $slaves[$i].trust <= 95>>
		$slaves[$i].slaveName hates you, so she finds herself @@color:gold;trusting you a little less.@@
		<<set $slaves[$i].trust -= 2>>
	<</if>>
	<</if>>
<</if>>
<</if>>
<<if $slaves[$i].trust > 95>>
	<<if $slaves[$i].devotion <= 20>>
		$slaves[$i].slaveName trusts you implicitly, so she finds herself @@color:hotpink;hating you a little less.@@
		<<set $slaves[$i].devotion += 1>>
	<<elseif $slaves[$i].devotion <= 50>>
		$slaves[$i].slaveName trusts you implicitly, so she finds herself @@color: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 trusts you, so she finds herself @@color: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 she tries desperately to avoid punishment, @@color: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 she feels safe in @@color:mediumorchid;hating the worst parts of being your sex slave.@@
		<<set $slaves[$i].devotion -= 2>>
	<</if>>
	<</if>>
<</if>>

<<if ($slaves[$i].sexualQuirk is "unflinching")>>
	<<if ($slaves[$i].devotion <= 95)>>
	<<if ($slaves[$i].devotion < $slaves[$i].oldDevotion)>>
	Her unflinching nature leads her to forget some of the unpleasant things she's experienced this week, @@color:hotpink;reducing their impact on her feelings about you.@@
	<<set $slaves[$i].devotion += ($slaves[$i].oldDevotion - $slaves[$i].devotion)/2>>
	<</if>>
	<</if>>
<</if>>

/* CAPS ON DEVOTION GAIN */

<<if $slaves[$i].devotion >= -20>>
	<<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>>
		<<if $arcologies[0].FSChattelReligionist >= random(1,100)>>
		The natural resilience of her mind is overcome by the omnipresent combination of faith and servitude in $arcologies[0].name, and she does not resist her progress down the path towards total subservience.
		<<elseif $personalAttention is $slaves[$i].ID>>
		She gained so much regard for you this week that her natural reaction is to rebound a little, but since you're giving her personal attention, your charismatic presence prevents this.
		<<elseif $slaves[$i].devotion < 95>>
		So many things served to drive her into subservience this week that her mind @@color:mediumorchid;rebounds a little.@@
		<<set $slaves[$i].devotion to ($slaves[$i].oldDevotion+5)>>
		<</if>>
	<</if>>
<<else>>
	<<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>>
	<<if $slaves[$i].behavioralFlaw is "arrogant">>
		Though she made progress this week, @@color:mediumorchid;it is limited by her arrogance.@@
		<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
	<<elseif ($slaves[$i].behavioralFlaw is "bitchy") && canTalk($slaves[$i])>>
		Though she made progress this week, @@color:mediumorchid;it is limited by the independence she regains by making snide comments.@@
		<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
	<<elseif $slaves[$i].behavioralFlaw is "devout">>
		Though she made progress this week, @@color:mediumorchid;it is limited by the independence she regains through reliance on her faith.@@
		<<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>>
	<<elseif $slaves[$i].behavioralFlaw is "liberated">>
		Though she made progress this week, @@color:mediumorchid;it is limited by the independence she retains due to her 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 $arcologies[0].FSChattelReligionist >= random(1,100)>>
		Any natural doubts she harbors are overcome by her belief in Chattel Religionism, and she does not resist her progress down the path towards total trust in you.
		<<elseif $personalAttention is $slaves[$i].ID>>
		She gained so much trust in you this week that her natural reaction is to doubt herself, but since you're giving her personal attention, she decides to trust her understanding of your will.
		<<elseif $slaves[$i].trust < 95>>
		She gained so much trust in you this week that she @@color: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 is "odd") && ($slaves[$i].collar != "shock punishment")>>
		Though she made progress this week, @@color:gold;it is limited by her preoccupation with her 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 > 75)>>
	Her perfect devotion and trust @@color:green;improve your reputation.@@
	<<set $repGain += 10*($slaves[$i].trust-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>>
			Her extreme devotion @@color: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>>
			<<set $slaves[$i].devotion += Math.trunc($slaves[$i].trust)>>
		<<elseif $slaves[$i].energy <= 50>>
			<<set $energyPlus += Math.trunc($slaves[$i].trust-100)>>
		<<else>>
			Her extreme trust @@color:green;improved your reputation.@@
			<<set $repGain += 25*($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)>>
	Her confidence in her sexuality @@color:green;improved her low sex drive.@@
	<<set $slaves[$i].energy += $energyPlus>>
<</if>>

<<if ($slaves[$i].devotion > 95)>>
	$slaves[$i].slaveName's @@color:magenta;worshipfulness is beyond improvement,@@ and her
<<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:hotpink;devotion increased@@ and her
<<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion is $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:yellow;devotion did not change@@ and her
<<elseif ($slaves[$i].devotion > 50)>>
	$slaves[$i].slaveName's @@color:mediumorchid;devotion dropped@@ and her
<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:hotpink;regard for you increased@@ and her
<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion is $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:yellow;regard for you did not change@@ and her
<<elseif ($slaves[$i].devotion >= -20)>>
	$slaves[$i].slaveName's @@color:mediumorchid;regard for you dropped@@ and her
<<elseif ($slaves[$i].devotion > $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:hotpink;resistance dropped@@ and her
<<elseif ($slaves[$i].devotion is $slaves[$i].oldDevotion)>>
	$slaves[$i].slaveName's @@color:yellow;resistance did not change@@ and her
<<else>>
	$slaves[$i].slaveName's @@color:mediumorchid;resistance increased@@ and her
<</if>>

<<if ($slaves[$i].trust > 95)>>
	@@color:seagreen;trust in you is total.@@
<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust > $slaves[$i].oldTrust)>>
	@@color:mediumaquamarine;trust improved@@ this week.
<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust is $slaves[$i].oldTrust)>>
	@@color:yellow;trust did not change@@ this week.
<<elseif ($slaves[$i].trust > 20)>>
	@@color:gold;trust dropped@@ this week.
<<elseif ($slaves[$i].trust > $slaves[$i].oldTrust)>>
	@@color:mediumaquamarine;fear dropped@@ this week.
<<elseif ($slaves[$i].trust is $slaves[$i].oldTrust)>>
	@@color:yellow;fear did not change@@ this week.
<<else>>
	@@color:gold;fear increased@@ this week.
<</if>>

<<if ($slaves[$i].devotion > 50) && ($slaves[$i].oldDevotion <= 50)>>
	@@color:green;She has gone from accepting her position to being devoted to you!@@
	<<set $slaves[$i].devotion += 1>>
<<elseif ($slaves[$i].devotion > 20) && ($slaves[$i].oldDevotion <= 20)>>
	@@color:green;She has gone from being ambivalent toward you to accepting your ownership of her!@@
	<<set $slaves[$i].devotion += 1>>
<<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].oldDevotion < -20)>>
	@@color:green;She has gone from disliking you to being ambivalent about you!@@
	<<set $slaves[$i].devotion += 1>>
<<elseif ($slaves[$i].devotion >= -50) && ($slaves[$i].oldDevotion < -50)>>
	@@color:green;She has gone from hating you to merely disliking you!@@
	<<set $slaves[$i].devotion += 1>>
<</if>>

<<if ($slaves[$i].trust > 50) && ($slaves[$i].oldtrust <= 50)>>
	@@color:green;She has gone from being careful around you to trusting you!@@
	<<set $slaves[$i].trust += 1>>
<<elseif ($slaves[$i].trust > 20) && ($slaves[$i].oldtrust <= 20)>>
	@@color:green;She 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)>>
	@@color:green;She 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)>>
	@@color:green;She has gone from being terrified to being merely afraid of you!@@
	<<set $slaves[$i].trust += 1>>
<</if>>

<<if ($slaves[$i].trust < -20) && ($slaves[$i].oldtrust >= -20)>>
	<<if ($slaves[$i].devotion <= 20)>>
	@@color:green;She has gone from merely fearing you to actively being afraid of you!@@
	<<set $slaves[$i].trust -= 2>>
	<</if>>
<</if>>

<<else>> /* IS FUCKDOLL */

It is confined in a suit that limits its perception of the outside world to tonal commands from the suit itself and things that are inserted into its mouth<<if $activeSlave.vagina > -1>>, vagina,<</if>> and anus.
<<if $slaves[$i].sexualFlaw == "self hating">>
	Its self hatred @@color:gold;cannot eliminate the growing fear@@ engendered by its remaining spark of self-preservation.
	<<set $slaves[$i].trust += 5>>
<<elseif $slaves[$i].trust > 50>>
	It still hopes you'll let it out of its suit so it can be your good slave again, but @@color: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 it's about to be used<<else>>desperately hope it'll be used soon<</if>>, it dwells on the @@color:gold;horrible fear@@ that this dark existence will be perpetual.
<</if>>
<<set $slaves[$i].trust -= 10>>
<<if $slaves[$i].sexualFlaw == "self hating">>
	It knows to its core that it deserves this, @@color:mediumorchid;slowing but not stopping its descent into depression.@@
	<<set $slaves[$i].devotion += 5>>
<<elseif $slaves[$i].devotion > 50>>
	It spirals through @@color:mediumorchid;obsessive depression,@@ wondering what it did to deserve this fate.
<<else>>
	In the silence and darkness between the times it's used, it has little to do but @@color:mediumorchid;hate you.@@
<</if>>
<<set $slaves[$i].devotion -= 10>>

<</if>> /* CLOSES FUCKDOLL CHECK */
<</if>> /* CLOSES MINDBROKEN CHECK */