diff --git a/src/uncategorized/discardConfirm.tw b/src/uncategorized/discardConfirm.tw
index 5243c52d3155f4b54357278d0d9d6a98cd4b4a1a..5bf56b2317340321600bfd0b6c457a1f23dd68a9 100644
--- a/src/uncategorized/discardConfirm.tw
+++ b/src/uncategorized/discardConfirm.tw
@@ -1,6 +1,6 @@
 :: Discard Confirm [nobr]
 
-This will permanently remove $activeSlave.slaveName from the game, and you will not receive any money for $him. This is primarily intended as a way to rid yourself of bugged slaves. Are you certain?
+This will permanently remove getSlave($AS).slaveName from the game, and you will not receive any money for $him. This is primarily intended as a way to rid yourself of bugged slaves. Are you certain?
 
 <br><br>
 
diff --git a/src/uncategorized/sellSlave.tw b/src/uncategorized/sellSlave.tw
index 22b5dd4efbb9201e7dc3b763274f47c56703f3b8..945965762a44581242a8a56f2890a510751c78f3 100644
--- a/src/uncategorized/sellSlave.tw
+++ b/src/uncategorized/sellSlave.tw
@@ -3,45 +3,45 @@
 <<set $nextButton = "Back", $nextLink = "Slave Interact">>
 
 You prepare $him for sale. $His response to being put up for purchase is
-<<if $activeSlave.devotion < -50>>
-	<<if $activeSlave.trust > 20>>
+<<if getSlave($AS).devotion < -50>>
+	<<if getSlave($AS).trust > 20>>
 		annoyance; $he must have thought $he had a good thing going here despite $his defiance.
 	<<else>>
 		muted; perhaps $he hopes a new master will be less hateful than you.
 	<</if>>
-<<elseif $activeSlave.devotion < -20>>
-	<<if $activeSlave.trust > 20>>
+<<elseif getSlave($AS).devotion < -20>>
+	<<if getSlave($AS).trust > 20>>
 		mild panic; $he seems to be concerned about $his future.
 	<<else>>
 		muted weeping; for some reason, $he doesn't like being treated like meat on a slab.
 	<</if>>
-<<elseif $activeSlave.devotion <= 20>>hesitant; $he can't seem to make up $his mind whether this is going to mean an improvement or not.
-<<elseif $activeSlave.devotion <= 50>>obedient, if mechanical; $he may want to stay with you.
-<<elseif $activeSlave.devotion <= 95>>ill-concealed sorrow; $he clearly wants to stay with you very much.
+<<elseif getSlave($AS).devotion <= 20>>hesitant; $he can't seem to make up $his mind whether this is going to mean an improvement or not.
+<<elseif getSlave($AS).devotion <= 50>>obedient, if mechanical; $he may want to stay with you.
+<<elseif getSlave($AS).devotion <= 95>>ill-concealed sorrow; $he clearly wants to stay with you very much.
 <<else>>open, abject, and heart-wrenching begging. Staying with you truly seems to be $his only wish.
 <</if>>
-<<if $activeSlave.trust < -50>>$He's certainly very willing to get away from your horrible punishments.
-<<elseif $activeSlave.trust < -20>>$He's probably hoping $he'll be a little less frightened all the time, wherever $he goes.
-<<elseif $activeSlave.trust < 20>>$He does seem concerned that, hard as you are, $his buyer may be less fair.
-<<elseif $activeSlave.trust < 50>>$He's worried, probably because $he's learned how to avoid punishment here and will have to learn new rules.
-<<elseif $activeSlave.trust < 95>>
-	<<if $activeSlave.devotion < -20>>
+<<if getSlave($AS).trust < -50>>$He's certainly very willing to get away from your horrible punishments.
+<<elseif getSlave($AS).trust < -20>>$He's probably hoping $he'll be a little less frightened all the time, wherever $he goes.
+<<elseif getSlave($AS).trust < 20>>$He does seem concerned that, hard as you are, $his buyer may be less fair.
+<<elseif getSlave($AS).trust < 50>>$He's worried, probably because $he's learned how to avoid punishment here and will have to learn new rules.
+<<elseif getSlave($AS).trust < 95>>
+	<<if getSlave($AS).devotion < -20>>
 		$He's worried, probably because $he thinks you won't harm $him while another owner might.
 	<<else>>
 		$He promises $he will do $his best to make you proud by being a good slave to $his new owners.
 	<</if>>
 <<else>>
-	<<if $activeSlave.devotion < -20>>
+	<<if getSlave($AS).devotion < -20>>
 		$He's rather upset at the notion that $he may be going from a weak willed master to someone with the balls to actually try and break $him.
 	<<else>>
 		$He tries to conceal $his terror at going from a trustworthy slave master to the cruel and uncertain world outside your penthouse, but $he fails.
 	<</if>>
 <</if>>
 
-<<set _slaveCost = slaveCost($activeSlave)>>
+<<set _slaveCost = slaveCost(getSlave($AS))>>
 <<set _slaveCost = (random(70,80)*Math.trunc(_slaveCost/100))>>
 
-<<if $activeSlave.breedingMark == 1 && $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
+<<if getSlave($AS).breedingMark == 1 && $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
 	Since you are selling a breeding slave, $he will be sent to auction before other members of the Societal Elite.
 <<else>>
 <<if $showAppraisal == 1>>
@@ -225,133 +225,133 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	<</if>>
 	I have examined your slave in accordance with the Book.
 <<case "Elite">>
-	a member of the Societal Elite you are familiar with greets you respectfully and <<if $PC.dick != 0>>tosses you a wink as she pats her rounded belly. "He's doing well.<<else>>calms her kicking child so she can continue. "Think he'll look as good as his father?<</if>> Anyway, as I'm sure you know, <<= properTitle()>>," she says as she uses curt instructions to direct $activeSlave.slaveName, "appraisals are based on a slave's potential worth as a toy, with modifiers for special characteristics." She scrolls down the list. "I'll just mention the interesting ones.
+	a member of the Societal Elite you are familiar with greets you respectfully and <<if $PC.dick != 0>>tosses you a wink as she pats her rounded belly. "He's doing well.<<else>>calms her kicking child so she can continue. "Think he'll look as good as his father?<</if>> Anyway, as I'm sure you know, <<= properTitle()>>," she says as she uses curt instructions to direct <<= getSlave($AS).slaveName>>, "appraisals are based on a slave's potential worth as a toy, with modifiers for special characteristics." She scrolls down the list. "I'll just mention the interesting ones.
 <<case "futa">>
 	a curvy, middle aged, and quite attractive woman wearing a tank top and yoga pants greets you cheerfully and turns to the slave. As she does, you can't help but notice that the yoga pants make it obvious she has a penis almost as long as one of her forearms. She makes notes on a tablet, flipping through videos that display the slave in action as she works. "<<= properTitle()>>, I'm, like, sorry to have to say this to you since I know you know it better than I do, but it's the script, you know? Anyway appraisals are based on a slave's potential performance as a public slut, with modifiers for special characteristics." She makes notes. "I'll just mention the significant ones.
 <<case "businesswoman">>
-	an older<<if $arcologies[0].FSRepopulationFocusLaw == 1>>, slightly pregnant<</if>> businesswoman with a reputation for correctness gives you a prim nod before turning to the nude slave without wasting further time. She deftly makes notes on a haptic wrist interface, flipping through videos of the slave in action as she works. "As I'm sure you know, <<= properTitle()>>," she says as she uses curt instructions to direct $activeSlave.slaveName, "appraisals are based on a slave's potential income as a prostitute, with modifiers for special characteristics." Her fingers fly across the interface. "I'll just mention the significant ones.
+	an older<<if $arcologies[0].FSRepopulationFocusLaw == 1>>, slightly pregnant<</if>> businesswoman with a reputation for correctness gives you a prim nod before turning to the nude slave without wasting further time. She deftly makes notes on a haptic wrist interface, flipping through videos of the slave in action as she works. "As I'm sure you know, <<= properTitle()>>," she says as she uses curt instructions to direct <<= getSlave($AS).slaveName>>, "appraisals are based on a slave's potential income as a prostitute, with modifiers for special characteristics." Her fingers fly across the interface. "I'll just mention the significant ones.
 <<case "slaver">>
-	a scarred old slaver with calloused hands and a knowing face, greets you in his companionable way before clapping his hands together and turning to the slave. He switches back and forth between the $girl and a battered old tablet with video proving $his skills. "Well, as you know <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>suh<<else>>madame<</if>>," he says as he firmly repositions $activeSlave.slaveName, "appraisals are based on a slave's potential income as a whore, with modifiers for special things." He pauses, prodding the tablet. "I'll just mention the main items.
+	a scarred old slaver with calloused hands and a knowing face, greets you in his companionable way before clapping his hands together and turning to the slave. He switches back and forth between the $girl and a battered old tablet with video proving $his skills. "Well, as you know <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>suh<<else>>madame<</if>>," he says as he firmly repositions <<= getSlave($AS).slaveName>>, "appraisals are based on a slave's potential income as a whore, with modifiers for special things." He pauses, prodding the tablet. "I'll just mention the main items.
 <<default>>
-	a fashionably but formally dressed young man with slicked-back hair, greets you correctly before activating an examination visor and reviewing video evidence of the slave's skills. That done, he deactivates the visor and performs a quick physical examination. "As I'm sure you know, <<= properTitle()>>," he says as he gently repositions $activeSlave.slaveName to get a good look at $him, "appraisals are based on a slave's potential income as a whore, with modifiers for special characteristics." He pauses, using subvocalizations to make data entries. "I'll just mention the significant ones.
+	a fashionably but formally dressed young man with slicked-back hair, greets you correctly before activating an examination visor and reviewing video evidence of the slave's skills. That done, he deactivates the visor and performs a quick physical examination. "As I'm sure you know, <<= properTitle()>>," he says as he gently repositions <<= getSlave($AS).slaveName>> to get a good look at $him, "appraisals are based on a slave's potential income as a whore, with modifiers for special characteristics." He pauses, using subvocalizations to make data entries. "I'll just mention the significant ones.
 <</switch>>
 
 <<if $arcologies[0].FSPetiteAdmirationSMR == 1 || $arcologies[0].FSStatuesqueGlorificationSMR == 1>>
-	<<if heightPass($activeSlave)>>
+	<<if heightPass(getSlave($AS))>>
 		$He is an attractive height, which is a good start.
 	<</if>>
 <</if>>
 
-<<if getBestVision($activeSlave) === 0>>
+<<if getBestVision(getSlave($AS)) === 0>>
 	$His blindness is an obvious issue.
 <</if>>
 
-<<if $activeSlave.geneticQuirks.albinism == 2>>
+<<if getSlave($AS).geneticQuirks.albinism == 2>>
 	$His albinism makes $him rather desirable.
 <</if>>
 
-<<if $activeSlave.career != 0>>
-	<<if setup.bodyguardCareers.includes($activeSlave.career)>>
+<<if getSlave($AS).career != 0>>
+	<<if setup.bodyguardCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Bodyguard; that's valuable.
-	<<elseif setup.wardenessCareers.includes($activeSlave.career)>>
+	<<elseif setup.wardenessCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Wardeness; that's valuable.
-	<<elseif setup.attendantCareers.includes($activeSlave.career)>>
+	<<elseif setup.attendantCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Attendant; that's valuable.
-	<<elseif setup.matronCareers.includes($activeSlave.career)>>
+	<<elseif setup.matronCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Matron; that's valuable.
-	<<elseif setup.schoolteacherCareers.includes($activeSlave.career)>>
+	<<elseif setup.schoolteacherCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Schoolteacher; that's valuable.
-	<<elseif setup.stewardessCareers.includes($activeSlave.career)>>
+	<<elseif setup.stewardessCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Stewardess; that's valuable.
-	<<elseif setup.milkmaidCareers.includes($activeSlave.career)>>
+	<<elseif setup.milkmaidCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Milkmaid; that's valuable.
-	<<elseif setup.farmerCareers.includes($activeSlave.career)>>
+	<<elseif setup.farmerCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Farmer; that's valuable.
-	<<elseif setup.madamCareers.includes($activeSlave.career)>>
+	<<elseif setup.madamCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Madam; that's valuable.
-	<<elseif setup.DJCareers.includes($activeSlave.career)>>
+	<<elseif setup.DJCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good DJ; that's valuable.
-	<<elseif setup.HGCareers.includes($activeSlave.career)>>
+	<<elseif setup.HGCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Head Girl; that's valuable.
-	<<elseif setup.recruiterCareers.includes($activeSlave.career)>>
+	<<elseif setup.recruiterCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Recruiter; that's valuable.
-	<<elseif setup.matronCareers.includes($activeSlave.career)>>
+	<<elseif setup.matronCareers.includes(getSlave($AS).career)>>
 		$His background would help make $him a good Matron; that's valuable.
-	<<elseif setup.entertainmentCareers.includes($activeSlave.career)>>
+	<<elseif setup.entertainmentCareers.includes(getSlave($AS).career)>>
 		$His background should help $his flirting a little.
-	<<elseif setup.whoreCareers.includes($activeSlave.career)>>
+	<<elseif setup.whoreCareers.includes(getSlave($AS).career)>>
 		$His background should help $his fucking a little.
-	<<elseif setup.gratefulCareers.includes($activeSlave.career)>>
+	<<elseif setup.gratefulCareers.includes(getSlave($AS).career)>>
 		$His background should make $him a bit more trusting.
-	<<elseif setup.menialCareers.includes($activeSlave.career)>>
+	<<elseif setup.menialCareers.includes(getSlave($AS).career)>>
 		$His background should make $him a bit more tractable.
-	<<elseif setup.servantCareers.includes($activeSlave.career)>>
+	<<elseif setup.servantCareers.includes(getSlave($AS).career)>>
 		$His background should make $him a good servant.
 	<</if>>
 <</if>>
-<<if ($week-$activeSlave.weekAcquired >= 20) && ($activeSlave.skill.entertainment >= 100)>>
-	<<if setup.entertainmentCareers.includes($activeSlave.career)>>
+<<if ($week-getSlave($AS).weekAcquired >= 20) && (getSlave($AS).skill.entertainment >= 100)>>
+	<<if setup.entertainmentCareers.includes(getSlave($AS).career)>>
 	<<else>>
 		$He's gotten enough experience as a slave entertainer that $he has the added value of a $girl with a history in entertainment from before $he was a slave.
 	<</if>>
 <</if>>
-<<if ($activeSlave.counter.oral + $activeSlave.counter.anal + $activeSlave.counter.vaginal + $activeSlave.counter.mammary + $activeSlave.counter.penetrative > 1000)>>
-	<<if setup.whoreCareers.includes($activeSlave.career)>>
+<<if (getSlave($AS).counter.oral + getSlave($AS).counter.anal + getSlave($AS).counter.vaginal + getSlave($AS).counter.mammary + getSlave($AS).counter.penetrative > 1000)>>
+	<<if setup.whoreCareers.includes(getSlave($AS).career)>>
 	<<else>>
 		I see $he's sexually very experienced; that counts as a stand-in for the usual bonus value from having been a sex worker before enslavement.
 	<</if>>
 <</if>>
 
 <<set _careers = []>>
-<<if ($activeSlave.skill.headGirl >= $masteredXP)>>
+<<if (getSlave($AS).skill.headGirl >= $masteredXP)>>
 	<<set _careers.push("Head Girl")>>
 <</if>>
-<<if ($activeSlave.skill.recruiter >= $masteredXP)>>
+<<if (getSlave($AS).skill.recruiter >= $masteredXP)>>
 	<<set _careers.push("Recruiter")>>
 <</if>>
-<<if ($activeSlave.skill.bodyguard >= $masteredXP)>>
+<<if (getSlave($AS).skill.bodyguard >= $masteredXP)>>
 	<<set _careers.push("Bodyguard")>>
 <</if>>
-<<if ($activeSlave.skill.madam >= $masteredXP)>>
+<<if (getSlave($AS).skill.madam >= $masteredXP)>>
 	<<set _careers.push("Madam")>>
 <</if>>
-<<if ($activeSlave.skill.DJ >= $masteredXP)>>
+<<if (getSlave($AS).skill.DJ >= $masteredXP)>>
 	<<set _careers.push("DJ")>>
 <</if>>
-<<if ($activeSlave.skill.nurse >= $masteredXP)>>
+<<if (getSlave($AS).skill.nurse >= $masteredXP)>>
 	<<set _careers.push("Nurse")>>
 <</if>>
-<<if ($activeSlave.skill.teacher >= $masteredXP)>>
+<<if (getSlave($AS).skill.teacher >= $masteredXP)>>
 	<<set _careers.push("Schoolteacher")>>
 <</if>>
-<<if ($activeSlave.skill.attendant >= $masteredXP)>>
+<<if (getSlave($AS).skill.attendant >= $masteredXP)>>
 	<<set _careers.push("Attendant")>>
 <</if>>
-<<if ($activeSlave.skill.matron >= $masteredXP)>>
+<<if (getSlave($AS).skill.matron >= $masteredXP)>>
 	<<set _careers.push("Matron")>>
 <</if>>
-<<if ($activeSlave.skill.stewardess >= $masteredXP)>>
+<<if (getSlave($AS).skill.stewardess >= $masteredXP)>>
 	<<set _careers.push("Stewardess")>>
 <</if>>
-<<if ($activeSlave.skill.milkmaid >= $masteredXP)>>
+<<if (getSlave($AS).skill.milkmaid >= $masteredXP)>>
 	<<set _careers.push("Milkmaid")>>
 <</if>>
-<<if ($activeSlave.skill.farmer >= $masteredXP)>>
+<<if (getSlave($AS).skill.farmer >= $masteredXP)>>
 	<<set _careers.push("Farmer")>>
 <</if>>
-<<if ($activeSlave.skill.wardeness >= $masteredXP)>>
+<<if (getSlave($AS).skill.wardeness >= $masteredXP)>>
 	<<set _careers.push("Wardeness")>>
 <</if>>
-<<if ($activeSlave.skill.servant >= $masteredXP)>>
+<<if (getSlave($AS).skill.servant >= $masteredXP)>>
 	<<set _careers.push("Servant")>>
 <</if>>
-<<if ($activeSlave.skill.entertainer >= $masteredXP)>>
+<<if (getSlave($AS).skill.entertainer >= $masteredXP)>>
 	<<set _careers.push("Entertainer")>>
 <</if>>
-<<if ($activeSlave.skill.whore >= $masteredXP)>>
+<<if (getSlave($AS).skill.whore >= $masteredXP)>>
 	<<set _careers.push("Whore")>>
 <</if>>
-<<if ($activeSlave.skill.matron >= $masteredXP)>>
+<<if (getSlave($AS).skill.matron >= $masteredXP)>>
 	<<set _careers.push("Matron")>>
 <</if>>
 <<if _careers.length > 0>>
@@ -371,111 +371,111 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	<</if>>
 <</if>>
 
-<<if $activeSlave.behavioralFlaw != "none">>
-	<<if $activeSlave.sexualFlaw != "none">>
+<<if getSlave($AS).behavioralFlaw != "none">>
+	<<if getSlave($AS).sexualFlaw != "none">>
 		$He has both a behavioral flaw and a sexual flaw; those are both minor negatives.
 	<<else>>
 		$He has a behavioral flaw, which is a minor negative.
 	<</if>>
 <</if>>
-<<if $activeSlave.sexualFlaw == "breeder" && $arcologies[0].FSRepopulationFocus != "unset">>
+<<if getSlave($AS).sexualFlaw == "breeder" && $arcologies[0].FSRepopulationFocus != "unset">>
 	$He is obsessed with breeding, which will make $him very popular in your arcology.
-<<elseif $activeSlave.sexualFlaw != "none">>
-	<<if $activeSlave.behavioralFlaw == "none">>
+<<elseif getSlave($AS).sexualFlaw != "none">>
+	<<if getSlave($AS).behavioralFlaw == "none">>
 		$He has a sexual flaw, which is a minor negative.
 	<</if>>
 <</if>>
