diff --git a/src/npc/agent/agentCompany.tw b/src/npc/agent/agentCompany.tw
index cf96a70df8e3d79911930a909669014df7c7090f..094e4f326b74a2ed90dd24c9f53eeb2f6c1117cb 100644
--- a/src/npc/agent/agentCompany.tw
+++ b/src/npc/agent/agentCompany.tw
@@ -1,20 +1,20 @@
 :: Agent Company [nobr]
 
-<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Neighbor Interact", _ID = $activeSlave.ID>>
+<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Neighbor Interact">>
 
-<<= assignJob($activeSlave, "live with your agent")>>
+<<= assignJob(getSlave($AS), "live with your agent")>>
 
 <<set $reservedChildren = FetusGlobalReserveCount("incubator")>>
 <<set $reservedChildrenNursery = FetusGlobalReserveCount("nursery")>>
 
-<<if $activeSlave.rivalry > 0>>
-	<<set _i = $slaveIndices[$activeSlave.rivalryTarget]>>
+<<if getSlave($AS).rivalry > 0>>
+	<<set _i = $slaveIndices[getSlave($AS).rivalryTarget]>>
 	<<if def _i>>
 		<<set $slaves[_i].rivalry = 0, $slaves[_i].rivalryTarget = 0>>
 	<<else>>
 		@@.red;Error, activeSlave rival not found.@@
 	<</if>>
-	<<set $activeSlave.rivalry = 0, $activeSlave.rivalryTarget = 0>>
+	<<set getSlave($AS).rivalry = 0, getSlave($AS).rivalryTarget = 0>>
 <</if>>
 
 <<set _neighborArcology = $arcologies.find(function(s) { return $subSlave.ID == s.leaderID; })>>
@@ -25,12 +25,12 @@ Working in _neighborArcology.name's penthouse office, $subSlave.slaveName gets a
 
 <br><br>
 
-_His2 question is answered when you bring <<= contextualIntro($subSlave, $activeSlave)>> in close, putting $him in $subSlave.slaveName's view. $subSlave.slaveName's <<= App.Desc.eyesColor($subSlave)>> fly open with pleased surprise, but before _he2 can speak, $activeSlave.slaveName goes first.
-<<if !canTalk($activeSlave)>>
-	Unable to speak $himself, $he simply makes a heart shape with $his hand<<if hasBothArms($activeSlave)>>s<</if>> in view of the video call, and blows $his <<if $activeSlave.relationship == 4>>lover<<else>>_wife2<</if>> a kiss.
+_His2 question is answered when you bring <<= contextualIntro($subSlave, getSlave($AS))>> in close, putting $him in $subSlave.slaveName's view. $subSlave.slaveName's <<= App.Desc.eyesColor($subSlave)>> fly open with pleased surprise, but before _he2 can speak, <<= getSlave($AS).slaveName>> goes first.
+<<if !canTalk(getSlave($AS))>>
+	Unable to speak $himself, $he simply makes a heart shape with $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> in view of the video call, and blows $his <<if getSlave($AS).relationship == 4>>lover<<else>>_wife2<</if>> a kiss.
 <<else>>
-	<<run Enunciate($activeSlave)>>
-	"Hi <<if $activeSlave.relationship == 4>>lover<<else>><<s>>weetheart<</if>>," $he <<say>>s in a syrupy tone. "Mi<<ss>> me?"
+	<<run Enunciate(getSlave($AS))>>
+	"Hi <<if getSlave($AS).relationship == 4>>lover<<else>><<s>>weetheart<</if>>," $he <<say>>s in a syrupy tone. "Mi<<ss>> me?"
 <</if>>
 
 <br><br>
diff --git a/src/npc/interaction/passage/fMarry.tw b/src/npc/interaction/passage/fMarry.tw
index 35c817587cca65e745b83c153129a18851d2cb4c..fdeaa42dd9abeaaa5f09156493b8ceb7d5850e1f 100644
--- a/src/npc/interaction/passage/fMarry.tw
+++ b/src/npc/interaction/passage/fMarry.tw
@@ -1,8 +1,7 @@
 :: FMarry [nobr]
 
 <<set $nextButton = "Back", $nextLink = "Slave Interact">>
-<<set $AS = $activeSlave.ID>>
-<<run App.Utils.setLocalPronouns(getSlave($activeSlave.ID))>>
+<<run App.Utils.setLocalPronouns(getSlave($AS))>>
 <<run Enunciate(getSlave($AS))>>
 <<set _belly = bellyAdjective(getSlave($AS))>>
 
diff --git a/src/npc/interaction/passage/matchmaking.tw b/src/npc/interaction/passage/matchmaking.tw
index d8aa42e569f6bba00c2feecf1cfa3a2ab812bcbb..9ed13bcb75cdd0e18bd079a10387530e0e12a4c8 100644
--- a/src/npc/interaction/passage/matchmaking.tw
+++ b/src/npc/interaction/passage/matchmaking.tw
@@ -6,7 +6,6 @@
 	<<set $nextLink = "Slave Interact">>
 <</if>>
 <<set $nextButton = "Continue">>
-<<set $AS = $activeSlave.ID>>
 
 <<if $subSlave == 0>>
 
diff --git a/src/societies/aztec/slaveSacrifice.tw b/src/societies/aztec/slaveSacrifice.tw
index 69315917769456a81c52fcc9bb1e4874fcb8d2ea..62bf5239952cee1d9699d47030458319c4ca90fc 100644
--- a/src/societies/aztec/slaveSacrifice.tw
+++ b/src/societies/aztec/slaveSacrifice.tw
@@ -1,57 +1,57 @@
 :: Aztec Slave Sacrifice [nobr]
 
 <<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Main", $encyclopedia = "Aztec Revivalism">>
-<<setLocalPronouns $activeSlave >>
-<<run Enunciate($activeSlave)>>
+<<run App.Utils.setLocalPronouns(getSlave($AS))>>
+<<run Enunciate(getSlave($AS))>>
 
-<<set _activeSlaveRepSacrifice = repGainSacrifice($activeSlave, $arcologies[0])>>
+<<set _activeSlaveRepSacrifice = repGainSacrifice(getSlave($AS), $arcologies[0])>>
 
 <<if $sacrificeType == "penance">>
-	You inform $activeSlave.slaveName that $he's been chosen to take part in a ritual sacrifice to Xochiquetzal, the goddess of carnal love, excess, and sexual release.
-	<<if ($activeSlave.devotion > 50)>>
-		<<if !canTalk($activeSlave)>>
+	You inform <<= getSlave($AS).slaveName>> that $he's been chosen to take part in a ritual sacrifice to Xochiquetzal, the goddess of carnal love, excess, and sexual release.
+	<<if (getSlave($AS).devotion > 50)>>
+		<<if !canTalk(getSlave($AS))>>
 			$He looks excited at the prospect of suffering for the goddess.
