code:
:: SA rules [nobr]

<<set _L = App.Utils.countFacilityWorkers()>>
<<set _release = $slaves[$i].rules.release>>

<<if $slaves[$i].fuckdoll == 0>>
	$He
	<<if $slaves[$i].fetish == "mindbroken">>
		is mentally broken so none of the rules have any impact.
	<<else>>
		<<switch $slaves[$i].assignment>>
		<<case "be confined in the arcade">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, not that $he gets a choice.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, not that $he gets a choice.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off at work despite $his reluctance, @@.hotpink;habituating $him to being a fuckhole.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				wasn't a popular enough hole to sate $his arousal, leaving $him @@.gold;uncomfortably horny@@ despite $his conditions.
				<<set $slaves[$i].trust -= 3>>
			<</if>>
			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $his body gets used. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>
		<<case "be the Madam">>
			<<set $slaves[$i].need -= (App.Entity.facilities.brothel.employeesIDs().size*10)>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if (_release.master === 1)>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in $brothelName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It also helps to offset the tiring nature of $his position.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for leaving plentiful outlets for $his nymphomania under $his care.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $brothelName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole brothel of whores for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $brothelName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allowing $him a brothel of whores to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he manages clients, analyzing $his tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					Whenever $he finds a free moment from $his duties, $he takes the time to thoroughly milk $his breasts to keep $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if App.Entity.facilities.brothel.employeesIDs().size > 1>> with a whore <<if hasBothLegs($slaves[$i])>>between $his legs<<else>>at $his crotch<</if>><</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "work in the brothel">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, not that $his clients care.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, not that $his clients care.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off at work despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master == 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come up to the penthouse for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to the penthouse to beg for sexual release.
							<<else>>
								doesn't mind having to come to the penthouse to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly comes up to the penthouse and begs you to
							<<saRulesPlayerFetishPlay>>
							every break $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if $slaves[$i].sexualFlaw == "attention whore">>
						@@.hotpink;enjoys being allowed to masturbate,@@ especially since it's often to the pleasure of an aroused client.
						<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, though being forced to do it in front of an aroused client prevents $him from getting complacent; you can never know when they'll want more.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, though being forced to do it in front of an aroused client @@.gold;terrifies $him;@@ you can never know when they'll want more.
						<<set $slaves[$i].trust -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is forced to take additional clients @@.gold;as punishment@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom or giving free samples, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to either demand sex from _whom or attempt to attract additional clients. $He @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex or giving free samples, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom or giving free samples, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to either swap sex with _whom or attempt to attract additional clients. $He @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $brothelDecoration>>
				<<case "Degradationist" "standard">>
					The spare living conditions of $brothelName @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<case "Chattel Religionist">>
					The open, yet comfortable, conditions of $brothelName @@.hotpink;get $him used@@ to the routine of slavery.
					<<set $slaves[$i].devotion += 1>>
				<<default>>
					$He gets a little room all to $himself, allowing $him to feel self-reliant; or it would, if it didn't reek of sex and shame after all the customers $he serviced in it.
				<</switch>>
			<<else>>
				<<switch $brothelDecoration>>
				<<case "Degradationist" "standard">>
					<<if ($slaves[$i].trust > 40)>>
						The spare living conditions of $brothelName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The spare living conditions of $brothelName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						$He's used to spare living conditions, so $he's not bothered by $brothelName's.
					<</if>>
				<<case "Chattel Religionist">>
					The open, yet comfortable, conditions of $brothelName's slave quarters are quite refreshing after a day of public sex, even if $he has to share it with all the other whores.
				<<default>>
					$He likes $his little room in $brothelName, even if <<if canSmell($slaves[$i])>>it smells of sex<<else>>it's filled with the heat of sex<</if>> after fucking in it all day.
				<</switch>>
			<</if>>
			<<if $slaves[$i].rules.living == "luxurious">>
				They provide @@.green;satisfying rest@@ every time $he drifts off to sleep.
			<<elseif $slaves[$i].rules.living == "spare">>
				<<if $slaves[$i].devotion > 20 && $slaves[$i].trust <= 10>>
					They don't provide much rest, however.
				<<else>>
					They provide meager rest, if anything.
				<</if>>
			<<else>>
				They provide
				<<if $slaves[$i].devotion > 20>>
					@@.green;adequate rest@@ for a $girl that knows how to manage $his time.
				<<else>>
					@@.green;adequate rest,@@ but not enough for a slave lacking time management.
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.rest == "mandatory">>
				<<if ($slaves[$i].devotion <= 20)>>
					Getting a day off each week @@.mediumaquamarine;builds feelings of liberty@@ a slave shouldn't have.
					<<set $slaves[$i].trust += 3>>
				<<else>>
					$He appreciates having a weekly day off and takes it as a sign that $he has a @@.mediumaquamarine;caring <<= WrittenMaster()>>.@@
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<<elseif $slaveUsedRest>>
				<<if $slaves[$i].rules.rest == "permissive">>
					<<if ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest whenever $he feels even the slightest bit tired; @@.mediumaquamarine;a privilege not lost on $him.@@
						<<set $slaves[$i].trust += 2>>
					<<else>>
						$He @@.hotpink;likes@@ that you @@.mediumaquamarine;care enough@@ to let him rest when he gets tired.
						<<set $slaves[$i].devotion += 1>>
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "restrictive">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's permitted to rest when fatigue sets in, but not enough to shake $his tiredness; $he feels this @@.gold;deprivation@@ is intentional.
						<<set $slaves[$i].trust -= 1>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest when fatigue sets in, and @@.hotpink;understands@@ this is less for $his wellbeing and more to prevent $him from become unproductive.
						<<set $slaves[$i].devotion += 1>>
					<<else>>
						$He's permitted to rest when fatigue sets in and is @@.mediumaquamarine;thankful@@ you would allow $him the privilege so that $he may serve you better.
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "cruel">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's @@.gold;terrified@@ that the only reason $he is given any time to rest at all is just to prolong your torment of $him.
						<<set $slaves[$i].trust -= 3>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						You work $him to the bone and only allow $him rest when on the verge of collapsing. $He @@.gold;fears@@ this @@.mediumorchid;cruelty@@ is just the beginning.
						<<set $slaves[$i].trust -= 3>>
						<<set $slaves[$i].devotion -= 3>>
					<<else>>
						Only being allowed rest when on the verge of collapsing @@.mediumorchid;shakes $his faith@@ in you a little.
						<<set $slaves[$i].devotion -= 2>>
					<</if>>
				<</if>>
				<<unset $slaveUsedRest>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if App.Entity.facilities.brothel.employeesIDs().size > 2 || _S.Madam>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you assign more whores to $brothelName.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if App.Entity.facilities.brothel.employeesIDs().size > 2 || _S.Madam>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $brothelName to get $him off.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole brothel of whores for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $brothelName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.brothel.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole brothel of whores for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more whores to $brothelName for $him to dominate.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if App.Entity.facilities.brothel.employeesIDs().size > 2 || _S.Madam>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $brothelName is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he services customers, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Customers are encouraged to work $his breasts and nipples in an effort to induce lactation; whoever gets $him to start dribbling milk wins a week of drinks on the house.
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $slaves[$i].devotion > 20>>
					<<if $slaves[$i].fetish == "boobs">>
						It's unclear if $he is using $his milky breasts during sex for you or $himself; either way, $his lactation won't be going anywhere.
					<<else>>
						$He happily puts $his milky breasts to use during sex in order to keep lactating for you.
					<</if>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].fetish == "boobs">>
						$He doesn't need to be ordered to use $his milky breasts during sex since $he favors them heavily.
					<<else>>
						$He is required to utilize $his milky breasts during sex to keep $his lactation strong.
					<</if>>
				<<else>>
					Customers are encouraged to molest $his breasts to keep $him lactating.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the penthouse slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he
					<<if $cellblock != 0>>
						@@.gold;spends $his off hours in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						spends $his off hours @@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he finds $his next client is into @@.gold;orgasm denial,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the DJ">>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in the back of $clubName and @@.mediumaquamarine;trusts@@ you a bit more for placing your faith in $his abilities.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It helps offset the tiring nature of $his position and gives $him a place to center $himself at the end of the day.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.club.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for leaving plentiful, tantalizing, outlets for $his nymphomania under $his care.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more sluts to $clubName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.club.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole club of sluts for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more sluts to $clubName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.club.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allowing $him a club of sluts to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@the day you assign more sluts to $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he works the crowd, analyzing $his sexual tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment between $his sets, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					$He has worked milking $himself into $his dance routines, both entertaining the crowd and keeping $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<elseif (canSee($slaves[$i])) && ($slaves[$i].intelligence+$slaves[$i].intelligenceImplant > 50)>>
						usually spends relaxing in $his private room reading books.
					<<elseif (canSee($slaves[$i])) && (canHear($slaves[$i]))>>
						usually spends relaxing in $his private room watching television.
					<<elseif canSee($slaves[$i])>>
						usually spends relaxing in $his private room reading magazines.
					<<elseif canHear($slaves[$i])>>
						usually spends relaxing in $his private room listening to music.
					<<else>>
						usually spends napping in $his private room.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "serve in the club">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, not that $his spectators care.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, not that $his spectators care.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off at work despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come up to the penthouse for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to the penthouse to beg for sexual release.
							<<else>>
								doesn't mind having to come to the penthouse to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly comes up to the penthouse and begs you to
							<<saRulesPlayerFetishPlay>>
							every break $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if $slaves[$i].sexualFlaw == "attention whore">>
						@@.hotpink;enjoys being allowed to masturbate,@@ especially since it's often on stage for $clubName's amusement.
						<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, though being forced to do it on a table surrounded by citizens prevents $him from getting complacent; you can never know when they'll want more.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, though being forced to do it in on a table surrounded by citizens@@.gold;terrifies $him;@@ you can never know when they'll want more.
						<<set $slaves[$i].trust -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is forced to spend time with the citizens and their wandering hands @@.gold;as punishment@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom or offering $himself up, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to either demand sex from _whom or offering $himself to patrons. $He @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex or offering $himself to patrons, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom or offering $himself up, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to either swap sex with _whom or attempt to seduce amorous citizens. $He @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				$He shares a room with <<if App.Entity.facilities.club.employeesIDs().size > 4>>some of <</if>>the other sluts, preventing $him from becoming too complacent. It doesn't help that during business hours $he has to take citizens in $his own bed.
			<<else>>
				$He likes $his personal space in $clubName, even if <<if canSmell($slaves[$i])>>it smells of<<else>>it's filled with the heat from<</if>> sex and citizens.
			<</if>>
			It provides
			<<if $slaves[$i].devotion > 20>>
				@@.green;adequate rest@@ for a slut that knows how to manage $his time.
			<<else>>
				@@.green;adequate rest,@@ but not enough for a slut lacking time management.
			<</if>>

			<<if $slaves[$i].rules.rest == "mandatory">>
				<<if ($slaves[$i].devotion <= 20)>>
					Getting a day off each week @@.mediumaquamarine;builds feelings of liberty@@ a slave shouldn't have.
					<<set $slaves[$i].trust += 3>>
				<<else>>
					$He appreciates having a weekly day off and takes it as a sign that $he has a @@.mediumaquamarine;caring <<= WrittenMaster()>>.@@
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<<elseif $slaveUsedRest>>
				<<if $slaves[$i].rules.rest == "permissive">>
					<<if ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest whenever $he feels even the slightest bit tired; @@.mediumaquamarine;a privilege not lost on $him.@@
						<<set $slaves[$i].trust += 2>>
					<<else>>
						$He @@.hotpink;likes@@ that you @@.mediumaquamarine;care enough@@ to let him rest when he gets tired.
						<<set $slaves[$i].devotion += 1>>
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "restrictive">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's permitted to rest when fatigue sets in, but not enough to shake $his tiredness; $he feels this @@.gold;deprivation@@ is intentional.
						<<set $slaves[$i].trust -= 1>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest when fatigue sets in, and @@.hotpink;understands@@ this is less for $his wellbeing and more to prevent $him from become unproductive.
						<<set $slaves[$i].devotion += 1>>
					<<else>>
						$He's permitted to rest when fatigue sets in and is @@.mediumaquamarine;thankful@@ you would allow $him the privilege so that $he may serve you better.
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "cruel">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's @@.gold;terrified@@ that the only reason $he is given any time to rest at all is just to prolong your torment of $him.
						<<set $slaves[$i].trust -= 3>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						You work $him to the bone and only allow $him rest when on the verge of collapsing. $He @@.gold;fears@@ this @@.mediumorchid;cruelty@@ is just the beginning.
						<<set $slaves[$i].trust -= 3>>
						<<set $slaves[$i].devotion -= 3>>
					<<else>>
						Only being allowed rest when on the verge of collapsing @@.mediumorchid;shakes $his faith@@ in you a little.
						<<set $slaves[$i].devotion -= 2>>
					<</if>>
				<</if>>
				<<unset $slaveUsedRest>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if App.Entity.facilities.club.employeesIDs().size > 2 || _S.DJ>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you assign more sluts to $clubName.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if App.Entity.facilities.club.employeesIDs().size > 2 || _S.DJ>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.club.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more sluts to $clubName to get $him off.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.club.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole club of sluts for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more sluts to $clubName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.club.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole club of sluts for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more sluts to $clubName for $him to dominate.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if App.Entity.facilities.club.employeesIDs().size > 2 || _S.DJ>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $clubName is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he services citizens, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Citizens are encouraged to work $his breasts and nipples in an effort to induce lactation; whoever gets $him to start dribbling milk wins a week of drinks on the house.
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $slaves[$i].devotion > 20>>
					<<if $slaves[$i].fetish == "boobs">>
						It's unclear if $his lactation based routines are for your benefit or $his own; either way, $his milk production won't be slowing down.
					<<else>>
						$He happily works $his lactation into $his routines in order to keep $his milk flowing.
					<</if>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].fetish == "boobs">>
						$He doesn't need to be ordered to work $his lactation into $his routines since $he does so already.
					<<else>>
						$He is required to utilize $his lactation while entertaining to keep $his lactation strong.
					<</if>>
				<<else>>
					Citizens are encouraged to molest $his breasts to keep $him lactating.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the penthouse slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs during business hours, which @@.red;isn't healthy,@@ but helps bind $him to you strongly. The patrons won't complain either.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing, often on stage during a dance,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he
					<<if $cellblock != 0>>
						@@.gold;spends $his off hours in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						spends $his off hours @@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he finds $his next dance to be both extremely sexual and @@.gold;completely unsatisfying,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Nurse">>
			<<set $slaves[$i].need -= (App.Entity.facilities.clinic.employeesIDs().size*3)>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in $clinicName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			Having a place to call $his own each night helps keep the stress of $his duties from catching up with $him.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if $slaves.length > 5>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;happily avails@@ $himself to any slaves visiting the patients under $his care.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day traffic in $clinicName picks up.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if $slaves.length > 5>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;happily rapes@@ any slaves visiting the patients under $his care.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day traffic in $clinicName picks up.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if $slaves.length > 5>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;happily dominates@@ any slaves visiting the patients under $his care.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day traffic in $clinicName picks up.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he cares for $his patients to determine $his tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He spends much of $his time with a pair of automatic breast pumps attached to $his chest. The constant stimulation will have $him milky soon enough.
				<<set $slaves[$i].induceLactation += 8>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					It's not unusual to see $him tending to $his patients with a pair of breast pumps sucking away at $his breasts.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room amusing $himself with the amenities for recovering slaves.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "get treatment in the clinic">>
			<<if $slaves[$i].relationship > 2>>
				<<set _lover = $slaveIndices[$slaves[$i].relationshipTarget]>>
				<<if !canMove($slaves[_lover]) || !isSlaveAvailable($slaves[_lover])>>
					<<set _lover = 0>>
				<</if>>
			<<else>>
				<<set _lover = 0>>
			<</if>>
			<<if _lover == 0 && $seeIncest == 1>>
				<<set _famVisitor = randomRelatedSlave($slaves[$i], (s) => { return canMove(s) && isSlaveAvailable(s) && App.Utils.sexAllowed($slaves[$i], s); } )>>
			<</if>>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].relationship == -3>>
				is well taken care of during $his stay in $clinicName; you make sure your $wife's every sexual need is handled personally.
				<<set $slaves[$i].need = 0>>
				<<if canImpreg($slaves[$i], $PC) && (($slaves[$i].vagina > 0 && $slaves[$i].ovaries == 1)||($slaves[$i].anus != 0 && $slaves[$i].mpreg == 1))>>
					<<= knockMeUp($slaves[$i], 10, 0, -1, 1)>>
					<<if ($slaves[$i].vagina > 0 && $slaves[$i].ovaries == 1)>>
						<<set $slaves[$i].counter.vaginal += 7, $vaginalTotal += 7>>
					<<else>>
						<<set $slaves[$i].counter.anal += 7, $analTotal += 7>>
					<</if>>
					<<if $slaves[$i].preg > 0>>
						It comes as little surprise when routine health checks start to show @@.lime;$he's pregnant!@@
					<</if>>
				<</if>>
			<<elseif _lover != 0>>
				<<setLocalPronouns $slaves[_lover] 2>>
				<<set $slaves[$i].need = 0>>
				is well taken care of during $his stay in $clinicName; $his <<if $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>> frequently stops by when $he gets the chance to make sure $his sexual needs are properly handled.
				<<set $slaves[_lover].counter.oral += 14, $oralTotal += 14>>
			<<elseif (def _famVisitor)>>
				is well-loved by $his family; this week, $his <<= relativeTerm($slaves[$i], _famVisitor)>> @@.lightgreen;_famVisitor.slaveName@@ pays special attention to $him, making sure $his sexual needs are met.
				<<set $slaves[$i].need = 0>>
				<<set _famVisitor.counter.oral += 7, $oralTotal += 7>>
			<<elseif _S.Nurse>>
				is routinely brought to orgasm by _S.Nurse.slaveName as part of $his duties.
				<<if canPenetrate($slaves[$i]) && _S.Nurse.boobs >= 500>>
					<<run actX(_S.Nurse, "mammary", 14)>>
				<<else>>
					<<run actX(_S.Nurse, "oral", 14)>>
					/* possible cumflation code here */
				<</if>>
				<<set $slaves[$i].need -= 60>>
			<<elseif _release.masturbation === 1>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
					takes solace in $his permission to masturbate rather than being forced to seek other means of release, @@.mediumaquamarine;reducing $his fear@@ of you.
					<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
				<<elseif ($slaves[$i].devotion <= 20)>>
					enjoys being allowed to masturbate rather than having to seek other means of release, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
					<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
				<<elseif ($slaves[$i].devotion <= 50)>>
					accepts having to relieve $himself solely through masturbation.
					<<set $slaves[$i].need = 0>>
				<<else>>
					is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;understands you care about $his current health.@@
					<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
				<</if>>
				<<if $slaves[$i].devotion > 20>>
					When $he does play with $himself, $he
					<<saRulesMasturbationFetishPlay>>
					<<saRulesMasturbationDiscoversFetish>>
				<</if>>
				<<saRulesMasturbationDrugEffects>>
			<<else>>
				eventually gives in to $his urges and is @@.gold;punished@@ for illicit masturbation.
				<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $clinicDecoration>>
				<<case "Eugenics" "Gender Fundamentalist" "Gender Radicalist" "Hedonistic" "Maturity Preferentialist" "Paternalist" "Repopulation Focus" "Slimness Enthusiast" "Youth Preferentialist">>
					The luxurious living conditions encourage $him to @@.mediumaquamarine;feel respectable.@@ $He can't help but @@.hotpink;feel you care@@ about $him as something more than just an object under such lovely treatment.
					<<set $slaves[$i].trust += 3, $slaves[$i].devotion += 1>>
				<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Egyptian Revivalist" "Roman Revivalist">>
					The living conditions, despite their open nature, are @@.mediumaquamarine;quite relaxing.@@ $His opinion of you @@.hotpink;can only rise@@ with such lovely treatment.
					<<set $slaves[$i].trust += 2, $slaves[$i].devotion += 1>>
				<<case "Edo Revivalist">>
					The living conditions, despite their spartan nature, are @@.mediumaquamarine;calming.@@ $His opinion of you @@.hotpink;improves@@ with such a contrast to $his usual life.
					<<set $slaves[$i].trust += 1, $slaves[$i].devotion += 1>>
				<<case "standard">>
					The spare living conditions of $clinicName serve as a constant reminder that @@.hotpink;you only care about $his body@@ and not about $him.
					<<if ($slaves[$i].trust > 20)>>
						@@.gold;$He fully understands what this means for $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<default>>
					The spare living conditions of $clinicName serve as a constant reminder that @@.hotpink;$he is nothing more than an object@@ for your amusement.
					<<if ($slaves[$i].trust > 20)>>
						$He can only @@.gold;envision the horrors@@ that await $him under your care.
						<<set $slaves[$i].trust -= 2>>
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<</switch>>
			<<else>>
				<<switch $clinicDecoration>>
				<<case "Eugenics" "Gender Fundamentalist" "Gender Radicalist" "Hedonistic" "Maturity Preferentialist" "Paternalist" "Repopulation Focus" "Slimness Enthusiast" "Youth Preferentialist">>
					$He loves $his stay in $clinicName and almost wishes it didn't have to end.
				<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Egyptian Revivalist" "Roman Revivalist">>
					The living conditions, despite their open nature, are @@.mediumaquamarine;quite relaxing.@@ $He savors $his stay at $clinicName.
					<<set $slaves[$i].trust += 1>>
				<<case "Edo Revivalist">>
					The living conditions, despite their spartan nature, are @@.mediumaquamarine;calming.@@ $He enjoys $his stay at $clinicName.
					<<set $slaves[$i].trust += 1>>
				<<case "standard">>
					<<if ($slaves[$i].trust > 40)>>
						The spare living conditions of $clinicName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The spare living conditions of $clinicName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<default>>
					<<if ($slaves[$i].devotion >= 80)>>
						The spare living conditions of $clinicName remind $him that $he is just an object for your amusement, and that is fine with $him.
					<<elseif ($slaves[$i].trust > 40)>>
						The spare living conditions of $clinicName @@.gold;remind $him that $he is just an object to you.@@
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The spare living conditions of $clinicName @@.gold;keep $him aware of $his place as your plaything.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<</switch>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day $he is released from $clinicName.
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						Under the rules, $he will find $himself constantly molested by other slaves once $he leaves $clinicName, but $he's already in such constant terror it that it doesn't cross $his mind.
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly takes the opportunity@@ whenever visiting slaves are present.
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly orders@@ visiting slaves to get in bed with $him.
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							Under the rules, $he's allowed to demand other slaves to have sex with $him, and $he @@.hotpink;eagerly orders@@ visiting slaves to serve $his every desire.
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows that $he's safe@@ from other slave's abuse while $he is recovering.
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him choice of entertainment, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He spends $his stay with a pair of automatic breast pumps attached to $his chest. The constant stimulation will have $him milky soon enough.
				<<set $slaves[$i].induceLactation += 10>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $slaves[$i].devotion > 20>>
					<<if $slaves[$i].fetish == "boobs">>
						<<if (canHold($slaves[$i]))>>
							Whenever $he is feeling up to it, $he enjoys milking $himself by hand in lieu of using a breast pump; it's around for those times $he can't muster the energy.
						<<else>>
							$He spends $his stay mostly with a pair of automatic breast pumps attached to $his chest. They get $him so worked up, $he has to be asked to take breaks from using them.
						<</if>>
					<<else>>
						$He spends $his stay with a pair of automatic breast pumps attached to $his chest. The periodic suction is both relieving and invigorating.
					<</if>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].fetish == "boobs">>
						$He spends most of $his stay with a pair of automatic breast pumps attached to $his chest. They get $him so worked up, $his time with them has to be limited.
					<<else>>
						$He spends $his stay with a pair of automatic breast pumps attached to $his chest. It's a little uncomfortable, but $he won't dare complain.
					<</if>>
				<<else>>
					$He spends $his stay with a pair of automatic breast pumps locked to $his chest. $His lactation will not be allowed to wane so easily.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if random(-200,200) > $slaves[$i].health.condition>>
				<<if $slaves[$i].devotion > 50>>
					$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
					<<set _punishments = 0>>
					<<set _rewards = 3>>
				<<elseif $slaves[$i].devotion > 20>>
					$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 2>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].trust < -20>>
						$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
						<<set _punishments = 1>>
						<<set _rewards = 1>>
					<<else>>
						$He's too trusting for obedience and often needs to be punished.
						<<set _punishments = 2>>
						<<set _rewards = 0>>
					<</if>>
				<<else>>
					<<if $slaves[$i].trust < -50>>
						$He's only obedient out of terror, so $he sometimes needs to be punished.
						<<set _punishments = 1>>
						<<set _rewards = 0>>
					<<else>>
						$He hates you too much to obey, so $he needs constant punishment.
						<<set _punishments = 3>>
						<<set _rewards = 0>>
					<</if>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given access to the amenities present for recovering slaves to pass the time.
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he spends $his time @@.gold;strapped@@ to $his bed until $he behaves.
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him or complicate $his stay, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's @@.gold;denied@@ $his next orgasm, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Wardeness">>
			<<set $slaves[$i].need -= (_L.cellblock*5)>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				gets off at work, so $he doesn't feel the need for release that often.
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, especially with $his prisoners available to $him, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>,@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<else>>
						/* wardeness is not bound by Universal Consent */
						opts to @@.mediumaquamarine;take advantage of the prisoners@@ to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
						<<saRulesPermissiveDrugEffects>>
					<</if>>
				<</if>>
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in $cellblockName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It also helps to offset the tiring nature of $his position.

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he oversees the prisoners, analyzing $his preferences. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 3>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					$He works maintaining $his lactation into $his duties; when $he feels $his chest has grown too heavy, the nearest prisoner had better have an appetite or there will be punishment.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if _L.cellblock > 1>> teaching a disobedient slave how to properly use their mouth<</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "be confined in the cellblock">>
			<<if _S.Wardeness && canPenetrate(_S.Wardeness)>>
				<<set _wardenFunTimes = random(0,5)>>
				<<set $slaves[$i].need -= (10*_wardenFunTimes)>>
			<</if>>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, making the rule restricting $his sexual outlets superfluous.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, making the rule restricting $his sexual outlets superfluous.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].relationship == -3>>
				You make sure your troublesome $wife's sexual needs are handled, openly, in the middle of $cellblockName, where everyone can see, hear, and smell your dominance.
				<<set $slaves[$i].need = 0>>
				<<if canImpreg($slaves[$i], $PC) && (($slaves[$i].vagina > 0 && $slaves[$i].ovaries == 1)||($slaves[$i].anus != 0 && $slaves[$i].mpreg == 1))>>
					<<= knockMeUp($slaves[$i], 10, 0, -1, 1)>>
					<<if ($slaves[$i].vagina > 0 && $slaves[$i].ovaries == 1)>>
						<<set $slaves[$i].counter.vaginal += 7, $vaginalTotal += 7>>
					<<else>>
						<<set $slaves[$i].counter.anal += 7, $analTotal += 7>>
					<</if>>
					<<if $slaves[$i].preg > 0>>
						As an added show, you @@.lime;proudly display $his positive pregnancy@@ test for all to see.
					<</if>>
				<<elseif canDoVaginal($slaves[$i]) && $slaves[$i].vagina > 0>>
					<<set $slaves[$i].counter.vaginal += 7, $vaginalTotal += 7>>
				<<elseif canDoAnal($slaves[$i]) && $slaves[$i].anus > 0>>
					<<set $slaves[$i].counter.anal += 7, $analTotal += 7>>
				<</if>>
			<<else>>
				<<if _S.Wardeness && canPenetrate(_S.Wardeness)>>
					<<run SimpleSexAct.Slave($slaves[$i], _wardenFunTimes)>>
					<<run actX(_S.Wardeness, "penetrative", _wardenFunTimes)>>
					<<if _wardenFunTimes > 0 && canImpreg($slaves[$i], _S.Wardeness) && ($cellblockWardenCumsInside == 1 || _S.Wardeness.fetish == "mindbroken")>>
						<<if ($slaves[$i].vagina > 0 && $slaves[$i].ovaries == 1)>>
							<<= knockMeUp($slaves[$i], 10, 0, $WardenessID, 1)>>
							<<run seX($slaves[$i], "vaginal", _S.Wardeness, 1)>>
						<<elseif ($slaves[$i].anus > 0 && $slaves[$i].mpreg == 1)>>
							<<= knockMeUp($slaves[$i], 10, 1, $WardenessID, 1)>>
							<<run seX($slaves[$i], "anal", _S.Wardeness, 1)>>
						<</if>>
					<</if>>
				<</if>>
				<<if $slaves[$i].need < $slaves[$i].needCap*0.5>>
					<<if ($slaves[$i].devotion <= 20)>>
						gets off despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
						<<set $slaves[$i].devotion += 1>>
						<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
							$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
							<<set $slaves[$i].trust -= 1>>
						<</if>>
						<<set $slaves[$i].need -= 20>>
					<</if>>
				<<else>>
					<<if random(-100,0) > $slaves[$i].devotion>>
						refuses to not touch $himself and is @@.gold;severely punished@@ for illicit masturbation.
						<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
					<<else>>
						@@.gold;fears@@ trying to
						<<if ($slaves[$i].chastityPenis)>>
							touch $himself
						<<elseif canAchieveErection($slaves[$i])>>
							jack off
						<<else>>
							touch $himself
						<</if>>
						to get relief when $he knows what the consequences are.
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<</if>>
			<</if>>

			<<if $slaves[$i].voice == 0>>
				Living as a mute @@.hotpink;molds $him@@ to your will.
				<<set $slaves[$i].devotion += 1>>
			<<elseif $slaves[$i].lips > 95>>
				Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
				<<set $slaves[$i].devotion += 1>>
			<<elseif $slaves[$i].rules.speech == "restrictive">>
				Living under enforced silence @@.hotpink;molds $him@@ to your will.
				<<set $slaves[$i].devotion += 1>>
			<</if>>

			<<switch $cellblockDecoration>>
			<<case "Degradationist">>
				$He expected spare living conditions. In reality, they are far worse. @@.gold;Not one moment goes by that $he isn't filled with terror.@@
				<<set $slaves[$i].trust -= 3>>
			<<case "Paternalist">>
				$He expected far worse living conditions, and while still resistant, @@.hotpink;finds $himself more willing to obey.@@
				<<set $slaves[$i].devotion += 1>>
			<<case "Pastoralist">>
				$He expected the spare living conditions, but not the dietary supplements. $He never anticipated @@.gold;you'd go this far@@ to force $him into shape and is constantly reminded of $his changes by just how small $his cell feels with a belly full of milk.
				<<set $slaves[$i].trust -= 2>>
			<<case "Body Purist">>
				$He expected the spare living conditions, but not the excessive hydration. $He never anticipated @@.gold;you'd go this far@@ to force $him into shape and is constantly reminded of $his changes by the fullness of $his bladder.
				<<set $slaves[$i].trust -= 2>>
			<<case "Hedonistic">>
				$He expected the spare living conditions, but not the dietary supplements. $He never anticipated @@.gold;you'd go this far@@ to force $him into shape and is constantly reminded of $his changes by just how small $his cell feels with a belly full of food.
				<<set $slaves[$i].trust -= 2>>
			<<default>>
				$He expected the spare living conditions, but no matter how hard $he tries to shut out $his surroundings, @@.gold;they still wear down $his will.@@
				<<set $slaves[$i].trust -= 1>>
			<</switch>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He spends $his sentence with a pair of automatic breast pumps locked to $his chest. If all goes well, $he'll be both reformed and lactating by $his release.
				<<set $slaves[$i].induceLactation += 10>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				$He spends $his stay with a pair of automatic breast pumps locked to $his chest.
				<<if $slaves[$i].devotion > 20>>
					<<if $slaves[$i].fetish == "boobs">>
						It's both enjoyable and what you want, so the inconvenience is easily tolerated.
					<<else>>
						It beats swollen breasts, so $he can't complain.
					<</if>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].fetish == "boobs">>
						It's enjoyable, but showing it will only be met with punishment.
					<<else>>
						It's uncomfortable, but complaints will only be met with punishment.
					<</if>>
				<<else>>
					$His lactation will not be allowed to wane so easily.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].trust < -50>>
				$He's only obedient out of terror, so $he sometimes needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 0>>
			<<else>>
				$He hates you too much to obey, so $he needs constant punishment.
				<<set _punishments = 3>>
				<<set _rewards = 0>>
			<</if>>

			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he @@.gold;spends $his day in solitary.@@
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's given a hit of mild aphrodisiacs and @@.gold;left to squirm without release,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Attendant">>
			<<set $slaves[$i].need -= (App.Entity.facilities.spa.employeesIDs().size*3)>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>>, creams, and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in the back of $spaName and @@.mediumaquamarine;trusts@@ you a bit more for placing the well-being of your slaves in $his <<if !hasAnyArms($slaves[$i])>>figurative <</if>>hand<<if hasBothArms($slaves[$i])>>s<</if>>.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			$He finds plenty of time to relax between $his duties, or during them, should $his company be requested.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for all the warm, moist bodies lounging around $spaName.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves enter $spaName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing all the warm, moist bodies lounging around $spaName.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves come to $spaName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allotting $him all the warm, moist bodies lounging around $spaName.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves enter $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he massages and relieves slaves, analyzing $his tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					Whenever $he finds a free moment from $his duties, $he takes the time to thoroughly milk $his breasts to keep $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he usually spends soaking in a hot bath or enjoying the amenities $his facility has to offer.
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "rest in the spa">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif _S.Attendant>>
				is routinely relieved of any built up tension by _S.Attendant.slaveName and $his
				<<if canPenetrate($slaves[$i]) && _S.Attendant.boobs >= 500>>
					luscious breasts.
					<<run actX(_S.Attendant, "mammary", 14)>>
				<<else>>
					<<if _S.Attendant.lips > 40>>
						luscious lips.
					<<elseif _S.Attendant.skill.oral > 30>>
						skilled tongue.
					<<else>>
						willing mouth.
					<</if>>
					<<run actX(_S.Attendant, "oral", 14)>>
					/* possible cumflation code here */
				<</if>>
				<<set $slaves[$i].need -= 60>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come up to the penthouse for sexual release, or to beg to share a bath with you, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to the penthouse to beg for sexual release or for you to join $him in $spaName.
							<<else>>
								doesn't mind having to come to the penthouse to beg for sexual release or for you to join $him in $spaName.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly comes up to the penthouse and begs you to
							<<saRulesPlayerFetishPlay>>
							whenever the urge strikes.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to demand sex from _whom, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex or giving free samples, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to swap sex with _whom, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $spaDecoration>>
				<<case "Chinese Revivalist">>
					The steam of the bathhouse lingers even in $his personal room and @@.hotpink;dulls $his will.@@
					<<set $slaves[$i].devotion += 1>>
				<<case "Chattel Religionist">>
					$He gets a space of $his own in the communal slave quarters, but the constant sexual presence of the other slaves @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<case "Degradationist">>
					$He gets a little room all to $himself, allowing $him to feel self-reliant; or it would, if it didn't have numerous cameras watching $his every move. The conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
				<<case "Asset Expansionist" "Transformation Fetishist" "Pastoralist">>
					$He gets a little room all to $himself, allowing $him to feel self-reliant; or it would, if it weren't filled with constant reminders of $his changing body. The conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
				<<default>>
					$He gets a comfortable little room all to $himself, allowing $him to let down $his guard and @@.mediumaquamarine;feel self-reliant.@@
					<<set $slaves[$i].trust += 1>>
				<</switch>>
			<<else>>
				<<switch $spaDecoration>>
				<<case "Chinese Revivalist">>
					The steam of the bathhouse lingers even in $his personal room and @@.hotpink;renders $him even more submissive.@@
					<<set $slaves[$i].devotion += 1>>
				<<case "Chattel Religionist">>
					$He likes $his personal space in $spaName, even if <<if canSmell($slaves[$i])>>it smells of<<else>>it's filled with the heat from<</if>> sex and steam.
				<<case "Degradationist">>
					<<if ($slaves[$i].trust > 40)>>
						The invasive living conditions of $spaName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The invasive living conditions of $spaName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<case "Asset Expansionist" "Transformation Fetishist" "Pastoralist">>
					$He likes $his little room in $spaName, <<if $slaves[$i].boobs < 10000>>even if $his boobs are too small to make the most of it<<else>>even more so, since it accommodates $his expansive bust<</if>>.
				<<default>>
					$He loves $his little room in $spaName. It's the perfect end to a day of relaxation.
					<<set $slaves[$i].trust += 1>>
				<</switch>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day another slave grabs $him from under the water.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Attendant>>more of your slaves join $him in the pool<<else>>you assign more slaves to $spaName to help $him relieve $his <<if $slaves[$i].balls > 0>>swollen balls<<else>>tension<</if>><</if>>.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole pool of slaves for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Attendant>>more of your slaves join $him in the pool<<else>>you assign more slaves to $spaName to help $him unwind<</if>>.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole pool of slaves for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Attendant>>more of your slaves join $him in the pool<<else>>you assign more slaves to $spaName to help $him unwind<</if>>.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if App.Entity.facilities.spa.employeesIDs().size > 2>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $spaName is <<if _S.Attendant>>mostly frequented by other slaveowners' stock<<else>>$his little private sanctuary<</if>>.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he mingles with other soaking slaves, analyzing $his sexual tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $AttendantID != 0>> /* Attendant milks natural lactation in order to relieve physical stress — spaReport */
				<<if $slaves[$i].rules.lactation == "induce">>
					<<if canHold($slaves[$i]) && $slaves[$i].devotion >= -20>>
						$He massages $his breasts while relaxing in an effort to bring in $his lactation.
					<<else>>
						$He tries to relax as best $he can with a pair of automatic breast pumps attached to $his chest in an attempt to induce lactation.
					<</if>>
					<<set $slaves[$i].induceLactation += 4>>
					<<= induceLactation($slaves[$i])>>
					<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
				<<elseif $slaves[$i].rules.lactation == "maintain">>
					<<if canHold($slaves[$i]) && ($slaves[$i].devotion >= -20 || $slaves[$i].fetish == "boobs")>>
						$He massages $his breasts while relaxing to take the edge off and keep the milk flowing.
					<<else>>
						$He tries to relax as best $he can with a pair of automatic breast pumps stuck to $his chest, keeping $his milk flowing.
					<</if>>
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he usually spends in a private bath<<if $AttendantID != 0>>, enjoying _S.Attendant.slaveName's best care<</if>>.
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he's
					<<if $cellblock != 0>>
						@@.gold;put in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						@@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's @@.gold;denied@@ $his next orgasm, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Matron">>
			<<set $slaves[$i].need -= (_L.nursery*3)>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if (_release.masturbation === 0)>>
					gets off while relieving $his charges, so being forbidden from masturbation doesn't really bother $him.
				<<else>>
					gets off while relieving $his charges, so $he doesn't feel the need for release that often.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>>, creams, and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in the back of $nurseryName and @@.mediumaquamarine;trusts@@ you a bit more for placing the responsibility of raising $arcologies[0].name's children in $his <<if !hasAnyArms($slaves[$i])>>figurative <</if>>hand<<if hasBothArms($slaves[$i])>>s<</if>>.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.nursery > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for all the nannies busily scurrying around $nurseryName.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves enter $nurseryName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.nursery > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing all the nannies busily scurrying around $nurseryName.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves come to $nurseryName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.nursery > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allotting $him all the nannies busily scurrying around $nurseryName.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day more vulnerable slaves enter $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he massages and relieves slaves, analyzing $his tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					Whenever $he finds a free moment from $his duties, $he takes the time to thoroughly milk $his breasts to keep $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he usually spends soaking in a hot bath or enjoying the amenities $his facility has to offer.
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "work as a nanny">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif _S.Matron>>
				is routinely relieved of any built up tension by _S.Matron.slaveName and $his
				<<if canPenetrate($slaves[$i]) && _S.Matron.boobs >= 500>>
					luscious breasts.
					<<run actX(_S.Matron, "mammary", 14)>>
				<<else>>
					<<if _S.Matron.lips > 40>>
						luscious lips.
					<<elseif _S.Matron.skill.oral > 30>>
						skilled tongue.
					<<else>>
						willing mouth.
					<</if>>
					<<run actX(_S.Matron, "oral", 14)>>
					/* possible cumflation code here */
				<</if>>
				<<set $slaves[$i].need -= 60>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come up to the penthouse for sexual release and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to the penthouse to beg for sexual release.
							<<else>>
								doesn't mind having to come to the penthouse to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly comes up to the penthouse and begs you to
							<<saRulesPlayerFetishPlay>>
							whenever the urge strikes.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to demand sex from _whom, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex or giving free samples, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced by the urges induced by the food to swap sex with _whom, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $nurseryDecoration>>
				<<case "Chinese Revivalist">>
					The Oriental artwork in $his personal room reminds $him of where $he is and @@.hotpink;dulls $his will.@@
					<<set $slaves[$i].devotion += 1>>
				<<case "Chattel Religionist">>
					$He gets a space of $his own in the communal slave quarters, but the constant sexual presence of the other slaves @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<case "Degradationist">>
					$He gets a little room all to $himself, allowing $him to feel self-reliant; or it would, if it didn't have numerous cameras watching $his every move. The conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
				<<case "Asset Expansionist" "Transformation Fetishist" "Pastoralist">>
					$He gets a little room all to $himself, allowing $him to feel self-reliant; or it would, if it weren't filled with constant reminders of $his changing body. The conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
				<<default>>
					$He gets a comfortable little room all to $himself, allowing $him to let down $his guard and @@.mediumaquamarine;feel self-reliant.@@
					<<set $slaves[$i].trust += 1>>
				<</switch>>
			<<else>>
				<<switch $nurseryDecoration>>
				<<case "Chinese Revivalist">>
					The Oriental artwork in $his personal room reminds $him of $his position and @@.hotpink;renders $him even more submissive.@@
					<<set $slaves[$i].devotion += 1>>
				<<case "Chattel Religionist">>
					$He likes $his personal space in $nurseryName, even if it constantly reminds $him that $he is naught but a servant to the Prophet.
				<<case "Degradationist">>
					<<if ($slaves[$i].trust > 40)>>
						The invasive living conditions of $nurseryName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The invasive living conditions of $nurseryName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<case "Asset Expansionist" "Transformation Fetishist" "Pastoralist">>
					$He likes $his little room in $nurseryName, <<if $slaves[$i].boobs < 10000>>even if $his boobs are too small to make the most of it<<else>>even more so, since it accommodates $his expansive bust<</if>>.
				<<default>>
					$He loves $his little room in $nurseryName. It's the perfect end to a busy day of taking care of children.
					<<set $slaves[$i].trust += 1>>
				<</switch>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if _L.nursery > 2>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day another slave grabs $him from under the water.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if _L.nursery > 2>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.nursery > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Matron>>more of your slaves join $him in $nurseryName <<else>>you assign more nurses to $nurseryName to help $him relieve $his <<if $slaves[$i].balls > 0>>swollen balls<<else>>tension<</if>><</if>>.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.nursery > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole nursery of slaves for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Matron>>more of your slaves join $him in $nurseryName <<else>>you assign more nurses to $nurseryName to help $him unwind<</if>>.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.nursery > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole nursery of slaves for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day <<if _S.Matron>>more of your slaves join $him in $nurseryName <<else>>you assign more nurses to $nurseryName to help $him unwind<</if>>.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if _L.nursery > 2>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $nurseryName is <<if _S.Matron>>mostly frequented by other slaveowners' stock<<else>>$his little private sanctuary<</if>>.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he mingles with other busily working slaves, analyzing $his sexual tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			/* update me, things like wet nursing and the like are important here */
			<<if $slaves[$i].rules.lactation == "induce">>
				$He spends $his stay with a pair of automatic breast pumps attached to $his chest. The constant stimulation will have $him milky soon enough.
				<<set $slaves[$i].induceLactation += 10>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $slaves[$i].devotion > 20>>
					Milk is always needed in a nursery and $his is no exception. $He is thoroughly drained each and every day, be it by breast pump or nursing infant.
				<<elseif $slaves[$i].devotion >= -20>>
					Milk is always needed in a nursery and $his is no exception. $He is thoroughly drained each and every day.
				<<else>>
					$He spends $his stay with a pair of automatic breast pumps locked to $his chest. $His is a valuable commodity and needs to be maintained.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the penthouse slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he's
					<<if $cellblock != 0>>
						@@.gold;put in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						@@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's @@.gold;denied@@ $his next orgasm, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Schoolteacher">>
			<<set $slaves[$i].need -= _L.schoolroom*10>>
			<<set _sexLessons = _L.schoolroom*2>>
			<<if canDoVaginal($slaves[$i]) && $slaves[$i].vagina != 0>>
				<<set $slaves[$i].counter.vaginal += _sexLessons, $vaginalTotal += _sexLessons>>
			<</if>>
			<<if canDoAnal($slaves[$i]) && $slaves[$i].anus != 0>>
				<<set $slaves[$i].counter.anal += _sexLessons, $analTotal += _sexLessons>>
			<</if>>
			<<if canPenetrate($slaves[$i])>>
				<<set $slaves[$i].counter.penetrative += _sexLessons, $penetrativeTotal += _sexLessons>>
			<</if>>
			<<set $slaves[$i].counter.oral += _sexLessons, $oralTotal += _sexLessons>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if (_release.masturbation == 0)>>
					gets off with $his students, so being forbidden from masturbation doesn't really bother $him.
				<<else>>
					gets off with $his students, so $he doesn't feel the need for release that often.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						in front of $his class whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys outside of class, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you won't make an example out of $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;takes advantage@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in the back of $schoolroomName and @@.mediumaquamarine;trusts@@ you a bit more for placing the future education of your slaves in $his <<if !hasAnyArms($slaves[$i])>>figurative <</if>>hand<<if hasBothArms($slaves[$i])>>s<</if>>.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It also helps to offset the tiring nature of $his position.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.schoolroom > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for giving $him plentiful teacher's assistants for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day more of your slaves enroll in $schoolroomName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.schoolroom > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole class of students for $him to rape lessons into.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day more of your slaves enroll in $schoolroomName.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.schoolroom > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole class of students to demonstrate proper submission with.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day more of your slaves enroll in $schoolroomName.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he teaches students, analyzing $his preferences. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$His lectures frequently include demonstrations on the proper way to induce lactation.
				<<set $slaves[$i].induceLactation += 5>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					$He makes sure to give a special lecture whenever $his breasts start to feel full on the proper methods to milk a $girl.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if $AttendantID != 0>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if _L.schoolroom > 1>> giving private lessons to a student<</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "learn in the schoolroom">>
			<<if _S.Schoolteacher>>
				<<set $slaves[$i].need -= 30>>
				<<run actX($slaves[$i], "oral", 7), actX($slaves[$i], "mammary", 7)>>
				<<if canDoVaginal($slaves[$i])>>
					<<if $slaves[$i].vagina != 0>>
						<<run seX(_S.Schoolteacher, "penetrative", $slaves[$i], "vaginal", 7)>>
						<<if canImpreg($slaves[$i], _S.Schoolteacher) && ($slaves[$i].breedingMark == 0 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>>
							<<= knockMeUp($slaves[$i], 5, 0, _S.Schoolteacher.ID, 1)>>
						<</if>>
					<</if>>
					<<set $slaves[$i].need -= 10>>
				<</if>>
				<<if canDoAnal($slaves[$i])>>
					<<if $slaves[$i].anus != 0>>
						<<run seX(_S.Schoolteacher, "penetrative", $slaves[$i], "anal", 7)>>
						<<if canImpreg($slaves[$i], _S.Schoolteacher) && ($slaves[$i].breedingMark == 0 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>>
							<<= knockMeUp($slaves[$i], 5, 1, _S.Schoolteacher.ID, 1)>>
						<</if>>
					<</if>>
					<<set $slaves[$i].need -= 10>>
				<</if>>
				<<if canPenetrate($slaves[$i])>>
					<<if _S.Schoolteacher.vagina != 0>>
						<<run seX(_S.Schoolteacher, "vaginal", $slaves[$i], "penetrative", 7)>>
					<<elseif _S.Schoolteacher.anus != 0>>
						<<run seX(_S.Schoolteacher, "anal", $slaves[$i], "penetrative", 7)>>
					<</if>>
					<<if canImpreg(_S.Schoolteacher, $slaves[$i]) && (_S.Schoolteacher.breedingMark == 0 || $propOutcome == 0 || $eugenicsFullControl == 1 || $arcologies[0].FSRestart == "unset")>>
						<<if _S.Schoolteacher.vagina != 0 && _S.Schoolteacher.ovaries == 1>>
							<<= knockMeUp(_S.Schoolteacher, 5, 0, $slaves[$i].ID, 1)>>
						<<elseif _S.Schoolteacher.anus != 0 && _S.Schoolteacher.mpreg == 1>>
							<<= knockMeUp(_S.Schoolteacher, 5, 1, $slaves[$i].ID, 1)>>
						<</if>>
					<</if>>
					<<set $slaves[$i].need -= 10>>
				<</if>>
			<</if>>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, making the rule restricting $his sexual outlets superfluous.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, making the rule restricting $his sexual outlets superfluous.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off during class despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off during class as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off during class, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off during class, so $he doesn't feel the need to masturbate frequently.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come to you for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to you to beg for sexual release.
							<<else>>
								doesn't mind having to come to you to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly begs you to
							<<saRulesPlayerFetishPlay>>
							every chance $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to demand sex from _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to swap sex with _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				The reasonable living conditions allow $him to @@.mediumaquamarine;feel self-reliant.@@
				<<set $slaves[$i].trust += 1>>
			<<else>>
				$He likes $his personal space in the dormitory even if the other students sometimes bother $him.
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if _L.schoolroom > 2 || _S.Schoolteacher>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day more students enroll in $schoolroomName.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if _L.schoolroom > 2 || _S.Schoolteacher>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.schoolroom > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day more students enroll in $schoolroomName to get $him off.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.schoolroom > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole class of students for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day more students enroll in $schoolroomName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.schoolroom > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole class of students for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day more students enroll in $schoolroomName for $him to dominate.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if _L.schoolroom > 2 || _S.Schoolteacher>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $schoolroomName is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he studies, analyzing what topics $he tends to keep returning to. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He is taught and tested on how to properly induce lactation.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				$He is taught and tested on how to properly manage lactation.
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his dorm room.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he
					<<if $cellblock != 0>>
						@@.gold;spends after class in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's method of teaching<</if>>.
					<<else>>
						spends $his off hours @@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's dragged to the front of the class and @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's dragged to the front of the class for use in a lesson on edging. $He is kept @@.gold;just shy of orgasm@@ for the rest of the day, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Stewardess">>
			<<set $slaves[$i].need -= _L.servantsQuarters*10>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if _release.masturbation === 0>>
					gets off while performing $his duties, so being forbidden from masturbation doesn't really bother $him.
					<<set $slaves[$i].need -= 20>>
				<<else>>
					gets off while performing $his duties, so $he doesn't feel the need for release that often.
					<<set $slaves[$i].need -= 20>>
				<</if>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever $he crosses paths with you.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room off of $servantsQuartersName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It also helps to offset the tiring nature of $his position.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.servantsQuarters > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for leaving plentiful outlets for $his nymphomania under $his charge.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more maids to $servantsQuartersName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.servantsQuarters > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing so many maids for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more maids to $servantsQuartersName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.servantsQuarters > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allowing $him so many maids to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more maids to $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he manages the servants, analyzing $his preferences. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					Whenever $he finds a free moment from $his duties, $he takes the time to thoroughly milk $his breasts to keep $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if _L.servantsQuarters > 1>> while enjoying some service from $his underlings<</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "work as a servant">>
			<<set $slaves[$i].need -= $slaves.length*5>>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off at work despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif App.Utils.hasNonassignmentSex($slaves[$i])>>
					gets off at work as well as during $his rest time.
				<<elseif _release.masturbation == 0>>
					gets off at work, so being unable to touch $himself doesn't bother $him.
				<<else>>
					gets off at work, so being unable to sate $his urges doesn't affect $him seriously.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to offer $himself to you for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally stops by your office to offer $himself to you.
							<<else>>
								doesn't mind stopping by your office to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly stops by your office and begs you to
							<<saRulesPlayerFetishPlay>>
							every break $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to demand sex from _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to swap sex with _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $servantsQuartersDecoration>>
				<<case "Degradationist">>
					The abysmal living conditions @@.hotpink;force $him to get used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of how meaningless $he is.@@
						<<set $slaves[$i].trust -= 3>>
					<<else>>
						slavery and @@.gold;reminds $him that $his life is meaningless.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<case "Subjugationist" "Supremacist">>
					The spare living conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					Every time $he has to watch another slave get beaten @@.gold;solidifies $his fears.@@
					<<set $slaves[$i].trust -= 1>>
				<<case "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Roman Revivalist">>
					The spare living conditions @@.hotpink;get $him used@@ to the routine of slavery.
				<<case "Arabian Revivalist" "Egyptian Revivalist">>
					The spare living conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery, but the small luxuries @@.mediumaquamarine;afford $him some dignity.@@
						<<set $slaves[$i].trust += 1>>
					<<else>>
						slavery.
					<</if>>
				<<default>>
					The reasonable living conditions allow $him to @@.mediumaquamarine;feel some dignity@@ after @@.hotpink;cleaning up sexual fluids and servicing slaves all day.@@
					<<set $slaves[$i].trust += 1>>
				<</switch>>
				<<set $slaves[$i].devotion += 1>>
			<<else>>
				<<switch $servantsQuartersDecoration>>
				<<case "Degradationist">>
					<<if ($slaves[$i].trust > 40)>>
						The abysmal living conditions of $servantsQuartersName @@.gold;remind $him that $his life is absolutely meaningless to you.@@
						<<set $slaves[$i].trust -= 3>>
					<<elseif ($slaves[$i].trust > 10)>>
						The abysmal living conditions of $servantsQuartersName @@.gold;remind $him that $he is worthless as a person to you.@@
						<<set $slaves[$i].trust -= 2>>
					<</if>>
				<<case "Subjugationist" "Supremacist">>
					<<if ($slaves[$i].trust > 40)>>
						The spare living conditions of $servantsQuartersName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The spare living conditions of $servantsQuartersName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<case "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Roman Revivalist">>
					The living conditions of $servantsQuartersName might be spare, but they are no means uncomfortable.
				<<case "Arabian Revivalist" "Egyptian Revivalist">>
					The living conditions of $servantsQuartersName might be spare, but $he loves the little luxuries that come with them.
				<<default>>
					$He likes $his personal space in $servantsQuartersName's dormitory.
				<</switch>>
			<</if>>
			<<if $slaves[$i].rules.living == "luxurious">>
				They provide @@.green;satisfying rest@@ every time $he drifts off to sleep.
			<<elseif $slaves[$i].rules.living == "spare">>
				<<if $slaves[$i].devotion > 20 && $slaves[$i].trust <= 10>>
					They don't provide much rest, however.
				<<else>>
					They provide meager rest, if anything.
				<</if>>
			<<else>>
				They provide
				<<if $slaves[$i].devotion > 20>>
					@@.green;adequate rest@@ for a $girl that knows how to manage $his time.
				<<else>>
					@@.green;adequate rest,@@ but not enough for a slave lacking time management.
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.rest == "mandatory">>
				<<if ($slaves[$i].devotion <= 20)>>
					Getting a day off each week @@.mediumaquamarine;builds feelings of liberty@@ a slave shouldn't have.
					<<set $slaves[$i].trust += 3>>
				<<else>>
					$He appreciates having a weekly day off and takes it as a sign that $he has a @@.mediumaquamarine;caring <<= WrittenMaster()>>.@@
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<<elseif $slaveUsedRest>>
				<<if $slaves[$i].rules.rest == "permissive">>
					<<if ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest whenever $he feels even the slightest bit tired; @@.mediumaquamarine;a privilege not lost on $him.@@
						<<set $slaves[$i].trust += 2>>
					<<else>>
						$He @@.hotpink;likes@@ that you @@.mediumaquamarine;care enough@@ to let him rest when he gets tired.
						<<set $slaves[$i].devotion += 1>>
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "restrictive">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's permitted to rest when fatigue sets in, but not enough to shake $his tiredness; $he feels this @@.gold;deprivation@@ is intentional.
						<<set $slaves[$i].trust -= 1>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						$He's permitted to rest when fatigue sets in, and @@.hotpink;understands@@ this is less for $his wellbeing and more to prevent $him from become unproductive.
						<<set $slaves[$i].devotion += 1>>
					<<else>>
						$He's permitted to rest when fatigue sets in and is @@.mediumaquamarine;thankful@@ you would allow $him the privilege so that $he may serve you better.
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaves[$i].rules.rest == "cruel">>
					<<if ($slaves[$i].devotion <= -20)>>
						$He's @@.gold;terrified@@ that the only reason $he is given any time to rest at all is just to prolong your torment of $him.
						<<set $slaves[$i].trust -= 3>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						You work $him to the bone and only allow $him rest when on the verge of collapsing. $He @@.gold;fears@@ this @@.mediumorchid;cruelty@@ is just the beginning.
						<<set $slaves[$i].trust -= 3>>
						<<set $slaves[$i].devotion -= 3>>
					<<else>>
						Only being allowed rest when on the verge of collapsing @@.mediumorchid;shakes $his faith@@ in you a little.
						<<set $slaves[$i].devotion -= 2>>
					<</if>>
				<</if>>
				<<unset $slaveUsedRest>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if $slaves.length > 2 || $menials > 0>>
							Under the rules and $his job, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules and $his job, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you bring home more slaves.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if $slaves.length > 2 || $menials > 0>>
							Under the rules and $his job, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules and $his job, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					Under the rules, $he's allowed to demand that other slaves to get $him off, but only when $he's finished $his shift. $He still @@.hotpink;adores@@ having the option.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if $slaves.length > 2 || $menials > 0>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse, though it does nothing to stop them from using $him.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact your penthouse is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he sees to your other slaves, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation.
				<<set $slaves[$i].induceLactation += 6>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain" && $servantMilkers != 1>>
				$He utilizes $his lactation during $his daily tasks when needed, and if it should not be needed, spends the evenings with a pair of automatic breast pumps.
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the penthouse slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he
					<<if $cellblock != 0>>
						@@.gold;spends $his day (and night) cleaning the cells in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						spends $his day @@.gold;shut up in a dirty bathroom@@ until it's spotless.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he finds $himself cleaning up around an ongoing orgy, yet @@.gold;forbidden from getting off,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be the Milkmaid">>
			<<set $slaves[$i].need -= _L.dairy*5>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if (_release.masturbation === 0)>>
					gets off while performing $his duties, so being forbidden from masturbation doesn't really bother $him.
				<<else>>
					gets off while performing $his duties, so $he doesn't feel the need for release that often.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever you inspect $dairyName.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys when off duty, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in $dairyName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
			It also helps to offset the tiring nature of $his position.

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.dairy > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for leaving plentiful outlets for $his nymphomania under $his charge.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $dairyName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.dairy > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing so many cows for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $dairyName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.dairy > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allowing $him so many cows to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he cares for the cattle, analyzing $his preferences. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time hooked up to a milker to hasten $his milk production.
				<<set $slaves[$i].induceLactation += 10>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses milkers whenever $he can,
				<<set $servantMilkersMultiplier = 0.75>>
				<<run App.SlaveAssignment.getMilked($slaves[$i])>>
				<<set $servantMilkersMultiplier = 1>>
				giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if _L.dairy > 1>> with the softest cow available<</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "work in the dairy">>
			<<if $dairyRestraintsSetting > 1>>
				<<if $slaves[$i].devotion < -50>>
					is so unhappy that $he has little interest in getting off, not that $he gets the choice.
				<<elseif $slaves[$i].energy <= 20>>
					is frigid and has little interest in getting off, not that $he gets a choice.
				<<else>>
					gets off regardless of $his thoughts on the matter.
				<</if>>
				<<set $slaves[$i].need = 0>>
				<<if ($slaves[$i].attrKnown == 0)>>
					<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
						<<set $slaves[$i].attrKnown = 1>>
						<<= capFirstChar($assistant.name)>> has been monitoring $him arousal in regards to the visual stimulation. It seems $he is
						<<saRulesAttractionDiscovery>>
					<</if>>
				<</if>>
			<<else>>
				<<if $slaves[$i].devotion < -50>>
					is so unhappy that $he has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
					<<set $slaves[$i].need = 0>>
				<<elseif $slaves[$i].energy <= 20>>
					is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
					<<set $slaves[$i].need = 0>>
				<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
					<<if ($slaves[$i].devotion <= 20)>>
						gets off from being milked despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
						<<set $slaves[$i].devotion += 1>>
						<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
							$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
							<<set $slaves[$i].trust -= 1>>
						<</if>>
						<<set $slaves[$i].need -= 20>>
					<<elseif (_release.masturbation === 0)>>
						gets off from being milked, so being forbidden to masturbate doesn't affect $him seriously.
						<<set $slaves[$i].need -= 20>>
					<<else>>
						gets off from being milked, so $he doesn't feel the need to masturbate frequently.
						<<set $slaves[$i].need -= 20>>
					<</if>>
				<<else>>
					<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
						<<if _release.master === 1>>
							<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
								refuses to come to you for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2>>
							<<elseif ($slaves[$i].devotion <= 50)>>
								<<if $slaves[$i].devotion <= 20>>
									occasionally comes to you to beg for sexual release.
								<<else>>
									doesn't mind having to come to you to beg for sexual release.
								<</if>>
								<<saRulesPlayerEnergy>>
							<<else>> /* $slaves[$i].devotion > 50 */
								willingly begs you to
								<<saRulesPlayerFetishPlay>>
								every chance $he gets.
								<<saRulesPlayerEnergy>>
							<</if>> /* closes $slaves[$i].devotion > 50 */
							<<saRulesPlayerDiscoversFetish>>
							<<saRulesPlayerDrugEffects>>
						<<else>> /* _release.master === 0 */
							<<saRulesNoRelease>>
							<<saRulesNoReleaseDrugEffects>>
						<</if>>
					<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
							<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $his sexuality.@@
							<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							accepts having to relieve $himself solely through masturbation.
							<<set $slaves[$i].need = 0>>
						<<elseif ($slaves[$i].devotion < 80)>>
							is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<else>>
							@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
							<<if _release.master === 0>>
								$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
								<<set $slaves[$i].devotion -= 2>>
							<<else>>
								$himself.
							<</if>>
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<</if>>
						<<if $slaves[$i].devotion > 20>>
							When $he does play with $himself, $he
							<<saRulesMasturbationFetishPlay>>
							<<saRulesMasturbationDiscoversFetish>>
						<</if>>
						<<saRulesMasturbationDrugEffects>>
					<<else>> /* hasNonassignmentSex is true */
						<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
						<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
							/* no family and no other slaves, so release comes from her partner */
							finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
							<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
							<<saRulesPartnerDrugEffects>>
						<<elseif ($universalRulesConsent == 0)>>
							<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
								<<if (_release.masturbation === 1)>>
									masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
									<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<else>>
									refuses to use _whom to get off, and is @@.gold;severely punished@@ for illicit masturbation.
									<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
								<</if>>
							<<elseif ($slaves[$i].devotion <= 20)>>
								<<if (_release.masturbation === 1)>>
									prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
									<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<else>>
									is forced to demand sex from _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
									<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
								<</if>>
							<<elseif ($slaves[$i].devotion <= 50)>>
								@@.hotpink;accepts the need@@ to
								<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
								<<saRulesRapeFetish>>
								<<saRulesRapeDiscoversFetish>>
							<<else>>
								happily @@.mediumaquamarine;avails $himself@@ of your permission to
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<saRulesRapeFetish>>
								<<saRulesRapeDiscoversFetish>>
							<</if>>
						<<else>> /* universalRulesConsent is not zero */
							<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
								<<if (_release.masturbation === 1)>>
									prefers to masturbate rather than asking _whom for sex, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
									<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<else>>
									refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
									<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
								<</if>>
							<<elseif ($slaves[$i].devotion <= 20)>>
								<<if (_release.masturbation === 1)>>
									prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
									<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<else>>
									is forced to swap sex with _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
									<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
								<</if>>
							<<elseif ($slaves[$i].devotion <= 50)>>
								@@.hotpink;accepts having to ask@@ _whom for sex,
								<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
								<<saRulesConsentFetish>>
								<<saRulesConsentDiscoversFetish>>
							<<else>>
								@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
								<<saRulesConsentFetish>>
								<<saRulesConsentDiscoversFetish>>
							<</if>>
						<</if>> /* closes universalRulesConsent */
						<<saRulesPermissiveDrugEffects>>
					<</if>> /* closes releaseRules not restrictive */
				<</if>>

				<<if ($slaves[$i].devotion <= 20)>>
					<<if $slaves[$i].voice == 0>>
						Living as a mute @@.hotpink;molds $him@@ to your will.
						<<set $slaves[$i].devotion += 1>>
					<<elseif $slaves[$i].lips > 95>>
						Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
						<<set $slaves[$i].devotion += 1>>
					<<elseif $slaves[$i].rules.speech == "restrictive">>
						Living under enforced silence @@.hotpink;molds $him@@ to your will.
						<<set $slaves[$i].devotion += 1>>
					<</if>>
				<</if>>

				<<if ($slaves[$i].devotion <= 20)>>
					<<switch $dairyDecoration>>
					<<case "Degradationist">>
						The abysmal living conditions @@.hotpink;force $him to get used@@ to the routine of
						<<if ($slaves[$i].trust > 20)>>
							slavery and @@.gold;keep $him aware that $his fluids are more valuable than $his life.@@
							<<set $slaves[$i].trust -= 3>>
						<<else>>
							slavery and @@.gold;reminds $him that $he is nothing more than a cow.@@
							<<set $slaves[$i].trust -= 1>>
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<case "Subjugationist" "Supremacist">>
						The spare living conditions @@.hotpink;get $him used@@ to the routine of
						<<if ($slaves[$i].trust > 20)>>
							slavery and @@.gold;keep $him aware of $his lowly place.@@
							<<set $slaves[$i].trust -= 1>>
						<<else>>
							slavery.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Egyptian Revivalist" "Roman Revivalist">>
						The spare living conditions and daily tasks @@.hotpink;get $him used@@ to the routine of slavery.
						<<set $slaves[$i].devotion += 1>>
					<<default>>
						The reasonable living conditions allow $him to relax after the days work, or would if $his
						<<if $slaves[$i].lactation>>
							breasts<<if $slaves[$i].balls>> and<</if>>
						<</if>>
						<<if $slaves[$i].balls>>
							balls
						<</if>>
						didn't ache so much, constantly reminding $him of $his role as a cow.
						<<if $slaves[$i].pregKnown && $dairyPregSetting >= 1 && $slaves[$i].bellyPreg >= 1500>>
							Getting comfortable
							<<if $slaves[$i].bellyPreg >= 750000>>
								<<set _belly = bellyAdjective($slaves[$i])>>
								with a strained, _belly stomach ready to burst with contracted calves
							<<elseif $slaves[$i].bellyPreg >= 600000>>
								<<set _belly = bellyAdjective($slaves[$i])>>
								with a constantly quivering _belly stomach filled to the brim with contracted calves
							<<elseif $slaves[$i].bellyPreg >= 450000>>
								<<set _belly = bellyAdjective($slaves[$i])>>
								with a _belly stomach overstuffed with contracted calves
							<<elseif $slaves[$i].bellyPreg >= 150000>>
								with the massive bulge of $his contract pregnancy
							<<elseif $slaves[$i].bellyPreg >= 120000>>
								while so enormously pregnant with calves
							<<elseif $slaves[$i].bellyPreg >= 10000>>
								while so heavily pregnant with <<if $slaves[$i].pregType > 1>>contracted children<<else>>a contracted child<</if>>
							<<elseif $slaves[$i].bellyPreg >= 5000>>
								with $his contract pregnancy
							<<else>>
								with the slight bulge of pregnancy
							<</if>>
							also weighs heavily on $his
							<<if $slaves[$i].bellyPreg >= 120000>>
								mind, though $he often gets lost in the sensation of being so full of life.
							<<else>>
								mind.
							<</if>>
						<</if>>
					<</switch>>
				<<else>>
					<<switch $dairyDecoration>>
					<<case "Degradationist">>
						<<if ($slaves[$i].trust > 40)>>
							The abysmal living conditions of $dairyName @@.gold;remind $him that $his fluids are more valuable to you than $his life.@@
							<<set $slaves[$i].trust -= 3>>
						<<elseif ($slaves[$i].trust > 10)>>
							The abysmal living conditions of $dairyName @@.gold;remind $him that $he is worthless as a person to you@@ and forces $him to accept $he is nothing more than a lowly cow.
							<<set $slaves[$i].trust -= 2>>
						<</if>>
					<<case "Subjugationist" "Supremacist">>
						<<if ($slaves[$i].trust > 40)>>
							The spare living conditions of $dairyName @@.gold;remind $him not to get too comfortable@@ with $his life.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].trust > 10)>>
							The spare living conditions of $dairyName @@.gold;keep $him aware of $his place.@@
							<<set $slaves[$i].trust -= 1>>
						<</if>>
					<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Egyptian Revivalist" "Roman Revivalist">>
						The living conditions of $dairyName might be spare, but they are by no means meant to be uncomfortable.
					<<default>>
						$He likes $his personal space in $dairyName's dormitory, even if it's just a stall.
					<</switch>>
					<</if>>

					<<if ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20)>>
							<<if ($slaves[$i].trust > -10)>>
								<<if _L.dairy > 2 || $MilkmaidID != 0>>
									Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
								<<else>>
									Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you assign more cows to $dairyName.
								<</if>>
								<<set $slaves[$i].trust -= 2>>
							<<else>>
								<<if _L.dairy > 2 || $MilkmaidID != 0>>
									Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
								<<else>>
									Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
								<</if>>
							<</if>>
						<<elseif (_release.slaves === 1)>>
							<<if ($slaves[$i].energy > 95)>>
								<<if _L.dairy > 2>>
									Under the rules, $he's allowed to demand that other slaves to get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
								<<else>>
									Under the rules, $he's allowed to demand that other slaves to get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $dairyName to get $him off.
								<</if>>
								<<set $slaves[$i].devotion += 1>>
							<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
								<<if ($slaves[$i].fetish == "sadist")>>
									<<if _L.dairy > 2>>
										Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole dairy of cows for $him to rape.
									<<else>>
										Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $dairyName for $him to rape.
									<</if>>
									<<set $slaves[$i].devotion += 1>>
								<<elseif ($slaves[$i].fetish == "dom")>>
									<<if _L.dairy > 2>>
										Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole dairy of cows for $him to dominate.
									<<else>>
										Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $dairyName for $him to dominate.
									<</if>>
									<<set $slaves[$i].devotion += 1>>
								<</if>>
							<</if>>
						<</if>>
					<<else>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
							<<if _L.dairy > 2 || $MilkmaidID != 0>>
								Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
							<<else>>
								Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $dairyName is rather empty.
							<</if>>
							<<set $slaves[$i].trust += 1>>
						<</if>>
					<</if>>

					<<if ($slaves[$i].attrKnown == 0)>>
						<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
							<<set $slaves[$i].attrKnown = 1>>
							<<= capFirstChar($assistant.name)>> has been monitoring $him as $he gets milked, attempting to gauge $his sexuality. It seems $he is
							<<saRulesAttractionDiscovery>>
						<</if>>
					<</if>>

					<<if $slaves[$i].devotion > 50>>
						$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
						<<set _punishments = 0>>
						<<set _rewards = 3>>
					<<elseif $slaves[$i].devotion > 20>>
						$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
						<<set _punishments = 1>>
						<<set _rewards = 2>>
					<<elseif $slaves[$i].devotion >= -20>>
						<<if $slaves[$i].trust < -20>>
							$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
							<<set _punishments = 1>>
							<<set _rewards = 1>>
						<<else>>
							$He's too trusting for obedience and often needs to be punished.
							<<set _punishments = 2>>
							<<set _rewards = 0>>
						<</if>>
					<<else>>
						<<if $slaves[$i].trust < -50>>
							$He's only obedient out of terror, so $he sometimes needs to be punished.
							<<set _punishments = 1>>
							<<set _rewards = 0>>
						<<else>>
							$He hates you too much to obey, so $he needs constant punishment.
							<<set _punishments = 3>>
							<<set _rewards = 0>>
						<</if>>
					<</if>>

					<<if _rewards > 0>>
						<<switch $slaves[$i].rules.reward>>
						<<case "relaxation">>
							$He's given free time, which $he
							<<if $spa != 0>>
								usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
							<<else>>
								usually spends relaxing in the penthouse slave quarters.
							<</if>>
							<<if $slaves[$i].relationship > 0>>
								<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
								<<if def $subSlave>>
									<<setLocalPronouns $subSlave 2>>
								<</if>>
								$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
							<</if>>
							These breaks are @@.green;good for $him.@@
							<<run improveCondition($slaves[$i], _rewards)>>
						<<case "drugs">>
							$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
							<<run healthDamage($slaves[$i], _rewards)>>
							<<set $slaves[$i].devotion += _rewards*2>>
						<<case "orgasm">>
							$He's @@.hotpink;rewarded@@ with
							<<if $slaves[$i].clitPiercing == 3>>
								sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
							<<elseif $slaves[$i].rules.release.slaves == 1>>
								immediate sex with any nearby slave,
							<<else>>
								a quick climax from a vibrator,
							<</if>>
							@@.green;boosting $his libido.@@
							<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
							<<set $slaves[$i].devotion += _rewards>>
						<<default>>
							$He's @@.hotpink;rewarded@@
							<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
								and @@.gold;punished@@
							<</if>>
							situationally, letting $him develop normally.
							<<set $slaves[$i].devotion += _rewards>>
						<</switch>>
					<</if>>
					<<if _punishments > 0>>
						<<switch $slaves[$i].rules.punishment>>
						<<case "confinement">>
							When $he disobeys, $he spends $his times @@.gold;getting milked in a cramped dark stall@@ until $he behaves.
							<<set $slaves[$i].trust -= _punishments>>
						<<case "whipping">>
							When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
							<<run healthDamage($slaves[$i], _punishments)>>
							<<set $slaves[$i].trust -= 2*_punishments>>
						<<case "chastity">>
							When $he disobeys, $he finds $his @@.gold;milkings fewer and far between,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
							<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
							<<set $slaves[$i].devotion += _punishments>>
							<<set $slaves[$i].trust -= _punishments>>
						<<default>>
							<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
								When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
							<</if>>
							<<set $slaves[$i].trust -= _punishments>>
						<</switch>>
					<</if>>
			<</if>>
		<<case "be the Farmer">>
			<<set $slaves[$i].need -= _L.farmyard*5>>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if (_release.masturbation === 0)>>
					gets off while performing $his duties, so being forbidden from masturbation doesn't really bother $him.
					<<set $slaves[$i].need -= 20>>
				<<else>>
					gets off while performing $his duties, so $he doesn't feel the need for release that often.
					<<set $slaves[$i].need -= 20>>
				<</if>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						willingly begs you to
						<<saRulesPlayerFetishPlay>>
						whenever you inspect $farmyardName.
						<<saRulesPlayerEnergy>>
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys when off duty, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						happily @@.mediumaquamarine;avails $himself@@ of your permission to
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesRapeFetish>>
						<<saRulesRapeDiscoversFetish>>
					<<else>> /* universalRulesConsent is not zero */
						@@.mediumaquamarine;relies@@ on <<if _release.slaves === 1>>your other slaves<<else>>$his family<</if>> for mutual satisfaction,
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
						<<saRulesConsentFetish>>
						<<saRulesConsentDiscoversFetish>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			$He is @@.hotpink;very happy@@ with $his private room in $farmyardName and @@.mediumaquamarine;trusts@@ you a bit more for placing $him in charge of it.
			<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>

			<<if ($universalRulesConsent == 0)>>
				<<if (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.farmyard > 2>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for leaving plentiful outlets for $his nymphomania under $his charge.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $farmyardName.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.farmyard > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing so many cows for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $farmyardName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.farmyard > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for allowing $him so many cows to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more cows to $his domain.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he cares for the cattle, analyzing $his preferences. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				Whenever $he finds a free moment from $his duties, $he spends that time massaging $his breasts and working $his nipples.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $servantMilkers == 1>>
					$His duties keep $him busy, but $he <<if $slaves[$i].fetish == "boobs">>eagerly <</if>>uses the penthouse milkers whenever $he can,
					<<set $servantMilkersMultiplier = 0.25>>
					<<run App.SlaveAssignment.getMilked($slaves[$i])>>
					<<set $servantMilkersMultiplier = 1>>
					giving $milk liters of milk over the week, which is sold for @@.yellowgreen;<<print cashFormat($milkSale)>>.@@
				<<else>>
					Whenever $he finds a free moment from $his duties, $he takes the time to thoroughly milk $his breasts to keep $his lactation strong for you.
					<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
				<</if>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in $his room<<if _L.farmyard > 1>> with the softest cow available<</if>>.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "work as a farmhand">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off from working as a farmhand despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].need -= 20>>
				<<elseif (_release.masturbation === 0)>>
					gets off from working as a farmhand, so being forbidden to masturbate doesn't affect $him seriously.
					<<set $slaves[$i].need -= 20>>
				<<else>>
					gets off from working as a farmhand, so $he doesn't feel the need to masturbate frequently.
					<<set $slaves[$i].need -= 20>>
				<</if>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come to you for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to you to beg for sexual release.
							<<else>>
								doesn't mind having to come to you to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly begs you to
							<<saRulesPlayerFetishPlay>>
							every chance $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $his sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to demand sex from _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to swap sex with _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<switch $farmyardDecoration>>
				<<case "Degradationist">>
					The abysmal living conditions @@.hotpink;force $him to get used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware that $his work in the fields is more valuable than $his life.@@
						<<set $slaves[$i].trust -= 3>>
					<<else>>
						slavery and @@.gold;reminds $him that $he is nothing more than a farming tool.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<case "Subjugationist" "Supremacist">>
					The spare living conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Egyptian Revivalist">>
					The spare living conditions and daily tasks @@.hotpink;get $him used@@ to the routine of slavery.
					<<set $slaves[$i].devotion += 1>>
				<<case "Roman Revivalist">>
					$He is @@.hotpink;pleased@@ with $his cushy living arrangements, and @@.mediumaquamarine;trusts you more@@ for it.
					<<set $slaves[$i].devotion += 2, $slaves[$i].trust += 2>>
				<<default>>
					The reasonable living conditions allow $him to relax after the days work.
					<<if $slaves[$i].pregKnown && $farmyardPregSetting >= 1 && $slaves[$i].bellyPreg >= 1500>>
						Getting comfortable
						<<if $slaves[$i].bellyPreg >= 750000>>
							<<set _belly = bellyAdjective($slaves[$i])>>
							with a strained, _belly stomach ready to burst
						<<elseif $slaves[$i].bellyPreg >= 600000>>
							<<set _belly = bellyAdjective($slaves[$i])>>
							with a constantly quivering _belly stomach filled to the brim
						<<elseif $slaves[$i].bellyPreg >= 450000>>
							<<set _belly = bellyAdjective($slaves[$i])>>
							with a _belly stomach overstuffed
						<<elseif $slaves[$i].bellyPreg >= 150000>>
							with the massive bulge of $his pregnancy
						<<elseif $slaves[$i].bellyPreg >= 120000>>
							while so enormously pregnant
						<<elseif $slaves[$i].bellyPreg >= 10000>>
							while so heavily pregnant with <<if $slaves[$i].pregType > 1>>children<<else>>a child<</if>>
						<<elseif $slaves[$i].bellyPreg >= 5000>>
							with $his pregnancy
						<<else>>
							with the slight bulge of pregnancy
						<</if>>
						also weighs heavily on $his
						<<if $slaves[$i].bellyPreg >= 120000>>
							mind, though $he often gets lost in the sensation of being so full of life.
						<<else>>
							mind.
						<</if>>
					<</if>>
				<</switch>>
			<<else>>
				<<switch $farmyardDecoration>>
				<<case "Degradationist">>
					<<if ($slaves[$i].trust > 40)>>
						The abysmal living conditions of $farmyardName @@.gold;remind $him that $his work in the fields is more valuable to you than $his life.@@
						<<set $slaves[$i].trust -= 3>>
					<<elseif ($slaves[$i].trust > 10)>>
						The abysmal living conditions of $farmyardName @@.gold;remind $him that $he is worthless as a person to you@@ and forces $him to accept $he is nothing more than a lowly farmhand.
						<<set $slaves[$i].trust -= 2>>
					<</if>>
				<<case "Subjugationist" "Supremacist">>
					<<if ($slaves[$i].trust > 40)>>
						The spare living conditions of $farmyardName @@.gold;remind $him not to get too comfortable@@ with $his life.
						<<set $slaves[$i].trust -= 2>>
					<<elseif ($slaves[$i].trust > 10)>>
						The spare living conditions of $farmyardName @@.gold;keep $him aware of $his place.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<case "Arabian Revivalist" "Aztec Revivalist" "Chattel Religionist" "Chinese Revivalist" "Edo Revivalist" "Egyptian Revivalist">>
					The living conditions of $farmyardName might be spare, but they are by no means meant to be uncomfortable.
				<<case "Roman Revivalist">>
					$He is @@.hotpink;very happy@@ about $his cushy living arrangements, and @@.mediumaquamarine;trusts you all the more@@ for it.
					<<set $slaves[$i].devotion += 2, $slaves[$i].trust += 2>>
				<<default>>
					$He likes $his personal space in $farmyardName's dormitory, even if it's just a small room.
				<</switch>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if _L.farmyard > 2 || $FarmerID != 0>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you assign more cows to $farmyardName.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if _L.farmyard > 2 || $FarmerID != 0>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if _L.farmyard > 2>>
							Under the rules, $he's allowed to demand that other slaves to get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves to get $him off, and $he @@.hotpink;eagerly awaits@@ the day you assign more slaves to $farmyardName to get $him off.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if _L.farmyard > 2>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole farmyard of slaves for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you assign more slaves to $farmyardName for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if _L.farmyard > 2>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole farmyard of slaves for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you assign more slaves to $farmyardName for $him to dominate.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if _L.farmyard > 2 || $FarmerID != 0>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact $farmyardName is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he works with the crops and animals, attempting to gauge $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation.
				<<set $slaves[$i].induceLactation += 6>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				$He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to keep $him productive and drained.
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the penthouse slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he spends $his times @@.gold;getting milked in a cramped dark stall@@ until $he behaves.
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he finds $his @@.gold;milkings fewer and far between,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "be your Concubine">>
			<<if $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off allowing $him to focus on getting you off.
				<<set $slaves[$i].need = 0>>
			<<else>>
				gets more of your attention each day than any other slave, leaving $him thoroughly satisfied.
				<<set $slaves[$i].need = 0>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he amuses $himself, analyzing $his tastes. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				$He spends $his time away from you fervently working to induce lactation, eager to enjoy it with you.
				<<set $slaves[$i].induceLactation += 9>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				$He doesn't need to do anything to maintain $his lactation as you personally see to it each night.
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
			<<set _punishments = 0>>
			<<set _rewards = 3>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually sets aside to spend with you in $spaName.
					<<else>>
						usually spends relaxing with you.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<else>>
						immediate sex with you,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
		<<case "serve in the master suite">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off.
				<<set $slaves[$i].need = 0>>
			<<elseif $masterSuiteUpgradeLuxury == 2 && _L.masterSuite > 3>>
				never goes unsatisfied with all the action in the fuckpit.
				<<set $slaves[$i].need -= 80>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off regularly despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].need -= 20>>
				<<elseif (_release.masturbation === 0)>>
					gets off regularly, so being forbidden to masturbate doesn't affect $him seriously.
					<<set $slaves[$i].need -= 20>>
				<<else>>
					gets off regularly, so $he doesn't feel the need to seek relief.
					<<set $slaves[$i].need -= 20>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20)>>
					sometimes needs a little extra attention from you, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing to your touch, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].need -= 40>>
				<<else>>
					sometimes needs a little extra sexual attention, not that you mind giving it to $him.
					<<set $slaves[$i].need -= 40>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he gets off, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				When you have the free time, you message $his breasts and work $his nipples in an effort to bring in $his lactation.
				<<set $slaves[$i].induceLactation += 2>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if $slaves[$i].devotion > 20>>
					<<if $slaves[$i].fetish == "boobs">>
						$He puts $his breasts to work when you humor $his tastes, easily keeping $his lactation from diminishing.
					<<else>>
						You find ways to put $his milk to good use, and when you can't, see to it yourself that $he is kept drained and comfortable.
					<</if>>
				<<elseif $slaves[$i].devotion >= -20>>
					<<if $slaves[$i].fetish == "boobs">>
						$He responds positively to breast play in bed, assuring $his milk production isn't going anywhere.
					<<else>>
						You focus on $his breasts during foreplay to make sure $he keeps producing milk for you.
					<</if>>
				<<else>>
					You make sure to see to it that $he keeps on lactating.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing on $his favorite pillow.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<else>>
						immediate sex with you,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he's
					<<if $cellblock != 0>>
						@@.gold;put in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						@@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's @@.gold;denied@@ $his next orgasm, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<case "live with your Head Girl">>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off, not that _S.HeadGirl.slaveName cares.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off, though it doesn't stop _S.HeadGirl.slaveName.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off with _S.HeadGirl.slaveName despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
					<<set $slaves[$i].need -= 20>>
				<<elseif (_release.masturbation === 0)>>
					gets off with _S.HeadGirl.slaveName, so being forbidden to masturbate doesn't affect $him seriously.
					<<set $slaves[$i].need -= 20>>
				<<else>>
					gets off with _S.HeadGirl.slaveName, so $he doesn't feel the need for release that often.
					<<set $slaves[$i].need -= 20>>
				<</if>>
			<<else>>
				either gets off with _S.HeadGirl.slaveName or gets to put up with sexual frustration.
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your Head Girl's will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your Head Girl's will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your Head Girl's will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				$He shares a room, and sometimes bed, with _S.HeadGirl.slaveName. Your Head Girl keeps it from going to $his head, however.
			<<else>>
				$He loves sharing a room, and sometimes bed, with _S.HeadGirl.slaveName.
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he spends time with your Head Girl, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				<<if _S.HeadGirl.fetish == "boobs">>
					Your Head Girl enjoys playing with $his tits, making it an inevitability that $he'll begin lactating.
				<<else>>
					$He carries out $his daily tasks with a pair of automatic breast pumps attached to $his chest to help bring in $his lactation.
				<</if>>
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain">>
				<<if _S.HeadGirl.fetish == "boobs">>
					Your Head Girl enjoys playing with $his tits, thoroughly draining $him of milk and encouraging $his continued lactation.
				<<else>>
					$He utilizes $his lactation as your Head Girl demands, and if it should not be needed, spends the evenings with a pair of automatic breast pumps.
				<</if>>
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for _S.HeadGirl.slaveName, and thus you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you and _S.HeadGirl.slaveName too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in your Head Girl's private room.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he
					<<if $cellblock != 0>>
						@@.gold;spends $his time in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						spends $his time @@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, _S.HeadGirl.slaveName @@.gold;ruins $his next orgasm,@@ @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
		<<default>>
			<<if $slaves[$i].devotion < -50>>
				is so unhappy that $he has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].energy <= 20>>
				is frigid and has little interest in getting off<<if App.Utils.releaseRestricted($slaves[$i])>>, making the rule restricting $his sexual outlets superfluous<</if>>.
				<<set $slaves[$i].need = 0>>
			<<elseif $slaves[$i].need < $slaves[$i].needCap*0.5>>
				<<if ($slaves[$i].devotion <= 20)>>
					gets off at work despite $his reluctance, @@.hotpink;habituating $him to sexual slavery.@@
					<<set $slaves[$i].devotion += 1>>
					<<if ($slaves[$i].trust >= -20) && ($slaves[$i].devotion <= 20)>>
						$He hates $himself for climaxing, and knows the mild aphrodisiacs in the food are forcing $his arousal, @@.gold;frightening $him.@@
						<<set $slaves[$i].trust -= 1>>
					<</if>>
				<<elseif (_release.masturbation === 0)>>
					gets off at work, so being forbidden to masturbate doesn't affect $him seriously.
				<<else>>
					gets off at work, so $he doesn't feel the need to masturbate frequently.
				<</if>>
				<<set $slaves[$i].need -= 20>>
			<<else>>
				<<if (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 0)>>
					<<if _release.master === 1>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							refuses to come to you for sexual release, and is @@.gold;severely punished@@ for illicit masturbation.
							<<set $slaves[$i].trust -= 2>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							<<if $slaves[$i].devotion <= 20>>
								occasionally comes to you to beg for sexual release.
							<<else>>
								doesn't mind having to come to you to beg for sexual release.
							<</if>>
							<<saRulesPlayerEnergy>>
						<<else>> /* $slaves[$i].devotion > 50 */
							willingly begs you to
							<<saRulesPlayerFetishPlay>>
							every chance $he gets.
							<<saRulesPlayerEnergy>>
						<</if>> /* closes $slaves[$i].devotion > 50 */
						<<saRulesPlayerDiscoversFetish>>
						<<saRulesPlayerDrugEffects>>
					<<else>> /* _release.master === 0 */
						<<saRulesNoRelease>>
						<<saRulesNoReleaseDrugEffects>>
					<</if>>
				<<elseif (!App.Utils.hasNonassignmentSex($slaves[$i]) && _release.masturbation === 1)>>
					<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
						takes solace in $his permission to masturbate rather than being forced to beg for sex, @@.mediumaquamarine;reducing $his fear@@ of you.
						<<set $slaves[$i].trust += 2, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 20)>>
						enjoys being allowed to masturbate rather than trading sex with other slaves, @@.mediumaquamarine;slightly reducing $his fear@@ of you but @@.mediumorchid;allowing $him to remain in control of $him sexuality.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].devotion -= 1, $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion <= 50)>>
						accepts having to relieve $himself solely through masturbation.
						<<set $slaves[$i].need = 0>>
					<<elseif ($slaves[$i].devotion < 80)>>
						is a little disappointed that $he's limited to $his <<if !hasAnyArms($slaves[$i])>>imagination<<else>>hand<<if hasBothArms($slaves[$i])>>s<</if>><</if>> and toys, but @@.mediumaquamarine;trusts you know what's best for $him.@@
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<<else>>
						@@.mediumaquamarine;trusts your judgment@@ that only $he really knows how to pleasure
						<<if _release.master === 0>>
							$himself, though $he @@.mediumorchid;often wonders why you don't use $him.@@
							<<set $slaves[$i].devotion -= 2>>
						<<else>>
							$himself.
						<</if>>
						<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
					<</if>>
					<<if $slaves[$i].devotion > 20>>
						When $he does play with $himself, $he
						<<saRulesMasturbationFetishPlay>>
						<<saRulesMasturbationDiscoversFetish>>
					<</if>>
					<<saRulesMasturbationDrugEffects>>
				<<else>> /* hasNonassignmentSex is true */
					<<set _whom = (_release.slaves === 1) ? "other slaves" : $his + " family">>
					<<if (!App.Utils.hasFamilySex($slaves[$i]) && _release.slaves === 0)>>
						/* no family and no other slaves, so release comes from her partner */
						finds frequent sexual release with $his <<= relationshipTerm($slaves[$i])>> @@.lightgreen;<<= getSlave($slaves[$i].relationshipTarget).slaveName>>@@ which $he is @@.mediumaquamarine;thankful for.@@
						<<set $slaves[$i].trust++, $slaves[$i].need -= 20>> /* TODO: probably should be based on BOTH slaves' need, leaving the less needy partner slightly frustrated */
						<<saRulesPartnerDrugEffects>>
					<<elseif ($universalRulesConsent == 0)>>
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								masturbates whenever $he can find a private moment to take care of the urges induced by the food, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to use _whom to get off, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than demanding sex from _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to demand sex from _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts the need@@ to
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<<else>>
							happily @@.mediumaquamarine;avails $himself@@ of your permission to
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesRapeFetish>>
							<<saRulesRapeDiscoversFetish>>
						<</if>>
					<<else>> /* universalRulesConsent is not zero */
						<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than asking _whom for sex, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								refuses to ask _whom for sex, and is @@.gold;severely punished@@ for illicit masturbation.
								<<set $slaves[$i].trust -= 2, $slaves[$i].need -= 10>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							<<if (_release.masturbation === 1)>>
								prefers to masturbate rather than trading sex with _whom, @@.mediumaquamarine;slightly reducing $his fear@@ of you.
								<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<else>>
								is forced to swap sex with _whom by the urges induced by the food, and @@.hotpink;hates $himself@@ for it.
								<<set $slaves[$i].devotion += 1, $slaves[$i].need *= 0.5>>
							<</if>>
						<<elseif ($slaves[$i].devotion <= 50)>>
							@@.hotpink;accepts having to ask@@ _whom for sex,
							<<set $slaves[$i].devotion += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<<else>>
							@@.mediumaquamarine;relies@@ on _whom for mutual satisfaction,
							<<set $slaves[$i].trust += 1, $slaves[$i].need = 0>>
							<<saRulesConsentFetish>>
							<<saRulesConsentDiscoversFetish>>
						<</if>>
					<</if>> /* closes universalRulesConsent */
					<<saRulesPermissiveDrugEffects>>
				<</if>> /* closes releaseRules not restrictive */
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if $slaves[$i].voice == 0>>
					Living as a mute @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].lips > 95>>
					Being unable to speak through $his facepussy @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<<elseif $slaves[$i].rules.speech == "restrictive">>
					Living under enforced silence @@.hotpink;molds $him@@ to your will.
					<<set $slaves[$i].devotion += 1>>
				<</if>>
			<</if>>

			<<if $slaves[$i].assignment != "be your Head Girl" && $slaves[$i].assignment != "guard you">>
				<<if $roomsPopulation > $rooms>>
					<<if $slaves[$i].rules.living == "luxurious">>
						There are @@.yellow;too many slaves for the penthouse's individual rooms,@@ so $he moves out into the dormitory.
						<<set $slaves[$i].rules.living = "normal">>
						<<set $dormitoryPopulation += 1>>
						<<if $slaves[$i].relationship >= 4>><<set $roomsPopulation -= 0.5>><<else>><<set $roomsPopulation -= 1>><</if>>
					<</if>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].devotion <= 20)>>
				<<if ($slaves[$i].rules.living == "spare")>>
					The spare living conditions @@.hotpink;get $him used@@ to the routine of
					<<if ($slaves[$i].trust > 20)>>
						slavery and @@.gold;keep $him aware of $his lowly place.@@
						<<set $slaves[$i].trust -= 1>>
					<<else>>
						slavery.
					<</if>>
					<<set $slaves[$i].devotion += 1>>
				<<elseif ($slaves[$i].rules.living == "normal")>>
					The reasonable living conditions allow $him to @@.mediumaquamarine;feel self-reliant.@@
					<<set $slaves[$i].trust += 1>>
				<<else>>
					The luxurious living conditions encourage $him to @@.mediumaquamarine;feel respectable.@@
					<<set $slaves[$i].trust += 2>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].ID == $HeadGirlID) && ($HGSuite == 1)>>
					$He is @@.hotpink;very happy@@ with $his suite and @@.mediumaquamarine;trusts@@ you a bit more for providing it.
					<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
				<<elseif ($slaves[$i].ID == $BodyguardID) && ($dojo <= 1)>>
					$He rarely leaves your company enough to make use of $his living area.
				<<elseif ($slaves[$i].rules.living == "luxurious")>>
					$He is @@.hotpink;very happy@@ with $his little room and @@.mediumaquamarine;trusts@@ you a bit more for providing it.
					<<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>>
				<<elseif ($slaves[$i].rules.living == "normal")>>
					$He likes $his personal space in the dormitory.
				<<elseif ($slaves[$i].trust > 40)>>
					The spare living conditions @@.gold;remind $him not to get too comfortable@@ with $his life.
					<<set $slaves[$i].trust -= 2>>
				<<elseif ($slaves[$i].trust > 10)>>
					The spare living conditions @@.gold;keep $him aware of $his place.@@
					<<set $slaves[$i].trust -= 1>>
				<<else>>
					$He's used to having only the bare minimum in terms of living conditions, so $he's not bothered by them.
				<</if>>
			<</if>>
			<<if ["be a servant", "get milked", "please you", "serve the public", "whore", "work as a farmhand", "work a glory hole"].includes($slaves[$i].assignment)>>
				<<if $slaves[$i].rules.living == "luxurious">>
					<<if ($slaves[$i].devotion <= 20)>>They provide<<else>>It provides a<</if>> @@.green;satisfying rest@@ every time $he drifts off to sleep.
				<<elseif $slaves[$i].rules.living == "spare">>
					<<if $slaves[$i].devotion > 20 && $slaves[$i].trust <= 10>>
						They don't provide much rest, however.
					<<else>>
						They provide meager rest, if anything, however.
					<</if>>
				<<else>>
					<<if ($slaves[$i].devotion <= 20)>>They provide<<else>>It provides<</if>>
					<<if $slaves[$i].devotion > 20>>
						@@.green;adequate rest@@ for a $girl that knows how to manage $his time.
					<<else>>
						@@.green;adequate rest,@@ but not enough for a slave lacking time management.
					<</if>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.living != "luxurious">>
				<<if $dormitoryPopulation > $dormitory>>
					<<set _dormPop = $dormitoryPopulation - $dormitory>>
					The slave dormitory is
					<<if _dormPop <= 5>>
						@@.yellow;somewhat overcrowded.@@ The mild inconvenience
						<<if $slaves[$i].trust > 20>>
							@@.gold;reduces $his trust@@ in you a little.
							<<set $slaves[$i].trust -= 2>>
						<<else>>
							@@.mediumorchid;lowers you@@ a little in $his opinion.
							<<set $slaves[$i].devotion -= 2>>
						<</if>>
					<<elseif _dormPop <= 10>>
						@@.yellow;badly overcrowded.@@ The constant difficulties
						<<if $slaves[$i].trust > 20>>
							@@.gold;reduces $his trust@@ in you
							<<set $slaves[$i].trust -= 3>>
						<<else>>
							@@.mediumorchid;lowers you@@ in $his opinion
							<<set $slaves[$i].devotion -= 3>>
						<</if>>
						and is @@.red;not good for $him,@@ since it's difficult to rest there.
						<<run healthDamage($slaves[$i], 2)>>
					<<else>>
						@@.yellow;extremely overcrowded.@@ The unpleasant situation
						<<if $slaves[$i].trust > 20>>
							seriously @@.gold;reduces $his trust@@ in you
							<<set $slaves[$i].trust -= 5>>
						<<else>>
							seriously @@.mediumorchid;lowers you@@ in $his opinion
							<<set $slaves[$i].devotion -= 5>>
						<</if>>
						and is @@.red;bad for $his health.@@
						<<run healthDamage($slaves[$i], 4)>>
					<</if>>
				<</if>>
			<</if>>

			<<if ["be a servant", "get milked", "please you", "serve the public", "whore", "work a glory hole"].includes($slaves[$i].assignment)>>
				<<if $slaves[$i].rules.rest == "mandatory">>
					<<if ($slaves[$i].devotion <= 20)>>
						Getting a day off each week @@.mediumaquamarine;builds feelings of liberty@@ a slave shouldn't have.
						<<set $slaves[$i].trust += 3>>
					<<else>>
						$He appreciates having a weekly day off and takes it as a sign that $he has a @@.mediumaquamarine;caring <<= WrittenMaster()>>.@@
						<<set $slaves[$i].trust += 1>>
					<</if>>
				<<elseif $slaveUsedRest>>
					<<if $slaves[$i].rules.rest == "permissive">>
						<<if ($slaves[$i].devotion <= 20)>>
							$He's permitted to rest whenever $he feels even the slightest bit tired; @@.mediumaquamarine;a privilege not lost on $him.@@
							<<set $slaves[$i].trust += 2>>
						<<else>>
							$He @@.hotpink;likes@@ that you @@.mediumaquamarine;care enough@@ to let him rest when he gets tired.
							<<set $slaves[$i].devotion += 1>>
							<<set $slaves[$i].trust += 1>>
						<</if>>
					<<elseif $slaves[$i].rules.rest == "restrictive">>
						<<if ($slaves[$i].devotion <= -20)>>
							$He's permitted to rest when fatigue sets in, but not enough to shake $his tiredness; $he feels this @@.gold;deprivation@@ is intentional.
							<<set $slaves[$i].trust -= 1>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							$He's permitted to rest when fatigue sets in, and @@.hotpink;understands@@ this is less for $his wellbeing and more to prevent $him from become unproductive.
							<<set $slaves[$i].devotion += 1>>
						<<else>>
							$He's permitted to rest when fatigue sets in and is @@.mediumaquamarine;thankful@@ you would allow $him the privilege so that $he may serve you better.
							<<set $slaves[$i].trust += 1>>
						<</if>>
					<<elseif $slaves[$i].rules.rest == "cruel">>
						<<if ($slaves[$i].devotion <= -20)>>
							$He's @@.gold;terrified@@ that the only reason $he is given any time to rest at all is just to prolong your torment of $him.
							<<set $slaves[$i].trust -= 3>>
						<<elseif ($slaves[$i].devotion <= 20)>>
							You work $him to the bone and only allow $him rest when on the verge of collapsing. $He @@.gold;fears@@ this @@.mediumorchid;cruelty@@ is just the beginning.
							<<set $slaves[$i].trust -= 3>>
							<<set $slaves[$i].devotion -= 3>>
						<<else>>
							Only being allowed rest when on the verge of collapsing @@.mediumorchid;shakes $his faith@@ in you a little.
							<<set $slaves[$i].devotion -= 2>>
						<</if>>
					<</if>>
					<<unset $slaveUsedRest>>
				<</if>>
			<</if>>

			<<if ($universalRulesConsent == 0)>>
				<<if ($slaves[$i].devotion <= 20)>>
					<<if ($slaves[$i].trust > -10)>>
						<<if $slaves.length > 2 || $menials > 0>>
							Under the rules, $he finds $himself constantly molested by other slaves, and lives $his life constantly @@.gold;afraid.@@
						<<else>>
							Under the rules, $he is free game for other slaves to molest, and lives $his life constantly @@.gold;afraid@@ of the day you bring home more slaves.
						<</if>>
						<<set $slaves[$i].trust -= 2>>
					<<else>>
						<<if $slaves.length > 2 || $menials > 0>>
							Under the rules, $he finds $himself constantly molested by other slaves, but $he's already in such constant terror it doesn't seriously affect $him.
						<<else>>
							Under the rules, $he will someday find $himself constantly molested by other slaves, but $he's already in such constant terror it that it doesn't cross $his mind.
						<</if>>
					<</if>>
				<<elseif (_release.slaves === 1)>>
					<<if ($slaves[$i].energy > 95)>>
						<<if $slaves.length > 2 || $menials > 0>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;adores@@ you for providing plentiful outlets for $his nymphomania.
						<<else>>
							Under the rules, $he's allowed to demand that other slaves get $him off, and $he @@.hotpink;eagerly awaits@@ the day you bring home more sluts to get $him off.
						<</if>>
						<<set $slaves[$i].devotion += 1>>
					<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>>
						<<if ($slaves[$i].fetish == "sadist")>>
							<<if $slaves.length > 2 || $menials > 0>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;adores@@ you for providing a whole penthouse of sluts for $him to rape.
							<<else>>
								Under the rules, $he's allowed to sexually abuse other slaves, and $he @@.hotpink;eagerly awaits@@ the day you bring home more sluts for $him to rape.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<<elseif ($slaves[$i].fetish == "dom")>>
							<<if $slaves.length > 2 || $menials > 0>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;adores@@ you for providing a whole penthouse of whores for $him to dominate.
							<<else>>
								Under the rules, $he's allowed to force other slaves to have sex with $him, and $he @@.hotpink;eagerly awaits@@ the day you bring home more whores for $him to dominate.
							<</if>>
							<<set $slaves[$i].devotion += 1>>
						<</if>>
					<</if>>
				<</if>>
			<<else>>
				<<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>>
					<<if $slaves.length > 2 || $menials > 0>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse.
					<<else>>
						Since $he's low in the slave hierarchy, @@.mediumaquamarine;$he knows@@ that the rule that slaves must get consent before having sex with $him are all that protect $him from abuse. Well, that and the fact your penthouse is rather empty.
					<</if>>
					<<set $slaves[$i].trust += 1>>
				<</if>>
			<</if>>

			<<if ($slaves[$i].attrKnown == 0)>>
				<<if ($week-$slaves[$i].weekAcquired > 4) && $slaves[$i].energy > 20>>
					<<set $slaves[$i].attrKnown = 1>>
					<<= capFirstChar($assistant.name)>> has been monitoring $him as $he gets off, analyzing $his sexuality. It seems $he is
					<<saRulesAttractionDiscovery>>
				<</if>>
			<</if>>

			<<if $slaves[$i].rules.lactation == "induce">>
				<<if (canHold($slaves[$i]))>>
					$He is required to vigorously massage $his breasts and nipples in an effort to induce lactation.
				<<else>>
					$He spends $his nights with a pair of automatic breast pumps attached to $his chest in order bring in $his lactation.
				<</if>>
				<<set $slaves[$i].induceLactation += 4>>
				<<= induceLactation($slaves[$i])>>
				<<if $slaves[$i].lactation == 1>><<set $slaves[$i].rules.lactation = "maintain">><</if>>
			<<elseif $slaves[$i].rules.lactation == "maintain" && ($servantMilkers != 1 || !setup.servantMilkersJobs.includes($slaves[$i].assignment))>>
				$He utilizes $his lactation during $his daily tasks as needed, and when $he isn't drained well enough, spends the evenings with a pair of automatic breast pumps.
				<<set $slaves[$i].lactationDuration = 2, $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>>
			<</if>>

			<<if $slaves[$i].devotion > 50>>
				$He does $his best for you, so $he frequently deserves a reward and never needs to be punished.
				<<set _punishments = 0>>
				<<set _rewards = 3>>
			<<elseif $slaves[$i].devotion > 20>>
				$He's obedient out of acceptance of $his place, so $he often deserves a reward and rarely needs to be punished.
				<<set _punishments = 1>>
				<<set _rewards = 2>>
			<<elseif $slaves[$i].devotion >= -20>>
				<<if $slaves[$i].trust < -20>>
					$He's obedient out of fear, so $he only rarely deserves a reward and sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 1>>
				<<else>>
					$He's too trusting for obedience and often needs to be punished.
					<<set _punishments = 2>>
					<<set _rewards = 0>>
				<</if>>
			<<else>>
				<<if $slaves[$i].trust < -50>>
					$He's only obedient out of terror, so $he sometimes needs to be punished.
					<<set _punishments = 1>>
					<<set _rewards = 0>>
				<<else>>
					$He hates you too much to obey, so $he needs constant punishment.
					<<set _punishments = 3>>
					<<set _rewards = 0>>
				<</if>>
			<</if>>

			<<if _rewards > 0>>
				<<switch $slaves[$i].rules.reward>>
				<<case "relaxation">>
					$He's given free time, which $he
					<<if $spa != 0>>
						usually spends in $spaName<<if _S.Attendant>>, enjoying _S.Attendant.slaveName's care<</if>>.
					<<else>>
						usually spends relaxing in the slave quarters.
					<</if>>
					<<if $slaves[$i].relationship > 0>>
						<<set $subSlave = getSlave($slaves[$i].relationshipTarget)>>
						<<if def $subSlave>>
							<<setLocalPronouns $subSlave 2>>
						<</if>>
						$He often asks to save these breaks so $he can spend them with $his <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>_wife2<</if>>.
					<</if>>
					These breaks are @@.green;good for $him.@@
					<<run improveCondition($slaves[$i], _rewards)>>
				<<case "drugs">>
					$He's @@.hotpink;rewarded@@ with hits of mild recreational drugs, which @@.red;isn't healthy,@@ but helps bind $him to you strongly.
					<<run healthDamage($slaves[$i], _rewards)>>
					<<set $slaves[$i].devotion += _rewards*2>>
				<<case "orgasm">>
					$He's @@.hotpink;rewarded@@ with
					<<if $slaves[$i].clitPiercing == 3>>
						sustained orgasm from $his <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing,
					<<elseif $slaves[$i].rules.release.slaves == 1>>
						immediate sex with any nearby slave,
					<<else>>
						a quick climax from a vibrator,
					<</if>>
					@@.green;boosting $his libido.@@
					<<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>><<set $slaves[$i].need -= (_rewards*10)>>
					<<set $slaves[$i].devotion += _rewards>>
				<<default>>
					$He's @@.hotpink;rewarded@@
					<<if (_punishments > 0) && ($slaves[$i].rules.reward == "situational")>>
						and @@.gold;punished@@
					<</if>>
					situationally, letting $him develop normally.
					<<set $slaves[$i].devotion += _rewards>>
				<</switch>>
			<</if>>
			<<if _punishments > 0>>
				<<switch $slaves[$i].rules.punishment>>
				<<case "confinement">>
					When $he disobeys, $he's
					<<if $cellblock != 0>>
						@@.gold;put in $cellblockName@@<<if _S.Wardeness>>, where $he can experience _S.Wardeness.slaveName's tender mercies<</if>>.
					<<else>>
						@@.gold;shut up in a box@@ until $he behaves.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<<case "whipping">>
					When $he disobeys, $he's @@.gold;whipped,@@ not hard enough to mark $him, but hard enough to @@.red;hurt,@@ breaking $him quickly.
					<<run healthDamage($slaves[$i], _punishments)>>
					<<set $slaves[$i].trust -= 2*_punishments>>
				<<case "chastity">>
					When $he disobeys, $he's @@.gold;denied@@ $his next orgasm, @@.red;reducing $his libido@@ but breaking $him to @@.hotpink;sexual obedience.@@
					<<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>>
					<<set $slaves[$i].devotion += _punishments>>
					<<set $slaves[$i].trust -= _punishments>>
				<<default>>
					<<if (_rewards == 0) || ($slaves[$i].rules.reward != "situational")>>
						When $he disobeys, $he's @@.gold;punished@@ situationally, letting $him develop normally.
					<</if>>
					<<set $slaves[$i].trust -= _punishments>>
				<</switch>>
			<</if>>
			<<if $subSlaves > 0 && _release.slaves == 1 && $slaves[$i].assignment != "serve your other slaves">>
				<<set $slaves[$i].need -= (20*$subSlaves)>> /* make those serve your other slaves do some work for once */
			<</if>>
		<</switch>>
	<</if>> /* closes mindbreak exemption */

<</if>> /* closes Fuckdoll exemption */

repo_name: NovX/fc

license: mit