-<<if ($activeSlave.behavioralFlaw != "none") || ($activeSlave.sexualFlaw != "none")>>
-	<<if $activeSlave.behavioralQuirk != "none">>
-		<<if $activeSlave.sexualQuirk != "none">>
+<<if (getSlave($AS).behavioralFlaw != "none") || (getSlave($AS).sexualFlaw != "none")>>
+	<<if getSlave($AS).behavioralQuirk != "none">>
+		<<if getSlave($AS).sexualQuirk != "none">>
 			On the other hand, $he has both a behavioral quirk and a sexual quirk; those are both minor positives.
 		<<else>>
 			On the other hand, $he has a behavioral quirk, which is a minor positive.
 		<</if>>
 	<</if>>
-	<<if $activeSlave.sexualQuirk != "none">>
-		<<if $activeSlave.behavioralQuirk == "none">>
+	<<if getSlave($AS).sexualQuirk != "none">>
+		<<if getSlave($AS).behavioralQuirk == "none">>
 			On the other hand, $he has a sexual quirk, which is a minor positive.
 		<</if>>
 	<</if>>
 <<else>>
-	<<if $activeSlave.behavioralQuirk != "none">>
-		<<if $activeSlave.sexualQuirk != "none">>
+	<<if getSlave($AS).behavioralQuirk != "none">>
+		<<if getSlave($AS).sexualQuirk != "none">>
 			$He has both a behavioral quirk and a sexual quirk; those are both minor positives.
 		<<else>>
 			$He has a behavioral quirk, which is a minor positive.
 		<</if>>
 	<</if>>
-	<<if $activeSlave.sexualQuirk != "none">>
-		<<if $activeSlave.behavioralQuirk == "none">>
+	<<if getSlave($AS).sexualQuirk != "none">>
+		<<if getSlave($AS).behavioralQuirk == "none">>
 			$He has a sexual quirk, which is a minor positive.
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.fetish == "mindbroken">>
+<<if getSlave($AS).fetish == "mindbroken">>
 	It's a shame $he's mindbroken. From a price perspective.
-<<elseif $activeSlave.fetish != "none" && $activeSlave.fetishKnown == 1>>
+<<elseif getSlave($AS).fetish != "none" && getSlave($AS).fetishKnown == 1>>
 	$His fetish is good for performance, of course, but it adds a little bonus to value, too.
-<<elseif $activeSlave.fetishKnown == 1>>
+<<elseif getSlave($AS).fetishKnown == 1>>
 	$His tastes are a tad plain, but at least it won't hurt $his value.
 <<else>>
 	It's a pity there's no information on $his fetishes. Without it, buyers tend to assume the worst.
 <</if>>
 
-<<if $activeSlave.attrKnown == 1>>
-	<<if $activeSlave.energy > 95>>
+<<if getSlave($AS).attrKnown == 1>>
+	<<if getSlave($AS).energy > 95>>
 		Nymphomania adds a major price bonus.
 	<</if>>
 <<else>>
 	With $his sex drive not well tested, I cannot award $him any value in that area.
 <</if>>
 
-<<if $activeSlave.vagina == 0>>
+<<if getSlave($AS).vagina == 0>>
 	Virgin pussies are less common than you might think; that's a minor positive.
 <</if>>
 <<if $arcologies[0].FSRepopulationFocusSMR != 0>>
-	<<if $activeSlave.preg < -1>>
+	<<if getSlave($AS).preg < -1>>
 		The lack of an ability to become pregnant greatly decreases value, the global market being what it is.
-	<<elseif ($activeSlave.bellyPreg >= 300000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 300000)>>
 		That belly is all child? Incredible. Such fertility will price $him very high, the global market being what it is.
-	<<elseif ($activeSlave.bellyPreg >= 120000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 120000)>>
 		Such a massive pregnancy demands a high value, the global market being what it is.
-	<<elseif ($activeSlave.preg > $activeSlave.pregData.normalBirth/4)>>
+	<<elseif (getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4)>>
 		The advanced pregnancy adds a little value, the global market being what it is.
 	<</if>>
 <<elseif $arcologies[0].FSRestartSMR != 0>>
-	<<if $activeSlave.preg < -1>>
+	<<if getSlave($AS).preg < -1>>
 		$His infertility improves $his value, since $his kind should not be allowed to reproduce.
-	<<elseif ($activeSlave.bellyPreg >= 300000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 300000)>>
 		That belly is all child? How horrible. $He'd make a better example of the horrors of pregnancy than a sex slave.
-	<<elseif ($activeSlave.bellyPreg >= 30000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 30000)>>
 		What a disgusting creature, that filth inside $him will destroy $his value.
-	<<elseif ($activeSlave.preg > $activeSlave.pregData.normalBirth/4)>>
+	<<elseif (getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4)>>
 		What a waste, if $he weren't pregnant, $he might be worth something.
 	<</if>>
 <<else>>
-	<<if $activeSlave.ovaries == 0 && $activeSlave.vagina > -1 && $activeSlave.genes == "XY">>
+	<<if getSlave($AS).ovaries == 0 && getSlave($AS).vagina > -1 && getSlave($AS).genes == "XY">>
 		The lack of a natural vagina still removes a little value, the global market being what it is.
-	<<elseif ($activeSlave.bellyPreg >= 300000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 300000)>>
 		Such an obscene and life threatening display of fertility will turn off most buyers and considerably damage $his value, the global market being what it is.
-	<<elseif ($activeSlave.bellyPreg >= 120000)>>
+	<<elseif (getSlave($AS).bellyPreg >= 120000)>>
 		Such a massive and dangerous pregnancy removes some value, the global market being what it is.
-	<<elseif ($activeSlave.preg > $activeSlave.pregData.normalBirth/4)>>
+	<<elseif (getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4)>>
 		The advanced pregnancy removes a little value, the global market being what it is.
 	<</if>>
 <</if>>
-<<if $activeSlave.mpreg == 1>>
+<<if getSlave($AS).mpreg == 1>>
 	What's this strange organ listed here? $He can become anally pregnant? That will certainly interest some buyers.
 <</if>>
-<<if $activeSlave.pregWeek < 0>>
+<<if getSlave($AS).pregWeek < 0>>
 	$He seems a little uncomfortable with $his holes being touched. By the feel of it, $he is a new mother, no? A lack of receptivity will not go over well with buyers; it may more profitable to let $him recover first.
 <</if>>
-<<set _intelligenceScore = ($activeSlave.intelligenceImplant < 0 ? $activeSlave.intelligence+$activeSlave.intelligenceImplant : $activeSlave.intelligence)>> /* negative education makes a slave seem slower than they are */
+<<set _intelligenceScore = (getSlave($AS).intelligenceImplant < 0 ? getSlave($AS).intelligence+getSlave($AS).intelligenceImplant : getSlave($AS).intelligence)>> /* negative education makes a slave seem slower than they are */
 <<if $arcologies[0].FSIntellectualDependencySMR == 1>>
 	<<if _intelligenceScore >= -15>>
 		$He's too smart to be of interest to local bidders, but there is still a demand for smart slaves elsewhere.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education is an added positive too, in that regard.
 		<</if>>
 	<<else>>
@@ -486,7 +486,7 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 		$He's no where near smart enough to compete with the local markets, so outside bids are going to be the only option.
 	<<else>>
 		$His brain is probably going to bring in very generous bids on its own.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education is an added positive, beyond that.
 		<<else>>
 			$He's uneducated, though, which will turn off some buyers.
@@ -495,24 +495,24 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 <<else>>
 	<<if _intelligenceScore > 95>>
 		$His genius is probably going to bring in very generous bids.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education is an added positive, beyond that.
 		<</if>>
 	<<elseif _intelligenceScore > 15>>
 		Of course, $his intelligence is an asset outside of its sexual applications.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education is an added positive, beyond that.
 		<</if>>
 	<<elseif _intelligenceScore < -15>>
 		Of course, $his stupidity will be a minor negative.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education will help ameliorate that in price terms.
 		<<else>>
 			$He's uneducated, too.
 		<</if>>
 	<<elseif _intelligenceScore < -95>>
 		$His sheer idiocy will likely hamper bids.
-		<<if $activeSlave.intelligenceImplant >= 15>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			$His education will help a little, though I can't imagine the hassle it must have been to get $him to remember anything.
 		<<else>>
 			$He's uneducated, too, not that there's a surprise in that.
@@ -520,14 +520,14 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	<</if>>
 <</if>>
 
-<<if $activeSlave.anus == 0>>
+<<if getSlave($AS).anus == 0>>
 	$His virgin anus is a minor positive, since anal defloration is in such high demand.
 <</if>>
 
-<<if $activeSlave.vagina > -1>>
-	<<if $activeSlave.dick > 0>>
+<<if getSlave($AS).vagina > -1>>
+	<<if getSlave($AS).dick > 0>>
 		$He has both sets of equipment, I see; that's very valuable.
-		<<if $activeSlave.ovaries > 0 && $activeSlave.balls > 0 && $activeSlave.ballType != "sterile">>
+		<<if getSlave($AS).ovaries > 0 && getSlave($AS).balls > 0 && getSlave($AS).ballType != "sterile">>
 			<<if $arcologies[0].FSRestartSMR == 1>>
 				And both are fertile? Horrible. Such fertility is wasted on trash.
 			<<else>>
@@ -537,38 +537,38 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	<</if>>
 <</if>>
 
-<<if $activeSlave.pubertyXY == 0 && $activeSlave.physicalAge >= $potencyAge && $arcologies[0].FSGenderRadicalist == "unset" && $activeSlave.balls > 0>>
+<<if getSlave($AS).pubertyXY == 0 && getSlave($AS).physicalAge >= $potencyAge && $arcologies[0].FSGenderRadicalist == "unset" && getSlave($AS).balls > 0>>
 	$He never went through male puberty, that's a plus.
 <</if>>
 
-<<if $activeSlave.prestige > 0>>
+<<if getSlave($AS).prestige > 0>>
 	I see notes on $his notoriety in $his file. That will drive up $his price.
 <</if>>
 
-<<if $activeSlave.porn.prestige == 3>>
-	$He's pretty popular in $activeSlave.porn.fameType smut, isn't $he? Buyers will be lining up for $him.
-<<elseif $activeSlave.porn.prestige == 2>>
-	$He's gained quite the following in $activeSlave.porn.fameType smut. In fact, I've even seen some of $his smut; buyers will flock to $him.
-<<elseif $activeSlave.porn.prestige == 1>>
-	$He's got a small fanbase in $activeSlave.porn.fameType smut. Who knows? Maybe one of them will want $him all to themselves?
+<<if getSlave($AS).porn.prestige == 3>>
+	$He's pretty popular in <<= getSlave($AS).porn.fameType>> smut, isn't $he? Buyers will be lining up for $him.
+<<elseif getSlave($AS).porn.prestige == 2>>
+	$He's gained quite the following in <<= getSlave($AS).porn.fameType smut>>. In fact, I've even seen some of $his smut; buyers will flock to $him.
+<<elseif getSlave($AS).porn.prestige == 1>>
+	$He's got a small fanbase in <<= getSlave($AS).porn.fameType>> smut. Who knows? Maybe one of them will want $him all to themselves?
 <</if>>
 
-<<if $activeSlave.devotion > 95>>
+<<if getSlave($AS).devotion > 95>>
 	$His worshipfulness is a major positive
 	<<set _trustPositive = 1>>
-<<elseif $activeSlave.devotion > 50>>
+<<elseif getSlave($AS).devotion > 50>>
 	$His devotion is a significant positive
 	<<set _trustPositive = 1>>
-<<elseif $activeSlave.devotion > 20>>
+<<elseif getSlave($AS).devotion > 20>>
 	$His acceptance of slavery is a minor positive
 	<<set _trustPositive = 1>>
-<<elseif $activeSlave.devotion >= -20>>
+<<elseif getSlave($AS).devotion >= -20>>
 	$His acceptance of slavery is equivocal
 	<<set _trustPositive = 0>>
-<<elseif $activeSlave.devotion >= -50>>
+<<elseif getSlave($AS).devotion >= -50>>
 	$His resistance to slavery is a minor negative
 	<<set _trustPositive = 0>>
-<<elseif $activeSlave.devotion >= -75>>
+<<elseif getSlave($AS).devotion >= -75>>
 	$His hatred of slavery is a significant negative
 	<<set _trustPositive = -1>>
 <<else>>
@@ -576,56 +576,56 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	<<set _trustPositive = -1>>
 <</if>>
 <<if _trustPositive == 1>>
-	<<if $activeSlave.trust > 95>>
+	<<if getSlave($AS).trust > 95>>
 		and $his powerful trust is a major positive.
-	<<elseif $activeSlave.trust > 50>>
+	<<elseif getSlave($AS).trust > 50>>
 		and $his trust is a significant positive.
-	<<elseif $activeSlave.trust > 20>>
+	<<elseif getSlave($AS).trust > 20>>
 		and $his carefulness is a minor positive.
-	<<elseif $activeSlave.trust >= -20>>
+	<<elseif getSlave($AS).trust >= -20>>
 		and $his fearfulness is equivocal.
-	<<elseif $activeSlave.trust >= -50>>
+	<<elseif getSlave($AS).trust >= -50>>
 		but $his fear is a minor negative.
-	<<elseif $activeSlave.devotion >= -90>>
+	<<elseif getSlave($AS).devotion >= -90>>
 		but $his terrified state is a significant negative.
 	<<else>>
 		but $his abjectly terrified state is a major negative.
 	<</if>>
 <<elseif _trustPositive == 0>>
-	<<if $activeSlave.trust > 95>>
+	<<if getSlave($AS).trust > 95>>
 		but $his powerful trust is worrisome.
-	<<elseif $activeSlave.trust > 50>>
+	<<elseif getSlave($AS).trust > 50>>
 		but $his trust is a little out of place.
-	<<elseif $activeSlave.trust > 20>>
+	<<elseif getSlave($AS).trust > 20>>
 		and $his carefulness is a minor positive.
-	<<elseif $activeSlave.trust >= -20>>
+	<<elseif getSlave($AS).trust >= -20>>
 		and $his fearfulness is useful.
-	<<elseif $activeSlave.trust >= -50>>
+	<<elseif getSlave($AS).trust >= -50>>
 		and $his fear is useful.
-	<<elseif $activeSlave.devotion >= -90>>
+	<<elseif getSlave($AS).devotion >= -90>>
 		but $his terrified state will aid in fully breaking $him.
 	<<else>>
 		but $his abjectly terrified state will make it easy to break $him.
 	<</if>>
 <<else>>
-	<<if $activeSlave.trust > 95>>
+	<<if getSlave($AS).trust > 95>>
 		and $his powerful trust is a problem.
-	<<elseif $activeSlave.trust > 50>>
+	<<elseif getSlave($AS).trust > 50>>
 		and $his trust is troublesome.
-	<<elseif $activeSlave.trust > 20>>
+	<<elseif getSlave($AS).trust > 20>>
 		and $his carefulness is bad sign.
-	<<elseif $activeSlave.trust >= -20>>
+	<<elseif getSlave($AS).trust >= -20>>
 		but $his fearfulness is useful.
-	<<elseif $activeSlave.trust >= -50>>
+	<<elseif getSlave($AS).trust >= -50>>
 		but $his fear is useful.
-	<<elseif $activeSlave.devotion >= -90>>
+	<<elseif getSlave($AS).devotion >= -90>>
 		but $his terrified state will aid in fully breaking $him.
 	<<else>>
 		but $his abjectly terrified state will make it easy to break $him.
 	<</if>>
 <</if>>
 
-<<if (!jQuery.isEmptyObject($activeSlave.brand))>>
+<<if (!jQuery.isEmptyObject(getSlave($AS).brand))>>
 	<<if $rep > 10000>>
 		I see $he's branded with your mark; with your stellar reputation, that will make $him appraise better.
 	<<elseif $rep < 5000>>
@@ -636,78 +636,78 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 <</if>>
 
 <<if $policies.retirement.physicalAgePolicy == 1>>
-	<<set _TimeBeforeAgeRetirement = 52*($retirementAge-$activeSlave.physicalAge)>>
+	<<set _TimeBeforeAgeRetirement = 52*($retirementAge-getSlave($AS).physicalAge)>>
 <<else>>
-	<<set _TimeBeforeAgeRetirement = 52*($retirementAge-$activeSlave.actualAge)>>
+	<<set _TimeBeforeAgeRetirement = 52*($retirementAge-getSlave($AS).actualAge)>>
 <</if>>
 
-<<if ($activeSlave.actualAge >= $retirementAge-5)>>
+<<if (getSlave($AS).actualAge >= $retirementAge-5)>>
 	Since $he has a mere _TimeBeforeAgeRetirement weeks left until the local retirement age for sex slaves, buyers will be willing to offer much less for $him.
 <</if>>
 
-<<if $arcologies[0].FSSupremacistLawME != 0 && $activeSlave.race != $arcologies[0].FSSupremacistRace>>
+<<if $arcologies[0].FSSupremacistLawME != 0 && getSlave($AS).race != $arcologies[0].FSSupremacistRace>>
 	Your supremacism has pushed a lot of subhumans like $him into the market, so offers will be low.
-<<elseif $arcologies[0].FSSubjugationistLawME != 0 && $activeSlave.race == $arcologies[0].FSSubjugationistRace>>
+<<elseif $arcologies[0].FSSubjugationistLawME != 0 && getSlave($AS).race == $arcologies[0].FSSubjugationistRace>>
 	Your subjugationism has pushed a lot of animals like $him into the market, so $his race marks $him as low quality.
 <</if>>
 <<if $arcologies[0].FSRepopulationFocusSMR != 0>>
-	<<if $activeSlave.pregKnown == 1>>
+	<<if getSlave($AS).pregKnown == 1>>
 		Pregnant slaves appraise quite well, thanks to your leadership on repopulation.
 	<</if>>
 <</if>>
 <<if $arcologies[0].FSRestartSMR != 0>>
-	<<if $activeSlave.dick > 0>>
+	<<if getSlave($AS).dick > 0>>
 		Subhumans with dicks appraise less well, since they don't need them.
 	<</if>>
-	<<if $activeSlave.balls > 0>>
+	<<if getSlave($AS).balls > 0>>
 		$He has balls too. A slave that can impregnate is worth little under your vision of the future.
 	<</if>>
-	<<if $activeSlave.vagina > 0>>
+	<<if getSlave($AS).vagina > 0>>
 		Subhumans with vaginas appraise less well, since they don't need them.
 	<</if>>
-	<<if $activeSlave.ovaries > 0>>
+	<<if getSlave($AS).ovaries > 0>>
 		$He can get pregnant too. A slave that can bear children is worth little under your vision of the future.
 	<</if>>
 <</if>>
 <<if $arcologies[0].FSHedonisticDecadenceSMR != 0>>
-	<<if $activeSlave.weight > 60 && $activeSlave.muscles < 5>>
+	<<if getSlave($AS).weight > 60 && getSlave($AS).muscles < 5>>
 		Plush, soft slaves like $him appraise well, thanks to the shifting views on beauty.
 	<</if>>
 <</if>>
 <<if $arcologies[0].FSGenderFundamentalistSMR != 0>>
-	<<if $activeSlave.dick > 0>>
+	<<if getSlave($AS).dick > 0>>
 		Slaves with dicks appraise less well, thanks to your leadership on gender.
-		<<if $activeSlave.balls > 0>>
+		<<if getSlave($AS).balls > 0>>
 			That's especially true for $him, since $he still has $his balls.
 		<</if>>
 	<</if>>
 <</if>>
 <<if $arcologies[0].FSGenderRadicalistLawFuta != 0>>
 	<<if $arcologies[0].FSGenderRadicalistLawFuta == 1>>
-		<<if $activeSlave.dick > 0>>
-			<<if $activeSlave.vagina > -1>>
+		<<if getSlave($AS).dick > 0>>
+			<<if getSlave($AS).vagina > -1>>
 				Futas appraise better than ever, thanks to your leadership on gender.
 			<</if>>
 		<</if>>
 	<<elseif $arcologies[0].FSGenderRadicalistLawFuta == 2>>
-		<<if $activeSlave.dick > 0>>
-			<<if $activeSlave.balls > 0>>
+		<<if getSlave($AS).dick > 0>>
+			<<if getSlave($AS).balls > 0>>
 				Slaves with cocks and balls appraise quite well, thanks to your leadership on gender.
 			<</if>>
 		<</if>>
 	<<elseif $arcologies[0].FSGenderRadicalistLawFuta == 4>>