-		<<elseif ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
+		<<elseif (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
 			$He looks excited. "<<Master>>! I'm honored to be cho<<s>>en! Thank you <<s>>o much!"
-			<<if ($activeSlave.fetish == "masochist")>>
+			<<if (getSlave($AS).fetish == "masochist")>>
 				$He shudders with excitement. "I mean, I know my pain will help to feed the godde<<ss>> and I'm willing to <<s>>uffer plenty to plea<<s>>e her, but i<<s>> it really a <<s>>acrifi<<c>>e if I'm enjoying it?"
-			<<elseif ($activeSlave.fetish == "cumslut")>>
+			<<elseif (getSlave($AS).fetish == "cumslut")>>
 				$He hesitates, looking concerned. "Oh God<<s>>, the <<s>>e<<x>> clean<<s>>ing will be awful, but I'm willing to <<s>>acrifi<<c>>e all that pain for the godde<<ss>>."
-			<<elseif ($activeSlave.fetish == "humiliation")>>
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
 				$He shudders with excitement. "I heard everyone can <<s>>ee me a<<s>> I <<s>>uffer. I hope the public penan<<c>>e will plea<<s>>e the godde<<ss>>."
-			<<elseif ($activeSlave.fetish == "buttslut")>>
-				$He <<if canSee($activeSlave)>>looks sadly at the floor<<else>>tilts $his head downwards sadly<</if>>. "Oh God<<s>>, that mean<<s>> no butt <<s>>e<<x>> for me. I hope Xochiquetzal be plea<<s>>ed by all that <<s>>acrifi<<c>>e."
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
+				$He <<if canSee(getSlave($AS))>>looks sadly at the floor<<else>>tilts $his head downwards sadly<</if>>. "Oh God<<s>>, that mean<<s>> no butt <<s>>e<<x>> for me. I hope Xochiquetzal be plea<<s>>ed by all that <<s>>acrifi<<c>>e."
 			<</if>>
 		<<else>>
 			$He looks determined. "<<Master>>, I'll do my be<<s>>t. No other <<s>>lave will be cleaner for the godde<<ss>> than I.
 		<</if>>
-	<<elseif ($activeSlave.devotion > 20) || (($activeSlave.devotion >= -20) && ($activeSlave.trust < -20) && ($activeSlave.trust >= -50))>>
-		<<if !canTalk($activeSlave)>>
+	<<elseif (getSlave($AS).devotion > 20) || ((getSlave($AS).devotion >= -20) && (getSlave($AS).trust < -20) && (getSlave($AS).trust >= -50))>>
+		<<if !canTalk(getSlave($AS))>>
 			$He looks cautious at the prospect of suffering for the goddess.
-		<<elseif ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
+		<<elseif (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
 			$He looks cautiously excited. "<<Master>>,
-			<<if ($activeSlave.fetish == "submissive")>>
+			<<if (getSlave($AS).fetish == "submissive")>>
 				I'll follow your every word to be a good <<s>>acrifi<<c>>e for the godde<<ss>>. I won't even blink if I'm not in<<s>>tructed to.
-			<<elseif ($activeSlave.fetish == "masochist")>>
+			<<elseif (getSlave($AS).fetish == "masochist")>>
 				<<s>>acrifi<<c>>e will be hard, right? Lot<<s>> of pain the whole week..." $he trails off.
-			<<elseif ($activeSlave.fetish == "cumslut")>>
+			<<elseif (getSlave($AS).fetish == "cumslut")>>
 				it'<<s>> going to be <<s>>o hard to not be able to drink cum the whole week!" An expression of sadness spreads across $his face. "But I'm willing to do it for the godde<<ss>>."
-			<<elseif ($activeSlave.fetish == "humiliation")>>
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
 				it'<<s>> a public <<s>>acrifi<<c>>e, right? I hope they all <<s>>ee how much one mu<<s>>t <<s>>uffer to plea<<s>>e the godde<<ss>>."
-			<<elseif ($activeSlave.fetish == "buttslut")>>
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
 				my poor a<<ss>>, <<s>>o neglected. I hope Xochiquetzal will be plea<<s>>ed with <<s>>uch a hard <<s>>acrifi<<c>>e." $He rubs $his butt in anticipation.
 			<<else>>
 				I will do my be<<s>>t to be a good <<s>>acrifi<<c>>e," $he says, trying to put on a brave front. Then, half to $himself, $he adds in a small voice, "I can do thi<<s>>."
 			<</if>>
-		<<elseif $activeSlave.sexualFlaw != "none">>
+		<<elseif getSlave($AS).sexualFlaw != "none">>
 			"Ye<<s>>, <<Master>>," $he <<say>>s obediently. $He hesitates, looking concerned.
-			<<if ($activeSlave.sexualFlaw == "hates oral")>>
+			<<if (getSlave($AS).sexualFlaw == "hates oral")>>
 				"<<S>>o, no <<s>>ucking dick<<s>> for a week, right? It will be hard, but I'll do it to plea<<s>>e the godde<<ss>>." A coy little smile appears on $his face when $he thinks you aren't looking.
-			<<elseif ($activeSlave.sexualFlaw == "hates anal")>>
+			<<elseif (getSlave($AS).sexualFlaw == "hates anal")>>
 				"<<S>>o, no taking dick<<s>> up my a<<ss>> for a week, right? It will be hard, but I'll do it to plea<<s>>e the godde<<ss>>." A coy little smile appears on $his face when $he thinks you aren't looking.
-			<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
+			<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
 				"That loin cloth <<s>>eem<<s>> <<s>>o <<s>>mall..." $His face turns red as $he stutters.
-			<<elseif ($activeSlave.sexualFlaw == "repressed")>>
+			<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
 				"<<S>>o, no <<s>>e<<x>> at all for a week, right? It will be hard, but I'll do it to plea<<s>>e the godde<<ss>>. A coy little smile appears on $his face when $he thinks you aren't looking.
 			<<else>>
 				$He tries to be brave. "<<Master>>, I will do my be<<s>>t to be a good <<s>>acrifi<<c>>e" Then, half to $himself, $he adds in a small voice, "I can do thi<<s>>..."
@@ -59,25 +59,25 @@
 		<<else>>
 			$He tries to be brave. "<<Master>>, I will do my be<<s>>t to be a good <<s>>acrifi<<c>>e." Then, half to $himself, $he adds in a small voice, "I can do thi<<s>>..."
 		<</if>>
-	<<elseif ($activeSlave.devotion >= -50) && ($activeSlave.trust < -20)>>
-		<<if !canTalk($activeSlave)>>
+	<<elseif (getSlave($AS).devotion >= -50) && (getSlave($AS).trust < -20)>>
+		<<if !canTalk(getSlave($AS))>>
 			$He looks afraid at the prospect of suffering for the goddess.
-		<<elseif $activeSlave.sexualFlaw != "none">>
+		<<elseif getSlave($AS).sexualFlaw != "none">>
 			$He seems afraid of what's to come and $his answer is barely more than a whisper, almost to $himself, "Ye<<s>> <<Master>>..." Finally $he gasps out, "God<<s>>, I'm going to <<s>>-<<s>>uffer <<s>>o much."
-			<<if ($activeSlave.sexualFlaw == "hates oral") || ($activeSlave.sexualFlaw == "hates anal") || ($activeSlave.sexualFlaw == "hates penetration")>>
-				$He visibly considers disobedience but the prospect of not having <<if ($activeSlave.sexualFlaw == "hates oral")>>a dick down $his throat<<elseif ($activeSlave.sexualFlaw == "hates anal")>>$his butt filled<<elseif ($activeSlave.sexualFlaw == "hates penetration")>>any hole filled with dick<</if>> for a hole week seems enough to go through any ordeal you order $him to do. Trembling, $he answers, "Ye<<s>> <<Master>>, I'll obey."
-			<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
+			<<if (getSlave($AS).sexualFlaw == "hates oral") || (getSlave($AS).sexualFlaw == "hates anal") || (getSlave($AS).sexualFlaw == "hates penetration")>>
+				$He visibly considers disobedience but the prospect of not having <<if (getSlave($AS).sexualFlaw == "hates oral")>>a dick down $his throat<<elseif (getSlave($AS).sexualFlaw == "hates anal")>>$his butt filled<<elseif (getSlave($AS).sexualFlaw == "hates penetration")>>any hole filled with dick<</if>> for a hole week seems enough to go through any ordeal you order $him to do. Trembling, $he answers, "Ye<<s>> <<Master>>, I'll obey."
+			<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
 				$He bursts into tears. "I'm going to be practically naked where everyone can <<s>>ee me!"
-			<<elseif ($activeSlave.sexualFlaw == "repressed")>>
+			<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
 				A big smile appears on $his face. "I'm going to be clean<<s>>ed. I'll be cleaned for the godde<<ss>>..."
 			<</if>>
 		<<else>>
-			$He does $his best to control $himself and avoid punishment. "<<Master>>, I will do it. I'll do the peniten<<c>>e for the godde<<ss>>." $He holds $himself together until you dismiss $him; as $he turns to leave, the tears come fast, and $he almost runs into the door frame on $his way out<<if canSee($activeSlave)>>, blinded with weeping<</if>>.
+			$He does $his best to control $himself and avoid punishment. "<<Master>>, I will do it. I'll do the peniten<<c>>e for the godde<<ss>>." $He holds $himself together until you dismiss $him; as $he turns to leave, the tears come fast, and $he almost runs into the door frame on $his way out<<if canSee(getSlave($AS))>>, blinded with weeping<</if>>.
 		<</if>>
 	<<else>>
-		<<if canWalk($activeSlave)>>
+		<<if canWalk(getSlave($AS))>>
 			$He manages to run halfway to your desk before $he's <<if _S.Bodyguard>>clotheslined by _S.Bodyguard.slaveName<<elseif $HeadGirlID != 0>> restrained by _S.HeadGirl.slaveName<<else>>restrained by another, more obedient slave<</if>>. $He kicks and struggles as $he's removed from your office. By the end of the week, it won't matter; $he'll be so hungry and horny that resistance will be the last thing on $his mind.
-		<<elseif !canTalk($activeSlave)>>
+		<<elseif !canTalk(getSlave($AS))>>
 			A long line of slurs and names are screamed at you, none of them particularly pleasant. Your <<if $HeadGirlID != 0>>Head Girl _S.HeadGirl.slaveName <<else>>another, more obedient slave<</if>> removes $him as $he continues $his rant, spitting and resisting as much as $he can without limbs. By the end of the week, it won't matter; $he'll be so hungry and horny that resistance will be the last thing on $his mind.
 		<<else>>
 			$He proceeds to drop into a massive tantrum for the lack of better ways to express $himself. <<if $HeadGirlID != 0>>_S.HeadGirl.slaveName<<else>>Another, more obedient slave<</if>> removes $him as $he continues struggling, spitting and resisting as much as $he can. By the end of the week, it won't matter; $he'll be so hungry and horny that resistance will be the last thing on $his mind.
@@ -86,53 +86,53 @@
 
 	<br>
 	<<setNonlocalPronouns $seeDicks>>
-	As tradition dictates, the purification of $his body will be used as penance to the goddess in an attempt to pay for the favors bestowed upon your arcology. First, one of your slaves is appointed to represent you as $his owner, who willingly gives the slave as sacrifice, and is put in charge of the slave's health while $he goes through the penance process. $activeSlave.slaveName is thoroughly bathed and $his whole body covered in blue paint, while $his mouth is covered in black paint, as payment for being a prostitute. /*Might need a clause here for other jobs besides "whore"*/ $He's taken to spend the night at the sexual servitude of another slave who will be sacrificed to Tezcatlipoca, god of the night sky. $He's <<if ($activeSlave.devotion > 20)>>fucked all night long <<else>>raped over and over again throughout the night <</if>>; $his holes dedicated to the sexual satisfaction of the slave who soon will face a much darker fate than $him to please the gods.
-	<<if canDoVaginal($activeSlave) && canDoAnal($activeSlave)>>
+	As tradition dictates, the purification of $his body will be used as penance to the goddess in an attempt to pay for the favors bestowed upon your arcology. First, one of your slaves is appointed to represent you as $his owner, who willingly gives the slave as sacrifice, and is put in charge of the slave's health while $he goes through the penance process. <<= getSlave($AS).slaveName>> is thoroughly bathed and $his whole body covered in blue paint, while $his mouth is covered in black paint, as payment for being a prostitute. /*Might need a clause here for other jobs besides "whore"*/ $He's taken to spend the night at the sexual servitude of another slave who will be sacrificed to Tezcatlipoca, god of the night sky. $He's <<if (getSlave($AS).devotion > 20)>>fucked all night long <<else>>raped over and over again throughout the night <</if>>; $his holes dedicated to the sexual satisfaction of the slave who soon will face a much darker fate than $him to please the gods.
+	<<if canDoVaginal(getSlave($AS)) && canDoAnal(getSlave($AS))>>
 		<<set _randomVag = random(1,2)>>
 		<<set _randomAnal = random(1,2)>>
 		<<set _randomOral = random(2,6)>>
-		<<set $activeSlave.counter.vaginal += _randomVag, $activeSlave.counter.anal += _randomAnal, $activeSlave.counter.oral += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>>
-		<<if $activeSlave.vagina == 0 && $activeSlave.anus == 0>>
+		<<set getSlave($AS).counter.vaginal += _randomVag, getSlave($AS).counter.anal += _randomAnal, getSlave($AS).counter.oral += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>>
+		<<if getSlave($AS).vagina == 0 && getSlave($AS).anus == 0>>
 			$His sacrifice to the gods naturally meant giving up @@.lime;both of $his virginities.@@
-			<<set $activeSlave.vagina = 1, $activeSlave.anus = 1>>
+			<<set getSlave($AS).vagina = 1, getSlave($AS).anus = 1>>
 		<</if>>
-		<<if canGetPregnant($activeSlave) && $activeSlave.eggType == "human">>
+		<<if canGetPregnant(getSlave($AS)) && getSlave($AS).eggType == "human">>
 			$His lover tried _hisU best to plant _hisU seed deep within $him. $He's likely pregnant after last night.
-			<<= knockMeUp($activeSlave, 70, 2, 0)>>
+			<<= knockMeUp(getSlave($AS), 70, 2, 0)>>
 		<</if>>
-	<<elseif canDoVaginal($activeSlave)>>
+	<<elseif canDoVaginal(getSlave($AS))>>
 		<<set _randomVag = random(1,3)>>
 		<<set _randomOral = random(2,3)>>
-		<<set $activeSlave.counter.vaginal += _randomVag, $activeSlave.counter.oral += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>>
-		<<if $activeSlave.vagina == 0>>
+		<<set getSlave($AS).counter.vaginal += _randomVag, getSlave($AS).counter.oral += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>>
+		<<if getSlave($AS).vagina == 0>>
 			$His sacrifice to the gods ended up including @@.lime;$his virginity.@@
-			<<set $activeSlave.vagina = 1>>
+			<<set getSlave($AS).vagina = 1>>
 		<</if>>
-		<<if canGetPregnant($activeSlave) && $activeSlave.eggType == "human">>
+		<<if canGetPregnant(getSlave($AS)) && getSlave($AS).eggType == "human">>
 			$His lover tried _hisU best to plant _hisU seed deep within $him. $He's likely pregnant after last night.
-			<<= knockMeUp($activeSlave, 70, 0, 0)>>
+			<<= knockMeUp(getSlave($AS), 70, 0, 0)>>
 		<</if>>
-	<<elseif canDoAnal($activeSlave)>>
+	<<elseif canDoAnal(getSlave($AS))>>
 		<<set _randomAnal = random(1,3)>>
 		<<set _randomOral = random(2,3)>>
-		<<set $activeSlave.counter.anal += _randomAnal, $activeSlave.counter.oral += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>>
-		<<if $activeSlave.anus == 0>>
+		<<set getSlave($AS).counter.anal += _randomAnal, getSlave($AS).counter.oral += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>>
+		<<if getSlave($AS).anus == 0>>
 			$His sacrifice to the gods ended up including @@.lime;$his anal virginity.@@
-			<<set $activeSlave.anus = 1>>
+			<<set getSlave($AS).anus = 1>>
 		<</if>>
-		<<if canGetPregnant($activeSlave) && $activeSlave.eggType == "human">>
+		<<if canGetPregnant(getSlave($AS)) && getSlave($AS).eggType == "human">>
 			$His lover tried _hisU best to plant _hisU seed deep within $him. $He's likely pregnant after last night.
-			<<= knockMeUp($activeSlave, 70, 1, 0)>>
+			<<= knockMeUp(getSlave($AS), 70, 1, 0)>>
 		<</if>>
 	<<else>>
 		<<set _randomOral = random(2,6)>>
-		<<set $activeSlave.counter.oral += _randomOral, $oralTotal += _randomOral>>
+		<<set getSlave($AS).counter.oral += _randomOral, $oralTotal += _randomOral>>
 		By the following morning $he's sickened from the number of loads blown down $his throat. Luckily inducing vomiting will be enough to have $him ready for the next step.
 	<</if>>
 
 	<br>
 	$He's prepared for $his public penance. First, $he is left to sweat for several hours on the temazcal to remove any impurity of the previous night before being bathed and painted once again. $He's specially dressed for the occasion -
-	<<if ($activeSlave.sexualFlaw == "shamefast") || ($activeSlave.sexualFlaw == "repressed")>>
+	<<if (getSlave($AS).sexualFlaw == "shamefast") || (getSlave($AS).sexualFlaw == "repressed")>>
 		a short red loincloth and a chastity belt designed to prevent any forbidden self-stimulation cover as little of $his lower body as possible. The setup is adorned with long, red, silky fringes that move as $he walks. $His chest is bare except for a pair of golden pasties over $his nipples joined by three blue chains on cascade.
 	<<else>>
 		a particularly enticing red loincloth covers $his lower regions while hiding the chastity belt that will thwart any forbidden self-stimulation. $His chest is nearly naked save for a large necklace adorned with feathers, gold and flowers.
@@ -141,8 +141,8 @@
 
 	<br>
 
-	You lead the procession through the arcology's halls with $activeSlave.name,
-	<<if ($activeSlave.devotion > 20)>>
+	You lead the procession through the arcology's halls with <<= getSlave($AS).name>>,
+	<<if (getSlave($AS).devotion > 20)>>
 		proudly facing destiny,
 	<<else>>
 		restrained and crying while $he tries to resist,
@@ -158,7 +158,7 @@
 		a large crowd has assembled to eagerly watch $his internment. $He's presented to the excited crowd
 	<</if>>
 	as the sacrifice and is
-	<<if ($activeSlave.devotion > 20)>>
+	<<if (getSlave($AS).devotion > 20)>>
 		helped
 	<<else>>
 		pushed
@@ -166,22 +166,22 @@
 	into a golden cage, just big enough for $him to fit. Once inside, a huge dose of aphrodisiacs are injected into $him and the door is locked. During $his week-long penance, $he will be kept on a strict regimen of aphrodisiacs to keep $him aroused but unable to cum, a special spiced tea diet to avoid dehydration, and a constant vigil, with only a few hours of sleep every night.
 
 	<br>
-	<<if ($activeSlave.devotion > 50)>>
+	<<if (getSlave($AS).devotion > 50)>>
 		As the week starts, $he is proud to fulfill $his duty. $He fights the urge to touch $himself, drinking only when $he needs to, and does $his best to keep $himself pure for the goddess.
 
-		<<if ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
-			<<if ($activeSlave.fetish == "submissive")>>
-				$He makes sure to be ready to take any instruction, and it's clear that $he enjoys it. As the week progresses, the signs of $his sexual frustration become more evident. However, $he seems to enjoy the struggle of resisting the urges, since $he is under strict orders not to touch $himself. Every time the slave in charge of feeding $him or renewing $his aphrodisiacs orders $him to come closer, $his body shudders with lust-fueled pleasure. $He moans lewdly whenever $he's ordered to wake up or to sleep. By the end of the week, $he fights to remain standing, almost delusional from lust and starvation. $He was told to remain <<if hasBothLegs($activeSlave)>>on $his feet<<else>>standing<</if>>, but, much to $his chagrin, exhaustion often brings $him to <<if hasBothLegs($activeSlave)>>$his knees<<else>>the floor<</if>>.
-			<<elseif ($activeSlave.fetish == "masochist")>>
+		<<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
+			<<if (getSlave($AS).fetish == "submissive")>>
+				$He makes sure to be ready to take any instruction, and it's clear that $he enjoys it. As the week progresses, the signs of $his sexual frustration become more evident. However, $he seems to enjoy the struggle of resisting the urges, since $he is under strict orders not to touch $himself. Every time the slave in charge of feeding $him or renewing $his aphrodisiacs orders $him to come closer, $his body shudders with lust-fueled pleasure. $He moans lewdly whenever $he's ordered to wake up or to sleep. By the end of the week, $he fights to remain standing, almost delusional from lust and starvation. $He was told to remain <<if hasBothLegs(getSlave($AS))>>on $his feet<<else>>standing<</if>>, but, much to $his chagrin, exhaustion often brings $him to <<if hasBothLegs(getSlave($AS))>>$his knees<<else>>the floor<</if>>.
+			<<elseif (getSlave($AS).fetish == "masochist")>>
 				$He seems to enjoy the pain $his sacrifice gives $him. As the week progresses, it is fairly common to see $him moaning and showing other signs of pleasure that seem to be unrelated to the huge amount of aphrodisiacs in $his system. Before long, $he starts to faint more often as $he refuses to even drink the tea to keep $him hydrated and avoids any sleep whatsoever. The specially designated slave appointed to $his care needs to force $him to drink every few hours to avoid dying of dehydration. $He seems to enjoy the extra abuse and even fights to retain as little liquid inside $him as possible. By the end of the week, $he needs to be constantly reanimated to carry out $his penance, a process that $he also seems to enjoy.
-			<<elseif ($activeSlave.fetish == "cumslut")>>
-				$He can be seen frequently crying and desperately fighting the excruciating need to touch $himself. As a result of the aphrodisiacs, the paint on $his <<if hasAnyLegs($activeSlave)>>inner thigh<<if hasBothLegs($activeSlave)>>s<</if>><<else>>crotch<</if>> is constantly wet and steadily drips onto the cage floor. As the week progresses, $his whining increase and $his body convulses harder and harder with lust. The loincloth $he's wearing is constantly wet, as <<if hasBothLegs($activeSlave)>>are $his legs<<else>>is most of $his lower body<</if>>. It is common to see $him begging strength from the goddess only to burst into tears when no relief comes to $him and crying $himself to sleep at night only to be awoken a few hours later. As a result of all $his crying and lubrication, $he needs to be hydrated more often. By the end of the week, $his body refuses to lose more liquid, a fact that doesn't stop $him from sobbing, immobile in $his dried arousal on the floor of the cage, interrupted only by the spasms of $his lust raked body and the slave posted to procure $him more tea to prevent $him from succumbing to dehydration.
-			<<elseif ($activeSlave.fetish == "humiliation")>>
+			<<elseif (getSlave($AS).fetish == "cumslut")>>
+				$He can be seen frequently crying and desperately fighting the excruciating need to touch $himself. As a result of the aphrodisiacs, the paint on $his <<if hasAnyLegs(getSlave($AS))>>inner thigh<<if hasBothLegs(getSlave($AS))>>s<</if>><<else>>crotch<</if>> is constantly wet and steadily drips onto the cage floor. As the week progresses, $his whining increase and $his body convulses harder and harder with lust. The loincloth $he's wearing is constantly wet, as <<if hasBothLegs(getSlave($AS))>>are $his legs<<else>>is most of $his lower body<</if>>. It is common to see $him begging strength from the goddess only to burst into tears when no relief comes to $him and crying $himself to sleep at night only to be awoken a few hours later. As a result of all $his crying and lubrication, $he needs to be hydrated more often. By the end of the week, $his body refuses to lose more liquid, a fact that doesn't stop $him from sobbing, immobile in $his dried arousal on the floor of the cage, interrupted only by the spasms of $his lust raked body and the slave posted to procure $him more tea to prevent $him from succumbing to dehydration.
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
 				$He seems to enjoy all the attention $he receives as $he tries to fight the impulse to touch $himself. $He takes special care to show how degrading the whole process can be. It is common to see $him enjoying every reapplication of aphrodisiacs and when $he needs to be awoken. Often, $he refuses to drink the tea, hoping the time comes that $he will be forced to drink it. As the week progresses and the signs of discomfort become more obvious, $he rejoices in the attempts of the slave on duty to force $him to drink $his tea and the way $he's awakened after just a few hours of sleep. $His body shows clear signs of food, sleep and sexual deprivation that increases as the days go by; $he shows no shame with displaying $his lack of inner strength. By the end of the week, $he can't stand up and remains on the floor of the cage, enjoying the soak in $his own sexual fluids and saving what little strength $he has left to make $his waterings thoroughly humiliating.
-			<<elseif ($activeSlave.fetish == "buttslut")>>
-				$He tries to keep $his butt away from the bars of the cage to avoid any possible stimulation of it. As the week progresses, it is common to see $him trying to remain immobile as $his body shakes and twitches with lust; the constant stimulation of the soft fabric over $his butt, every shift of $his weight and even the caress of the air threatening to drive $him into a frenzy. The lack of food, sexual release and sleep wears $his will down as $he's often ordered back <<if hasBothLegs($activeSlave)>>to $his feet<<else>>into a standing position<</if>> since $he insists on sitting down with the hope that $his butt numbs. By the end of the week, $he remains on the floor of the cage, sitting on $his side, as immobile as $he can, interrupted only by the occasional twitch and the need to drink or roll over.
-			<<elseif ($activeSlave.fetish == "boobs")>>
-				$He tries to distract $himself from the constant stimulation the necklace forces onto $his sensitive <<if $activeSlave.boobs >= 300>>breasts<<else>>chest<</if>>. $He can be seen constantly fighting the urge to tweak $his nipples every time the aphrodisiacs are injected into to $his body. As the week goes by, the lack of food and sleep seem to distract $him enough to stop $him from clenching the cage's bars in an attempt to avoid cumming from stimulation to $his breasts. $He needs to be constantly watched during $his sleep to make sure <<if hasAnyArms($activeSlave)>>$his <<if hasBothArms($activeSlave)>>hands don't<<else>>hand doesn't<</if>> slip under<<else>>$he doesn't toy with<</if>> $his necklace. By the end of the week, $he remains on the floor of $his cage, incapable of moving, from the lack of food, sleep, and sexual release. $His nipples are painfully erect from the aphrodisiacs in $his body.
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
+				$He tries to keep $his butt away from the bars of the cage to avoid any possible stimulation of it. As the week progresses, it is common to see $him trying to remain immobile as $his body shakes and twitches with lust; the constant stimulation of the soft fabric over $his butt, every shift of $his weight and even the caress of the air threatening to drive $him into a frenzy. The lack of food, sexual release and sleep wears $his will down as $he's often ordered back <<if hasBothLegs(getSlave($AS))>>to $his feet<<else>>into a standing position<</if>> since $he insists on sitting down with the hope that $his butt numbs. By the end of the week, $he remains on the floor of the cage, sitting on $his side, as immobile as $he can, interrupted only by the occasional twitch and the need to drink or roll over.
+			<<elseif (getSlave($AS).fetish == "boobs")>>
+				$He tries to distract $himself from the constant stimulation the necklace forces onto $his sensitive <<if getSlave($AS).boobs >= 300>>breasts<<else>>chest<</if>>. $He can be seen constantly fighting the urge to tweak $his nipples every time the aphrodisiacs are injected into to $his body. As the week goes by, the lack of food and sleep seem to distract $him enough to stop $him from clenching the cage's bars in an attempt to avoid cumming from stimulation to $his breasts. $He needs to be constantly watched during $his sleep to make sure <<if hasAnyArms(getSlave($AS))>>$his <<if hasBothArms(getSlave($AS))>>hands don't<<else>>hand doesn't<</if>> slip under<<else>>$he doesn't toy with<</if>> $his necklace. By the end of the week, $he remains on the floor of $his cage, incapable of moving, from the lack of food, sleep, and sexual release. $His nipples are painfully erect from the aphrodisiacs in $his body.
 			<<else>>
 				$He tries to fulfill $his sacrifice as best $he can by trying to keep $himself pure for the goddess. $He submits to every instruction to the best of $his ability. $He can be seen constantly fighting the urge to touch $himself, shaking and moaning at the overwhelming lust caused by the aphrodisiacs. $He drinks only when told, and kindly refuses it when $he thinks $he can hold longer without it. As the week progresses, $his body shakes and twitches more often as $he struggles to stave off the compounding effects of the aphrodisiacs. $He tries to minimize any extra stimulation from the soft fabric or the necklace on $his chest by staying still, but sometimes $he bursts into tears when $his strength wavers. The only interactions $he faces are the reminders to stay hydrated, the application of more aphrodisiacs and $his sleep deprivation. By the end of the week, $he can hardly stand and often remains on the floor of the cage, soaked in $his own desperation.
 			<</if>>
@@ -189,36 +189,36 @@
 			$He tries to fulfill $his sacrifice as best $he can by trying to keep $himself pure for the goddess. $He submits to every instruction to the best of $his ability. $He can be seen constantly fighting the urge to touch $himself, shaking and moaning at the overwhelming lust caused by the aphrodisiacs. $He drinks only when told, and kindly refuses it when $he thinks $he can hold longer without it. As the week progresses, $his body shakes and twitches more often as $he struggles to stave off the compounding effects of the aphrodisiacs. $He tries to minimize any extra stimulation from the soft fabric or the necklace on $his chest by staying still, but sometimes $he bursts into tears when $his strength wavers. The only interactions $he faces are the reminders to stay hydrated, the application of more aphrodisiacs and $his sleep deprivation. By the end of the week, $he can hardly stand and often remains on the floor of the cage, soaked in $his own desperation.
 		<</if>>
 
-	<<elseif ($activeSlave.devotion > 20) || (($activeSlave.devotion >= -20) && ($activeSlave.trust < -20) && ($activeSlave.trust >= -50))>>
+	<<elseif (getSlave($AS).devotion > 20) || ((getSlave($AS).devotion >= -20) && (getSlave($AS).trust < -20) && (getSlave($AS).trust >= -50))>>
 		As week starts, $he tries to fulfill $his duty. $He fights the urge to touch $himself, drinks only when $he needs to, and tries to keep $himself pure for the goddess.
 
-		<<if ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
-			<<if ($activeSlave.fetish == "submissive")>>
-				$He makes sure is ready to take any order $he might be given, and it's evident that $he enjoys it every time $he is ordered to do something. As the week progresses $he finds $himself close to the limits of $his submission. As much as $he tries to <<if hasAnyArms($activeSlave)>>keep $his hand<<if hasBothArms($activeSlave)>>s<</if>> to $himself<<else>>stay calm<</if>>, $his sexual frustration finally wins the battle, and $he desperately tries to masturbate, only for $him to discover how effective the chastity belt really is. $He cries in frustration and shame for being unable to fulfill $his orders. The signs of sexual frustration are more evident on $his body as time goes by and it is common to see $him repeating "<<Master>> told me 'no touching your<<s>>elf i<<s>> allowed'" over and over again as $he shifts $his weight from <<if hasBothLegs($activeSlave)>>foot to foot<<else>>side to side<</if>>. The only thing that seems to shut $him up is when $he is ordered to come closer to drink, renew $his dose of aphrodisiacs or when ordered to be prepared to sleep. As soon as $he <<if canHear($activeSlave)>>hears<<elseif canSee($activeSlave)>>sees<<else>>recognizes<</if>> the order, $his body twitches and a soft moan can be heard. By the end of the week $he fights to remain standing up almost delusional as $he was told to remain <<if hasBothLegs($activeSlave)>>on $his feet<<else>>standing<</if>> but the signs of exhaustion often bring $him to <<if hasBothLegs($activeSlave)>>$his knees<<else>>the floor<</if>>. Sometimes $he tries to touch $himself down there only to burst into tears when $he is unable to do so.
-			<<elseif ($activeSlave.fetish == "masochist")>>
-				$He seems to enjoy the pain $his sacrifice submits $him to. Through the week is fairly common to see $his moaning and showing other signs of pleasure that seem to be fairly unrelated to the huge amounts of aphrodisiacs that run through $him. Every time the shot it is injected to $his body $he pants and thrusts, enjoying the pain of $his swollen <<if $activeSlave.dick != 0>>dick<<elseif $activeSlave.vagina > -1>>pussy lips<</if>> throbbing inside $his chastity belt. As the week progresses, $he starts to frequently faint, as $he refuses to even drink the tea that keeps $him hydrated or sleep whatsoever, instead choosing to focus on the pain of being constantly aroused. As a precaution, alternative methods to keep $him hydrated are put in place to avoid the pleasure of being forced to drink every few hours as $he was caught several times trying to cum from it. By the end of the week $he needs to be constantly reanimated to fulfill $his vigil, moaning as $he comes to conscience as the exhaustion and pain on $his body washes over to $him.
-			<<elseif ($activeSlave.fetish == "cumslut")>> /*Will need to be completely rewritten*/
-				At first, $he seems resigned to not cum at all during $his penance. Soon $his resolution seems to vanish and $he can be seen constantly crying, trying to fight the excruciating need to touch $himself yet failing by trying to masturbate through the chastity belt. As a result of the aphrodisiacs in $his body the paint on the inner part of $his <<if hasBothLegs($activeSlave)>>legs<<else>>hips<</if>> seems constantly wet and dripping into the cage which $he seems to enjoy. As $his whining and tears increases so do the spasms, a direct result of $his need to cum. The loincloth $he is wearing has to be constantly changed and $his <<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><<else>>lower body<</if>> constantly cleaned when it becomes apparent they are wet to avoid any evidence of pleasure. $He tries to make it more difficult as now it is the only thing $he has to fantasize on cumming. At the end of the week is often common to see $him beg to be touched by anyone who is close enough to hear $him and bursts into tears when $he is blatantly ignored. As a result of all this crying, the lack of food and sleep $he needs to be hydrated more often also the dose of aphrodisiacs is changed to be less potent but be injected more often to avoid the danger that $he might cum from it. $His body refuses to lose anymore more liquids, a fact that doesn't stop $him from sobbing and begging to be touched as soon as $he finds the strength to it while $he remains almost immobile on the bottom of the cage, interrupted by the spasms of $his body as a result of being constantly aroused for a week.
-			<<elseif ($activeSlave.fetish == "humiliation")>>
+		<<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
+			<<if (getSlave($AS).fetish == "submissive")>>
+				$He makes sure is ready to take any order $he might be given, and it's evident that $he enjoys it every time $he is ordered to do something. As the week progresses $he finds $himself close to the limits of $his submission. As much as $he tries to <<if hasAnyArms(getSlave($AS))>>keep $his hand<<if hasBothArms(getSlave($AS))>>s<</if>> to $himself<<else>>stay calm<</if>>, $his sexual frustration finally wins the battle, and $he desperately tries to masturbate, only for $him to discover how effective the chastity belt really is. $He cries in frustration and shame for being unable to fulfill $his orders. The signs of sexual frustration are more evident on $his body as time goes by and it is common to see $him repeating "<<Master>> told me 'no touching your<<s>>elf i<<s>> allowed'" over and over again as $he shifts $his weight from <<if hasBothLegs(getSlave($AS))>>foot to foot<<else>>side to side<</if>>. The only thing that seems to shut $him up is when $he is ordered to come closer to drink, renew $his dose of aphrodisiacs or when ordered to be prepared to sleep. As soon as $he <<if canHear(getSlave($AS))>>hears<<elseif canSee(getSlave($AS))>>sees<<else>>recognizes<</if>> the order, $his body twitches and a soft moan can be heard. By the end of the week $he fights to remain standing up almost delusional as $he was told to remain <<if hasBothLegs(getSlave($AS))>>on $his feet<<else>>standing<</if>> but the signs of exhaustion often bring $him to <<if hasBothLegs(getSlave($AS))>>$his knees<<else>>the floor<</if>>. Sometimes $he tries to touch $himself down there only to burst into tears when $he is unable to do so.
+			<<elseif (getSlave($AS).fetish == "masochist")>>
+				$He seems to enjoy the pain $his sacrifice submits $him to. Through the week is fairly common to see $his moaning and showing other signs of pleasure that seem to be fairly unrelated to the huge amounts of aphrodisiacs that run through $him. Every time the shot it is injected to $his body $he pants and thrusts, enjoying the pain of $his swollen <<if getSlave($AS).dick != 0>>dick<<elseif getSlave($AS).vagina > -1>>pussy lips<</if>> throbbing inside $his chastity belt. As the week progresses, $he starts to frequently faint, as $he refuses to even drink the tea that keeps $him hydrated or sleep whatsoever, instead choosing to focus on the pain of being constantly aroused. As a precaution, alternative methods to keep $him hydrated are put in place to avoid the pleasure of being forced to drink every few hours as $he was caught several times trying to cum from it. By the end of the week $he needs to be constantly reanimated to fulfill $his vigil, moaning as $he comes to conscience as the exhaustion and pain on $his body washes over to $him.
+			<<elseif (getSlave($AS).fetish == "cumslut")>> /*Will need to be completely rewritten*/
+				At first, $he seems resigned to not cum at all during $his penance. Soon $his resolution seems to vanish and $he can be seen constantly crying, trying to fight the excruciating need to touch $himself yet failing by trying to masturbate through the chastity belt. As a result of the aphrodisiacs in $his body the paint on the inner part of $his <<if hasBothLegs(getSlave($AS))>>legs<<else>>hips<</if>> seems constantly wet and dripping into the cage which $he seems to enjoy. As $his whining and tears increases so do the spasms, a direct result of $his need to cum. The loincloth $he is wearing has to be constantly changed and $his <<if hasAnyLegs(getSlave($AS))>>leg<<if hasBothLegs(getSlave($AS))>>s<</if>><<else>>lower body<</if>> constantly cleaned when it becomes apparent they are wet to avoid any evidence of pleasure. $He tries to make it more difficult as now it is the only thing $he has to fantasize on cumming. At the end of the week is often common to see $him beg to be touched by anyone who is close enough to hear $him and bursts into tears when $he is blatantly ignored. As a result of all this crying, the lack of food and sleep $he needs to be hydrated more often also the dose of aphrodisiacs is changed to be less potent but be injected more often to avoid the danger that $he might cum from it. $His body refuses to lose anymore more liquids, a fact that doesn't stop $him from sobbing and begging to be touched as soon as $he finds the strength to it while $he remains almost immobile on the bottom of the cage, interrupted by the spasms of $his body as a result of being constantly aroused for a week.
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
 				$He seems to enjoy all the attention $he receives every time $he tries to fight the impulse to touch $himself as $his body shows clear signs of arousal and takes special care in showing just how degrading the whole process can be. It's common to see $him enjoying every time the dose of aphrodisiacs needs to be injected again or when $he needs to be awaken. Often, $he refuses to drink the tea provided, hoping that when the moment comes $he will be forced to drink it — preferably in a very humiliating way. As the week progresses and $his need to cum increases $he focuses on the humiliation $he gets every time the aphrodisiacs get the best of $him and tries to find release and fails as the citizens passing by throw insults and disgusted looks on $his direction for failing in trying to please the goddess. As a result, $he is immobilized and blindfolded in an attempt to reduce external stimulation. By the end of the week $he cannot stand up and remains on the bottom of the cage, saving $his strength to procure making the procedures as humiliating as possible with the little strength $he has saved.
-			<<elseif ($activeSlave.fetish == "buttslut")>>
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
 				At first, is common to see $him trying to resist the heavy dose of aphrodisiacs in $his body as $he cannot find a way to release. As the week progresses, $he is constantly crying and whining as $he is unable find a way to stimulate $his ass when the aphrodisiacs become too much for $him. As the week progresses and $his strength lingers $he tries to find ways to increase stimulation on $his ass. $He tries to keep $his butt as close as possible to the cage's bars, rubbing on them to increase any stimulation on $his buttocks or focus on the feel of the sort fabric that covers $him as it moves when $he readjust $himself. $He seems particularly angry every time $his attempts are put to an end just to burst into tears ashamed of $his actions. By the end of the week $he remains immobile on the center of $his cage and the fabric readjusted to procure as little extra stimulation as possible. $He insists on sitting down and rubbing $his behind against the floor and is forced to stand up. By the end of the week the lack of food, sexual release and sleep seems to be wearing $his will off as $he takes longer being able to stand up every time and $he remains on the bottom of the cage forced to lay on $his chest as immobile as $he can, interrupted only by the occasional twitch and the need to drink.
-			<<elseif ($activeSlave.fetish == "boobs")>>
+			<<elseif (getSlave($AS).fetish == "boobs")>>
 				At first, $he tries to distract $himself from the constant stimulation the necklace over $his chest seems to be producing. $He can be seen constantly fighting the urge to touch $his breasts every time the aphrodisiacs are injected into to $his body. As the week progresses $his resolutions seem to vanish and $he needs to be stopped from touching $his breast on several occasions or is constantly caught and forcefully stopped trying to moving $his chest to make the necklace rub $his breasts. Later on, the necklace is replaced by a breastplate equally colorful and adorned but extremely tight making $his breast flatter and unable to move. $He soon realizes not only that $he can no longer stimulate $his breast with it on but that now $his breasts are completely hidden from view. As a result, $he can be seen constantly crying and trying to rip the breastplate apart to no avail. $He is constantly awake during the times $he is supposed to be sleeping as $he tries to touch $his breast but can't seem to find them hidden under the breastplate. At the end of the week $he remains on the bottom of $his cage unable to move as the lack of food, sleep and sexual release takes a toll on $his body, the breastplate is without feathers or other delicate adornments but still in a perfect position.
 			<<else>>
 				At first, $he tries to fulfill $his sacrifice the best $he can by trying to maintain $himself pure for the goddess. $He submits to every instruction and tries to hold off as much as $his body allows $him, drinking as little as $he can and sleeping only when $he is told. Soon the aphrodisiacs make $his resolutions useless as $he tries to touch $himself to find release. It doesn't take $him long to discover how efficient the chastity belt is. $He cries and tries as much as $he can but $he is unable to experience any kind of pleasure. As time goes by $he seems to shift $his efforts from fighting to removing the chastity belt from $himself with no avail. $His body twitches and shakes frequently as the aphrodisiacs hit $him harder every time $his dose is renewed. Later on, $he tries to please any part of $his body which $he is able to touch and needs to be restrained. Hunger and sleep deprivation take a toll on $his body also $he tries to drink as much as possible to fool the hunger $he feels. The tea is rationed to be given only when required and $his sleep is carefully monitored. By the end of the week $he remains on the bottom of $his cage trying to save what little energy $he has left, only to be interrupted as $his body spasms brought about by the aphrodisiacs in $his body followed by a soft moan.
 			<</if>>
 
-		<<elseif $activeSlave.sexualFlaw != "none">>
-			<<if ($activeSlave.sexualFlaw == "hates oral")>>
+		<<elseif getSlave($AS).sexualFlaw != "none">>
+			<<if (getSlave($AS).sexualFlaw == "hates oral")>>
 				$He focuses on fulfilling $his duty to keeping $himself pure for the goddess while fighting the urge to touch $himself. $He seems to think the worst part of $his penance is over as $he is no longer going to be raped in the mouth like $he was last night. Soon $he discovers that is far the truth when $his first dose of the tea doesn't come in a tea cup. As a means of keeping $his penance in accordance to the suffering the goddess demands the tea will be administered through a similar device used in dairies. A feeding phallus is quickly installed into a side of the cage. If $he wants to avoid dehydration $he will have to suck it off and only after $he does it right is the tea provided. When $he realizes what is in store for $him, $he begins to cry. $He tries to drink only when strictly necessary. However, as the week progresses, $he starts to faint more frequently as $his body receives only the minimum amount of liquids necessary. As a result, $he is restrained and the feeding phalli is pressed into $his mouth and down $his throat to facefuck $him. $He gags and struggles, tears running down $his face as $he tries to figure out how to breathe while being facefucked. Only after $he manages to control $himself is the transparent reservoir of tea injected. $He swallows desperately. As per your instructions $his feedings are synced with $his dose of aphrodisiacs which confuses $him to no end and adds to $his penance. This procedure occurs several times a day. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage only interrupted by $his feedings and the body spasms $he suffers as a result of the constant arousal.
-			<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
+			<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
 				At first, $he tries to fulfill $his duty to keeping $himself pure to the goddess, distracting $himself by trying to cover however $he can $his almost naked body. As a way to keep $his penance according to the suffering the goddess demands a big screen set next to $his cage. After a few hours, the screen turns on and a live image of $him on the cage appears. The screen then shifts to a low shot of $his tight dripping wet product of $his arousal, showing different stats related to it. After a few minutes, the screens changes to previously recorded footage of $his naked body glistening while laying comfortably on the temazcal. After a minute, it shifts again to a close shot of $his ass being carefully painted with blue, the camera following the movement of the brush as it moves over $his ass cheek and shifts again to a very close shot of $him being fucked the night before. The video changes over and over again showing scenes of previously recorded footage of $his preparation for $his penance, every one carefully picked to give a good look of $his body or revealing live shots of $his body picked to show where $his sexual arousal is more evident. The first time $he sees them $he burst into tears, begging the screens to be turned off just to see $his image begging and crying a few hours later. As the week goes new clips are added showing the best scenes the camera was able to capture while on the cage. Due to $his resistance to show $his body for the cameras and the citizens passing by $he is immobilized to be kept standing, $his body conveniently positioned to get the best shots. $He tries to ignore the whole situation trying to focus on resisting the signs of $his hunger, exhaustion and arousal $he constantly feels. By the end of the week as $he remains sitting immobilize on a stool to procure a good shot a small screen is set in front of $him, the image divided in two, one half showing what the big screen projects and the other the audience and $his reactions.
-			<<elseif ($activeSlave.sexualFlaw == "repressed")>>
+			<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
 				Although $he thinks $his clothes are degrading, $he seems happy to fulfill $his duty keeping $himself pure to the goddess and fighting the urge to touch $himself. At first, $he seems confident $he can manage the heavy dose of aphrodisiacs that run through $his body and tries to give no indication of the constant arousal $he suffers. An occasional shake or moan escapes $his lips for what $he seems to be deeply ashamed. As the week goes by and $his resistance reduces $his body betrays $him every time more often. $He shakes, moans and shivers with the littlest provocation, which horrify $him to no end. Little does $he know that $his dose of aphrodisiacs is being increased every time $he is injected and that they are more effective now that the lack of sleep takes a toll on $his body. $He hates $himself for being unable to control the shameful things $his body demands and burst into tears when $his pelvis thrusts the minute the fringes are moved by the wind and caresses $his body or the necklace rubs on $his nipples. By the end of the week $he cannot handle it and tries to touch $himself when $he thinks no one is watching $him only to be caught right after. The shame is so big $he breaks out on tears. $He spends the rest of $his time left in penance on the bottom of the cage sobbing as $his body keeps as much of the energy it can only interrupted by the moans $he can no longer control and the shivers to run through $his body when the aphrodisiacs overwhelmed $him.
-			<<elseif ($activeSlave.sexualFlaw == "attention whore")>>
+			<<elseif (getSlave($AS).sexualFlaw == "attention whore")>>
 				$He seems to enjoy all the attention $he receives every time $he tries to fight the impulse to touch $himself as $his body shows clear signs of arousal and takes special care in showing $his body to the audience. $He rejoices with the reactions of the citizens as they gasp and point while $he shakes and moans. The first time the tea is offered to $him $he refuses it hoping to get a reaction of $his crowd. As a way to keep $his penance according to the suffering the goddess demands after the first night is over $he is informed that due to $his good behavior $he has been granted the chance to finish $his penance in private. $He cries and begs to be left where $he is. $He is blindfolded and taken to a minuscule room nearby while cries and begs. Once inside $he is left to $himself, $his only contact with another person is the slave appointed to $his care who enters to administer the aphrodisiacs when required, when $his ration of tea is left on the room or when $he falls sleep and is required to be awake. Little does $he know the room is filled with hidden cameras which are connected to a big screen installed where $his cage was as the penance must be public. As the week goes by $he is left to deal with the hunger, the lack of sleep and the constant need to release. By the end of the week $he cannot stand up and remains on the bottom of the room, saving $his strength and sobbing.
-			<<elseif ($activeSlave.sexualFlaw == "self hating")>>
+			<<elseif (getSlave($AS).sexualFlaw == "self hating")>>
 				As week starts $he tries to fulfill $his duty, fighting the urge to touch $himself and drinking just when $he needs to, hoping that by following the rules the penance of such unworthy slave will be enough to please the goddess. As the week progresses $his resolution reduces. $He soon discovers how efficient a chastity belt could be when, once completely overpowered by $his need of release $he tries to touch $himself, fearing the wrath of the goddess for $his lack of strength. $His body shakes and twitches every time more often as the aphrodisiacs run through $his body, blaming $himself for not being able to keep control. $His pelvis thrusts every time the airs provides extra stimulation product the sexual frustration and tries to stop it by banging $his head against the cage. $He soon needs to be immobilized to avoid damage. As $he lays on the cage $he blames $himself for $his inability to fulfill $his task. The lack of food has a toll on $him too, as $he often refuses to drink thinking the dehydration is well deserved. As a result of this, it is forced to drink several times a day which seems to infuriate $him. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage being fed by another slave when it is clear $he that needs more liquid in $his body and $his hours of sleep are over.
 			<<else>>
 				At first, $he tries to fulfill $his sacrifice the best $he can, trying to maintain $himself pure for the goddess. $He submits to every instruction trying to hold as much as $his body allows $him, drinking as little as $he can and sleeping only when $he is told. Soon the aphrodisiacs make $his resolutions dilute as $he tries to touch $himself to find release. It does not take $him long to prove how efficient $his chastity belt is. $He cries and tries as much as $he can but $he is unable to cause any kind of pleasure. As time goes by $he seems to shift $his efforts on fighting to remove the chastity belt from $himself with no avail. $His body twitches and shakes every time more often as the aphrodisiacs hit $him harder every time $his dose is renewed. Later on, $he tries to please any part of $his body which is free to touch and needs to be restrained. Hunger and deprivation of sleep take a toll on $his body too and tries to drink as much as possible to fool the hunger $he feels. The tea is rationed to be given only when need it and the sleep carefully monitored. By the end of the week $he remains on the bottom of $his cage trying to the little energy $he has, only interrupted by the body spasms caused by the aphrodisiacs in $his body followed by a soft moan.
@@ -227,139 +227,139 @@
 			At first, $he tries to fulfill $his sacrifice the best $he can, trying to keep $himself pure for the goddess. $He submits to every instruction trying to hold as much as $his body allows $him, drinking as little as $he can and sleeping only when $he is told. Soon the aphrodisiacs make $his resolutions dilute as $he tries to touch $himself to find release. It does not take $him long to prove just how effective $his chastity belt is. $He cries and tries as much as $he can but $he is unable to cause any kind of pleasure. As time goes by $he seems to shift $his efforts on fighting to remove the chastity belt to no avail. $His body twitches and shakes more and more often as the aphrodisiacs hit $him harder each time $his dose is renewed. Later on, $he tries to please any part of $his body that $he is able to, and so needs to be restrained. Hunger and sleep deprivation take a toll on $his body, and $he tries to drink as much as possible to fool the hunger. The tea is rationed to be given only when need it and the sleep carefully monitored. By the end of the week $he remains on the bottom of $his cage trying to conserve the little energy $he has, interrupted only by the spasms caused by the aphrodisiacs in $his body, followed by a soft moan.
 		<</if>>
 
-	<<elseif ($activeSlave.trust < -20)>>
-		<<if ($activeSlave.sexualFlaw == "hates oral")>>
+	<<elseif (getSlave($AS).trust < -20)>>
+		<<if (getSlave($AS).sexualFlaw == "hates oral")>>
 			$He immediately focuses on $his need of release, since $he thinks the worst part of $his penance is over as $his mouth is no longer going to be raped like it was last night. Soon $he discovers that this is far from the truth when it is time for $his first dose of the tea. As a means to keep $his penance according to the suffering the goddess demands, the tea it to be administered through a similar device as is used in dairies. A feeding phallus is installed on a side of the cage, and if $he wants to avoid dehydration, $he will have to suck it off. When $he realizes what lies in store for $him $he begins to cry and refuses to drink at all. As the week progresses $he begins to faint more and more often as $he vehemently refuses to work for $his drink. As a result, $he is restrained and the feeding phallus is shoved into $his mouth and down $his throat. $He gags and struggles, tears running down $his face as $he tries and fails to scream. After several minutes, $he stops panicking and finally starts to inhale and exhale regularly. Only after this the transparent reservoir of tea is injected. $He chokes on it but swallows desperately. As per your instructions $his feedings are synched with $his dose of aphrodisiacs which confuses $him to no end and adds to $his penance. The procedure goes on during the rest of the week several times a day. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage, only interrupted by $his feedings and the spasms $he suffers as a result of the constant arousal.
-		<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
+		<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
 			At first, $he tries to relieve $himself while $he tries to hide $his body. As a way to keep $his penance according to the suffering the goddess demands a big screen is set next to $his cage. After a few hours, the screen turns on and a live image of $him on the cage appears. The screen then shifts to a low shot of $his tight pussy dripping with the wet product of $his arousal, showing different stats related to it. After a few minutes, the screens changes to previously recorded footage of $his naked body glistening while laying comfortably on the temazcal. After a minute, it shifts again to a close-up shot of $his ass being carefully painted with blue, the camera following the movement of the brush as it moves over $his ass cheek then shifts again to a very close shot of $him being fucked the night before. The video changes over and over again showing scenes of previously recorded footage preparation for $his penance, every one carefully picked to give a good view of $his body or revealing live shots of $his body picked to show where $his sexual arousal is more evident. The first time $he sees them $he burst into tears. As the week goes new clips are added showing the best scenes of $him that the camera was able to capture while the aphrodisiacs forced $him to masturbate without success. Due $his resistance to show $his body for the cameras and the citizens passing by, $he is immobilized into standing, $his body conveniently positioned to get the best shots. $He tries to ignore the whole situation by trying to focus on ignoring the screen. As a result, a small screen is set in front of $him, the image divided in two, one half showing the big screen's projection and the other reactions of all parties. By the end of the week $he remains sitting immobilized on a stool to produce a good shivering shot.
-		<<elseif ($activeSlave.sexualFlaw == "repressed")>>
+		<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
 			Although $he thinks $his clothes are degrading, $he seems content to fulfill $his duty to keeping $himself pure to the goddess and fights the urge to touch $himself. At first, $he manages to control the heavy dose of aphrodisiacs that run through $his body and tries to give no indication of the constant arousal $he suffers. An occasional shake or moan escapes $his lips for which $he seems to be deeply ashamed. As the week goes by and $his resistance reduces $his body does betray $him most of the time. $He shakes, moans and shivers at the littlest provocation, which horrifies $him to no end. Little does $he know that $his dosage of aphrodisiacs has being increased every time $he is injected and are more effective now that the lack of sleep takes a toll on $his body. $He hates $himself for being unable to control the shameful things $his body demands and bursts into tears when $his pelvis thrusts the minute the fringes are moved by the wind and caresses $his body or the necklace rubs on $his nipples. By the end of the week $he cannot handle it and tries to touch $himself when the arousal becomes too much, which is often. $He seems ashamed of $his actions and often $he breaks out in tears as $he tries to masturbate. $He remains $his time left on penance in the bottom of the cage sobbing as $his body keeps as much of the energy it can only interrupted by the moans $he can no longer control and the shivers to run through $his body when the aphrodisiacs overwhelmed $him.
-		<<elseif ($activeSlave.sexualFlaw == "attention whore")>>
+		<<elseif (getSlave($AS).sexualFlaw == "attention whore")>>
 			$He seems to enjoy all the attention $he receives every time $he tries to find release as the citizens passing by scream at $him for $his lack of faith and takes special care in showing $his body to the audience. $He rejoices with the reactions of the citizens as they gasp and point while $he shakes and moans. The first time the tea is offered to $him $he refuses it hoping to get a reaction out of the crowd. As a way to keep $his penance in accordance to the suffering the goddess demands, after the first night is over $he is informed that due to $his good behavior $he has been granted the chance to finish $his penance in private. $He curses and swears, fighting with all of $his strength to be left where $he is. $He is taken out by forced and pinned to the floor to be immobilized. $He is blindfolded and taken to a minuscule room nearby while $he cries and tries to resist. Once inside $he is left to $himself, $his only contact with another person is the slave appointed to $his care who enters to administer the aphrodisiacs when required, when $his ration of tea is left on the room or when $he falls sleep and is required to be awake. Little does $he know the room is filled with hidden cameras which are connected to a big screen installed where $his cage was as the penance must be public. As the week goes by $he is left to deal with the hunger, the lack of sleep and the constant need for release which $he can no longer control. By the end of the week $he cannot stand up and remains on the bottom of the room, saving $his strength and sobbing.
-		<<elseif ($activeSlave.sexualFlaw == "self hating")>>
+		<<elseif (getSlave($AS).sexualFlaw == "self hating")>>
 			As week starts $he tries to fulfill $his duty, fighting the urge to touch $himself and drinking just when $he needs to, hoping that by following the rules the penance of such an unworthy slave will be enough to please the goddess. As the week progresses $his resolution reduces. $He soon discovers how efficient a chastity belt could be when, once completely overpowered by $his need of release $he tried to touch $himself fearing the wrath of the goddess for $his lack of strength. $His body shakes and twitches more frequently as the aphrodisiacs run through $his body. $He blames $himself for not being able to keep $himself in control. $His pelvis thrusts every time the airs provides extra stimulation that produces sexual frustration and tries to stop it by banging $his head against the cage's bars. $He soon needs to be immobilized to avoid damage. As $he lies down on the cage's floor $he blames $himself and hating $his inability to fulfill $his task. The lack of food has taken a toll on $him too as $he often refuses to drink thinking the dehydration is well deserved. As a result, $he is forced to drink several times a day which seems to infuriate $him. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage fed by another slave when it is clear that $he needs more liquids in $his body and $his hours of sleep are over.
 		<<else>>
-			As $he starts to feel the effect of the aphrodisiacs on $his body a soft moan leaves $his mouth. Soon $his <<if hasBothLegs($activeSlave)>>legs<<elseif !hasAnyLegs($activeSlave)>>stumps<<else>>leg and stump<</if>> are shaking and $his body is sweating. $He tries to reach down there to relieve $himself but $he cannot do so. $He tries to find a way to reach <<if $activeSlave.dick != 0>>$his dick or $his asshole<<else>>any hole<</if>> only to discover how efficient a chastity belt could be. $He tries to reach harder, desperately trying to find any kind of release but $he is unable. Soon all of $his efforts seem focus on removing the chastity belt to no avail. After a few hours, $he has finally given up and remains holding the bars of $his cage, crying in despair, thrusting over and over again while desperately moaning. $He begs for release to anyone who passes by and bursts into tears when $he is blatantly ignored. $He refuses to drink as $his need to cum is stronger. As the week goes by $his hunger increases and tries to drink as much of the tea $he is provided to try to fool $his stomach. As a result of this, the tea is only given to $him when it is strictly necessary which seems to infuriate $him. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage fed by another slave when it is clear that $he needs more liquids in $his body and $his hours of sleep are over.
+			As $he starts to feel the effect of the aphrodisiacs on $his body a soft moan leaves $his mouth. Soon $his <<if hasBothLegs(getSlave($AS))>>legs<<elseif !hasAnyLegs(getSlave($AS))>>stumps<<else>>leg and stump<</if>> are shaking and $his body is sweating. $He tries to reach down there to relieve $himself but $he cannot do so. $He tries to find a way to reach <<if getSlave($AS).dick != 0>>$his dick or $his asshole<<else>>any hole<</if>> only to discover how efficient a chastity belt could be. $He tries to reach harder, desperately trying to find any kind of release but $he is unable. Soon all of $his efforts seem focus on removing the chastity belt to no avail. After a few hours, $he has finally given up and remains holding the bars of $his cage, crying in despair, thrusting over and over again while desperately moaning. $He begs for release to anyone who passes by and bursts into tears when $he is blatantly ignored. $He refuses to drink as $his need to cum is stronger. As the week goes by $his hunger increases and tries to drink as much of the tea $he is provided to try to fool $his stomach. As a result of this, the tea is only given to $him when it is strictly necessary which seems to infuriate $him. By the end of the week $he can hardly stand up as the lack of food and sleep keeps $him weak. $He remains on the bottom of the cage fed by another slave when it is clear that $he needs more liquids in $his body and $his hours of sleep are over.
 		<</if>>
 	<</if>>
 
 	Once the time for penance is over, $he is carried out of the cage, as $he is too weak to support $his own weight. After a short ceremony, $he is taken back to the penthouse to rest.
-	<<if $activeSlave.lactation > 1>>
+	<<if getSlave($AS).lactation > 1>>
 		$His breasts are grotesquely bloated, super sensitive and leaking milk from a week of neglected hyper-lactation.
-		<<set $activeSlave.boobsMilk += 50*$activeSlave.lactationAdaptation>>
-		<<set $activeSlave.boobs += $activeSlave.boobsMilk>>
-	<<elseif $activeSlave.lactation > 0>>
+		<<set getSlave($AS).boobsMilk += 50*getSlave($AS).lactationAdaptation>>
+		<<set getSlave($AS).boobs += getSlave($AS).boobsMilk>>
+	<<elseif getSlave($AS).lactation > 0>>
 		$His breasts are hugely swollen from a week of pent up lactation.
-		<<set $activeSlave.boobsMilk += 10*$activeSlave.lactationAdaptation>>
-		<<set $activeSlave.boobs += $activeSlave.boobsMilk>>
+		<<set getSlave($AS).boobsMilk += 10*getSlave($AS).lactationAdaptation>>
+		<<set getSlave($AS).boobs += getSlave($AS).boobsMilk>>
 	<</if>>
-	<<run healthDamage($activeSlave, 20)>>
+	<<run healthDamage(getSlave($AS), 20)>>
 	The penance put $his body through great stress @@.red;which impacted $his health.@@
-	<<set $activeSlave.addict = 5>>
-	<<set $activeSlave.clothes = "no clothing">>
+	<<set getSlave($AS).addict = 5>>
+	<<set getSlave($AS).clothes = "no clothing">>
 
-	<<if ($activeSlave.devotion > 50)>>
-		<<if ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
-			<<if fetishChangeChance($activeSlave) > random(0,100)>>
-				<<set $activeSlave.fetishStrength = 10, $activeSlave.fetishKnown = 1, $activeSlave.fetish = "masochist">>
-				<<set $activeSlave.devotion += 4, $activeSlave.trust += 4>>
+	<<if (getSlave($AS).devotion > 50)>>
+		<<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
+			<<if fetishChangeChance(getSlave($AS)) > random(0,100)>>
+				<<set getSlave($AS).fetishStrength = 10, getSlave($AS).fetishKnown = 1, getSlave($AS).fetish = "masochist">>
+				<<set getSlave($AS).devotion += 4, getSlave($AS).trust += 4>>
 				$His successful penance made $him @@.gold;trust@@ and @@.hotpink;love@@ you more as $he has proved both to you and the goddess how good of a slave $he is.
-			<<elseif ($activeSlave.fetish == "masochist")>>
-				<<set $activeSlave.devotion += 6, $activeSlave.trust += 6>>
+			<<elseif (getSlave($AS).fetish == "masochist")>>
+				<<set getSlave($AS).devotion += 6, getSlave($AS).trust += 6>>
 				The constant pain you submitted $him to during $his penance made $him @@.gold;trust@@ and @@.hotpink;love@@ you more.
-				<<set $activeSlave.fetishStrength += 4>>
-			<<elseif ($activeSlave.fetish == "cumslut")>>
-				<<set $activeSlave.fetishStrength -= 2>>
-			<<elseif ($activeSlave.fetish == "humiliation")>>
-				<<set $activeSlave.devotion += 6, $activeSlave.trust += 6>>
+				<<set getSlave($AS).fetishStrength += 4>>
+			<<elseif (getSlave($AS).fetish == "cumslut")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
+				<<set getSlave($AS).devotion += 6, getSlave($AS).trust += 6>>
 				The constant humiliation during $his penance made $him @@.gold;trust@@ and @@.hotpink;love@@ you more as $he has proved both to you and the goddess how good of a slave $he is.
-				<<set $activeSlave.fetishStrength += 3>>
-			<<elseif ($activeSlave.fetish == "buttslut")>>
-				<<set $activeSlave.fetishStrength -= 2>>
-			<<elseif ($activeSlave.fetish == "boobs")>>
-				<<set $activeSlave.fetishStrength -= 2>>
+				<<set getSlave($AS).fetishStrength += 3>>
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
+			<<elseif (getSlave($AS).fetish == "boobs")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
 			<</if>>
 		<<else>>
-			<<set $activeSlave.devotion += 5, $activeSlave.trust += 5>>
+			<<set getSlave($AS).devotion += 5, getSlave($AS).trust += 5>>
 			$He now understands the importance of $his role as a pennant slave, $his commitment to you and the goddess makes $him @@.gold;trust@@ and @@.hotpink;love@@ you more.
 		<</if>>
-	<<elseif ($activeSlave.devotion > 20) || (($activeSlave.devotion >= -20) && ($activeSlave.trust < -20) && ($activeSlave.trust >= -50))>>
-		<<if ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetish != "none")>>
-			<<if fetishChangeChance($activeSlave) > random(0,100)>>
-				<<set $activeSlave.fetishKnown = 1, $activeSlave.fetish = "masochist">>
+	<<elseif (getSlave($AS).devotion > 20) || ((getSlave($AS).devotion >= -20) && (getSlave($AS).trust < -20) && (getSlave($AS).trust >= -50))>>
+		<<if (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).fetish != "none")>>
+			<<if fetishChangeChance(getSlave($AS)) > random(0,100)>>
+				<<set getSlave($AS).fetishKnown = 1, getSlave($AS).fetish = "masochist">>
 			<</if>>