-		<<if $activeSlave.boobs <= 400>>
-			<<if $activeSlave.dick > 0 && $activeSlave.dick < 3>>
-				<<if $activeSlave.balls > 0 && $activeSlave.balls < 3>>
+		<<if getSlave($AS).boobs <= 400>>
+			<<if getSlave($AS).dick > 0 && getSlave($AS).dick < 3>>
+				<<if getSlave($AS).balls > 0 && getSlave($AS).balls < 3>>
 					Slaves with such cute little parts appraise quite well, thanks to your leadership on gender.
 				<</if>>
 			<</if>>
 		<</if>>
 	<<else>>
-		<<if $activeSlave.butt >= 5>>
-			<<if $activeSlave.anus >= 2>>
-				<<if $activeSlave.hips >= 1>>
-					<<if $activeSlave.skill.anal > 60>>
+		<<if getSlave($AS).butt >= 5>>
+			<<if getSlave($AS).anus >= 2>>
+				<<if getSlave($AS).hips >= 1>>
+					<<if getSlave($AS).skill.anal > 60>>
 						Slaves with big butts and skilled anuses appraise quite well, thanks to your leadership on gender.
 					<</if>>
 				<</if>>
@@ -723,7 +723,7 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 	And of course, you'll receive a premium for the nobility of such Imperial slaves.
 <</if>>
 
-<<if $activeSlave.indenture > -1>>
+<<if getSlave($AS).indenture > -1>>
 	Though I dislike mentioning something so obvious, being an indentured servant will have a huge impact on $his valuation.
 <</if>>
 
@@ -758,14 +758,14 @@ A reputable slave appraiser arrives promptly to inspect $him and certify $his qu
 
 <br><br>
 __Financial Records__
-<<includeDOM slaveExpenses(V.activeSlave)>>
+<<includeDOM slaveExpenses(getSlave(V.AS))>>
 
 <</if>> /* CLOSES APPRAISAL */
 <</if>> /* closes breeding mark */
 
 <br><br>
 
-<<if $activeSlave.breedingMark == 1 && $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
+<<if getSlave($AS).breedingMark == 1 && $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
 <<set $buyer = 0>>
 <<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
 	<br>The current offer for $him stands at ''<<print cashFormat(_Price)>>''.
@@ -780,71 +780,71 @@ __Bids Received__
 <<set $buyer = 0>>
 <<set _Price = 500*Math.trunc((_slaveCost*1.15)/500)>>
 
-<<if ($activeSlave.visualAge < 20) && ($activeSlave.weight < -10) && (random(1,100) > 80)>>
+<<if (getSlave($AS).visualAge < 20) && (getSlave($AS).weight < -10) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes his slaves young and slender.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.visualAge > 40) && ($activeSlave.weight > 10) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).visualAge > 40) && (getSlave($AS).weight > 10) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes her slaves mature and <<= $mother>>ly.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.dick > 3) && canAchieveErection($activeSlave) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).dick > 3) && canAchieveErection(getSlave($AS)) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes fat cocks.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.dick > 3) && ($activeSlave.balls == 0) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).dick > 3) && (getSlave($AS).balls == 0) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes a big limp dick flopping around when he fucks a slave's asspussy.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.dick == 1) && ($activeSlave.balls == 0 || $activeSlave.ballType == "sterile") && ($activeSlave.anus == 3) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).dick == 1) && (getSlave($AS).balls == 0 || getSlave($AS).ballType == "sterile") && (getSlave($AS).anus == 3) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes sissies with anal slits longer than their little limp dicks.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.dick > 0) && ($activeSlave.boobs < 300) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).dick > 0) && (getSlave($AS).boobs < 300) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes traps.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.dick > 0) && ($activeSlave.balls > 0) && ($activeSlave.boobs > 600) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).dick > 0) && (getSlave($AS).balls > 0) && (getSlave($AS).boobs > 600) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who likes lusty shemales.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.anusPiercing > 1) && ($activeSlave.nipplesPiercing > 1) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).anusPiercing > 1) && (getSlave($AS).nipplesPiercing > 1) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who is clearly fascinated by $his lewd piercings.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.anusTat > 1) && ($activeSlave.buttTat > 1) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).anusTat > 1) && (getSlave($AS).buttTat > 1) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who is clearly aroused by $his slutty tattoos.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.boobs > 800) && ($activeSlave.areolaeShape != "circle") && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).boobs > 800) && (getSlave($AS).areolaeShape != "circle") && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who can't take his eyes off $his unique areolae.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.clit > 2) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).clit > 2) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who keeps running her tongue over her lips while staring at the slave's giant clit.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.labia > 1) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).labia > 1) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who has an obvious fascination with $his dangling labia.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.boobs > 2000) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).boobs > 2000) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen with an obvious breast expansion fetish.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.preg > $activeSlave.pregData.normalBirth/2) && ($activeSlave.lactation == 1) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).preg > getSlave($AS).pregData.normalBirth/2) && (getSlave($AS).lactation == 1) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who pays obsessive attention to $his gravid belly and naturally lactating breasts.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.ovaries == 1) && ($activeSlave.physicalAge < 25) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).ovaries == 1) && (getSlave($AS).physicalAge < 25) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who pays unusually close attention to the section of the medical report on $his fertility.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.butt > 6) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).butt > 6) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen with an obvious butt expansion fetish.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.face > 10) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).face > 10) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who can't keep his eyes off $his pretty face.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.skill.anal >= 100) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).skill.anal >= 100) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen interested in acquiring a skilled butthole bitch.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.skill.vaginal >= 100) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).skill.vaginal >= 100) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen interested in acquiring a slut with real vaginal skill.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.skill.oral >= 100) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).skill.oral >= 100) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen interested in acquiring a skilled cocksucker.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.health.condition > 80) && (random(1,100) > 80)>>
+<<elseif (getSlave($AS).health.condition > 80) && (random(1,100) > 80)>>
 	<br>''<<print cashFormat(_Price)>>'' from a citizen who pays creepily close attention to the state of $his health, and ignores everything else.
 	<<set _NewOwner = 1>>
-<<elseif ($activeSlave.nationality != 0) && (random(1,100) > 80)>>
-	<br>''<<print cashFormat(_Price)>>'' from a citizen with a special appetite for <<print moreNational($activeSlave.nationality)>> <<= $girl>>s.
+<<elseif (getSlave($AS).nationality != 0) && (random(1,100) > 80)>>
+	<br>''<<print cashFormat(_Price)>>'' from a citizen with a special appetite for <<print moreNational(getSlave($AS).nationality)>> <<= $girl>>s.
 	<<set _NewOwner = 1>>
 <</if>>
 <<if _NewOwner == 1>>
@@ -853,64 +853,64 @@ __Bids Received__
 	<</link>>
 <</if>>
 
-<<if $activeSlave.physicalAge > 30>>
-	<<if $activeSlave.devotion > 20>>
+<<if getSlave($AS).physicalAge > 30>>
+	<<if getSlave($AS).devotion > 20>>
 		<<if random(1,100) > 50>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*0.9)/500))>>'' from a polite older citizen looking for a housekeeper and bedwarmer.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*0.9)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "housekeeper">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if isFertile($activeSlave) && $seePreg != 0>>
+<<if isFertile(getSlave($AS)) && $seePreg != 0>>
 
 	<<if _slaveCost > 10000>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a male citizen who wants to ensure his posterity by using $him to carry his children.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "preg fetishist">>
 			<</link>>
 		<</if>>
 	<</if>>
 
-	<<if $activeSlave.mpreg == 1>>
+	<<if getSlave($AS).mpreg == 1>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from an organ modifier interested in $his anal womb.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "organ crafter">>
 			<</link>>
 		<</if>>
 	<</if>>
 
 	<<if $seeHyperPreg == 1 && $seeExtreme == 1>>
-		<<if $activeSlave.vagina == 0>>
+		<<if getSlave($AS).vagina == 0>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(400*Math.trunc((_slaveCost*1.05)/500))>>'' from a pharmaceuticals corporation looking for fertile virgins for testing extreme fertility drugs.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 400*Math.trunc((_slaveCost*1.05)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "womb filler">>
 				<</link>>
 			<</if>>
 		<</if>>
 	<</if>>
 
-	<<if $activeSlave.intelligence > 50>>
-		<<if $activeSlave.face >= 55>>
-			<<if $activeSlave.faceShape != "masculine">>
+	<<if getSlave($AS).intelligence > 50>>
+		<<if getSlave($AS).face >= 55>>
+			<<if getSlave($AS).faceShape != "masculine">>
 				<<if random(1,100) > 90>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a fellow arcology owner seeking a smart, pretty slave to use as a breeder to produce superior children.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "eugenics arcology">>
 					<</link>>
 				<</if>>
@@ -918,25 +918,25 @@ __Bids Received__
 		<</if>>
 	<</if>>
 
-	<<if $activeSlave.hips > 1>>
-		<<if $activeSlave.vagina == 0>>
+	<<if getSlave($AS).hips > 1>>
+		<<if getSlave($AS).vagina == 0>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a fellow arcology owner focusing on building a future society based on his genes: he seeks fertile virgins with wide hips, feeling they will be the best mothers.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "repopulationist arcology">>
 				<</link>>
 			<</if>>
 		<</if>>
 	<</if>>
 
-	<<if $activeSlave.vagina == 0>>
+	<<if getSlave($AS).vagina == 0>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.3)/500))>>'' from a slave trader with a notorious virgin impregnation fetish: he uses his work to provide himself with an endless supply of virgins to knock up and resell.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.3)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "virgin trader">>
 			<</link>>
 		<</if>>
@@ -946,13 +946,13 @@ __Bids Received__
 
 <<if $seePreg != 0>>
 	<<if $seeHyperPreg == 1 && $seeExtreme == 1>>
-		<<if $activeSlave.preg > $activeSlave.pregData.normalBirth/2>>
-			<<if $activeSlave.bellyPreg >= 300000>>
+		<<if getSlave($AS).preg > getSlave($AS).pregData.normalBirth/2>>
+			<<if getSlave($AS).bellyPreg >= 300000>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a group that takes pleasure in performing abortions on live TV.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 400*Math.trunc((_slaveCost*1.05)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "abortion TV">>
 					<</link>>
 				<</if>>
@@ -961,36 +961,36 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.nipples == "huge">>
+<<if getSlave($AS).nipples == "huge">>
 	<<if random(1,100) > 60>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a female citizen with a very specific fetish: she loves breasts to the point of enjoying slaves with nipples large enough to meaningfully penetrate her.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "nipple fetishist">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.nipples == "fuckable">>
+<<if getSlave($AS).nipples == "fuckable">>
 	<<if random(1,100) > 60>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a male citizen with a kink that's hard to satisfy: he loves nipple fucking, but hates how breasts just don't work that way.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "nipple fetishist">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.balls > 0>>
-	<<if $activeSlave.skill.anal > 10>>
-		<<if $activeSlave.devotion > 20>>
+<<if getSlave($AS).balls > 0>>
+	<<if getSlave($AS).skill.anal > 10>>
+		<<if getSlave($AS).devotion > 20>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a citizen who enjoys buttfucking slaves with the necessary equipment, willingness, and anal skill to reward his efforts with messy, hands-free orgasms of their own.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "anal fetishist">>
 				<</link>>
 			<</if>>
@@ -998,40 +998,40 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.oral > 30>>
-	<<if $activeSlave.devotion > 20>>
+<<if getSlave($AS).skill.oral > 30>>
+	<<if getSlave($AS).devotion > 20>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from an unusually well-endowed citizen who strongly prefers oral sex with willing partners who can deepthroat him successfully.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "oral fetishist">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.fetish != "masochist">>
-	<<if $activeSlave.devotion > 50>>
+<<if getSlave($AS).fetish != "masochist">>
+	<<if getSlave($AS).devotion > 50>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a sadistic citizen who likes hurting her slaves, dislikes masochists for their enjoyment of her treatment, yet prefers slaves who will not hate her.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "pain fetishist">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.muscles > 30>>
-	<<if $activeSlave.height >= 170>>
-		<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant < -15>>
+<<if getSlave($AS).muscles > 30>>
+	<<if getSlave($AS).height >= 170>>
+		<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant < -15>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a sadistic citizen who is looking for an imposing, stupid slave she can train to rape her victims on command.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "sadism fetishist">>
 				<</link>>
 			<</if>>
@@ -1039,14 +1039,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.devotion > 20>>
-	<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant > 50>>
-		<<if $activeSlave.intelligenceImplant >= 15>>
+<<if getSlave($AS).devotion > 20>>
+	<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant > 50>>
+		<<if getSlave($AS).intelligenceImplant >= 15>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a newly wealthy citizen who is expanding his household and is interested in smart, educated, and obedient slaves for leadership roles.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "dom fetishist">>
 				<</link>>
 			<</if>>
@@ -1054,38 +1054,38 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.devotion > 50>>
-	<<if $activeSlave.skill.oral >= 100>>
+<<if getSlave($AS).devotion > 50>>
+	<<if getSlave($AS).skill.oral >= 100>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.05)/500))>>'' from a citizen whose job keeps her deskbound; bored, she's looking for a devoted oral slave to occupy the space under the desk and be her constant pussylicking appliance.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.05)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "sub fetishist">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.anus == 0>>
+<<if getSlave($AS).anus == 0>>
 	<<if random(1,100) > 60>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.3)/500))>>'' from a wealthy citizen infamous for cruelly raping anal virgins in public; he buys and abuses a new one every few weeks.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.3)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "buttbreaker">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.oral >= 100>>
-	<<if $activeSlave.skill.anal >= 100>>
-		<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant > 15>>
+<<if getSlave($AS).skill.oral >= 100>>
+	<<if getSlave($AS).skill.anal >= 100>>
+		<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant > 15>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a small, local slave trainer interested in using $him to help train new slaves in the sexual arts.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "trainer staffing">>
 				<</link>>
 			<</if>>
@@ -1093,16 +1093,16 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.oral >= 100>>
-	<<if $activeSlave.skill.anal >= 100>>
-		<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant > 15>>
-			<<if $activeSlave.intelligenceImplant >= 15>>
-				<<if $activeSlave.physicalAge > 35>>
+<<if getSlave($AS).skill.oral >= 100>>
+	<<if getSlave($AS).skill.anal >= 100>>
+		<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant > 15>>
+			<<if getSlave($AS).intelligenceImplant >= 15>>
+				<<if getSlave($AS).physicalAge > 35>>
 					<<if random(1,100) > 60>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.4)/500))>>'' from a skilled slave trainer who feels that MILFs make the best slave trainers.
 						<<link "Accept bid" "Slave Sold">>
 							<<set _Price = 500*Math.trunc((_slaveCost*1.4)/500)>>
-							<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+							<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 							<<set $buyer = "D milf staffing">>
 						<</link>>
 					<</if>>
@@ -1112,15 +1112,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobsImplant == 0>>
-	<<if $activeSlave.lactation > 0>>
-		<<if $activeSlave.ovaries > 0>>
-			<<if $activeSlave.boobs > 1000>>
+<<if getSlave($AS).boobsImplant == 0>>
+	<<if getSlave($AS).lactation > 0>>
+		<<if getSlave($AS).ovaries > 0>>
+			<<if getSlave($AS).boobs > 1000>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a prominent citizen with a notorious fetish for fertile, natural cows.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D hucow">>
 					<</link>>
 				<</if>>
@@ -1129,15 +1129,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.muscles > 5>>
-	<<if $activeSlave.weight < -10>>
-		<<if $activeSlave.teeth == "pointy">>
-			<<if $activeSlave.skill.combat > 0>>
+<<if getSlave($AS).muscles > 5>>
+	<<if getSlave($AS).weight < -10>>
+		<<if getSlave($AS).teeth == "pointy">>
+			<<if getSlave($AS).skill.combat > 0>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who's pursuing some sort of mercenary project that requires worryingly large numbers of thin <<= $girl>>s with sharp teeth.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D startled the witch">>
 					<</link>>
 				<</if>>
@@ -1147,28 +1147,28 @@ __Bids Received__
 <</if>>
 
 
-<<if $activeSlave.teeth == "fangs">>
-	<<if (skinToneLevel($activeSlave.skin) < 7)>>
+<<if getSlave($AS).teeth == "fangs">>
+	<<if (skinToneLevel(getSlave($AS).skin) < 7)>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a becloaked individual with an unusual interest in pale <<= $girl>>s with fangs.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "vampire clan">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.vagina == 0>>
-	<<if $activeSlave.anus > 1>>
-		<<if $activeSlave.skill.anal >= 100>>
-			<<if $activeSlave.physicalAge < 25>>
+<<if getSlave($AS).vagina == 0>>
+	<<if getSlave($AS).anus > 1>>
+		<<if getSlave($AS).skill.anal >= 100>>
+			<<if getSlave($AS).physicalAge < 25>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who appreciates <<= $girl>>s who are both vaginal virgins and anal veterans.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D virgin asspussy">>
 					<</link>>
 				<</if>>
@@ -1177,15 +1177,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.vagina == 0>>
-	<<if ($activeSlave.fetish == "submissive") || ($activeSlave.fetish == "pregnancy")>>
-		<<if $activeSlave.skill.entertainment > 30>>
-			<<if $activeSlave.physicalAge < 30>>
+<<if getSlave($AS).vagina == 0>>
+	<<if (getSlave($AS).fetish == "submissive") || (getSlave($AS).fetish == "pregnancy")>>
+		<<if getSlave($AS).skill.entertainment > 30>>
+			<<if getSlave($AS).physicalAge < 30>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen with moist palms who insistently refers to $him as "his waifu," whatever that means.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D waifu">>
 					<</link>>
 				<</if>>
@@ -1194,29 +1194,29 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.vagina > 0 && $activeSlave.dick == 0 && $activeSlave.balls == 0>>
-	<<if $activeSlave.physicalAge >= 20 && $activeSlave.physicalAge < 25>>
-		<<if $activeSlave.visualAge >= 20 && $activeSlave.visualAge < 25>>
-			<<if $activeSlave.preg <= 0 && $activeSlave.bellyImplant <= 0>>
-				<<if $activeSlave.weight < 10 && $activeSlave.weight > -10>>
-					<<if $activeSlave.waist < 10 && $activeSlave.waist > -50>>
-						<<if $activeSlave.boobs >= 550 && $activeSlave.boobs < 1000>>
-							<<if $activeSlave.butt > 2 && $activeSlave.butt < 5>>
-								<<if $activeSlave.hips > 0 && $activeSlave.hips < 3>>
-									<<if $activeSlave.face >= 20>>
+<<if getSlave($AS).vagina > 0 && getSlave($AS).dick == 0 && getSlave($AS).balls == 0>>
+	<<if getSlave($AS).physicalAge >= 20 && getSlave($AS).physicalAge < 25>>
+		<<if getSlave($AS).visualAge >= 20 && getSlave($AS).visualAge < 25>>
+			<<if getSlave($AS).preg <= 0 && getSlave($AS).bellyImplant <= 0>>
+				<<if getSlave($AS).weight < 10 && getSlave($AS).weight > -10>>
+					<<if getSlave($AS).waist < 10 && getSlave($AS).waist > -50>>
+						<<if getSlave($AS).boobs >= 550 && getSlave($AS).boobs < 1000>>
+							<<if getSlave($AS).butt > 2 && getSlave($AS).butt < 5>>
+								<<if getSlave($AS).hips > 0 && getSlave($AS).hips < 3>>
+									<<if getSlave($AS).face >= 20>>
 										<<set _movieDouble = random(1,100)>>
 										<<if _movieDouble > 90 && $seePreg != 0>>
 											<br>''<<print cashFormat(700*Math.trunc((_slaveCost*1.35)/700))>>'' from a production studio interested in using $him as a double.
 											<<link "Accept bid" "Slave Sold">>
 												<<set _Price = 700*Math.trunc((_slaveCost*1.35)/700)>>
-												<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+												<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 												<<set $buyer = "monster movie">>
 											<</link>>
 										<<elseif _movieDouble > 70>>
 											<br>''<<print cashFormat(700*Math.trunc((_slaveCost*1.35)/700))>>'' from a production studio interested in using $him as a double.
 											<<link "Accept bid" "Slave Sold">>
 												<<set _Price = 700*Math.trunc((_slaveCost*1.35)/700)>>
-												<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+												<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 												<<set $buyer = "sex double">>
 											<</link>>
 										<</if>>
@@ -1231,15 +1231,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick > 0>>
-	<<if $activeSlave.skill.oral >= 100>>
-		<<if $activeSlave.height < 160>>
-			<<if $activeSlave.butt > 3>>
+<<if getSlave($AS).dick > 0>>
+	<<if getSlave($AS).skill.oral >= 100>>
+		<<if getSlave($AS).height < 160>>
+			<<if getSlave($AS).butt > 3>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who likes to provide his favored, well-endowed slaves with subordinate, orally skilled dickgirls with nice butts.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D oral servants">>
 					<</link>>
 				<</if>>
@@ -1248,17 +1248,17 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick > 0>>
-	<<if $activeSlave.devotion > 20>>
-		<<if $activeSlave.fetish == "buttslut">>
-			<<if $activeSlave.visualAge < 25>>
-				<<if $activeSlave.boobs < 400>>
-					<<if $activeSlave.weight <= 10>>
+<<if getSlave($AS).dick > 0>>
+	<<if getSlave($AS).devotion > 20>>
+		<<if getSlave($AS).fetish == "buttslut">>
+			<<if getSlave($AS).visualAge < 25>>
+				<<if getSlave($AS).boobs < 400>>
+					<<if getSlave($AS).weight <= 10>>
 						<<if random(1,100) > 60>>
 							<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who prefers slaves that look like demure <<= $girl>>s with their clothes on, and are willing to take cock up their pretty asspussies.
 							<<link "Accept bid" "Slave Sold">>
 								<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-								<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+								<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 								<<set $buyer = "D trap lover">>
 							<</link>>
 						<</if>>
@@ -1269,15 +1269,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.height > 185>>
-	<<if $activeSlave.butt > 8>>
-		<<if $activeSlave.buttImplant < 2>>
-			<<if $activeSlave.weight > 10>>
+<<if getSlave($AS).height > 185>>
+	<<if getSlave($AS).butt > 8>>
+		<<if getSlave($AS).buttImplant < 2>>
+			<<if getSlave($AS).weight > 10>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from an eccentric citizen notorious for keeping tall slaves with huge soft butts, just so he can bury himself between their cheeks when they're standing.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D butt bury">>
 					<</link>>
 				<</if>>
@@ -1286,18 +1286,18 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick > 1>>
-	<<if $activeSlave.balls == 1>>
-		<<if $activeSlave.vagina > -1>>
-			<<if canAchieveErection($activeSlave)>>
-				<<if $activeSlave.lactation > 0>>
-					<<if $activeSlave.face > 10>>
-						<<if $activeSlave.faceShape != "masculine">>
+<<if getSlave($AS).dick > 1>>
+	<<if getSlave($AS).balls == 1>>
+		<<if getSlave($AS).vagina > -1>>
+			<<if canAchieveErection(getSlave($AS))>>
+				<<if getSlave($AS).lactation > 0>>
+					<<if getSlave($AS).face > 10>>
+						<<if getSlave($AS).faceShape != "masculine">>
 							<<if random(1,100) > 60>>
 								<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen with strong opinions on futas: he likes a feminine $girl with a nice cock, a lovely pussy, no visible balls and yet the ability to get hard, and plentifully milky nipples.
 								<<link "Accept bid" "Slave Sold">>
 									<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-									<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+									<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 									<<set $buyer = "D milky herm">>
 								<</link>>
 							<</if>>
@@ -1309,15 +1309,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick == 0>>
-	<<if $activeSlave.muscles > 30>>
-		<<if $activeSlave.devotion > 20>>
-			<<if $activeSlave.height > 180>>
+<<if getSlave($AS).dick == 0>>
+	<<if getSlave($AS).muscles > 30>>
+		<<if getSlave($AS).devotion > 20>>
+			<<if getSlave($AS).height > 180>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen whose friends never let him hear the end of his incorrigibly romantic treatment of his apartment full of amazons.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D amazon hunter">>
 					<</link>>
 				<</if>>
@@ -1327,16 +1327,16 @@ __Bids Received__
 <</if>>
 
 <<if $seePreg != 0>>
-	<<if $activeSlave.ovaries == 1>>
-		<<if $activeSlave.preg > -2>>
-			<<if $activeSlave.muscles > 30>>
-				<<if $activeSlave.weight <= 10>>
-					<<if $activeSlave.height < 165>>
+	<<if getSlave($AS).ovaries == 1>>
+		<<if getSlave($AS).preg > -2>>
+			<<if getSlave($AS).muscles > 30>>
+				<<if getSlave($AS).weight <= 10>>
+					<<if getSlave($AS).height < 165>>
 						<<if random(1,100) > 60>>
 							<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who keeps a large harem of lithe, muscular <<= $girl>>s to bear him children.
 							<<link "Accept bid" "Slave Sold">>
 								<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-								<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+								<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 								<<set $buyer = "D shorty breeder">>
 							<</link>>
 						<</if>>
@@ -1347,16 +1347,16 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.devotion > 20>>
-	<<if $activeSlave.fetish == "cumslut">>
-		<<if $activeSlave.lips > 30>>
-			<<if hasAnyArms($activeSlave) && hasAnyLegs($activeSlave)>>
-				<<if $activeSlave.skill.oral > 50>>
+<<if getSlave($AS).devotion > 20>>
+	<<if getSlave($AS).fetish == "cumslut">>
+		<<if getSlave($AS).lips > 30>>
+			<<if hasAnyArms(getSlave($AS)) && hasAnyLegs(getSlave($AS))>>
+				<<if getSlave($AS).skill.oral > 50>>
 					<<if random(1,100) > 60>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.35)/500))>>'' from a prominent citizen who's looking for a fresh, skilled pair of lips eager to wrap around a thick cock.
 						<<link "Accept bid" "Slave Sold">>
 							<<set _Price = 500*Math.trunc((_slaveCost*1.35)/500)>>
-							<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+							<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 							<<set $buyer = "D oral servants">>
 						<</link>>
 					<</if>>
@@ -1366,16 +1366,16 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.vaginal <= 10>>
-	<<if $activeSlave.skill.anal <= 10>>
-		<<if $activeSlave.skill.oral <= 10>>
-			<<if $activeSlave.skill.whoring <= 10>>
-				<<if $activeSlave.skill.entertainment <= 10>>
+<<if getSlave($AS).skill.vaginal <= 10>>
+	<<if getSlave($AS).skill.anal <= 10>>
+		<<if getSlave($AS).skill.oral <= 10>>
+			<<if getSlave($AS).skill.whoring <= 10>>
+				<<if getSlave($AS).skill.entertainment <= 10>>
 					<<if random(1,100) > 80>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.15)/500))>>'' from a prominent citizen who's a notoriously inexperienced lover; it's painfully obvious that he prefers inexperienced slaves as they make him feel less insecure.
 						<<link "Accept bid" "Slave Sold">>
 							<<set _Price = 500*Math.trunc((_slaveCost*1.15)/500)>>
-							<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+							<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 							<<set $buyer = "D r9k">>
 						<</link>>
 					<</if>>
@@ -1385,15 +1385,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.weight > 10>>
-	<<if $activeSlave.muscles > 5>>
-		<<if $activeSlave.health.condition > 60>>
+<<if getSlave($AS).weight > 10>>
+	<<if getSlave($AS).muscles > 5>>
+		<<if getSlave($AS).health.condition > 60>>
 			<<if _slaveCost < 10000>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a prominent citizen who takes unusually close interest in $his health and muscle tone, and cannot quite hide his salivation as he does so.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "D cannibal">>
 					<</link>>
 				<</if>>
@@ -1402,33 +1402,33 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.porn.prestige == 1>>
+<<if getSlave($AS).porn.prestige == 1>>
 	<<if random(1,100) == 69>>
 		<br>''<<print cashFormat(200*Math.trunc((_slaveCost*2)/200))>>'' from an obsessive fan who absolutely must have $him for himself.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 200*Math.trunc((_slaveCost*2)/200)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "obsessed fan">>
 		<</link>>
 	<</if>>
-<<elseif $activeSlave.porn.prestige == 3>>
+<<elseif getSlave($AS).porn.prestige == 3>>
 	<<if random(1,100) > 90>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.3)/500))>>'' from a studio interested in continued production of $his porn.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.3)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "porn studio">>
 		<</link>>
 	<</if>>
 <</if>>
 
 <<if $arcologies[0].FSDegradationist == "unset">>
-	<<if $activeSlave.intelligenceImplant < 15>>
+	<<if getSlave($AS).intelligenceImplant < 15>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in educating slaves and reselling them at a profit.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "teaching trainer">>
 			<</link>>
 		<</if>>
@@ -1436,12 +1436,12 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSBodyPurist == "unset">>
-	<<if $activeSlave.boobsImplant == 0>>
+	<<if getSlave($AS).boobsImplant == 0>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in filling slaves with implants before resale.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "implanting trainer">>
 			<</link>>
 		<</if>>
@@ -1449,12 +1449,12 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSTransformationFetishist == "unset">>
-	<<if $activeSlave.boobsImplant > 0>>
+	<<if getSlave($AS).boobsImplant > 0>>
 		<<if random(1,100) > 60>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in fixing slaves who have been surgically ruined with overimplantation.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "purifying trainer">>
 			<</link>>
 		<</if>>
@@ -1462,14 +1462,14 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSAssetExpansionist == "unset">>
-	<<if $activeSlave.boobs > 600>>
-		<<if $activeSlave.butt > 3>>
-			<<if $activeSlave.weight > 10>>
+	<<if getSlave($AS).boobs > 600>>
+		<<if getSlave($AS).butt > 3>>
+			<<if getSlave($AS).weight > 10>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in slimming down fat slaves to appeal to buyers who prefer slim <<= $girl>>s.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "slimming trainer">>
 					<</link>>
 				<</if>>
@@ -1479,14 +1479,14 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSSlimnessEnthusiast == "unset">>
-	<<if $activeSlave.boobs < 600>>
-		<<if $activeSlave.butt < 3>>
-			<<if $activeSlave.weight < -10>>
+	<<if getSlave($AS).boobs < 600>>
+		<<if getSlave($AS).butt < 3>>
+			<<if getSlave($AS).weight < -10>>
 				<<if random(1,100) > 60>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in improving slaves with disappointing assets; they prefer pharmaceutical means but are not averse to surgical intervention if necessary.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "broadening trainer">>
 					<</link>>
 				<</if>>
@@ -1495,14 +1495,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobs > 1000>>
-	<<if $activeSlave.boobsImplant == 0>>
-		<<if $activeSlave.lactation == 0>>
+<<if getSlave($AS).boobs > 1000>>
+	<<if getSlave($AS).boobsImplant == 0>>
+		<<if getSlave($AS).lactation == 0>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in getting $women ready to be dairy cows by using aggressive hormonal and pharmaceutical treatment to balloon their tits.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "cow trainer">>
 				<</link>>
 			<</if>>
@@ -1511,13 +1511,13 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSGenderFundamentalist == "unset">>
-	<<if $activeSlave.balls > 0>>
-		<<if $activeSlave.boobs < 500>>
+	<<if getSlave($AS).balls > 0>>
+		<<if getSlave($AS).boobs < 500>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in feminizing imperfect shemales; an orchiectomy is invariably their first step.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "clipping trainer">>
 				<</link>>
 			<</if>>
@@ -1526,13 +1526,13 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSGenderRadicalist == "unset">>
-	<<if $activeSlave.dick > 0>>
+	<<if getSlave($AS).dick > 0>>
 		<<if _slaveCost > 10000>>
 			<<if random(1,100) > 60>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a slave trainer that specializes in creating proper slave women from raw material that falls short of that ideal but has potential anyway.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "reassignment trainer">>
 				<</link>>
 			<</if>>
@@ -1540,27 +1540,27 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobs - $activeSlave.boobsImplant > 2000>>
-	<<if $activeSlave.lactation > 1>>
+<<if getSlave($AS).boobs - getSlave($AS).boobsImplant > 2000>>
+	<<if getSlave($AS).lactation > 1>>
 		<<if random(1,100) > 70>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner working towards autarkic slave pastoralism. He's awed by $his milk productivity.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "pastoralist arcology">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.devotion > 50>>
-	<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant > 50>>
-		<<if $activeSlave.intelligenceImplant >= 30>>
+<<if getSlave($AS).devotion > 50>>
+	<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant > 50>>
+		<<if getSlave($AS).intelligenceImplant >= 30>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner building a facsimile of ancient Egypt. He's in the market for wise and educated slaves willing to pass on their skills.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "egyptian revivalist arcology">>
 				<</link>>
 			<</if>>
@@ -1568,14 +1568,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.combat >= 1>>
-	<<if $activeSlave.health.condition > 40>>
-		<<if $activeSlave.muscles > 25>>
+<<if getSlave($AS).skill.combat >= 1>>
+	<<if getSlave($AS).health.condition > 40>>
+		<<if getSlave($AS).muscles > 25>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner building a recreation of the Great Aztec Empire. He's in the market for willing, strong and combat ready slaves, to bolster his empire
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "aztec revivalist arcology">>
 				<</link>>
 			<</if>>
@@ -1583,14 +1583,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.skill.combat > 0>>
-	<<if $activeSlave.health.condition > 40>>
-		<<if $activeSlave.muscles > 5>>
+<<if getSlave($AS).skill.combat > 0>>
+	<<if getSlave($AS).health.condition > 40>>
+		<<if getSlave($AS).muscles > 5>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner building a facsimile of classical Rome. He's in the market for slaves with basic combat skills to fight in modern gladiatorial combats.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "roman revivalist arcology">>
 				<</link>>
 			<</if>>
@@ -1598,14 +1598,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.health.condition > 40>>
-	<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant > 20>>
-		<<if $activeSlave.muscles > 5>>
+<<if getSlave($AS).health.condition > 40>>
+	<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant > 20>>
+		<<if getSlave($AS).muscles > 5>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from an arcology owner who's crowned himself a neo-noble, looking for healthy, intelligent, and fit slaves to build up a prestigious harem worthy of a genuine King.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "neoimperialist arcology">>
 				<</link>>
 			<</if>>
@@ -1613,27 +1613,27 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.face > 10>>
-	<<if $activeSlave.counter.anal < 100>>
+<<if getSlave($AS).face > 10>>
+	<<if getSlave($AS).counter.anal < 100>>
 		<<if random(1,100) > 70>>
-			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with interesting religious beliefs, which require beautiful slaves to be available to the public. Since $activeSlave.slaveName is pretty and not heavily used, he considers it a duty to buy $him and make $him a holy prostitute.
+			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with interesting religious beliefs, which require beautiful slaves to be available to the public. Since <<= getSlave($AS).slaveName>> is pretty and not heavily used, he considers it a duty to buy $him and make $him a holy prostitute.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "chattel religionist arcology">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.muscles > 5>>
-	<<if $activeSlave.muscles <= 95>>
-		<<if $activeSlave.health.condition > 60>>
+<<if getSlave($AS).muscles > 5>>
+	<<if getSlave($AS).muscles <= 95>>
+		<<if getSlave($AS).health.condition > 60>>
 			<<if random(1,100) > 70>>
-				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner devoted to muscular ladies. He seems to feel that $activeSlave.slaveName is not at $his true potential, and wants a try at improving $his physique himself.
+				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner devoted to muscular ladies. He seems to feel that <<= getSlave($AS).slaveName>> is not at $his true potential, and wants a try at improving $his physique himself.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "physical idealist arcology">>
 				<</link>>
 			<</if>>
@@ -1641,14 +1641,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.weight > 30>>
-	<<if $activeSlave.weight <= 95>>
-		<<if $activeSlave.health.condition > 60>>
+<<if getSlave($AS).weight > 30>>
+	<<if getSlave($AS).weight <= 95>>
+		<<if getSlave($AS).health.condition > 60>>
 			<<if random(1,100) > 70>>
-				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner devoted to chubby ladies. He seems to feel that $activeSlave.slaveName can handle a fair bit more weight, and wants a try at fattening $him up himself.
+				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner devoted to chubby ladies. He seems to feel that <<= getSlave($AS).slaveName>> can handle a fair bit more weight, and wants a try at fattening $him up himself.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "hedonistic decadence arcology">>
 				<</link>>
 			<</if>>
@@ -1657,14 +1657,14 @@ __Bids Received__
 <</if>>
 
 <<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
-	<<if $activeSlave.weight < 10>>
-		<<if $activeSlave.muscles < 10>>
-			<<if $activeSlave.belly == 0 && $activeSlave.preg < 1>>
+	<<if getSlave($AS).weight < 10>>
+		<<if getSlave($AS).muscles < 10>>
+			<<if getSlave($AS).belly == 0 && getSlave($AS).preg < 1>>
 				<<if random(1,100) > 80>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/400))>>'' from a chef that likes stuffing more than just turkeys.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.1)/400)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "stuffer chef">>
 					<</link>>
 				<</if>>
@@ -1673,27 +1673,27 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobs > 1000>>
-	<<if $activeSlave.boobsImplant == 0>>
+<<if getSlave($AS).boobs > 1000>>
+	<<if getSlave($AS).boobsImplant == 0>>
 		<<if random(1,100) > 70>>
-			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner who loves breast implants. Since large natural breasts can support larger implants, he seems to feel $activeSlave.slaveName has good potential to be implanted up to a truly gigantic size without too much stretching.
+			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner who loves breast implants. Since large natural breasts can support larger implants, he seems to feel <<= getSlave($AS).slaveName>> has good potential to be implanted up to a truly gigantic size without too much stretching.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "transformation fetishist arcology">>
 			<</link>>
 		<</if>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobs > 800>>
-	<<if $activeSlave.boobsImplant == 0>>
-		<<if $activeSlave.physicalAge < 25>>
+<<if getSlave($AS).boobs > 800>>
+	<<if getSlave($AS).boobsImplant == 0>>
+		<<if getSlave($AS).physicalAge < 25>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner who never fails to dream big. He's interested in $him mostly for growth potential, since $his assets have grown so big, so young.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "asset expansionist arcology">>
 				<</link>>
 			<</if>>
@@ -1701,15 +1701,15 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobs < 500>>
-	<<if $activeSlave.butt < 3>>
-		<<if $activeSlave.physicalAge < 25>>
-			<<if $activeSlave.anus < 2>>
+<<if getSlave($AS).boobs < 500>>
+	<<if getSlave($AS).butt < 3>>
+		<<if getSlave($AS).physicalAge < 25>>
+			<<if getSlave($AS).anus < 2>>
 				<<if random(1,100) > 70>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with simple tastes. He likes his slaves young, slim, and reasonably innocent.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "slimness enthusiast arcology">>
 					<</link>>
 				<</if>>
@@ -1718,14 +1718,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.boobsImplant > 0>>
-	<<if $activeSlave.buttImplant > 0>>
-		<<if $activeSlave.lipsImplant > 0>>
+<<if getSlave($AS).boobsImplant > 0>>
+	<<if getSlave($AS).buttImplant > 0>>
+		<<if getSlave($AS).lipsImplant > 0>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with a hatred of implants that reaches missionary zeal. He buys slaves full of silicone, removes their implants, reconditions them, and resells them whenever his finances will permit.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "body purist arcology">>
 				<</link>>
 			<</if>>
@@ -1733,25 +1733,25 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.trust > 20>>
+<<if getSlave($AS).trust > 20>>
 	<<if random(1,100) > 70>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner who runs a terrifyingly degrading society. He prefers slaves who have been well-treated previously; it lends their screams a certain special authenticity.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "degradationist arcology">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if $activeSlave.intelligenceImplant < 5>>
-	<<if $activeSlave.devotion > 20>>
-		<<if $activeSlave.fetish != "mindbroken">>
+<<if getSlave($AS).intelligenceImplant < 5>>
+	<<if getSlave($AS).devotion > 20>>
+		<<if getSlave($AS).fetish != "mindbroken">>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with an almost messianic calling to educate and improve slaves, though somewhat hypocritically, he prefers to start with reasonably obedient <<= $girl>>s, which usually means slaves broken by someone else.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "paternalist arcology">>
 				<</link>>
 			<</if>>