-			<<if ($activeSlave.fetish == "submissive")>>
-				<<set $activeSlave.devotion += 3, $activeSlave.trust += 3>>
+			<<if (getSlave($AS).fetish == "submissive")>>
+				<<set getSlave($AS).devotion += 3, getSlave($AS).trust += 3>>
 				The constant submission $he was subjected under your orders made $him @@.gold;trust@@ and @@.hotpink;love you more.@@
-				<<set $activeSlave.fetishStrength += 6>>
-			<<elseif ($activeSlave.fetish == "masochist")>>
-				<<set $activeSlave.devotion += 3, $activeSlave.trust += 3>>
+				<<set getSlave($AS).fetishStrength += 6>>
+			<<elseif (getSlave($AS).fetish == "masochist")>>
+				<<set getSlave($AS).devotion += 3, getSlave($AS).trust += 3>>
 				The constant abuse $he was subjected under your orders made $him @@.gold;trust@@ and @@.hotpink;love you more.@@
-			<<elseif ($activeSlave.fetish == "cumslut")>>
-				<<set $activeSlave.fetishStrength -= 2>>
-			<<elseif ($activeSlave.fetish == "humiliation")>>
-				<<set $activeSlave.devotion += 3, $activeSlave.trust += 3>>
+			<<elseif (getSlave($AS).fetish == "cumslut")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
+			<<elseif (getSlave($AS).fetish == "humiliation")>>
+				<<set getSlave($AS).devotion += 3, getSlave($AS).trust += 3>>
 				The constant humiliation $he was subjected under your orders made $him @@.gold;trust@@ and @@.hotpink;love you more.@@