@@ -1759,16 +1759,16 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick == 0>>
-	<<if $activeSlave.boobs > 800>>
-		<<if $activeSlave.butt > 3>>
-			<<if $activeSlave.devotion > 20>>
-				<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant < -15>>
+<<if getSlave($AS).dick == 0>>
+	<<if getSlave($AS).boobs > 800>>
+		<<if getSlave($AS).butt > 3>>
+			<<if getSlave($AS).devotion > 20>>
+				<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant < -15>>
 					<<if random(1,100) > 70>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner who likes willing, uncomplicated young ladies with bouncing boobs and big butts. He's an uncomplicated sort.
 						<<link "Accept bid" "Slave Sold">>
 							<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-							<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+							<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 							<<set $buyer = "gender fundamentalist arcology">>
 						<</link>>
 					<</if>>
@@ -1778,14 +1778,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.dick > 0>>
-	<<if $activeSlave.face < -10>>
-		<<if $activeSlave.boobs < 400>>
+<<if getSlave($AS).dick > 0>>
+	<<if getSlave($AS).face < -10>>
+		<<if getSlave($AS).boobs < 400>>
 			<<if random(1,100) > 70>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with a notorious fetish for the process of feminization. He prefers diamonds in the rough, because the process of polishing is so much fun.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "gender radicalist arcology">>
 				<</link>>
 			<</if>>
@@ -1793,14 +1793,14 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.race != "mixed race">>
-	<<if $activeSlave.devotion <= 20>>
-		<<if $activeSlave.trust < 20>>
+<<if getSlave($AS).race != "mixed race">>
+	<<if getSlave($AS).devotion <= 20>>
+		<<if getSlave($AS).trust < 20>>
 			<<if random(1,100) > 70>>
-				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with a strongly held belief that $activeSlave.race people should not be slaves. He devotes as much of his resources as he can to manumission of such <<= $girl>>s, concentrating on the downtrodden.
+				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner with a strongly held belief that getSlave($AS).race people should not be slaves. He devotes as much of his resources as he can to manumission of such <<= $girl>>s, concentrating on the downtrodden.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "supremacist arcology">>
 				<</link>>
 			<</if>>
@@ -1809,14 +1809,14 @@ __Bids Received__
 <</if>>
 
 <<if $seePreg != 0>>
-	<<if $activeSlave.race != "mixed race">>
-		<<if $activeSlave.intelligence+$activeSlave.intelligenceImplant < -50>>
-			<<if $activeSlave.ovaries == 1>>
+	<<if getSlave($AS).race != "mixed race">>
+		<<if getSlave($AS).intelligence+getSlave($AS).intelligenceImplant < -50>>
+			<<if getSlave($AS).ovaries == 1>>
 				<<if random(1,100) > 70>>
-					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner working on a project to breed a race of $activeSlave.race people with natural, unquestioning obedience. He clearly considers $him good stock for the project.
+					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.25)/500))>>'' from a fellow arcology owner working on a project to breed a race of getSlave($AS).race people with natural, unquestioning obedience. He clearly considers $him good stock for the project.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*1.25)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "subjugationist arcology">>
 					<</link>>
 				<</if>>
@@ -1831,7 +1831,7 @@ __Bids Received__
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a cheap brothel chain that operates a franchise on a lower level of the arcology.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "cheap brothel">>
 			<</link>>
 		<</if>>
@@ -1840,12 +1840,12 @@ __Bids Received__
 
 <<if $arcologies[0].FSPaternalist == "unset">>
 	<<if _slaveCost < 20000>>
-		<<if $activeSlave.boobsImplant == 0>>
+		<<if getSlave($AS).boobsImplant == 0>>
 			<<if random(1,100) > 50>>
 				<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a factory farm notorious for extracting every drop of value from its slaves' bodies.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "factory farm">>
 				<</link>>
 			<</if>>
@@ -1859,7 +1859,7 @@ __Bids Received__
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a sex arcade that maintains good service quality by rapidly cycling new slaves through their facilities.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "arcade">>
 			<</link>>
 		<</if>>
@@ -1869,13 +1869,13 @@ __Bids Received__
 <<if $seePreg != 0>>
 	<<if $arcologies[0].FSPaternalist == "unset">>
 		<<if _slaveCost < 10000>>
-			<<if $activeSlave.health.condition > 40>>
-				<<if $activeSlave.ovaries == 1>>
+			<<if getSlave($AS).health.condition > 40>>
+				<<if getSlave($AS).ovaries == 1>>
 					<<if random(1,100) > 50>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a high-volume breeding operation interested in $him mostly for $his healthy, functional womb.
 						<<link "Accept bid" "Slave Sold">>
 							<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-							<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+							<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 							<<set $buyer = "volume breeder">>
 						<</link>>
 					<</if>>
@@ -1891,7 +1891,7 @@ __Bids Received__
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.1)/500))>>'' from a group of partners that run a handsome brothel off the promenade.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.1)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "nice brothel">>
 			<</link>>
 		<</if>>
@@ -1900,13 +1900,13 @@ __Bids Received__
 
 <<if $arcologies[0].FSDegradationist == "unset">>
 	<<if _slaveCost < 50000>>
-		<<if $activeSlave.boobsImplant == 0>>
-			<<if $activeSlave.health.condition > 40>>
+		<<if getSlave($AS).boobsImplant == 0>>
+			<<if getSlave($AS).health.condition > 40>>
 				<<if random(1,100) > 50>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*0.8)/500))>>'' from a free-range farm that pays for the high costs of high quality livestock care by aggressively marketing its cruelty-free products.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*0.8)/500)>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "free range">>
 					<</link>>
 				<</if>>
@@ -1915,13 +1915,13 @@ __Bids Received__
 	<</if>>
 <</if>>
 
-<<if $activeSlave.health.condition > 40>>
+<<if getSlave($AS).health.condition > 40>>
 	<<if _slaveCost < 5000>>
 		<<if random(1,100) > 10>>
 			<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from an organ harvesting firm that acquires healthy raw materials cheaply.
 			<<link "Accept bid" "Slave Sold">>
 				<<set _Price = 500*Math.trunc((_slaveCost*1.2)/500)>>
-				<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+				<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 				<<set $buyer = "harvester">>
 			<</link>>
 		<</if>>
@@ -1933,7 +1933,7 @@ __Bids Received__
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1)/500))>>'' from a manufacturer of large sexual appliances that include a living inmate, drugged into helplessness.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "fuckdoll">>
 		<</link>>
 	<</if>>
@@ -1941,13 +1941,13 @@ __Bids Received__
 
 <<if $seeExtreme == 1>>
 	<<if _slaveCost < 5000>>
-		<<if $activeSlave.vagina > -1>>
-			<<if $activeSlave.bellyImplant > -1>>
+		<<if getSlave($AS).vagina > -1>>
+			<<if getSlave($AS).bellyImplant > -1>>
 				<<if random(1,100) > 90>>
 					<br>''<<print cashFormat(7000)>>'' from a porn director interested in a cheap slave with a belly implant for use in a snuff film.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 7000>>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 						<<set $buyer = "tentacle bred">>
 					<</link>>
 				<</if>>
@@ -1960,50 +1960,50 @@ __Bids Received__
 	<br>''<<print cashFormat(500*Math.trunc((_slaveCost*0.9)/500))>>'' from a reputable slave trader who will likely ship $him out of the arcology.
 	<<link "Accept bid" "Slave Sold">>
 		<<set _Price = 500*Math.trunc((_slaveCost*0.9)/500)>>
-		<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+		<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 	<</link>>
 <</if>>
 
-<<if $activeSlave.fetish == "mindbroken">>
+<<if getSlave($AS).fetish == "mindbroken">>
 	<<if random(1,100) > 20>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*0.9)/500))>>'' from a slave trader who buys vast numbers of mindbroken <<= $girl>>s. His purpose is unknown, and none of them are ever seen again.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*0.9)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if ($activeSlave.hears == -2)>>
+<<if (getSlave($AS).hears == -2)>>
 	<<if random(1,100) > 60>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.3)/500))>>'' from a concert venue that wants a sex slave to keep the stage crew satisfied, but doesn't want to worry about any possible hearing loss.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.3)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "concert hall">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if ($activeSlave.sexualFlaw == "crude")>>
+<<if (getSlave($AS).sexualFlaw == "crude")>>
 	<<if random(1,100) > 60>>
 		<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.4)/500))>>'' from a slave trainer that specializes in teaching proper manners and etiquette to low-class slaves.
 		<<link "Accept bid" "Slave Sold">>
 			<<set _Price = 500*Math.trunc((_slaveCost*1.4)/500)>>
-			<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+			<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 			<<set $buyer = "etiquette coach">>
 		<</link>>
 	<</if>>
 <</if>>
 
-<<if hasBothEyes($activeSlave)>>
-	<<if canSeePerfectly($activeSlave)>>
-		<<if isSlim($activeSlave)>>
+<<if hasBothEyes(getSlave($AS))>>
+	<<if canSeePerfectly(getSlave($AS))>>
+		<<if isSlim(getSlave($AS))>>
 			<<if random(1,100) > 65>>
 				<br>''<<print cashFormat(450*Math.trunc((_slaveCost*1.45)/450))>>'' from a mercenary sniper looking for a small slave to act as his spotter.
 				<<link "Accept bid" "Slave Sold">>
 					<<set _Price = 450*Math.trunc((_slaveCost*1.45)/450)>>
-					<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+					<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<<set $buyer = "sniper spotter">>
 				<</link>>
 			<</if>>
@@ -2015,69 +2015,69 @@ __Bids Received__
 	<<if $peacekeepers>>
 		<<if $peacekeepers.strength >= 50>>
 			<<if $peacekeepers.attitude < 100>>
-				<<if $activeSlave.skill.oral + $activeSlave.skill.anal + $activeSlave.skill.vaginal > 100>>
+				<<if getSlave($AS).skill.oral + getSlave($AS).skill.anal + getSlave($AS).skill.vaginal > 100>>
 					<br>''<<print cashFormat(500*Math.trunc((_slaveCost*0.5)/500))>>'' from the officer in charge of 'recreational activities' for General $peacekeepers.generalName's forces. This is far less than the slave is worth, but the bid comes with the implicit offer of more influence over the peacekeepers.
 					<<link "Accept bid" "Slave Sold">>
 						<<set _Price = 500*Math.trunc((_slaveCost*0.5)/500), $buyer = "peacekeepers">>
-						<<run cashX(_Price, "slaveTransfer", $activeSlave)>>
+						<<run cashX(_Price, "slaveTransfer", getSlave($AS))>>
 					<</link>>
 				<</if>>
 			<<else>>
 				<<switch $peacekeepers.tastes>>
 				<<case "lusty futanari">>
-					<<if $activeSlave.balls > 0 && $activeSlave.ballType != "sterile" && $activeSlave.scrotum > 0 && $activeSlave.dick > 0 && $activeSlave.vagina > -1 && $activeSlave.energy > 50>>
+					<<if getSlave($AS).balls > 0 && getSlave($AS).ballType != "sterile" && getSlave($AS).scrotum > 0 && getSlave($AS).dick > 0 && getSlave($AS).vagina > -1 && getSlave($AS).energy > 50>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "cum addicts">>
-					<<if $activeSlave.fetish == "cumslut" && $activeSlave.fetishStrength > 95 && $activeSlave.sexualFlaw == "cum addict">>
+					<<if getSlave($AS).fetish == "cumslut" && getSlave($AS).fetishStrength > 95 && getSlave($AS).sexualFlaw == "cum addict">>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "horny MILFs">>
-					<<if $activeSlave.physicalAge > 34 && $activeSlave.visualAge > 34 && $activeSlave.energy > 80>>
+					<<if getSlave($AS).physicalAge > 34 && getSlave($AS).visualAge > 34 && getSlave($AS).energy > 80>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "big-breasted cows">>
-					<<if $activeSlave.boobs > 2000 && $activeSlave.lactation > 1>>
+					<<if getSlave($AS).boobs > 2000 && getSlave($AS).lactation > 1>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "beautiful young sex slaves">>
-					<<if $activeSlave.physicalAge < 25 && $activeSlave.visualAge < 25 && $activeSlave.face > 95>>
+					<<if getSlave($AS).physicalAge < 25 && getSlave($AS).visualAge < 25 && getSlave($AS).face > 95>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "fertile virgins">>
-					<<if $activeSlave.vagina == 0 && isFertile($activeSlave)>>
+					<<if getSlave($AS).vagina == 0 && isFertile(getSlave($AS))>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "lusty preggos">>
-					<<if $activeSlave.preg > $activeSlave.pregData.normalBirth/4 && $activeSlave.energy > 50>>
+					<<if getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4 && getSlave($AS).energy > 50>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "baby obsessed breeders">>
-					<<if $activeSlave.preg > $activeSlave.pregData.normalBirth/4 && $activeSlave.fetish == "pregnancy" && $activeSlave.sexualFlaw == "breeder">>
+					<<if getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4 && getSlave($AS).fetish == "pregnancy" && getSlave($AS).sexualFlaw == "breeder">>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "bellies with girls attached">>
-					<<if $activeSlave.belly >= 300000>>
+					<<if getSlave($AS).belly >= 300000>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "flesh balloons">>
-					<<if $activeSlave.boobs > 20000 && $activeSlave.butt > 10>>
+					<<if getSlave($AS).boobs > 20000 && getSlave($AS).butt > 10>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<<case "oppai loli">>
-					<<if $activeSlave.boobs > 2000 && $activeSlave.physicalAge < 13 && $activeSlave.visualAge < 13>>
+					<<if getSlave($AS).boobs > 2000 && getSlave($AS).physicalAge < 13 && getSlave($AS).visualAge < 13>>
 						<br>''<<print cashFormat(500*Math.trunc((_slaveCost*1.2)/500))>>'' from the sex slave buyer for General $peacekeepers.generalName's client state, which prefers $peacekeepers.tastes.
-						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", $activeSlave)>><</link>>
+						<<link "Accept bid" "Slave Sold">><<set _Price = 500*Math.trunc((_slaveCost*1.2)/500), $buyer = "peacekeepers">><<run cashX(_Price, "slaveTransfer", getSlave($AS))>><</link>>
 					<</if>>
 				<</switch>>
 			<</if>>
diff --git a/src/uncategorized/slaveSold.tw b/src/uncategorized/slaveSold.tw
index 0297bb6541eafc608657ed919561541443f70fca..25bd4500ced8df930964aa6a0dcb1b637789ac7c 100644
--- a/src/uncategorized/slaveSold.tw
+++ b/src/uncategorized/slaveSold.tw
@@ -1,71 +1,70 @@
 :: Slave Sold [nobr]
 
 <<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Main", $encyclopedia = "Personal Assistant">>
+<<run App.Utils.setLocalPronouns(getSlave($AS))>>
 
-<<setLocalPronouns $activeSlave>>
-
-<<if !["abortion TV", "elite auction", "eugenics arcology", "organ crafter", "peacekeepers", "repopulationist arcology", "tentacle bred", "womb filler"].includes($buyer) && ((($activeSlave.actualAge < $retirementAge-1) && $policies.retirement.physicalAgePolicy == 0) || (($activeSlave.physicalAge < $retirementAge-1) && $policies.retirement.physicalAgePolicy == 1))>> /* organ crafter is not viable now, the elite/peacekeepers won't part so easily with a prize, some take place x months later when the event's max is 15 weeks, and the rest are snuff events. You don't want that slave back. */
+<<if !["abortion TV", "elite auction", "eugenics arcology", "organ crafter", "peacekeepers", "repopulationist arcology", "tentacle bred", "womb filler"].includes($buyer) && (((getSlave($AS).actualAge < $retirementAge-1) && $policies.retirement.physicalAgePolicy == 0) || ((getSlave($AS).physicalAge < $retirementAge-1) && $policies.retirement.physicalAgePolicy == 1))>> /* organ crafter is not viable now, the elite/peacekeepers won't part so easily with a prize, some take place x months later when the event's max is 15 weeks, and the rest are snuff events. You don't want that slave back. */
 	<<if !$boomerangSlave || $boomerangWeeks > 15>>
-		<<if $activeSlave.fuckdoll == 0>>
-			<<if canWalk($activeSlave)>>
-				<<if canTalk($activeSlave)>>
-					<<if $activeSlave.fetish != "mindbroken">>
-						<<if $activeSlave.devotion > 50>>
-							<<if $activeSlave.trust > 95 || $activeSlave.trust < -20 || ($activeSlave.intelligence+$activeSlave.intelligenceImplant < -15)>>
-								<<set $boomerangSlave = clone($activeSlave), $boomerangWeeks = 1, $boomerangBuyer = $buyer>>
+		<<if getSlave($AS).fuckdoll == 0>>
+			<<if canWalk(getSlave($AS))>>
+				<<if canTalk(getSlave($AS))>>
+					<<if getSlave($AS).fetish != "mindbroken">>
+						<<if getSlave($AS).devotion > 50>>
+							<<if getSlave($AS).trust > 95 || getSlave($AS).trust < -20 || (getSlave($AS).intelligence+getSlave($AS).intelligenceImplant < -15)>>
+								<<set $boomerangSlave = clone(getSlave($AS)), $boomerangWeeks = 1, $boomerangBuyer = $buyer>>
 								<<set $boomerangSlave.assignment = "rest">>
 								<<set $boomerangStats = {PCpregSource: 0, PCmother: 0, PCfather: 0, boomerangMother: [], boomerangFather: [], boomerangPregSources: [], boomerangMotherTank: [], boomerangFatherTank: [], boomerangRelationship: 0, boomerangRivalry: 0, boomerangRelation: 0, boomerangBody: 0}>>
-								<<if $activeSlave.ID == $PC.pregSource>>
-									<<set $boomerangStats.PCpregSource = $activeSlave.ID>>
+								<<if getSlave($AS).ID == $PC.pregSource>>
+									<<set $boomerangStats.PCpregSource = getSlave($AS).ID>>
 								<</if>>
-								<<if $PC.mother == $activeSlave.ID>>
-									<<set $boomerangStats.PCmother = $activeSlave.ID>>
+								<<if $PC.mother == getSlave($AS).ID>>
+									<<set $boomerangStats.PCmother = getSlave($AS).ID>>
 								<</if>>
-								<<if $PC.father == $activeSlave.ID>>
-									<<set $boomerangStats.PCfather = $activeSlave.ID>>
+								<<if $PC.father == getSlave($AS).ID>>
+									<<set $boomerangStats.PCfather = getSlave($AS).ID>>
 								<</if>>
 								<<for _ss = 0; _ss < $slaves.length; _ss++>>
-									<<if $slaves[_ss].ID != $activeSlave.ID>>
-										<<if $slaves[_ss].mother == $activeSlave.ID>>
+									<<if $slaves[_ss].ID != getSlave($AS).ID>>
+										<<if $slaves[_ss].mother == getSlave($AS).ID>>
 											<<set $boomerangStats.boomerangMother.push($slaves[_ss].ID)>>
 										<</if>>
-										<<if $slaves[_ss].father == $activeSlave.ID>>
+										<<if $slaves[_ss].father == getSlave($AS).ID>>
 											<<set $boomerangStats.boomerangFather.push($slaves[_ss].ID)>>
 										<</if>>
-										<<if $activeSlave.ID == $slaves[_ss].pregSource>>
+										<<if getSlave($AS).ID == $slaves[_ss].pregSource>>
 											<<set $boomerangStats.boomerangPregSources.push($slaves[_ss].ID)>>
 										<</if>>
 									<</if>>
 								<</for>>
 								<<if $incubator > 0>>
 									<<for _z = 0; _z < $tanks.length; _z++>>
-										<<if $activeSlave.ID == $tanks[_z].mother>>
+										<<if getSlave($AS).ID == $tanks[_z].mother>>
 											<<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>>
 										<</if>>
-										<<if $activeSlave.ID == $tanks[_z].father>>
+										<<if getSlave($AS).ID == $tanks[_z].father>>
 											<<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>>
 										<</if>>
 									<</for>>
 								<</if>>
 								<<if $nursery > 0>>
 									<<for _z = 0; _z < $cribs.length; _z++>>
-										<<if $activeSlave.ID == $cribs[_z].mother>>
+										<<if getSlave($AS).ID == $cribs[_z].mother>>
 											<<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>>
 										<</if>>
-										<<if $activeSlave.ID == $cribs[_z].father>>
+										<<if getSlave($AS).ID == $cribs[_z].father>>
 											<<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>>
 										<</if>>
 									<</for>>
 								<</if>>
 								<<set $boomerangSlave.sisters = 0, $boomerangSlave.daughters = 0>>