-				<<set $activeSlave.fetishStrength += 6>>
-			<<elseif ($activeSlave.fetish == "buttslut")>>
-				<<set $activeSlave.fetishStrength -= 2>>
-			<<elseif ($activeSlave.fetish == "boobs")>>
-				<<set $activeSlave.fetishStrength -= 2>>
+				<<set getSlave($AS).fetishStrength += 6>>
+			<<elseif (getSlave($AS).fetish == "buttslut")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
+			<<elseif (getSlave($AS).fetish == "boobs")>>
+				<<set getSlave($AS).fetishStrength -= 2>>
 			<</if>>
 		<<else>>
 			$He now understands the importance of $his role as a pennant slave, $his commitment to you and the goddess. $He neither trusts nor loves you more any more or less.
 		<</if>>
-		<<if ($activeSlave.sexualFlaw == "hates oral")>>
-			<<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>>
+		<<if (getSlave($AS).sexualFlaw == "hates oral")>>
+			<<set getSlave($AS).devotion -= 5, getSlave($AS).trust -= 5>>
 			The constant abuse to $his mouth for $his feedings and the pain you subject $him to makes $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-			<<set $activeSlave.fetishStrength -= 5>>
-		<<elseif ($activeSlave.sexualFlaw == "hates anal")>>
-			<<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>>
+			<<set getSlave($AS).fetishStrength -= 5>>
+		<<elseif (getSlave($AS).sexualFlaw == "hates anal")>>
+			<<set getSlave($AS).devotion -= 5, getSlave($AS).trust -= 5>>
 			$His constant need of release without the chance to stimulate $his ass and the pain you subject $him to made $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-			<<set $activeSlave.fetishStrength -= 2>>