-								<<if $activeSlave.relationship > 0>>
-									<<set $boomerangStats.boomerangRelationship = $activeSlave.relationshipTarget>>
+								<<if getSlave($AS).relationship > 0>>
+									<<set $boomerangStats.boomerangRelationship = getSlave($AS).relationshipTarget>>
 								<</if>>
-								<<if $activeSlave.rivalry > 0>>
-									<<set $boomerangStats.boomerangRivalry = $activeSlave.rivalryTarget>>
+								<<if getSlave($AS).rivalry > 0>>
+									<<set $boomerangStats.boomerangRivalry = getSlave($AS).rivalryTarget>>
 								<</if>>
-								<<if $activeSlave.bodySwap > 0>>
-									<<set _myBody = $slaves.findIndex(function(s) { return s.origBodyOwnerID == $activeSlave.ID; })>>
+								<<if getSlave($AS).bodySwap > 0>>
+									<<set _myBody = $slaves.findIndex(function(s) { return s.origBodyOwnerID == getSlave($AS).ID; })>>
 									<<if _myBody != -1>>
 										<<set $boomerangStats.boomerangBody = $slaves[_myBody].ID>>
 									<</if>>
@@ -81,27 +80,27 @@
 
 <<for _ss = 0; _ss < $slaves.length; _ss++>>
 	<<setLocalPronouns $slaves[_ss] 2>>
-	<<if $activeSlave.mother == $slaves[_ss].ID>>
+	<<if getSlave($AS).mother == $slaves[_ss].ID>>
 		$slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $daughter.
 		<br><br>
 		<<set $slaves[_ss].devotion -= 20>>
 	<</if>>
-	<<if $activeSlave.father == $slaves[_ss].ID>>
+	<<if getSlave($AS).father == $slaves[_ss].ID>>
 		$slaves[_ss].slaveName is @@.mediumorchid;disappointed@@ that you are selling _his2 $daughter.
 		<br><br>
 		<<set $slaves[_ss].devotion -= 10>>
 	<</if>>
-	<<if $activeSlave.ID == $slaves[_ss].father>>
+	<<if getSlave($AS).ID == $slaves[_ss].father>>
 		$slaves[_ss].slaveName is @@.mediumorchid;saddened@@ that you are selling _his2 father.
 		<br><br>
 		<<set $slaves[_ss].devotion -= 10>>
 	<</if>>
-	<<if $activeSlave.ID == $slaves[_ss].mother>>
+	<<if getSlave($AS).ID == $slaves[_ss].mother>>
 		$slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 mother.
 		<br><br>
 		<<set $slaves[_ss].devotion -= 20>>
 	<</if>>
-	<<switch areSisters($activeSlave, $slaves[_ss])>>
+	<<switch areSisters(getSlave($AS), $slaves[_ss])>>
 	<<case 1>>
 		$slaves[_ss].slaveName is @@.mediumorchid;devastated@@ that you are selling _his2 twin.
 		<br><br>
@@ -116,15 +115,15 @@
 		<<set $slaves[_ss].devotion -= 10>>
 	<</switch>>
 <</for>>
-<<if $activeSlave.relationship > 0>>
-	<<set _ss = $slaveIndices[$activeSlave.relationshipTarget]>>
+<<if getSlave($AS).relationship > 0>>
+	<<set _ss = $slaveIndices[getSlave($AS).relationshipTarget]>>
 	<<if (def _ss) && $slaves[_ss].fetish != "mindbroken">>
 		<<setLocalPronouns $slaves[_ss] 2>>
 		$slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 best source of comfort and companionship in a life of bondage.
 		<br><br>
 		<<set $slaves[_ss].devotion -= $slaves[_ss].relationship*10>>
 	<</if>>
-<<elseif $activeSlave.relationship == -3>>
+<<elseif getSlave($AS).relationship == -3>>
 	Selling one of your slave $wives is @@.red;socially unacceptable.@@ In addition, your other devoted slaves are @@.gold;worried@@ that you may not respect their status.
 	<br><br>
 	<<run repX(-200, "slaveTransfer")>>
@@ -134,8 +133,8 @@
 		<</if>>
 	<</for>>
 <</if>>
-<<if $activeSlave.rivalry != 0>>
-	<<set _ss = $slaveIndices[$activeSlave.rivalryTarget]>>
+<<if getSlave($AS).rivalry != 0>>
+	<<set _ss = $slaveIndices[getSlave($AS).rivalryTarget]>>
 	<<if (def _ss) && $slaves[_ss].fetish != "mindbroken">>
 		<<setLocalPronouns $slaves[_ss] 2>>
 		$slaves[_ss].slaveName is @@.hotpink;pleased@@ that _he2 won't have to see _his2 rival any more.
@@ -148,7 +147,7 @@
 <<switch $buyer>>
 
 <<case "housekeeper">>
-	$activeSlave.slaveName settles into $his new life in a humbler part of $arcologies[0].name, and can occasionally be seen accompanying $his master in public.
+	getSlave($AS).slaveName settles into $his new life in a humbler part of $arcologies[0].name, and can occasionally be seen accompanying $his master in public.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].trust >= -20)>>
 			<<if ($slaves[_ss].physicalAge > 30)>>
@@ -162,7 +161,7 @@
 	<</if>>
 
 <<case "buttbreaker">>
-	In short order, $activeSlave.slaveName is heard out on the promenade, sobbing and screaming as $his new owner breaks in $his virgin butt in public.
+	In short order, getSlave($AS).slaveName is heard out on the promenade, sobbing and screaming as $his new owner breaks in $his virgin butt in public.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].anus == 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -174,7 +173,7 @@
 	<</if>>
 
 <<case "cheap brothel">>
-	$activeSlave.slaveName is soon seen on shift outside a seedy establishment in the lower arcology, mechanically offering $his holes to passersby and flinching whenever $his superiors come out to check on $him.
+	getSlave($AS).slaveName is soon seen on shift outside a seedy establishment in the lower arcology, mechanically offering $his holes to passersby and flinching whenever $his superiors come out to check on $him.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].assignment == "whore") || ($slaves[_ss].assignment == "work in the brothel")>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -186,7 +185,7 @@
 	<</if>>
 
 <<case "nice brothel">>
-	$activeSlave.slaveName disappears for a time as $his training is perfected, but $he reappears in the refined brothel, wearing classy clothes and flirting gracefully with patrons of $his body.
+	getSlave($AS).slaveName disappears for a time as $his training is perfected, but $he reappears in the refined brothel, wearing classy clothes and flirting gracefully with patrons of $his body.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].assignment == "whore") || ($slaves[_ss].assignment == "work in the brothel")>>
 			<<set $slaves[_ss].trust += 1>>
@@ -198,7 +197,7 @@
 	<</if>>
 
 <<case "factory farm">>
-	$activeSlave.slaveName is never again seen in public, but $his fate is obvious: $he's chained to a milking rack somewhere in a cavernous factory farm, with milk draining from $his tits<<if $activeSlave.balls > 0>> and an electroshock stimulator up $his butt to force $him to cum<<elseif $activeSlave.ovaries > 0>> and a new baby in $his belly every ten months<</if>>.
+	getSlave($AS).slaveName is never again seen in public, but $his fate is obvious: $he's chained to a milking rack somewhere in a cavernous factory farm, with milk draining from $his tits<<if getSlave($AS).balls > 0>> and an electroshock stimulator up $his butt to force $him to cum<<elseif getSlave($AS).ovaries > 0>> and a new baby in $his belly every ten months<</if>>.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 50)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -210,7 +209,7 @@
 	<</if>>
 
 <<case "elite auction">>
-	$activeSlave.slaveName is quickly escorted out by $his new master. $He is rarely seen in public anymore, but $his records show $he is settling well into being $his new owner's breeder.
+	getSlave($AS).slaveName is quickly escorted out by $his new master. $He is rarely seen in public anymore, but $his records show $he is settling well into being $his new owner's breeder.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].breedingMark != 1 && $propOutcome == 1)>>
 			<<set $slaves[_ss].devotion -= 5>>
@@ -218,11 +217,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		Your non-chosen slaves @@.mediumorchid;resent@@ you for denying them the special treatment $activeSlave.slaveName is receiving.
+		Your non-chosen slaves @@.mediumorchid;resent@@ you for denying them the special treatment getSlave($AS).slaveName is receiving.
 	<</if>>
 
 <<case "free range">>
-	$activeSlave.slaveName is a common sight around the arcology, since free range cows are allowed to range between milkings. $He seems reasonably content.
+	getSlave($AS).slaveName is a common sight around the arcology, since free range cows are allowed to range between milkings. $He seems reasonably content.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].assignment == "get milked") || ($slaves[_ss].assignment == "work in the dairy")>>
 			<<set $slaves[_ss].trust += 1>>
@@ -234,7 +233,7 @@
 	<</if>>
 
 <<case "volume breeder">>
-	The breeder already has stud stock, and $activeSlave.slaveName is rapidly impregnated. $He's kept in a stockyard on the lower service levels of the arcology, one of a dense crowd of beaten-down women with gravid bellies.
+	The breeder already has stud stock, and <<= getSlave($AS).slaveName>> is rapidly impregnated. $He's kept in a stockyard on the lower service levels of the arcology, one of a dense crowd of beaten-down women with gravid bellies.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].ovaries == 1)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -246,7 +245,7 @@
 	<</if>>
 
 <<case "preg fetishist">>
-	$activeSlave.slaveName settles in to $his new role easily enough; $he's one of the most pampered slaves in the arcology. All $he's expected to do is light housework and self-maintenance, along with gentle unprotected vaginal sex with $his new master.
+	getSlave($AS).slaveName settles in to $his new role easily enough; $he's one of the most pampered slaves in the arcology. All $he's expected to do is light housework and self-maintenance, along with gentle unprotected vaginal sex with $his new master.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "pregnancy")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -260,7 +259,7 @@
 	<</if>>
 
 <<case "nipple fetishist">>
-	$activeSlave.slaveName's new mistress is an exhibitionist as well as a nipple fetishist, and before long, she's seen in the club, riding $activeSlave.slaveName's chest with her wet pussy. The slave is expected to keep $his nipples erect for her at all times.
+	getSlave($AS).slaveName's new mistress is an exhibitionist as well as a nipple fetishist, and before long, she's seen in the club, riding <<= getSlave($AS).slaveName>>'s chest with her wet pussy. The slave is expected to keep $his nipples erect for her at all times.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "boobs")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -274,7 +273,7 @@
 	<</if>>
 
 <<case "nipple fucker">>
-	$activeSlave.slaveName's new master is an exhibitionist as well as a nipple fetishist, and before long, he's seen in the club, plowing $activeSlave.slaveName's engorged breasts. Since nipple cunts aren't naturally lubricated, some owners find stimulating milk production a suitable replacement; judging from the pooling fluids and sympathetic gushes from $his ignored tit, he is one of them.
+	getSlave($AS).slaveName's new master is an exhibitionist as well as a nipple fetishist, and before long, he's seen in the club, plowing <<= getSlave($AS).slaveName>>'s engorged breasts. Since nipple cunts aren't naturally lubricated, some owners find stimulating milk production a suitable replacement; judging from the pooling fluids and sympathetic gushes from $his ignored tit, he is one of them.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "boobs")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -290,7 +289,7 @@
 	<</if>>
 
 <<case "anal fetishist">>
-	The next time $activeSlave.slaveName is seen in public, on an errand for $his master, $he's <<if canWalk($activeSlave)>>walking<<else>>moving<</if>> a little oddly. $His naked dick has the flaccidity of sexual satiation, and $he has a tired but dreamy expression on $his face.
+	The next time getSlave($AS).slaveName is seen in public, on an errand for $his master, $he's <<if canWalk(getSlave($AS))>>walking<<else>>moving<</if>> a little oddly. $His naked dick has the flaccidity of sexual satiation, and $he has a tired but dreamy expression on $his face.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "buttslut")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -304,7 +303,7 @@
 	<</if>>
 
 <<case "oral fetishist">>
-	The next time $activeSlave.slaveName is seen in public, $he's obediently accompanying $his new master. After doing some business on the promenade, he pulls $him into an alcove and lets $him masturbate as he uses $his throat.
+	The next time getSlave($AS).slaveName is seen in public, $he's obediently accompanying $his new master. After doing some business on the promenade, he pulls $him into an alcove and lets $him masturbate as he uses $his throat.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "cumslut")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -318,7 +317,7 @@
 	<</if>>
 
 <<case "pain fetishist">>
-	$activeSlave.slaveName is not seen again in public for a long time, but the crack of leather on flesh and the resultant hoarse female howling that issues from $his new mistress's apartment is well-known.
+	getSlave($AS).slaveName is not seen again in public for a long time, but the crack of leather on flesh and the resultant hoarse female howling that issues from $his new mistress's apartment is well-known.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "masochist")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -332,7 +331,7 @@
 	<</if>>
 
 <<case "sadism fetishist">>
-	$activeSlave.slaveName rarely leaves $his new mistress's apartments, but the slave rumor mill bears stories about $him to your penthouse anyway. $His mistress uses $him as a rapist on demand, and $his dumbly obedient brutality is renowned.
+	getSlave($AS).slaveName rarely leaves $his new mistress's apartments, but the slave rumor mill bears stories about $him to your penthouse anyway. $His mistress uses $him as a rapist on demand, and $his dumbly obedient brutality is renowned.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "sadist")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -346,7 +345,7 @@
 	<</if>>
 
 <<case "dom fetishist">>
-	$activeSlave.slaveName wins $himself a leadership position with $his new master, who repays $his hard work by allowing $him to use his slaves at will.
+	getSlave($AS).slaveName wins $himself a leadership position with $his new master, who repays $his hard work by allowing $him to use his slaves at will.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "dom")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -360,7 +359,7 @@
 	<</if>>
 
 <<case "sub fetishist">>
-	The back of $activeSlave.slaveName's head becomes a well-known sight in business circles, since $his mistress rarely lets it out from between her legs.
+	The back of getSlave($AS).slaveName's head becomes a well-known sight in business circles, since $his mistress rarely lets it out from between her legs.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "submissive")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -374,7 +373,7 @@
 	<</if>>
 
 <<case "supremacist arcology">>
-	$activeSlave.slaveName leaves your control forthwith, to be freed and installed in a favored life in an arcology that gives $activeSlave.race people every possible advantage.
+	getSlave($AS).slaveName leaves your control forthwith, to be freed and installed in a favored life in an arcology that gives getSlave($AS).race people every possible advantage.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion < 10)>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -386,7 +385,7 @@
 	<</if>>
 
 <<case "subjugationist arcology">>
-	$activeSlave.slaveName is shipped off to help produce a race of $activeSlave.race idiots to perform eternal servitude. $He is not perceptive enough to fear $his upcoming life as a downtrodden breeder.
+	getSlave($AS).slaveName is shipped off to help produce a race of getSlave($AS).race idiots to perform eternal servitude. $He is not perceptive enough to fear $his upcoming life as a downtrodden breeder.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant > 15)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -398,7 +397,7 @@
 	<</if>>
 
 <<case "gender radicalist arcology">>
-	$activeSlave.slaveName is shipped off, but $his buyer is so unwilling to waste any time that the shipment container includes hormonal injectors to get $him started on an intensive feminization regime as quickly as possible.
+	getSlave($AS).slaveName is shipped off, but $his buyer is so unwilling to waste any time that the shipment container includes hormonal injectors to get $him started on an intensive feminization regime as quickly as possible.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].dick > 0)>>
 			<<if ($slaves[_ss].devotion <= 20)>>
@@ -412,7 +411,7 @@
 	<</if>>
 
 <<case "gender fundamentalist arcology">>
-	$activeSlave.slaveName is taken away to join the legion of airheaded, big-titted sex slaves that throng the arcology owned by $his purchaser.
+	getSlave($AS).slaveName is taken away to join the legion of airheaded, big-titted sex slaves that throng the arcology owned by $his purchaser.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant > 50)>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -424,7 +423,7 @@
 	<</if>>
 
 <<case "paternalist arcology">>
-	$activeSlave.slaveName is shipped off to be improved into a happy, educated slave at the best pace $his new owner can manage.
+	getSlave($AS).slaveName is shipped off to be improved into a happy, educated slave at the best pace $his new owner can manage.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion < -20)>>
 			<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant < -15)>>
@@ -438,7 +437,7 @@
 	<</if>>
 
 <<case "degradationist arcology">>
-	Stories about the place $he's going have reached $arcologies[0].name, and $activeSlave.slaveName suspects the fate $he's been condemned to when $he's loaded into a shipping container expressly designed to keep the inmate awake and uncomfortable.
+	Stories about the place $he's going have reached $arcologies[0].name, and <<= getSlave($AS).slaveName>> suspects the fate $he's been condemned to when $he's loaded into a shipping container expressly designed to keep the inmate awake and uncomfortable.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion > 20)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -450,7 +449,7 @@
 	<</if>>
 
 <<case "slimness enthusiast arcology">>
-	$activeSlave.slaveName is taken away to join the tribe of squealing, slim forms that populate the arcology of $his new owner.
+	getSlave($AS).slaveName is taken away to join the tribe of squealing, slim forms that populate the arcology of $his new owner.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant > 50)>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -462,7 +461,7 @@
 	<</if>>
 
 <<case "asset expansionist arcology">>
-	A shipping container arrives for $activeSlave.slaveName; as $he's loaded into it, it sedates $him and begins to pump hormones, curatives and growth enhancers into no less than seven places scattered over $his body.
+	A shipping container arrives for <<= getSlave($AS).slaveName>>; as $he's loaded into it, it sedates $him and begins to pump hormones, curatives and growth enhancers into no less than seven places scattered over $his body.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 20)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -474,7 +473,7 @@
 	<</if>>
 
 <<case "organ crafter">>
-	$activeSlave.slaveName is seen in a research report nine months later; $he has undergone some interesting changes. As expected by someone interested in $his odd womb, $he is quite pregnant, but what really stands out is the massive size of $his testicles and $his huge round implants. A quick glance at the article reveals that they aren't implants; in fact, $his breasts and testicles are rounded with children.
+	getSlave($AS).slaveName is seen in a research report nine months later; $he has undergone some interesting changes. As expected by someone interested in $his odd womb, $he is quite pregnant, but what really stands out is the massive size of $his testicles and $his huge round implants. A quick glance at the article reveals that they aren't implants; in fact, $his breasts and testicles are rounded with children.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].mpreg == 1)>>
 			<<set $slaves[_ss].trust -= 5>>
@@ -486,7 +485,7 @@
 	<</if>>
 
 <<case "abortion TV">>
-	$activeSlave.slaveName is soon seen on live TV, restrained and still grotesquely pregnant. $He screams into $his restraints as the host approaches with a comically large syringe of abortifacients and drives it deep into $his womb. Within minutes, a flood of liquid and fetuses are pouring from $his gaping cunt, all the while he times how long it takes $his overburdened womb to drain of all its contents.
+	getSlave($AS).slaveName is soon seen on live TV, restrained and still grotesquely pregnant. $He screams into $his restraints as the host approaches with a comically large syringe of abortifacients and drives it deep into $his womb. Within minutes, a flood of liquid and fetuses are pouring from $his gaping cunt, all the while he times how long it takes $his overburdened womb to drain of all its contents.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if $slaves[_ss].bellyPreg >= 300000>>
 			<<set $slaves[_ss].trust -= 15>>
@@ -498,7 +497,7 @@
 	<</if>>
 
 <<case "womb filler">>
-	$activeSlave.slaveName is seen in a drug report nine months later; $he is unrecognizable. $His gaunt body is completely bloated by $his enormous womb, leaving <<if !isAmputee($activeSlave)>>what's left of $his <<if hasAnyArms($activeSlave)>>arm<<if hasBothArms($activeSlave)>>s<</if>><<if hasAnyLegs($activeSlave)>> and <</if>><</if>><<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><</if>> dangling<<else>>$his torso teetering<</if>> pathetically atop its quivering mass. The headline reads "New drug allows for upwards of seven hundred children carried at once". Live on stream, $his body loses stability and ruptures, flooding the room with fluid and children.
+	getSlave($AS).slaveName is seen in a drug report nine months later; $he is unrecognizable. $His gaunt body is completely bloated by $his enormous womb, leaving <<if !isAmputee(getSlave($AS))>>what's left of $his <<if hasAnyArms(getSlave($AS))>>arm<<if hasBothArms(getSlave($AS))>>s<</if>><<if hasAnyLegs(getSlave($AS))>> and <</if>><</if>><<if hasAnyLegs(getSlave($AS))>>leg<<if hasBothLegs(getSlave($AS))>>s<</if>><</if>> dangling<<else>>$his torso teetering<</if>> pathetically atop its quivering mass. The headline reads "New drug allows for upwards of seven hundred children carried at once". Live on stream, $his body loses stability and ruptures, flooding the room with fluid and children.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].vagina == 0)>>
 			<<if isFertile($slaves[_ss])>>
@@ -512,7 +511,7 @@
 	<</if>>
 
 <<case "repopulationist arcology">>
-	$activeSlave.slaveName is seen nine months later with an enormous pregnancy and the most content look on $his face. $He <<if hasAnyArms($activeSlave)>>gently pats $his quadruplet filled belly and lets off a moan as $his children kick in response<<else>>moans lewdly as $his children kick away in $his womb<</if>>.
+	getSlave($AS).slaveName is seen nine months later with an enormous pregnancy and the most content look on $his face. $He <<if hasAnyArms(getSlave($AS))>>gently pats $his quadruplet filled belly and lets off a moan as $his children kick in response<<else>>moans lewdly as $his children kick away in $his womb<</if>>.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].vagina == 0)>>
 			<<if isFertile($slaves[_ss])>>
@@ -524,11 +523,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		Your other pregnancy fetishists @@.mediumorchid;are jealous@@ of $activeSlave.slaveName's good fortune.
+		Your other pregnancy fetishists @@.mediumorchid;are jealous@@ of getSlave($AS).slaveName's good fortune.
 	<</if>>
 
 <<case "eugenics arcology">>
-	$activeSlave.slaveName is seen nearly a year later, happy and healthy, along with $his owner and newborn son. They are quite a good looking family.
+	getSlave($AS).slaveName is seen nearly a year later, happy and healthy, along with $his owner and newborn son. They are quite a good looking family.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant < -15)>>
 			<<if isFertile($slaves[_ss])>>
@@ -538,11 +537,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		Your more idiotic slaves are @@.mediumorchid;deeply jealous@@ of $activeSlave.slaveName's new pampered lifestyle, oblivious to the demanding nature of eugenics.
+		Your more idiotic slaves are @@.mediumorchid;deeply jealous@@ of getSlave($AS).slaveName's new pampered lifestyle, oblivious to the demanding nature of eugenics.
 	<</if>>
 
 <<case "hedonistic decadence arcology">>
-	$activeSlave.slaveName is taken away to join a quivering mass of plump, pampered ladies that crowd the bedroom of $his new owner.
+	getSlave($AS).slaveName is taken away to join a quivering mass of plump, pampered ladies that crowd the bedroom of $his new owner.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if $slaves[_ss].behavioralFlaw == "gluttonous">>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -550,11 +549,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		Your more gluttonous slaves are @@.mediumorchid;deeply jealous@@ of $activeSlave.slaveName's constant feedings and excessive weight gain.
+		Your more gluttonous slaves are @@.mediumorchid;deeply jealous@@ of getSlave($AS).slaveName's constant feedings and excessive weight gain.
 	<</if>>
 
 <<case "stuffer chef">>
-	$activeSlave.slaveName's new owner is quite fond of his work and typically sends out photos of his progress. This is no exception; you are treated to a series of images featuring $activeSlave.slaveName being force-fed until $his stomach bulges. Day after day, you watch $him handle more and more food until $his belly is big enough to fill $his lap even when empty.
+	getSlave($AS).slaveName's new owner is quite fond of his work and typically sends out photos of his progress. This is no exception; you are treated to a series of images featuring <<= getSlave($AS).slaveName>> being force-fed until $his stomach bulges. Day after day, you watch $him handle more and more food until $his belly is big enough to fill $his lap even when empty.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if $slaves[_ss].weight < 10>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -566,7 +565,7 @@
 	<</if>>
 
 <<case "transformation fetishist arcology">>
-	A purchasing agent arrives for $activeSlave.slaveName; he uses a lull in the proceedings to use a permanent marker to begin mapping out surgical sites across $his body. There are a lot of them.
+	A purchasing agent arrives for <<= getSlave($AS).slaveName>>; he uses a lull in the proceedings to use a permanent marker to begin mapping out surgical sites across $his body. There are a lot of them.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 20)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -578,7 +577,7 @@
 	<</if>>
 
 <<case "physical idealist arcology">>
-	Stories about the arcology $activeSlave.slaveName is headed to have circulated among slaves. Most intelligent slaves see a life of workouts as relatively harmless.
+	Stories about the arcology <<= getSlave($AS).slaveName>> is headed to have circulated among slaves. Most intelligent slaves see a life of workouts as relatively harmless.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].weight > 10)>>
 			<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant < -15)>>
@@ -592,7 +591,7 @@
 	<</if>>
 
 <<case "pastoralist arcology">>
-	$activeSlave.slaveName is subjected to a stock assay and then packed off to take $his place as a prize heifer.
+	getSlave($AS).slaveName is subjected to a stock assay and then packed off to take $his place as a prize heifer.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].lactation == 0)>>
 			<<if ($slaves[_ss].devotion <= 20)>>
@@ -606,7 +605,7 @@
 	<</if>>
 
 <<case "chattel religionist arcology">>
-	$activeSlave.slaveName is terrified of $his impending religious life; perhaps $he's heard the new text that reads 'no woman come of age is holy unless she performs the act as many times per day as she has years less than forty.'
+	getSlave($AS).slaveName is terrified of $his impending religious life; perhaps $he's heard the new text that reads 'no woman come of age is holy unless she performs the act as many times per day as she has years less than forty.'
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].counter.anal < 200)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -618,7 +617,7 @@
 	<</if>>
 
 <<case "roman revivalist arcology">>
-	$activeSlave.slaveName is shipped to a new arcology, and culturally, across the centuries. $His skill at arms is well enough known that $his impending role as a gladiatrix is easily deduced.
+	getSlave($AS).slaveName is shipped to a new arcology, and culturally, across the centuries. $His skill at arms is well enough known that $his impending role as a gladiatrix is easily deduced.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].skill.combat > 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -630,7 +629,7 @@
 	<</if>>
 
 <<case "aztec revivalist arcology">>
-	$activeSlave.slaveName is transported after losing a military engagement. Though $his will remains strong, $he's @@.gold;filled with fear@@ when $he sees the rivers of blood that flow through the city.
+	getSlave($AS).slaveName is transported after losing a military engagement. Though $his will remains strong, $he's @@.gold;filled with fear@@ when $he sees the rivers of blood that flow through the city.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].skill.combat > 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -642,7 +641,7 @@
 	<</if>>
 
 <<case "egyptian revivalist arcology">>
-	$activeSlave.slaveName's journey to $his new home is respectful, even celebratory, as far as you can see. $He is gravely informed by the purchasing agent that many slaves await $his learned instruction.
+	getSlave($AS).slaveName's journey to $his new home is respectful, even celebratory, as far as you can see. $He is gravely informed by the purchasing agent that many slaves await $his learned instruction.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant < -50)>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -654,7 +653,7 @@
 	<</if>>
 
 <<case "virgin trader">>
-	$activeSlave.slaveName is seen in a shipment of slaves leaving the arcology a month later, with just the slightest hint of a gravid belly and a worn-down expression on $his face.
+	getSlave($AS).slaveName is seen in a shipment of slaves leaving the arcology a month later, with just the slightest hint of a gravid belly and a worn-down expression on $his face.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].vagina == 0)>>
 			<<if ($slaves[_ss].ovaries == 1)>>
@@ -668,7 +667,7 @@
 	<</if>>
 
 <<case "body purist arcology">>
-	$activeSlave.slaveName is shipped to $his new owner's arcology to have $his implants extracted and the resultant damage addressed.
+	getSlave($AS).slaveName is shipped to $his new owner's arcology to have $his implants extracted and the resultant damage addressed.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 50)>>
 			<<if ($slaves[_ss].boobsImplant > 1000)>>
@@ -682,7 +681,7 @@
 	<</if>>
 
 <<case "trainer staffing">>
-	$activeSlave.slaveName is soon well-known among the slaves of the arcology, as many of them are sold after passing under $his hands in training. $He performs effectively, imparting good sex slave ethics in a generation of sluts.
+	getSlave($AS).slaveName is soon well-known among the slaves of the arcology, as many of them are sold after passing under $his hands in training. $He performs effectively, imparting good sex slave ethics in a generation of sluts.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant > 15)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -694,7 +693,7 @@
 	<</if>>
 
 <<case "teaching trainer">>
-	$activeSlave.slaveName is not pleased by $his change in circumstances, since $he is soon subjected to training rigor that $he did not experience while your property.
+	getSlave($AS).slaveName is not pleased by $his change in circumstances, since $he is soon subjected to training rigor that $he did not experience while your property.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].intelligenceImplant < 15)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -706,7 +705,7 @@
 	<</if>>
 
 <<case "implanting trainer">>
-	A few weeks later, $activeSlave.slaveName is seen in a shipment of slaves heading out of the arcology. $He has new fake tits, a bigger butt, lip implants, and even some facial bone structure alterations, but $his balloon breasts are the most shocking change.
+	A few weeks later, getSlave($AS).slaveName is seen in a shipment of slaves heading out of the arcology. $He has new fake tits, a bigger butt, lip implants, and even some facial bone structure alterations, but $his balloon breasts are the most shocking change.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].boobsImplant == 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -714,11 +713,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		Your unimplanted slaves @@.gold;fear they'll go under the knife@@ for invasive surgery like $activeSlave.slaveName suffered, should you ever decide to sell them.
+		Your unimplanted slaves @@.gold;fear they'll go under the knife@@ for invasive surgery like getSlave($AS).slaveName suffered, should you ever decide to sell them.
 	<</if>>
 
 <<case "purifying trainer">>
-	A few weeks later, $activeSlave.slaveName is seen in a shipment of slaves heading out of the arcology. $He is almost unrecognizable, having been quickly returned to as natural an appearance as skillful removal of $his implants could manage.
+	A few weeks later, getSlave($AS).slaveName is seen in a shipment of slaves heading out of the arcology. $He is almost unrecognizable, having been quickly returned to as natural an appearance as skillful removal of $his implants could manage.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].boobsImplant > 800)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -730,7 +729,7 @@
 	<</if>>
 
 <<case "D virgin asspussy">>
-	$activeSlave.slaveName's buyer takes charge of $him, and cannot resist immediately running a hand between $his buttocks to sink a couple of groping fingers into $his soft asspussy.
+	getSlave($AS).slaveName's buyer takes charge of $him, and cannot resist immediately running a hand between $his buttocks to sink a couple of groping fingers into $his soft asspussy.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "buttslut")>>
 			<<set $slaves[_ss].trust += 1>>
@@ -742,7 +741,7 @@
 	<</if>>
 
 <<case "D startled the witch">>
-	$activeSlave.slaveName heads off to form part of whatever great design $his new master is pursuing; all you know is that it apparently requires lots of lithe, sharp toothed slave <<= $girl>>s.
+	getSlave($AS).slaveName heads off to form part of whatever great design $his new master is pursuing; all you know is that it apparently requires lots of lithe, sharp toothed slave <<= $girl>>s.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 20)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -754,7 +753,7 @@
 	<</if>>
 
 <<case "vampire clan">>
-	$activeSlave.slaveName is quickly embraced by $his new owner and spirited away like all the other <<= $girl>>s that catch his fancy.
+	getSlave($AS).slaveName is quickly embraced by $his new owner and spirited away like all the other <<= $girl>>s that catch his fancy.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion <= 20)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -766,7 +765,7 @@
 	<</if>>
 
 <<case "D milf staffing">>
-	$activeSlave.slaveName becomes a common sight around the arcology, training slaves for $his new master. They're usually seen hanging close by $him as $he manages them with an air at once protective and frankly sexual.
+	getSlave($AS).slaveName becomes a common sight around the arcology, training slaves for $his new master. They're usually seen hanging close by $him as $he manages them with an air at once protective and frankly sexual.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].actualAge > 35)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -778,7 +777,7 @@
 	<</if>>
 
 <<case "D hucow">>
-	$activeSlave.slaveName becomes quite a fixture at social events hosted by $his new master; he enjoys showing off how healthy, happy and productive his cow is.
+	getSlave($AS).slaveName becomes quite a fixture at social events hosted by $his new master; he enjoys showing off how healthy, happy and productive his cow is.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].lactation > 0)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -790,7 +789,7 @@
 	<</if>>
 
 <<case "D r9k">>
-	$activeSlave.slaveName's nervous buyer comes to collect $him, stammering and sweating and doing his best to pretend he does this all the time.
+	getSlave($AS).slaveName's nervous buyer comes to collect $him, stammering and sweating and doing his best to pretend he does this all the time.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].counter.vaginal + $slaves[_ss].counter.anal < 20)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -802,7 +801,7 @@
 	<</if>>
 
 <<case "slimming trainer">>
-	$activeSlave.slaveName is occasionally visible around the arcology, looking rather tired and gaunt under the stresses of a severe crash diet coupled with a punishing cardio regime.
+	getSlave($AS).slaveName is occasionally visible around the arcology, looking rather tired and gaunt under the stresses of a severe crash diet coupled with a punishing cardio regime.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].weight > 10)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -814,7 +813,7 @@
 	<</if>>
 
 <<case "broadening trainer">>
-	$activeSlave.slaveName is only rarely seen around the arcology, since $his new owners force $him to spend most of $his time sleeping, eating and looking after $himself. But $his belly, painfully distended with food, makes $his situation obvious.
+	getSlave($AS).slaveName is only rarely seen around the arcology, since $his new owners force $him to spend most of $his time sleeping, eating and looking after $himself. But $his belly, painfully distended with food, makes $his situation obvious.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].weight > 10)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -826,7 +825,7 @@
 	<</if>>
 
 <<case "cow trainer">>
-	$activeSlave.slaveName is last seen somewhat later, packed into a shipment of cows heading out of the arcology. $He looks rather ill from the drugs $he's been filled with, and $his now-distended breasts are marred by unsightly stretch marks.
+	getSlave($AS).slaveName is last seen somewhat later, packed into a shipment of cows heading out of the arcology. $He looks rather ill from the drugs $he's been filled with, and $his now-distended breasts are marred by unsightly stretch marks.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].lactation == 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -838,7 +837,7 @@
 	<</if>>
 
 <<case "clipping trainer">>
-	$activeSlave.slaveName is frequently seen in public over the next few weeks, since $he's being trained to improve $his feminine deportment. $He grows visibly more feminine as time passes, as the hormonal effects of having $his balls cut off become apparent.
+	getSlave($AS).slaveName is frequently seen in public over the next few weeks, since $he's being trained to improve $his feminine deportment. $He grows visibly more feminine as time passes, as the hormonal effects of having $his balls cut off become apparent.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].balls > 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -850,7 +849,7 @@
 	<</if>>
 
 <<case "reassignment trainer">>
-	$activeSlave.slaveName is next seen after some weeks of surgery. $He's barely recognizable, and now possesses a serviceable vagina which $he clearly is unsure of. $His original status is scarcely discernible.
+	getSlave($AS).slaveName is next seen after some weeks of surgery. $He's barely recognizable, and now possesses a serviceable vagina which $he clearly is unsure of. $His original status is scarcely discernible.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].dick > 0)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -862,7 +861,7 @@
 	<</if>>
 
 <<case "arcade">>
-	The upper half of $activeSlave.slaveName's body is never seen again. $His butt, on the other hand, is periodically visible in a lower-level arcade, $his orifices gradually showing the wear and $his price gradually decreasing, until finally $he is seen no more.
+	The upper half of getSlave($AS).slaveName's body is never seen again. $His butt, on the other hand, is periodically visible in a lower-level arcade, $his orifices gradually showing the wear and $his price gradually decreasing, until finally $he is seen no more.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].devotion < 10)>>
 			<<set $slaves[_ss].trust -= 2>>
@@ -874,25 +873,25 @@
 	<</if>>
 
 <<case "D cannibal">>
-	$activeSlave.slaveName is never seen again. $His buyer prefers to keep whatever happened to $him private. However, rumors of steaks, rump roasts, sweetbreads, and blood pudding eaten at three in the morning filter out from time to time. Naturally, these murmurs never fail to @@.gold;terrify@@ your other slaves.
+	getSlave($AS).slaveName is never seen again. $His buyer prefers to keep whatever happened to $him private. However, rumors of steaks, rump roasts, sweetbreads, and blood pudding eaten at three in the morning filter out from time to time. Naturally, these murmurs never fail to @@.gold;terrify@@ your other slaves.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<set $slaves[_ss].trust -= 2>>
 	<</for>>
 
 <<case "harvester">>
-	Though $activeSlave.slaveName's fate as a source of organs for transplantation is not announced, rumors of what happens to those who @@.gold;fail to be valuable to you@@ pass among your slaves.
+	Though getSlave($AS).slaveName's fate as a source of organs for transplantation is not announced, rumors of what happens to those who @@.gold;fail to be valuable to you@@ pass among your slaves.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<set $slaves[_ss].trust -= 2>>
 	<</for>>
 
 <<case "D amazon hunter">>
-	When $activeSlave.slaveName's buyer appears, the big $girl is almost bashful. He tries to resist the impulse, but quickly breaks down and sweeps $him into a tight hug. $He accepts the embrace meekly. Your other slaves find this @@.mediumaquamarine;very romantic.@@
+	When <<= getSlave($AS).slaveName>>'s buyer appears, the big $girl is almost bashful. He tries to resist the impulse, but quickly breaks down and sweeps $him into a tight hug. $He accepts the embrace meekly. Your other slaves find this @@.mediumaquamarine;very romantic.@@
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<set $slaves[_ss].trust += 1>>
 	<</for>>
 
 <<case "D oral servants">>
-	$activeSlave.slaveName is an occasional sight around the arcology; $he's never seen outside the company of $his new slave superior. This is one of $his new master's more favored slaves. $He has a huge cock, and $activeSlave.slaveName is usually seen crouching down, hugging one of $his superior's legs and keeping $his mouth obediently near that dick.
+	getSlave($AS).slaveName is an occasional sight around the arcology; $he's never seen outside the company of $his new slave superior. This is one of $his new master's more favored slaves. $He has a huge cock, and <<= getSlave($AS).slaveName>> is usually seen crouching down, hugging one of $his superior's legs and keeping $his mouth obediently near that dick.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetishKnown == 1)>>
 			<<if ($slaves[_ss].fetish == "cumslut")>>
@@ -906,7 +905,7 @@
 	<</if>>
 
 <<case "D trap lover">>
-	$activeSlave.slaveName becomes a frequent sight around the arcology, accompanying $his new master. $He's clearly happy, and is frequently seen to offer $his butt to him with a smile.
+	getSlave($AS).slaveName becomes a frequent sight around the arcology, accompanying $his new master. $He's clearly happy, and is frequently seen to offer $his butt to him with a smile.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].dick > 0)>>
 			<<if ($slaves[_ss].devotion > 20)>>
@@ -920,7 +919,7 @@
 	<</if>>
 
 <<case "D butt bury">>
-	$activeSlave.slaveName's buyer arrives promptly; he seems pleased with his new slave's bountiful bottom, so far off the ground.
+	getSlave($AS).slaveName's buyer arrives promptly; he seems pleased with his new slave's bountiful bottom, so far off the ground.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "buttslut")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -934,7 +933,7 @@
 	<</if>>
 
 <<case "D milky herm">>
-	$activeSlave.slaveName's buyer arrives and seems pleased with $his lovely feminine appearance; he verifies $his lactation and $his ability to achieve erection despite $his lack of visible balls.
+	getSlave($AS).slaveName's buyer arrives and seems pleased with $his lovely feminine appearance; he verifies $his lactation and $his ability to achieve erection despite $his lack of visible balls.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].dick > 0)>>
 			<<if ($slaves[_ss].boobs > 400)>>
@@ -948,7 +947,7 @@
 	<</if>>
 
 <<case "D shorty breeder">>