-		<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
-			<<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>>
+			<<set getSlave($AS).fetishStrength -= 2>>
+		<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
+			<<set getSlave($AS).devotion -= 5, getSlave($AS).trust -= 5>>
 			The constant exposure of $his naked body through the bars to anyone willing to see $him and the pain you subjected $him to made $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-			<<set $activeSlave.fetishStrength -= 4>>
-		<<elseif ($activeSlave.sexualFlaw == "self hating")>>
-			<<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>>
+			<<set getSlave($AS).fetishStrength -= 4>>
+		<<elseif (getSlave($AS).sexualFlaw == "self hating")>>
+			<<set getSlave($AS).devotion -= 5, getSlave($AS).trust -= 5>>
 			The constant deprivation of food, sleep and sexual release made $him hate $himself more. As a result $he @@.mediumorchid;trusts you less@@ and @@.hotpink;hates you more.@@
-			<<set $activeSlave.fetishStrength += 7>>
-		<<elseif ($activeSlave.sexualFlaw == "repressed")>>
-			<<set $activeSlave.fetishStrength -= 2>>
+			<<set getSlave($AS).fetishStrength += 7>>
+		<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
+			<<set getSlave($AS).fetishStrength -= 2>>
 			The constant shame $he was subjected in such a public way made $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
 		<<else>>
-			<<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>>
+			<<set getSlave($AS).devotion -= 5, getSlave($AS).trust -= 5>>
 			The lack of food, sleep and the constant arousal with the chastity belt made $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
 		<</if>>
-	<<elseif ($activeSlave.trust < -20)>>
-		<<if ($activeSlave.fetish != "none")>>
-			<<if fetishChangeChance($activeSlave) > random(0,100)>>
-				<<set $activeSlave.fetishStrength = 10, $activeSlave.fetishKnown = 1, $activeSlave.fetish = "masochist">>
+	<<elseif (getSlave($AS).trust < -20)>>
+		<<if (getSlave($AS).fetish != "none")>>
+			<<if fetishChangeChance(getSlave($AS)) > random(0,100)>>
+				<<set getSlave($AS).fetishStrength = 10, getSlave($AS).fetishKnown = 1, getSlave($AS).fetish = "masochist">>
 			<</if>>
 		<</if>>
 	<</if>>
-	<<if ($activeSlave.sexualFlaw == "hates oral")>>
-		<<set $activeSlave.devotion -= 7, $activeSlave.trust -= 7>>
+	<<if (getSlave($AS).sexualFlaw == "hates oral")>>
+		<<set getSlave($AS).devotion -= 7, getSlave($AS).trust -= 7>>
 		The constant abuse of $his mouth for feedings and the pain you subjected $him to made $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-		<<set $activeSlave.fetishStrength -= 6>>