-	$activeSlave.slaveName's lithe, muscular form is rarely seen after $his buyer takes charge of $him, since $he seems to spend most of $his time at home making babies.
+	getSlave($AS).slaveName's lithe, muscular form is rarely seen after $his buyer takes charge of $him, since $he seems to spend most of $his time at home making babies.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].fetish == "pregnancy")>>
 			<<if ($slaves[_ss].fetishKnown == 1)>>
@@ -962,16 +961,16 @@
 	<</if>>
 
 <<case "D waifu">>
-	$activeSlave.slaveName is rarely seen after $his buyer takes charge of $him, since he prefers to keep his beloved at home. Though $he seems to be well treated, arcology society finds him repellent enough that your other slaves do not envy $him.
+	getSlave($AS).slaveName is rarely seen after $his buyer takes charge of $him, since he prefers to keep his beloved at home. Though $he seems to be well treated, arcology society finds him repellent enough that your other slaves do not envy $him.
 
 <<case "fuckdoll">>
-	Though $activeSlave.slaveName's fate as a living fucktoy is not obvious, since most of $his body will forever after be encased in thick latex, rumors of what happens to those who @@.gold;fail to be valuable to you@@ pass among your slaves.
+	Though getSlave($AS).slaveName's fate as a living fucktoy is not obvious, since most of $his body will forever after be encased in thick latex, rumors of what happens to those who @@.gold;fail to be valuable to you@@ pass among your slaves.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<set $slaves[_ss].trust -= 2>>
 	<</for>>
 
 <<case "porn studio">>
-	$activeSlave.slaveName becomes a frequent sight in $activeSlave.porn.fameType smut and attracts huge crowds with each public appearance.
+	getSlave($AS).slaveName becomes a frequent sight in <<= getSlave($AS).porn.fameType>> smut and attracts huge crowds with each public appearance.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if $slaves[_ss].porn.prestige > 0 && $slaves[_ss].porn.prestige < 3>>
 			<<if ($slaves[_ss].devotion > 20)>>
@@ -985,7 +984,7 @@
 	<</if>>
 
 <<case "obsessed fan">>
-	$activeSlave.slaveName is rarely seen after $his buyer takes charge of $him, since he prefers to keep his prize safe and sound at home.
+	getSlave($AS).slaveName is rarely seen after $his buyer takes charge of $him, since he prefers to keep his prize safe and sound at home.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if $slaves[_ss].porn.prestige == 1>>
 			<<if ($slaves[_ss].devotion > 20)>>
@@ -1000,7 +999,7 @@
 
 
 <<case "tentacle bred">>
-	Sometime later, a snuff film starring $activeSlave.slaveName as a heroine captured, raped, and fatally bred by tentacles is released. It receives rave reviews for the scene involving $activeSlave.slaveName, depicting $his aphrodisiac-filled body being penetrated in all $his holes by tentacles. Their thrusting into $him increases until large bulges of cum pass through the ones filling $his stretched cunt, visibly bloating $his belly. $He then collapses to the ground, $his swollen belly rapidly growing with the tentacle spawn gestating within $him. As they bulge against the straining walls of $his implant-filled middle; $he lets out a final moan as $his belly ruptures, releasing $his "spawn" to hunt down the other heroines.
+	Sometime later, a snuff film starring <<= getSlave($AS).slaveName>> as a heroine captured, raped, and fatally bred by tentacles is released. It receives rave reviews for the scene involving <<= getSlave($AS).slaveName>>, depicting $his aphrodisiac-filled body being penetrated in all $his holes by tentacles. Their thrusting into $him increases until large bulges of cum pass through the ones filling $his stretched cunt, visibly bloating $his belly. $He then collapses to the ground, $his swollen belly rapidly growing with the tentacle spawn gestating within $him. As they bulge against the straining walls of $his implant-filled middle; $he lets out a final moan as $his belly ruptures, releasing $his "spawn" to hunt down the other heroines.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if canSee($slaves[_ss])>>
 			<<if $slaves[_ss].intelligence+$slaves[_ss].intelligenceImplant < -15>>
@@ -1010,11 +1009,11 @@
 		<</if>>
 	<</for>>
 	<<if _slaveImpact == 1>>
-		Your less than intelligent slaves are @@.mediumorchid;deeply envious@@ of $activeSlave.slaveName, completely failing to comprehend what they saw were not special effects.
+		Your less than intelligent slaves are @@.mediumorchid;deeply envious@@ of getSlave($AS).slaveName, completely failing to comprehend what they saw were not special effects.
 	<</if>>
 
 <<case "concert hall">>
-	As $activeSlave.slaveName now spends all $his time backstage, $he's rarely seen again. Occasionally, however, a roadie will bring $him outside as he hauls the equipment, and $he jacks him off.
+	As getSlave($AS).slaveName now spends all $his time backstage, $he's rarely seen again. Occasionally, however, a roadie will bring $him outside as he hauls the equipment, and $he jacks him off.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].hears < 0)>>
 			<<set $slaves[_ss].trust += 1>>
@@ -1026,7 +1025,7 @@
 	<</if>>
 
 <<case "etiquette coach">>
-	$activeSlave.slaveName's new etiquette trainer sends you courtesy updates on $his progress, as $he learns proper poise and enunciation, the correct locations of silverware, and how to avoid making vulgar comments while performing lascivious acts.
+	getSlave($AS).slaveName's new etiquette trainer sends you courtesy updates on $his progress, as $he learns proper poise and enunciation, the correct locations of silverware, and how to avoid making vulgar comments while performing lascivious acts.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].sexualFlaw == "crude")>>
 			<<set $slaves[_ss].trust -= 1>>
@@ -1038,7 +1037,7 @@
 	<</if>>
 
 <<case "sex double">>
-	$activeSlave.slaveName soon makes $his debut on the big screen in a debaucherous gangbang in place of the popular lead. $He is a spitting image of the actress, even when coated in layers of semen.
+	getSlave($AS).slaveName soon makes $his debut on the big screen in a debaucherous gangbang in place of the popular lead. $He is a spitting image of the actress, even when coated in layers of semen.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].sexualFlaw == "attention whore")>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -1046,11 +1045,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		The attention whores among your slaves are @@.mediumorchid;envious@@ of $activeSlave.slaveName's good fortune.
+		The attention whores among your slaves are @@.mediumorchid;envious@@ of getSlave($AS).slaveName's good fortune.
 	<</if>>
 
 <<case "monster movie">>
-	$activeSlave.slaveName soon makes $his debut on the big screen in a thrilling horror movie. At its end, the male lead finds his partner, played by $him in this scene, glued to a wall with a massively distended middle filled to capacity with the monster's spawn. The camera slowly zooms in on $him as $he gives birth to a future sequel.
+	getSlave($AS).slaveName soon makes $his debut on the big screen in a thrilling horror movie. At its end, the male lead finds his partner, played by $him in this scene, glued to a wall with a massively distended middle filled to capacity with the monster's spawn. The camera slowly zooms in on $him as $he gives birth to a future sequel.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].sexualFlaw == "breeder")>>
 			<<set $slaves[_ss].devotion -= 2>>
@@ -1058,11 +1057,11 @@
 		<</if>>
 	<</for>>
 	<<if (_slaveImpact == 1)>>
-		The pregnancy obsessed sluts among your slaves are @@.mediumorchid;envious@@ of $activeSlave.slaveName's new experience, even if it is fake.
+		The pregnancy obsessed sluts among your slaves are @@.mediumorchid;envious@@ of getSlave($AS).slaveName's new experience, even if it is fake.
 	<</if>>
 	
 <<case "sniper spotter">>
-	The mercenary sniper greets $activeSlave.slaveName before the two of them head off for a battlefield halfway around the world. "Let's hope you've got a good eye for political assassinations," he says humorlessly.
+	The mercenary sniper greets getSlave($AS).slaveName before the two of them head off for a battlefield halfway around the world. "Let's hope you've got a good eye for political assassinations," he says humorlessly.
 	<<for _ss = 0; _ss < $slaves.length; _ss++>>
 		<<if ($slaves[_ss].skill.combat <= 15)>>
 			<<set $slaves[_ss].devotion -= 3>>
@@ -1074,46 +1073,46 @@
 	<</if>>
 
 <<case "peacekeepers">>
-	$activeSlave.slaveName is delivered to General $peacekeepers.generalName's forces, to serve as a barracks whore. Several days later, the purchasing officer forwards a short shot of $activeSlave.slaveName
-	<<set _slaveCost = slaveCost($activeSlave)>>
+	getSlave($AS).slaveName is delivered to General $peacekeepers.generalName's forces, to serve as a barracks whore. Several days later, the purchasing officer forwards a short shot of getSlave($AS).slaveName
+	<<set _slaveCost = slaveCost(getSlave($AS))>>
 	<<if $peacekeepers.tastes == 0>>
 		<<if _slaveCost > random(10000,50000) || $peacekeepers.attitude > 90>><<set _influential = 1>><<else>><<set _influential = 0>><</if>>
-		<<if _influential && $activeSlave.belly >= 300000>>
-			<<set _belly = bellyAdjective($activeSlave)>>
+		<<if _influential && getSlave($AS).belly >= 300000>>
+			<<set _belly = bellyAdjective(getSlave($AS))>>
 			smiling as $his _belly belly is used as the center of a large bukkake party. You can just barely make out the figure of someone taking $him from behind beyond $his immensity. There's a note attached, stating superfluously that $his exotic feature makes $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more massive bellied <<= $girl>>s in the future.
 			<<set $peacekeepers.tastes = "bellies with girls attached">>
-		<<elseif _influential && $activeSlave.balls > 0 && $activeSlave.scrotum > 0 && $activeSlave.dick > 0 && $activeSlave.vagina > -1 && $activeSlave.energy > 50>>
+		<<elseif _influential && getSlave($AS).balls > 0 && getSlave($AS).scrotum > 0 && getSlave($AS).dick > 0 && getSlave($AS).vagina > -1 && getSlave($AS).energy > 50>>
 			with dicks in $his mouth, pussy, and ass. $He's totally covered in cum, and a lot of it is $hers. There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more lusty futas in the future.
 			<<set $peacekeepers.tastes = "lusty futanari">>
-		<<elseif _influential && $activeSlave.fetish == "cumslut" && $activeSlave.fetishStrength > 95 && $activeSlave.sexualFlaw == "cum addict">>
-			on <<if hasBothLegs($activeSlave)>>$his knees<<else>>the ground<</if>>, sucking dick. That's where $he's at home, of course, and as soon as the man $he's blowing cums down $his throat and steps away, another immediately replaces him. $activeSlave.slaveName keeps guzzling penis without hesitation. There's a note attached, stating superfluously that $his apparently bottomless appetite for cum has made $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more cum addicts in the future.
+		<<elseif _influential && getSlave($AS).fetish == "cumslut" && getSlave($AS).fetishStrength > 95 && getSlave($AS).sexualFlaw == "cum addict">>
+			on <<if hasBothLegs(getSlave($AS))>>$his knees<<else>>the ground<</if>>, sucking dick. That's where $he's at home, of course, and as soon as the man $he's blowing cums down $his throat and steps away, another immediately replaces him. <<= getSlave($AS).slaveName>> keeps guzzling penis without hesitation. There's a note attached, stating superfluously that $his apparently bottomless appetite for cum has made $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more cum addicts in the future.
 			<<set $peacekeepers.tastes = "cum addicts">>
-		<<elseif _influential && $activeSlave.boobs > 2000 && $activeSlave.lactation > 1>>
+		<<elseif _influential && getSlave($AS).boobs > 2000 && getSlave($AS).lactation > 1>>
 			standing obediently in a comfort station in one of their rear area facilities, while a huge group of muscular men and women take turns drinking straight from $his nipples as a break from using the other whores. Someone's fucking $him from behind. There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more big-breasted cows in the future.
 			<<set $peacekeepers.tastes = "big-breasted cows">>
-		<<elseif _influential && $activeSlave.boobs > 20000 && $activeSlave.butt > 10>>
+		<<elseif _influential && getSlave($AS).boobs > 20000 && getSlave($AS).butt > 10>>
 			standing obediently in a comfort station in one of their rear area facilities, while a huge group of muscular men titfuck $his near endless cleavage and another, smaller group use $his gigantic asscheeks. There's a note attached, stating superfluously that $his mind-blowing assets make $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more slaves with bountiful T&A in the future.
 			<<set $peacekeepers.tastes = "flesh balloons">>
-		<<elseif _influential && $activeSlave.physicalAge > 34 && $activeSlave.visualAge > 34 && $activeSlave.energy > 80>>
-			energetically bouncing atop one young man while a muscular young woman standing over $him rides $his face. <<if (hasAnyArms($activeSlave))>>$He's got dicks in <<if (!hasBothArms($activeSlave))>>$his hand<<else>>both of $his hands<</if>>, and is stroking them eagerly. <</if>>There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more horny MILFs in the future.
+		<<elseif _influential && getSlave($AS).physicalAge > 34 && getSlave($AS).visualAge > 34 && getSlave($AS).energy > 80>>
+			energetically bouncing atop one young man while a muscular young woman standing over $him rides $his face. <<if (hasAnyArms(getSlave($AS)))>>$He's got dicks in <<if (!hasBothArms(getSlave($AS)))>>$his hand<<else>>both of $his hands<</if>>, and is stroking them eagerly. <</if>>There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more horny MILFs in the future.
 			<<set $peacekeepers.tastes = "horny MILFs">>
-		<<elseif _influential && $activeSlave.physicalAge < 13 && $activeSlave.visualAge < 13 && $activeSlave.boobs > 2000>>
+		<<elseif _influential && getSlave($AS).physicalAge < 13 && getSlave($AS).visualAge < 13 && getSlave($AS).boobs > 2000>>
 			kneeling over a soldier, putting $his proportionally massive breasts to work. There's a note attached, stating superfluously that $he's very popular. It's not surprising; $he's young, full of energy, and practically overflowing with tit flesh. General $peacekeepers.generalName's buyer is going to be looking for more busty little <<= $girl>>s in the future.
 			<<set $peacekeepers.tastes = "oppai loli">>
-		<<elseif _influential && $activeSlave.physicalAge < 25 && $activeSlave.visualAge < 25 && $activeSlave.face > 95>>
+		<<elseif _influential && getSlave($AS).physicalAge < 25 && getSlave($AS).visualAge < 25 && getSlave($AS).face > 95>>
 			striking a come-hither pose for an enormous crowd of cheering soldiers. There's a note attached, stating superfluously that $he's very popular. It's not surprising; $he's young, very beautiful, and able to handle a lot of devoted attention. General $peacekeepers.generalName's buyer is going to be looking for more beautiful young sex slaves in the future.
 			<<set $peacekeepers.tastes = "beautiful young sex slaves">>
-		<<elseif _influential && $activeSlave.vagina == 0 && isFertile($activeSlave)>>
+		<<elseif _influential && getSlave($AS).vagina == 0 && isFertile(getSlave($AS))>>
 			happily taking it vaginally while teasing the growing crowd eager to cum in $his needy pussy. There's a note attached, stating superfluously that $he's very popular. It's not surprising; $he has a burning need that they are dutifully fulfilling. General $peacekeepers.generalName's buyer is going to be looking for more eager virgins in the future.
 			<<set $peacekeepers.tastes = "fertile virgins">>
-		<<elseif _influential && $activeSlave.preg > $activeSlave.pregData.normalBirth/4 && $activeSlave.fetish == "pregnancy" && $activeSlave.sexualFlaw == "breeder">>
-			on $his back, getting fucked while teasing $his growing baby bump. That's where $he's at home, of course, and as soon as the man $he's taking cums in $his <<if $activeSlave.mpreg > 0>>asspussy<<else>>pussy<</if>> and steps away, another immediately replaces him. $activeSlave.slaveName keeps <<if hasBothLegs($activeSlave)>>spreading $his legs<<else>>presenting $himself<</if>> without hesitation. There's a note attached, stating superfluously that $his apparently bottomless appetite for bareback sex has made $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more baby-obsessed breeders in the future.
+		<<elseif _influential && getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4 && getSlave($AS).fetish == "pregnancy" && getSlave($AS).sexualFlaw == "breeder">>
+			on $his back, getting fucked while teasing $his growing baby bump. That's where $he's at home, of course, and as soon as the man $he's taking cums in $his <<if getSlave($AS).mpreg > 0>>asspussy<<else>>pussy<</if>> and steps away, another immediately replaces him. <<= getSlave($AS).slaveName>> keeps <<if hasBothLegs(getSlave($AS))>>spreading $his legs<<else>>presenting $himself<</if>> without hesitation. There's a note attached, stating superfluously that $his apparently bottomless appetite for bareback sex has made $him very popular. General $peacekeepers.generalName's buyer is going to be looking for more baby-obsessed breeders in the future.
 			<<set $peacekeepers.tastes = "baby obsessed breeders">>
-		<<elseif _influential && $activeSlave.preg > $activeSlave.pregData.normalBirth/4 && $activeSlave.energy > 50>>
-			eagerly bouncing atop one young man while a muscular young woman standing over $him rides $his face. <<if (hasAnyArms($activeSlave))>>$He's got dicks in <<if (!hasBothArms($activeSlave))>>$his hand<<else>>both of $his hands<</if>>, and is stroking them eagerly, encouraging their owners to cum on $his rounded middle. <</if>>There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more horny preggos in the future.
+		<<elseif _influential && getSlave($AS).preg > getSlave($AS).pregData.normalBirth/4 && getSlave($AS).energy > 50>>
+			eagerly bouncing atop one young man while a muscular young woman standing over $him rides $his face. <<if (hasAnyArms(getSlave($AS)))>>$He's got dicks in <<if (!hasBothArms(getSlave($AS)))>>$his hand<<else>>both of $his hands<</if>>, and is stroking them eagerly, encouraging their owners to cum on $his rounded middle. <</if>>There's a note attached, stating superfluously that $he's very popular. General $peacekeepers.generalName's buyer is going to be looking for more horny preggos in the future.
 			<<set $peacekeepers.tastes = "lusty preggos">>
 		<<else>>
-			<<if $activeSlave.devotion > 20>><<if $activeSlave.energy > 80>>eagerly<<else>>willingly<</if>> offering $himself outside<<else>>restrained for use inside<</if>> a comfort station at one of their rear area facilities, together with a note stating that $he's satisfactory. $He's sufficient but not remarkable enough to have a major impact.
+			<<if getSlave($AS).devotion > 20>><<if getSlave($AS).energy > 80>>eagerly<<else>>willingly<</if>> offering $himself outside<<else>>restrained for use inside<</if>> a comfort station at one of their rear area facilities, together with a note stating that $he's satisfactory. $He's sufficient but not remarkable enough to have a major impact.
 		<</if>>
 	<<else>>
 		<<switch $peacekeepers.tastes>>
@@ -1155,7 +1154,7 @@
 		$His presence will influence General $peacekeepers.generalName's troops in favor of a closer relationship with the Free City; old world mores are difficult to maintain while inside an arcology-trained sex slave.
 		<<set $peacekeepers.attitude += Math.ceil(_slaveCost/10000)>>
 	<<elseif $peacekeepers.attitude < 100>>
-		With $activeSlave.slaveName added to their stable of sex slaves, General $peacekeepers.generalName's troops will be fully converted to the idea of aligning with the slaveowning Free Cities, and the general will no longer have to maintain even plausible deniability. @@.yellow;General $peacekeepers.generalName's little empire is now effectively a client state of $arcologies[0].name.@@
+		With getSlave($AS).slaveName added to their stable of sex slaves, General $peacekeepers.generalName's troops will be fully converted to the idea of aligning with the slaveowning Free Cities, and the general will no longer have to maintain even plausible deniability. @@.yellow;General $peacekeepers.generalName's little empire is now effectively a client state of $arcologies[0].name.@@
 		<<set $peacekeepers.attitude = 100>>
 	<<else>>
 		General $peacekeepers.generalName's little empire continues to be a reliable client state of $arcologies[0].name, and a good market for $peacekeepers.tastes.
@@ -1166,8 +1165,8 @@
 
 <</switch>>
 
-<<if isShelterSlave($activeSlave)>>
+<<if isShelterSlave(getSlave($AS))>>
 	<<set $shelterAbuse += 1>>
 <</if>>
 
-<<= removeSlave($activeSlave)>>
+<<= removeSlave(getSlave($AS))>>