-	<<elseif ($activeSlave.sexualFlaw == "shamefast")>>
-		<<set $activeSlave.devotion -= 7, $activeSlave.trust -= 7>>
+		<<set getSlave($AS).fetishStrength -= 6>>
+	<<elseif (getSlave($AS).sexualFlaw == "shamefast")>>
+		<<set getSlave($AS).devotion -= 7, getSlave($AS).trust -= 7>>
 		The constant exposure of $his naked body through the bars to anyone willing to see $him and the pain you subjected $him to makes $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-		<<set $activeSlave.fetishStrength -= 5>>
-	<<elseif ($activeSlave.sexualFlaw == "repressed")>>
-		<<set $activeSlave.devotion -= 7, $activeSlave.trust -= 7>>
+		<<set getSlave($AS).fetishStrength -= 5>>
+	<<elseif (getSlave($AS).sexualFlaw == "repressed")>>
+		<<set getSlave($AS).devotion -= 7, getSlave($AS).trust -= 7>>
 		The constant shame $he was subjected in such a public way makes $him @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-	<<elseif ($activeSlave.sexualFlaw == "attention whore")>>
-		<<set $activeSlave.devotion -= 7, $activeSlave.trust -= 7>>
+	<<elseif (getSlave($AS).sexualFlaw == "attention whore")>>
+		<<set getSlave($AS).devotion -= 7, getSlave($AS).trust -= 7>>
 		$He @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more@@ for spoiling $his chance for attention and depriving $him of $his audience.
-		<<set $activeSlave.fetishStrength += 2>>
-	<<elseif ($activeSlave.sexualFlaw == "self hating")>>
-		<<set $activeSlave.devotion -= 7, $activeSlave.trust -= 7>>
+		<<set getSlave($AS).fetishStrength += 2>>
+	<<elseif (getSlave($AS).sexualFlaw == "self hating")>>
+		<<set getSlave($AS).devotion -= 7, getSlave($AS).trust -= 7>>
 		The constant deprivation of food, sleep and sexual release made $him hate $himself more. As a result $he @@.mediumorchid;trust you less@@ and @@.hotpink;hate you more.@@
-		<<set $activeSlave.fetishStrength += 5>>
+		<<set getSlave($AS).fetishStrength += 5>>
 	<<else>>
-		<<set $activeSlave.devotion -= 3, $activeSlave.trust -= 3>>
+		<<set getSlave($AS).devotion -= 3, getSlave($AS).trust -= 3>>
 		The lack of food, sleep and the constant arousal with the chastity belt made $him @@.gold;trust you less@@ and @@.mediumorchid;hate you more.@@
 	<</if>>
 	<<if $arcologies[0].FSAztecRevivalist !== "unset" && $arcologies[0].FSAztecRevivalist < 100>>
@@ -374,7 +374,7 @@
 		<<set $arcologies[0].FSAztecRevivalist += 1>>
 	<</if>>
 	<<set $slavesSacrificedThisWeek = ($slavesSacrificedThisWeek || 0) + 1>>
-	<<= removeSlave($activeSlave)>>
+	<<= removeSlave(getSlave($AS))>>
 <</if>>
 
 <<set $sacrificeType = 0>>