diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw
index dc27f6fd135c81fed141fdfe4221a9c2ba362d00..e25e58aa6942e7c320e191681b36fa24d28c83a1 100644
--- a/src/uncategorized/longSlaveDescription.tw
+++ b/src/uncategorized/longSlaveDescription.tw
@@ -5,7 +5,7 @@
 
 <span id="artFrame">
 /* 000-250-006 */
-<<if $seeImages == 1 && $eventDescription != 1>>
+<<if $seeImages == 1 && ($eventDescription != 1 || passage != "Slave Interact")>>
 	<<if $imageChoice == 1>>
 		<div class="imageRef lrgVector"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 3, 0)>></div>
 	<<else>>
diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw
index 9eab13c4ec957cabaa104731c03c93ff82decb44..7933edb3d250ee14dba0756adf1977b408128cde 100644
--- a/src/uncategorized/slaveInteract.tw
+++ b/src/uncategorized/slaveInteract.tw
@@ -1,39 +1,62 @@
 :: Slave Interact [nobr]
 
-<<set $nextButton = "Confirm changes", $nextLink = "AS Dump", $returnTo = "Main">>
-<<set _SL = $slaves.length, _CL = $canines.length, _HL = $hooved.length, _FL = $felines.length>>
+<style>
+.active {
+	background-color: grey;
+}
+</style>
+
+<span id="artFrame">
+/* 000-250-006 */
+<<if $seeImages == 1 && $eventDescription != 1>>
+ <<if $imageChoice == 1>>
+		<div class="imageRef lrgVector"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 3, 0)>></div>
+ <<else>>
+		<div class="imageRef lrgRender"><div class="mask">&nbsp;</div><<= SlaveArt($activeSlave, 3, 0)>></div>
+ <</if>>
+<</if>>
+/* 000-250-006 */
+</span>
+
+<<if $cheatMode == 1>>
+ <center>//[[Cheat Edit Slave|MOD_Edit Slave Cheat][$cheater = 1]] | [[Cheat Edit Slave Alternative|MOD_Edit Slave Cheat New][$cheater = 1]]//</center>
+<</if>>
+
+<<set $nextButton = "Confirm changes", $nextLink = "AS Dump", $returnTo = "Main", _SL = $slaves.length>>
 <<setLocalPronouns $activeSlave>>
 <<run Enunciate($activeSlave)>>
 
+<<run App.UI.tabbar.handlePreSelectedTab($tabChoice.slaveInteract)>>
+
 <<if !assignmentVisible($activeSlave)>>
-	<<switch $activeSlave.assignment>>
-	<<case "work in the brothel" "be the Madam">>
+ <<switch $activeSlave.assignment>>
+ <<case "work in the brothel" "be the Madam">>
 		<<set $returnTo = "Brothel">>
-	<<case "be confined in the arcade">>
+ <<case "be confined in the arcade">>
 		<<set $returnTo = "Arcade">>
-	<<case "serve in the club" "be the DJ">>
+ <<case "serve in the club" "be the DJ">>
 		<<set $returnTo = "Club">>
-	<<case "work in the dairy" "be the Milkmaid">>
+ <<case "work in the dairy" "be the Milkmaid">>
 		<<set $returnTo = "Dairy">>
-	<<case "work as a farmhand" "be the Farmer">>
+ <<case "work as a farmhand" "be the Farmer">>
 		<<set $returnTo = "Farmyard">>
-	<<case "rest in the spa" "be the Attendant">>
+ <<case "rest in the spa" "be the Attendant">>
 		<<set $returnTo = "Spa">>
-	<<case "work as a nanny" "be the Matron">>
+ <<case "work as a nanny" "be the Matron">>
 		<<set $returnTo = "Nursery">>
-	<<case "learn in the schoolroom" "be the Schoolteacher">>
+ <<case "learn in the schoolroom" "be the Schoolteacher">>
 		<<set $returnTo = "Schoolroom">>
-	<<case "work as a servant" "be the Stewardess">>
+ <<case "work as a servant" "be the Stewardess">>
 		<<set $returnTo = "Servants' Quarters">>
-	<<case "serve in the master suite" "be your Concubine">>
+ <<case "serve in the master suite" "be your Concubine">>
 		<<set $returnTo = "Master Suite">>
-	<<case "be confined in the cellblock" "be the Wardeness">>
+ <<case "be confined in the cellblock" "be the Wardeness">>
 		<<set $returnTo = "Cellblock">>
-	<<case "get treatment in the clinic" "be the Nurse">>
+ <<case "get treatment in the clinic" "be the Nurse">>
 		<<set $returnTo = "Clinic">>
-	<<case "live with your Head Girl">>
+ <<case "live with your Head Girl">>
 		<<set $returnTo = "Head Girl Suite">>
-	<</switch>>
+ <</switch>>
 <</if>>
 
 <<set $encyclopedia = either("Costs Summary", "Disease in the Free Cities", "Drugs and Their Effects", "From Rebellious to Devoted", "Gender", "Independent Slaves", "Modern Anal", "Nymphomania", "Slave Couture")>>
@@ -43,99 +66,13 @@
 
 <<run App.UI.SlaveInteract.placeInLine($activeSlave)>>
 
-<p align="center">
-	<<if $cheatMode == 1>>
-		<div style="font-style:italic">
-			[[Cheat Edit Slave|MOD_Edit Slave Cheat][$cheater = 1]] | 
-			[[Cheat Edit Slave Alternative|MOD_Edit Slave Cheat New][$cheater = 1]]
-		</div>
-	<</if>>
-	<span class="cyan">
-		[←,Q] 
-	</span>
-	<span id="prevSlave" style="font-weight:bold">
-		<<link "Prev" "Previous Slave In Line">><</link>>
-	</span>
-	&nbsp;&nbsp;&nbsp;&nbsp;
-	<span class='slave-name'>
-		$activeSlave.slaveName
-	</span>
-	&nbsp;&nbsp;&nbsp;&nbsp;
-	<span id="nextSlave" style="font-weight:bold">
-		<<link "Next" "Next Slave In Line">><</link>>
-	</span>
-	<span class="cyan">
-		[E,→]
-	</span>
-</p>
-<<if $seeDetails == 1>>
-	<<set $saleDescription = 0>>
-	<span id="LSD"><<include "Long Slave Description">></span>
-	<div style="font-style:italic">
-		<<link "Description Options">>
-			<<replace #hideOptionPages>>
-				|
-				<<link "(hide)">>
-					<<replace #hideOptionPages>>
-					<</replace>>
-					<<replace #optionPages>>
-						/* Hide */
-					<</replace>>
-				<</link>>
-			<</replace>>
-			<<replace #optionPages>>
-				<<include "Description Options">>
-			<</replace>>	
-		<</link>>
-		|
-		[[Hide descriptions|Slave Interact][$seeDetails = 0]]
-		| 
-		<<link "Customize">>/* TODO: making this a flyout for now, but when we go to tabs it should probably be merged into slaveInteract and just be a tab. -LCD */
-			<<replace #hideOptionPages>>
-				|
-				<<link "(hide)">>
-					<<replace #hideOptionPages>>
-					<</replace>>
-					<<replace #optionPages>>
-						/* Hide */
-					<</replace>>
-				<</link>>
-			<</replace>>
-			<<replace #optionPages>>
-				<<include "Add custom descriptors">>
-			<</replace>>	
-		<</link>>
-		|
-		<span style="font-weight:bold">
-			<<link "Update">><<replace "#LSD">><<include "Long Slave Description">><</replace>><</link>>
-		</span>
-		<span id="hideOptionPages"></span>
-		<p id="optionPages"></p>
-	</div>
-<<else>>
-	<div style="font-style:italic">
-		[[Show descriptions|Slave Interact][$seeDetails = 1]]
-	</div>
-<</if>>
-
-<p>
-	__Take slave to another room:__
-	[[Wardrobe|Wardrobe Use][$degradation = 0]]
-	| [[Auto salon|Salon][$degradation = 0,$primaryHairColor = "",$secondaryHairColor = "",$primaryEarColor = "",$secondaryEarColor = "",$primaryTailColor = "",$secondaryTailColor = "",$artificialEyeColor = "",$artificialEyeShape = "",$artificialEyeFill = "",$tattooChoice = "",$piercingLevel = ""]]
-	| [[Body mod studio|Body Modification][$degradation = 0, $tattooChoice = undefined]]
-	| [[Remote surgery|Remote Surgery][$degradation = 0]]
-	<<if $prostheticsUpgrade > 0>>| [[Configure cybernetics|Prosthetics Configuration][$prostheticsConfig = "main"]]<</if>>
-
-
-	<div id="miniscene"></div>
-	<span id="useSlave"></span>
-	<script>
-		App.UI.SlaveInteract.useSlaveDisplay(V.activeSlave)
-	</script>
-</p>
+<center>
+@@.cyan;[←,Q] @@<span id="prevSlave"><strong><<link "Prev" "Previous Slave In Line">><</link>></strong></span>&nbsp;&nbsp;&nbsp;&nbsp;<span class='slave-name'>$activeSlave.slaveName</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="nextSlave"><strong><<link "Next" "Next Slave In Line">><</link>></strong></span>@@.cyan; [E,→]@@
+</center>
 
+/* pregmod start */
 <<if $familyTesting == 1>>
-	<p id="family">
+ <p id="family">
 		<div id="familyTree"></div>
 		<span id="familyTreeLink">
 			<<link "Pull up the file on $his family tree.">>
@@ -144,473 +81,502 @@
 				<</replace>>
 			<</link>>
 		</span>
-	</p>
+ </p>
 <</if>>
-
-<p>
-	<<if $universalRulesImpregnation == "HG" && $seePreg != 0>>
-		<<if $activeSlave.HGExclude == 0>>
-			Will be bred by the Head Girl when fertile. <<link "Exempt $him" "Slave Interact">><<set $activeSlave.HGExclude = 1>><</link>>
-		<<else>>
-			Will not be bred by the Head Girl when fertile. <<link "Include $him" "Slave Interact">><<set $activeSlave.HGExclude = 0>><</link>>
-		<</if>>
-	<</if>>
-</p>
-
-<p>
-	<<if $activeSlave.useRulesAssistant == 0>>
-		<span class="gray">
-			''Not subject'' to the Rules Assistant.
-		</span>
-		<<link "Include $him" "Slave Interact">>
-			<<set $activeSlave.useRulesAssistant = 1>>
-		<</link>>
-	<<else>>
-		__Rules Assistant:__ [[Rules Assistant Options|Rules Assistant]]
-
-		<<if (def $activeSlave.currentRules) && ($activeSlave.currentRules.length > 0)>>
-			<ul style="margin:0">
-				<<= $defaultRules.filter(x => ruleApplied($activeSlave, x)).map(x => `<li>Rule "${x.name}" applied</li>`).join(" ") >>
-			</ul>
-		<<else>>
-			|
-		<</if>>
-		<span style="font-style:italic">
-			<<link "Apply rules">>
-				<<run DefaultRules($activeSlave)>>
-				<<goto "Slave Interact">>
-			<</link>>
-		</span>
-		|
-		<<link "Exempt $him" "Slave Interact">>
-			<<set $activeSlave.useRulesAssistant = 0>>
-		<</link>>
-	<</if>>
-</p>
-
-<p>
+/* pregmod end */
+<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Description')" id="tab Description">Description</button>
+<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Financial')" id="tab Financial">Financial</button>
+<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Rules')" id="tab Rules">Rules</button>
+<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Location')" id="tab Location">Location</button>
+<<if $showWardrobe > 0 && $activeSlave.fuckdoll == 0>>
+	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Appearance')" id="tab Appearance">Appearance</button>
+<</if>>
+<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'PhysicalRegimen')" id="tab PhysicalRegimen">Physical Regimen</button>
+
+<div id="Description" class="tabcontent">
+<div class="content">
+ <<if $seeDetails == 1>>
+		<<set $saleDescription = 0>>
+		//[[Options][]] | [[Hide|Slave Interact][$seeDetails = 0]] | [[Customize|Add custom descriptors]] | ''<<link "Update">><<replace "#LSD">><<include "Long Slave Description">><</replace>><</link>>''//
+		<br> <span id="LSD"><<include "Long Slave Description">></span>
+ <<else>>
+		//[[Show|Slave Interact][$seeDetails = 1]]//
+ <</if>>
+</div>
+</div>
+
+<div id="Location" class="tabcontent">
+<div class="content">
 	<<switch $activeSlave.assignment>>
-		<<case "recover from surgery">>
-			//$He is recovering from surgery this week//
-		<<case "guard you">>
-			//$He is your Bodyguard and is not available for other work//
-		<<case "be the Madam">>
-			//$He is the Madam and is not available for other work//
-		<<case "be the DJ">>
-			//$He is the DJ and is not available for other work//
-		<<case "be the Milkmaid">>
-			//$He is the Milkmaid and is not available for other work//
-		<<case "be the Farmer">>
-			//$He is the Farmer and is not available for other work//
-		<<case "be the Stewardess">>
-			//$He is the Stewardess and is not available for other work//
-		<<case "be your Head Girl">>
-			//$He is your Head Girl and is not available for other work//
-		<<case "recruit girls">>
-			//$He is recruiting slaves and is not available for other work//
-		<<case "be the Nurse">>
-			//$He is the Nurse and is not available for other work//
-		<<case "be the Attendant">>
-			//$He is the Attendant of the spa and is not available for other work//
-		<<case "be the Matron">>
-			//$He is the Matron of the nursery and is not available for other work//
-		<<case "be the Schoolteacher">>
-			//$He is the Schoolteacher and is not available for other work//
-		<<case "be your Concubine">>
-			//$He is your Concubine and is not available for other work//
-		<<case "be the Wardeness">>
-			//$He is the Wardeness and is not available for other work//
-		<<default>>
-
-		/* CAN BE REASSIGNED */
-
-		<div id="fucktoypref"></div>
-		<script>App.UI.SlaveInteract.fucktoyPref(V.activeSlave)</script>
-		
-		<span id="assignmentLinks"></span>
-		<script>App.UI.SlaveInteract.assignmentBlock("assignmentLinks", V.activeSlave)</script>
-
-		<<set _numFacilities = $brothel+$club+$dairy+$farmyard+$servantsQuarters+$masterSuite+$spa+$nursery+$clinic+$schoolroom+$cellblock+$arcade+$HGSuite>>
-
-		<<if _numFacilities > 0>>
-			Transfer to: <<= App.UI.jobLinks.transfers(-1)>>
-		<</if>> /* closes _numFacilities */
+ <<case "recover from surgery">>
+		//$He is recovering from surgery this week//
+ <<case "guard you">>
+		//$He is your Bodyguard and is not available for other work//
+ <<case "be the Madam">>
+		//$He is the Madam and is not available for other work//
+ <<case "be the DJ">>
+		//$He is the DJ and is not available for other work//
+ <<case "be the Milkmaid">>
+		//$He is the Milkmaid and is not available for other work//
+ <<case "be the Farmer">>
+		//$He is the Farmer and is not available for other work//
+ <<case "be the Stewardess">>
+		//$He is the Stewardess and is not available for other work//
+ <<case "be your Head Girl">>
+		//$He is your Head Girl and is not available for other work//
+ <<case "recruit girls">>
+		//$He is recruiting slaves and is not available for other work//
+ <<case "be the Nurse">>
+		//$He is the Nurse and is not available for other work//
+ <<case "be the Attendant">>
+		//$He is the Attendant of the spa and is not available for other work//
+ <<case "be the Matron">>
+		//$He is the Matron of the nursery and is not available for other work//
+ <<case "be the Schoolteacher">>
+		//$He is the Schoolteacher and is not available for other work//
+ <<case "be your Concubine">>
+		//$He is your Concubine and is not available for other work//
+ <<case "be the Wardeness">>
+		//$He is the Wardeness and is not available for other work//
+ <<default>>
+
+	/* CAN BE REASSIGNED */
+
+ <div id="fucktoypref"></div>
+ <script>App.UI.SlaveInteract.fucktoyPref(V.activeSlave)</script>
+
+ <span id="assignmentLinks"></span>
+ <script>App.UI.SlaveInteract.assignmentBlock("assignmentLinks", V.activeSlave)</script>
+
+ <<set _numFacilities = $brothel+$club+$dairy+$farmyard+$servantsQuarters+$masterSuite+$spa+$nursery+$clinic+$schoolroom+$cellblock+$arcade+$HGSuite>>
+
+ <<if _numFacilities > 0>>
+		Transfer to: <<= App.UI.jobLinks.transfers(-1)>>
+ <</if>> /* closes _numFacilities */
 
 	<</switch>> /* END CAN BE REASSIGNED */
 
-	<<if $activeSlave.assignment == "whore" || $activeSlave.assignment == "work in the brothel">>
-		<br>Whoring Target: <strong><span id="whoreClass"><<if !$activeSlave.whoreClass>>auto<<elseif $activeSlave.whoreClass == 1>>the lower class<<elseif $activeSlave.whoreClass == 2>>the middle class<<elseif $activeSlave.whoreClass == 3>>the upper class<<elseif $activeSlave.whoreClass == 4>>millionaires<<else>>THERE HAS BEEN AN ERROR<</if>></span></strong>. //This is the highest class they are allowed to service, when eligible//
-		<<link "Auto">><<set $activeSlave.whoreClass = 0>><<replace "#whoreClass">>auto<</replace>><</link>> |
-		<<link "Lower Class">><<set $activeSlave.whoreClass = 1>><<replace "#whoreClass">>the lower class<</replace>><</link>> |
-		<<link "Middle Class">><<set $activeSlave.whoreClass = 2>><<replace "#whoreClass">>the middle class<</replace>><</link>> |
-		<<link "Upper Class">><<set $activeSlave.whoreClass = 3>><<replace "#whoreClass">>the upper class<</replace>><</link>> |
-		<<link "Millionaires">><<set $activeSlave.whoreClass = 4>><<replace "#whoreClass">>millionaires<</replace>><</link>>
-	<</if>>
-</p>
+<<if $activeSlave.assignment == "whore" || $activeSlave.assignment == "work in the brothel">>
+ <br>Whoring Target: <strong><span id="whoreClass"><<if !$activeSlave.whoreClass>>auto<<elseif $activeSlave.whoreClass == 1>>the lower class<<elseif $activeSlave.whoreClass == 2>>the middle class<<elseif $activeSlave.whoreClass == 3>>the upper class<<elseif $activeSlave.whoreClass == 4>>millionaires<<else>>THERE HAS BEEN AN ERROR<</if>></span></strong>. //This is the highest class they are allowed to service, when eligible//
+ <<link "Auto">><<set $activeSlave.whoreClass = 0>><<replace "#whoreClass">>auto<</replace>><</link>> |
+ <<link "Lower Class">><<set $activeSlave.whoreClass = 1>><<replace "#whoreClass">>the lower class<</replace>><</link>> |
+ <<link "Middle Class">><<set $activeSlave.whoreClass = 2>><<replace "#whoreClass">>the middle class<</replace>><</link>> |
+ <<link "Upper Class">><<set $activeSlave.whoreClass = 3>><<replace "#whoreClass">>the upper class<</replace>><</link>> |
+ <<link "Millionaires">><<set $activeSlave.whoreClass = 4>><<replace "#whoreClass">>millionaires<</replace>><</link>>
+<</if>>
 
-<<if $showWardrobe == 1>>
-	<p>
-		__Appearance:__
+	<br>__Take slave to another room:__
+ [[Wardrobe|Wardrobe Use][$degradation = 0]]
+ | [[Auto salon|Salon][$degradation = 0,$primaryHairColor = "",$secondaryHairColor = "",$primaryEarColor = "",$secondaryEarColor = "",$primaryTailColor = "",$secondaryTailColor = "",$artificialEyeColor = "",$artificialEyeShape = "",$artificialEyeFill = "",$tattooChoice = "",$piercingLevel = ""]]
+ | [[Body mod studio|Body Modification][$degradation = 0, $tattooChoice = undefined]]
+ | [[Remote surgery|Remote Surgery][$degradation = 0]]
+ <<if $prostheticsUpgrade > 0>>| [[Configure cybernetics|Prosthetics Configuration][$prostheticsConfig = "main"]]<</if>>
+	<div id="miniscene"></div>
+ <span id="useSlave"></span>
+ <script>
+		App.UI.SlaveInteract.useSlaveDisplay(V.activeSlave)
+ </script>
+</div>
+</div>
+
+<div id="Appearance" class="tabcontent">
+<div class="content">
+	<<if $showMainClothing != 0>>
+		<span id="clothes"></span>
+		<script>App.UI.Wardrobe.clothes(V.activeSlave)</script>
+	<</if>>
 
-		<<if $activeSlave.fuckdoll == 0>>
-			<<if $showMainClothing != 0>>
-				<span id="clothes"></span>
-				<script>App.UI.Wardrobe.clothes(V.activeSlave)</script>
-			<</if>>
+	<span id="collar"></span>
+	<script>App.UI.Wardrobe.collar(V.activeSlave)</script>
 
 			<span id="collar"></span>
 			<script>App.UI.Wardrobe.collar(V.activeSlave)</script>
 
-			<span id="armAccessory"></span>
-			<script>App.UI.Wardrobe.armAccessory(V.activeSlave)</script>
-
-			<<if hasAnyLegs($activeSlave)>>
-				<span id="shoes"></span>
-				<script>App.UI.Wardrobe.shoes(V.activeSlave)</script>
-
-				<span id="legAccessory"></span>
-				<script>App.UI.Wardrobe.legAccessory(V.activeSlave)</script>
-			<</if>>
+ <<if hasAnyLegs($activeSlave)>>
+		<span id="shoes"></span>
+		<script>App.UI.Wardrobe.shoes(V.activeSlave)</script>
 
-			<span id="bellyAccessory"></span>
-			<script>App.UI.Wardrobe.bellyAccessory(V.activeSlave)</script>
+		<span id="legAccessory"></span>
+		<script>App.UI.Wardrobe.legAccessory(V.activeSlave)</script>
+ <</if>>
 
-			<span id="buttplug"></span>
-			<script>App.UI.Wardrobe.buttplug(V.activeSlave)</script>
+ <span id="bellyAccessory"></span>
+ <script>App.UI.Wardrobe.bellyAccessory(V.activeSlave)</script>
 
-			<<if isItemAccessible("tail") && $activeSlave.buttplug != "none">>
-				<span id="buttplugAttachment"></span>
-				<script>App.UI.Wardrobe.buttplugAttachment(V.activeSlave)</script>
-			<</if>>
+ <span id="buttplug"></span>
+ <script>App.UI.Wardrobe.buttplug(V.activeSlave)</script>
 
-			<<if $activeSlave.vagina > -1>>
-				<span id="vaginalAccessory"></span>
-				<script>App.UI.Wardrobe.vaginalAccessory(V.activeSlave)</script>
-				<span id="vaginalAttachment"></span>
-				<script>App.UI.Wardrobe.vaginalAttachment(V.activeSlave)</script>
-			<</if>>
+ <<if isItemAccessible("tail") && $activeSlave.buttplug != "none">>
+		<span id="buttplugAttachment"></span>
+		<script>App.UI.Wardrobe.buttplugAttachment(V.activeSlave)</script>
+ <</if>>
 
-			<<if $activeSlave.dick > 0>>
-				<span id="dickAccessory"></span>
-				<script>App.UI.Wardrobe.dickAccessory(V.activeSlave)</script>
-			<</if>>
+ <<if $activeSlave.vagina > -1>>
+		<span id="vaginalAccessory"></span>
+		<script>App.UI.Wardrobe.vaginalAccessory(V.activeSlave)</script>
+		<span id="vaginalAttachment"></span>
+		<script>App.UI.Wardrobe.vaginalAttachment(V.activeSlave)</script>
+ <</if>>
 
-			<span id="chastity"></span>
-			<script>App.UI.Wardrobe.chastity(V.activeSlave)</script>
+ <<if $activeSlave.dick > 0>>
+		<span id="dickAccessory"></span>
+		<script>App.UI.Wardrobe.dickAccessory(V.activeSlave)</script>
+ <</if>>
 
-		<</if>> /* CLOSES FUCKDOLL CHECK */
-	</p>
-<</if>>	/* CLOSES WARDROBE CHECK */
+ <span id="chastity"></span>
+ <script>App.UI.Wardrobe.chastity(V.activeSlave)</script>
+</div>
+</div>
 
-__Physical Regimen:__
-<span id="drugs"></span>
-<script>App.UI.SlaveInteract.drugs(V.activeSlave)</script>
+<div id="PhysicalRegimen" class="tabcontent">
+<div class="content">
+ <span id="drugs"></span>
+ <script>App.UI.SlaveInteract.drugs(V.activeSlave)</script>
 
-<span id="curatives"></span>
-<script>App.UI.SlaveInteract.curatives(V.activeSlave)</script>
+ <span id="curatives"></span>
+ <script>App.UI.SlaveInteract.curatives(V.activeSlave)</script>
 
-<span id="aphrodisiacs"></span>
-<script>App.UI.SlaveInteract.aphrodisiacs(V.activeSlave)</script>
+ <span id="aphrodisiacs"></span>
+ <script>App.UI.SlaveInteract.aphrodisiacs(V.activeSlave)</script>
 
-<span id="fertilityblock"></span>
-<script>App.UI.SlaveInteract.fertility(V.activeSlave)</script>
+ <span id="fertilityblock"></span>
+ <script>App.UI.SlaveInteract.fertility(V.activeSlave)</script>
 
-<span id="incubator"></span>
-<script>App.UI.SlaveInteract.incubator(V.activeSlave)</script>
-
-<span id="nursery"></span>
-<script>App.UI.SlaveInteract.nursery(V.activeSlave)</script>
-
-<<if $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
-	<<if $activeSlave.breedingMark == 0 && $activeSlave.fuckdoll == 0 && $activeSlave.eggType == "human" && isFertile($activeSlave) && $activeSlave.preg == 0>>
-		<br>&nbsp;&nbsp;&nbsp;&nbsp;
-		[[Breeder Eligibility Exam|BreedingTest]]
-	<</if>>
-<</if>>
+ <span id="incubator"></span>
+ <script>App.UI.SlaveInteract.incubator(V.activeSlave)</script>
 
-<span id="bloating"></span>
-<script>App.UI.SlaveInteract.bloating(V.activeSlave)</script>
+ <span id="nursery"></span>
+ <script>App.UI.SlaveInteract.nursery(V.activeSlave)</script>
 
-Hormones: <strong><span id="hormones">
-<<if $activeSlave.hormones == -2>>intensive male<<elseif $activeSlave.hormones == -1>>male<<elseif $activeSlave.hormones == 2>>intensive female<<elseif $activeSlave.hormones == 1>>female<<else>>none<</if>></span></strong>.
-<<if $activeSlave.indentureRestrictions < 2>>
-	<<link "Intensive Female">><<set $activeSlave.hormones = 2>><<replace "#hormones">>intensive female<</replace>><</link>> |
-<</if>>
-<<link "Female">><<set $activeSlave.hormones = 1>><<replace "#hormones">>female<</replace>><</link>> |
-<<link "None">><<set $activeSlave.hormones = 0>><<replace "#hormones">>none<</replace>><</link>> |
-<<link "Male">><<set $activeSlave.hormones = -1>><<replace "#hormones">>male<</replace>><</link>> |
-<<if $activeSlave.indentureRestrictions < 2>>
-	<<link "Intensive Male">><<set $activeSlave.hormones = -2>><<replace "#hormones">>intensive male<</replace>><</link>>
-<</if>>
-
-<br>Diet: <strong><span id="diet">$activeSlave.diet</span></strong>.
-<<link "Healthy">><<set $activeSlave.diet = "healthy">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<if ($activeSlave.health.condition < 90 || $activeSlave.chem >= 10) && ($dietCleanse == 1)>>
-	| <<link "Cleanse">><<set $activeSlave.diet = "cleansing">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<elseif ($dietCleanse == 1)>>
-	| //$He is already healthy//
-<</if>>
-<<if ($activeSlave.balls > 0) && ($cumProDiet == 1)>>
-	| <<link "Cum production">><<set $activeSlave.diet = "cum production">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<</if>>
-<<if isFertile($activeSlave) && $activeSlave.preg == 0 && ($dietFertility == 1)>>
-	| <<link "Fertility">><<set $activeSlave.diet = "fertility">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<</if>>
-<<if ($activeSlave.weight >= -95)>>
-	| <<link "Lose weight">><<set $activeSlave.diet = "restricted">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<else>>
-	| //$He is already underweight//
-<</if>>
-<<if $activeSlave.weight <= 200>>
-	| <<link "Fatten">><<set $activeSlave.diet = "fattening">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<else>>
-	| //$He is already extremely overweight//
-<</if>>
-<<if $feeder == 1>>
-	| <<link "Estrogen enriched">><<set $activeSlave.diet = "XX">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-	| <<link "Testosterone enriched">><<set $activeSlave.diet = "XY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-	<<if $dietXXY == 1 && $activeSlave.balls > 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
-		| <<link "Herm hormone blend">><<set $activeSlave.diet = "XXY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<if $propOutcome == 1 && $arcologies[0].FSRestart != "unset">>
+		<<if $activeSlave.breedingMark == 0 && $activeSlave.fuckdoll == 0 && $activeSlave.eggType == "human" && isFertile($activeSlave) && $activeSlave.preg == 0>>
+			<br>&nbsp;&nbsp;&nbsp;&nbsp;
+			[[Breeder Eligibility Exam|BreedingTest]]
+		<</if>>
+ <</if>>
+
+ <span id="bloating"></span>
+ <script>App.UI.SlaveInteract.bloating(V.activeSlave)</script>
+
+ Hormones: <strong><span id="hormones">
+ <<if $activeSlave.hormones == -2>>intensive male<<elseif $activeSlave.hormones == -1>>male<<elseif $activeSlave.hormones == 2>>intensive female<<elseif $activeSlave.hormones == 1>>female<<else>>none<</if>></span></strong>.
+ <<if $activeSlave.indentureRestrictions < 2>>
+		<<link "Intensive Female">><<set $activeSlave.hormones = 2>><<replace "#hormones">>intensive female<</replace>><</link>> |
+ <</if>>
+ <<link "Female">><<set $activeSlave.hormones = 1>><<replace "#hormones">>female<</replace>><</link>> |
+ <<link "None">><<set $activeSlave.hormones = 0>><<replace "#hormones">>none<</replace>><</link>> |
+ <<link "Male">><<set $activeSlave.hormones = -1>><<replace "#hormones">>male<</replace>><</link>> |
+ <<if $activeSlave.indentureRestrictions < 2>>
+		<<link "Intensive Male">><<set $activeSlave.hormones = -2>><<replace "#hormones">>intensive male<</replace>><</link>>
+ <</if>>
+
+ <br>Diet: <strong><span id="diet">$activeSlave.diet</span></strong>.
+ <<link "Healthy">><<set $activeSlave.diet = "healthy">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<if ($activeSlave.health.condition < 90 || $activeSlave.chem >= 10) && ($dietCleanse == 1)>>
+		| <<link "Cleanse">><<set $activeSlave.diet = "cleansing">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<elseif ($dietCleanse == 1)>>
+		| //$He is already healthy//
+ <</if>>
+ <<if ($activeSlave.balls > 0) && ($cumProDiet == 1)>>
+		| <<link "Cum production">><<set $activeSlave.diet = "cum production">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <</if>>
+ <<if isFertile($activeSlave) && $activeSlave.preg == 0 && ($dietFertility == 1)>>
+		| <<link "Fertility">><<set $activeSlave.diet = "fertility">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <</if>>
+ <<if ($activeSlave.weight >= -95)>>
+		| <<link "Lose weight">><<set $activeSlave.diet = "restricted">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<else>>
+		| //$He is already underweight//
+ <</if>>
+ <<if $activeSlave.weight <= 200>>
+		| <<link "Fatten">><<set $activeSlave.diet = "fattening">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<else>>
+		| //$He is already extremely overweight//
+ <</if>>
+ <<if $feeder == 1>>
+		| <<link "Estrogen enriched">><<set $activeSlave.diet = "XX">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+		| <<link "Testosterone enriched">><<set $activeSlave.diet = "XY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+		<<if $dietXXY == 1 && $activeSlave.balls > 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>>
+			| <<link "Herm hormone blend">><<set $activeSlave.diet = "XXY">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+		<</if>>
+ <</if>>
+ <<if ($activeSlave.muscles <= 95) && !isAmputee($activeSlave)>>
+		| <<link "Build muscle">><<set $activeSlave.diet = "muscle building">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<elseif !isAmputee($activeSlave)>>
+		| //$He is maintaining $his enormous musculature//
+ <<else>>
+		| //$He has no limbs and thus can't effectively build muscle//
+ <</if>>
+ <<if ($activeSlave.muscles > 5 || $activeSlave.fuckdoll == 0) && canWalk($activeSlave)>>
+		| <<link "Slim down">><<set $activeSlave.diet = "slimming">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
+ <<elseif !canWalk($activeSlave)>>
+		| //$He can't move and thus can't trim down//
+ <<elseif $activeSlave.fuckdoll > 0>>
+		| //$He has no muscles left to lose//
+ <</if>>
+
+ <br>Diet Base: <strong><span id="dietBase"><<if $activeSlave.dietCum == 2>>cum based<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 0)>>cum added<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 1)>>cum and milk added<<elseif ($activeSlave.dietMilk == 1) && ($activeSlave.dietCum == 0)>>milk added<<elseif ($activeSlave.dietMilk == 2)>>milk based<<elseif ($activeSlave.dietCum == 0) && ($activeSlave.dietMilk == 0)>>normal<<else>>THERE HAS BEEN AN ERROR<</if>></span></strong>.
+ <<link "Normal">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>normal<</replace>><</link>> |
+ <<link "Cum added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>cum added<</replace>><</link>> |
+ <<link "Milk added">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>milk added<</replace>><</link>> |
+ <<link "Cum & milk added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>cum & milk added<</replace>><</link>> |
+ <<link "Cum based">><<set $activeSlave.dietCum = 2>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>cum based<</replace>><</link>> |
+ <<link "Milk based">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 2>><<replace "#dietBase">>milk based<</replace>><</link>>
+
+ <<if $arcologies[0].FSHedonisticDecadenceResearch == 1>>
+		<br>Solid Slave Food Access: <strong><span id="snacks"><<if $activeSlave.onDiet == 0>>Free to stuff $himself.<<else>>On a strict diet.<</if>></span></strong>
+		<<link "No access">><<set $activeSlave.onDiet = 1>><<replace "#snacks">>On a strict diet.<</replace>><</link>> |
+		<<link "Full access">><<set $activeSlave.onDiet = 0>><<replace "#snacks">>Free to stuff $himself.<</replace>><</link>>
+ <</if>>
+</div>
+</div>
+
+<div id="Rules" class="tabcontent">
+<div class="content">
+	<<if $universalRulesImpregnation == "HG" && $seePreg != 0>>
+		<<if $activeSlave.HGExclude == 0>>
+			Will be bred by the Head Girl when fertile. <<link "Exempt $him" "Slave Interact">><<set $activeSlave.HGExclude = 1>><</link>>
+		<<else>>
+			Will not be bred by the Head Girl when fertile. <<link "Include $him" "Slave Interact">><<set $activeSlave.HGExclude = 0>><</link>>
+		<</if>>
+		<br>
 	<</if>>
-<</if>>
-<<if ($activeSlave.muscles <= 95) && !isAmputee($activeSlave)>>
-	| <<link "Build muscle">><<set $activeSlave.diet = "muscle building">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<elseif !isAmputee($activeSlave)>>
-	| //$He is maintaining $his enormous musculature//
-<<else>>
-	| //$He has no limbs and thus can't effectively build muscle//
-<</if>>
-<<if ($activeSlave.muscles > 5 || $activeSlave.fuckdoll == 0) && canWalk($activeSlave)>>
-	| <<link "Slim down">><<set $activeSlave.diet = "slimming">><<replace "#diet">>$activeSlave.diet<</replace>><</link>>
-<<elseif !canWalk($activeSlave)>>
-	| //$He can't move and thus can't trim down//
-<<elseif $activeSlave.fuckdoll > 0>>
-	| //$He has no muscles left to lose//
-<</if>>
 
-<br>Diet Base: <strong><span id="dietBase"><<if $activeSlave.dietCum == 2>>cum based<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 0)>>cum added<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 1)>>cum and milk added<<elseif ($activeSlave.dietMilk == 1) && ($activeSlave.dietCum == 0)>>milk added<<elseif ($activeSlave.dietMilk == 2)>>milk based<<elseif ($activeSlave.dietCum == 0) && ($activeSlave.dietMilk == 0)>>normal<<else>>THERE HAS BEEN AN ERROR<</if>></span></strong>.
-<<link "Normal">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>normal<</replace>><</link>> |
-<<link "Cum added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>cum added<</replace>><</link>> |
-<<link "Milk added">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>milk added<</replace>><</link>> |
-<<link "Cum & milk added">><<set $activeSlave.dietCum = 1>><<set $activeSlave.dietMilk = 1>><<replace "#dietBase">>cum & milk added<</replace>><</link>> |
-<<link "Cum based">><<set $activeSlave.dietCum = 2>><<set $activeSlave.dietMilk = 0>><<replace "#dietBase">>cum based<</replace>><</link>> |
-<<link "Milk based">><<set $activeSlave.dietCum = 0>><<set $activeSlave.dietMilk = 2>><<replace "#dietBase">>milk based<</replace>><</link>>
-
-<<if $arcologies[0].FSHedonisticDecadenceResearch == 1>>
-	<br>Solid Slave Food Access: <strong><span id="snacks"><<if $activeSlave.onDiet == 0>>Free to stuff $himself.<<else>>On a strict diet.<</if>></span></strong>
-	<<link "No access">><<set $activeSlave.onDiet = 1>><<replace "#snacks">>On a strict diet.<</replace>><</link>> |
-	<<link "Full access">><<set $activeSlave.onDiet = 0>><<replace "#snacks">>Free to stuff $himself.<</replace>><</link>>
-<</if>>
+ <<if $activeSlave.useRulesAssistant == 0>>
+		@@.gray;''Not subject'' to the Rules Assistant.@@
+		<<link "Include $him" "Slave Interact">><<set $activeSlave.useRulesAssistant = 1>><</link>>
+		<br>
+ <<else>>
+		__Rules Assistant:__ [[Rules Assistant Options|Rules Assistant]]
 
-<br><br>__Behavior__:<br>
-<<if $activeSlave.fuckdoll > 0>>
-	//Rules have little meaning for living sex toys//
-<<else>>
-	<<set _visibleSlaves = $slaves.filter(s => assignmentVisible(s) && (s.assignment != "be your Head Girl" || $HGSuite != 1) && (s.assignment != "guard you" || $dojo <= 1)),
-		$dormitoryPopulation = _visibleSlaves.filter(s => s.rules.living != "luxurious").length,
-		$roomsPopulation = _visibleSlaves.length - $dormitoryPopulation - _visibleSlaves.filter(s => s.rules.living == "luxurious" && s.relationship >= 4).length * 0.5>>
-
-	Living standard: ''<span id="livingRules">$activeSlave.rules.living</span>.''
-	<<if setup.facilityCareers.includes($activeSlave.assignment)>>
-		//$His living conditions are managed by $his assignment.//
-	<<elseif ($activeSlave.assignment == "be your Head Girl") && ($HGSuite == 1)>>
-		//$He has $his own little luxurious room in the penthouse with everything $he needs to be a proper Head Girl.//
-	<<elseif ($activeSlave.assignment == "guard you") && ($dojo > 1)>>
-		//$He has a comfortable room in the armory to call $his own.//
-	<<else>>
-		<<link "Spare">><<set $activeSlave.rules.living = "spare">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>> |
-		<<link "Normal">><<set $activeSlave.rules.living = "normal">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>> |
-		<<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeSlave.rules.living = "luxurious">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>><<else>>//No luxurious rooms available//<</if>>
-	<</if>>
+		<<if (def $activeSlave.currentRules) && ($activeSlave.currentRules.length > 0)>>
+			<ul>
+				<<= $defaultRules.filter(x => ruleApplied($activeSlave, x)).map(x => `<li>Rule "${x.name}" applied</li>`).join(" ") >>
+			</ul>
+		<</if>>
+		| <<link "//Apply rules//">>
+			<<silently>>
+				<<run DefaultRules($activeSlave)>>
+			<</silently>>
+			<<goto "Slave Interact">>
+		<</link>>
+		| <<link "Exempt $him" "Slave Interact">><<set $activeSlave.useRulesAssistant = 0>><</link>>
+ <</if>>
+
+ <br><br>
+ <<if $activeSlave.fuckdoll > 0>>
+		//Rules have little meaning for living sex toys//
+ <<else>>
+		<<set _visibleSlaves = $slaves.filter(s => assignmentVisible(s) && (s.assignment != "be your Head Girl" || $HGSuite != 1) && (s.assignment != "guard you" || $dojo <= 1)),
+			$dormitoryPopulation = _visibleSlaves.filter(s => s.rules.living != "luxurious").length,
+			$roomsPopulation = _visibleSlaves.length - $dormitoryPopulation - _visibleSlaves.filter(s => s.rules.living == "luxurious" && s.relationship >= 4).length * 0.5>>
+
+		Living standard: ''<span id="livingRules">$activeSlave.rules.living</span>.''
+		<<if setup.facilityCareers.includes($activeSlave.assignment)>>
+			//$His living conditions are managed by $his assignment.//
+		<<elseif ($activeSlave.assignment == "be your Head Girl") && ($HGSuite == 1)>>
+			//$He has $his own little luxurious room in the penthouse with everything $he needs to be a proper Head Girl.//
+		<<elseif ($activeSlave.assignment == "guard you") && ($dojo > 1)>>
+			//$He has a comfortable room in the armory to call $his own.//
+		<<else>>
+			<<link "Spare">><<set $activeSlave.rules.living = "spare">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>> |
+			<<link "Normal">><<set $activeSlave.rules.living = "normal">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>> |
+			<<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeSlave.rules.living = "luxurious">><<replace "#livingRules">>$activeSlave.rules.living<</replace>><</link>><<else>>//No luxurious rooms available//<</if>>
+		<</if>>
 
-	<br>Typical punishment: ''<span id="standardPunishment">$activeSlave.rules.punishment</span>.''
-	<<link "Confinement">><<set $activeSlave.rules.punishment = "confinement">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
-	<<link "Whipping">><<set $activeSlave.rules.punishment = "whipping">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
-	<<link "Chastity">><<set $activeSlave.rules.punishment = "chastity">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
-	<<link "Situational">><<set $activeSlave.rules.punishment = "situational">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>>
-	&nbsp;&nbsp;&nbsp;&nbsp;
-	Typical reward: ''<span id="standardReward">$activeSlave.rules.reward</span>.''
-	<<link "Relaxation">><<set $activeSlave.rules.reward = "relaxation">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
-	<<link "Drugs">><<set $activeSlave.rules.reward = "drugs">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
-	<<link "Orgasm">><<set $activeSlave.rules.reward = "orgasm">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
-	<<link "Situational">><<set $activeSlave.rules.reward = "situational">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>>
-
-	<<if setup.facilityHeads.includes($activeSlave.assignment)>>
-		<<if $activeSlave.lactation != 2>>
-			<br>Lactation maintenance for facility heads: ''<span id="lactationRules">$activeSlave.rules.lactation</span>.''
-			<<link "Left alone">><<set $activeSlave.rules.lactation = "none">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>> |
-			<<if $activeSlave.lactation == 0>>
-				<<link "Induce lactation">><<set $activeSlave.rules.lactation = "induce">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>>
-			<<else>>
-				<<link "Maintain lactation">><<set $activeSlave.rules.lactation = "maintain">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>>
+		<br>Typical punishment: ''<span id="standardPunishment">$activeSlave.rules.punishment</span>.''
+		<<link "Confinement">><<set $activeSlave.rules.punishment = "confinement">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
+		<<link "Whipping">><<set $activeSlave.rules.punishment = "whipping">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
+		<<link "Chastity">><<set $activeSlave.rules.punishment = "chastity">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>> |
+		<<link "Situational">><<set $activeSlave.rules.punishment = "situational">><<replace "#standardPunishment">>$activeSlave.rules.punishment<</replace>><</link>>
+		<br>Typical reward: ''<span id="standardReward">$activeSlave.rules.reward</span>.''
+		<<link "Relaxation">><<set $activeSlave.rules.reward = "relaxation">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
+		<<link "Drugs">><<set $activeSlave.rules.reward = "drugs">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
+		<<link "Orgasm">><<set $activeSlave.rules.reward = "orgasm">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>> |
+		<<link "Situational">><<set $activeSlave.rules.reward = "situational">><<replace "#standardReward">>$activeSlave.rules.reward<</replace>><</link>>
+
+		<<if setup.facilityHeads.includes($activeSlave.assignment)>>
+			<<if $activeSlave.lactation != 2>>
+				<br>Lactation maintenance for facility heads: ''<span id="lactationRules">$activeSlave.rules.lactation</span>.''
+				<<link "Left alone">><<set $activeSlave.rules.lactation = "none">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>> |
+				<<if $activeSlave.lactation == 0>>
+					<<link "Induce lactation">><<set $activeSlave.rules.lactation = "induce">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>>
+				<<else>>
+					<<link "Maintain lactation">><<set $activeSlave.rules.lactation = "maintain">><<replace "#lactationRules">>$activeSlave.rules.lactation<</replace>><</link>>
+				<</if>>
 			<</if>>
 		<</if>>
-	<</if>>
 
-	<br><br>Non-assignment orgasm rules:
-	<div style="text-indent:2em">
-	Masturbation is ''<span id="relMasturbation"><<if $activeSlave.rules.release.masturbation === 1>>allowed<<else>>forbidden<</if>></span>.''
-		<<link "Allow">><<set $activeSlave.rules.release.masturbation = 1>><<replace "#relMasturbation">>allowed<</replace>><</link>> |
-		<<link "Forbid">><<set $activeSlave.rules.release.masturbation = 0>><<replace "#relMasturbation">>forbidden<</replace>><</link>>
-	</div>
-	<div style="text-indent:2em">
-	Sex with romantic partner is ''<span id="relPartner"><<if $activeSlave.rules.release.partner === 1>>allowed<<else>>forbidden<</if>></span>.''
-		<<link "Allow">><<set $activeSlave.rules.release.partner = 1>><<replace "#relPartner">>allowed<</replace>><</link>> |
-		<<link "Forbid">><<set $activeSlave.rules.release.partner = 0>><<replace "#relPartner">>forbidden<</replace>><</link>>
-	</div>
-	<<if $seeIncest == 1>>
+		<br><br>Non-assignment orgasm rules:
 		<div style="text-indent:2em">
-		Sex with close family is ''<span id="relFamily"><<if $activeSlave.rules.release.family === 1>>allowed<<else>>forbidden<</if>></span>.''
-			<<link "Allow">><<set $activeSlave.rules.release.family = 1>><<replace "#relFamily">>allowed<</replace>><</link>> |
-			<<link "Forbid">><<set $activeSlave.rules.release.family = 0>><<replace "#relFamily">>forbidden<</replace>><</link>>
+		Masturbation is ''<span id="relMasturbation"><<if $activeSlave.rules.release.masturbation === 1>>allowed<<else>>forbidden<</if>></span>.''
+			<<link "Allow">><<set $activeSlave.rules.release.masturbation = 1>><<replace "#relMasturbation">>allowed<</replace>><</link>> |
+			<<link "Forbid">><<set $activeSlave.rules.release.masturbation = 0>><<replace "#relMasturbation">>forbidden<</replace>><</link>>
 		</div>
-	<</if>>
-	<div style="text-indent:2em">
-	Sex with other slaves is ''<span id="relSlaves"><<if $activeSlave.rules.release.slaves === 1>>allowed<<else>>forbidden<</if>></span>.''
-		<<link "Allow">><<set $activeSlave.rules.release.slaves = 1>><<replace "#relSlaves">>allowed<</replace>><</link>> |
-		<<link "Forbid">><<set $activeSlave.rules.release.slaves = 0>><<replace "#relSlaves">>forbidden<</replace>><</link>>
-	</div>
-	<div style="text-indent:2em">
-	Routine sex with <<= properMaster()>> is ''<span id="relMaster"><<if $activeSlave.rules.release.master === 1>>granted<<else>>denied<</if>></span>.''
-		<<link "Grant">><<set $activeSlave.rules.release.master = 1>><<replace "#relMaster">>granted<</replace>><</link>> |
-		<<link "Deny">><<set $activeSlave.rules.release.master = 0>><<replace "#relMaster">>denied<</replace>><</link>>
-	</div>
-<</if>>
+		<div style="text-indent:2em">
+		Sex with romantic partner is ''<span id="relPartner"><<if $activeSlave.rules.release.partner === 1>>allowed<<else>>forbidden<</if>></span>.''
+			<<link "Allow">><<set $activeSlave.rules.release.partner = 1>><<replace "#relPartner">>allowed<</replace>><</link>> |
+			<<link "Forbid">><<set $activeSlave.rules.release.partner = 0>><<replace "#relPartner">>forbidden<</replace>><</link>>
+		</div>
+		<<if $seeIncest == 1>>
+			<div style="text-indent:2em">
+			Sex with close family is ''<span id="relFamily"><<if $activeSlave.rules.release.family === 1>>allowed<<else>>forbidden<</if>></span>.''
+				<<link "Allow">><<set $activeSlave.rules.release.family = 1>><<replace "#relFamily">>allowed<</replace>><</link>> |
+				<<link "Forbid">><<set $activeSlave.rules.release.family = 0>><<replace "#relFamily">>forbidden<</replace>><</link>>
+			</div>
+		<</if>>
+		<div style="text-indent:2em">
+		Sex with other slaves is ''<span id="relSlaves"><<if $activeSlave.rules.release.slaves === 1>>allowed<<else>>forbidden<</if>></span>.''
+			<<link "Allow">><<set $activeSlave.rules.release.slaves = 1>><<replace "#relSlaves">>allowed<</replace>><</link>> |
+			<<link "Forbid">><<set $activeSlave.rules.release.slaves = 0>><<replace "#relSlaves">>forbidden<</replace>><</link>>
+		</div>
+		<div style="text-indent:2em">
+		Routine sex with <<= properMaster()>> is ''<span id="relMaster"><<if $activeSlave.rules.release.master === 1>>granted<<else>>denied<</if>></span>.''
+			<<link "Grant">><<set $activeSlave.rules.release.master = 1>><<replace "#relMaster">>granted<</replace>><</link>> |
+			<<link "Deny">><<set $activeSlave.rules.release.master = 0>><<replace "#relMaster">>denied<</replace>><</link>>
+		</div>
+ <</if>>
 
-<<if $activeSlave.clitPiercing == 3 || $activeSlave.vaginalAccessory == "smart bullet vibrator">>
-	<div>
-	<<if $activeSlave.clitPiercing == 3>>
-		<<if $activeSlave.dick < 1>>
-			$His smart clit piercing <<if $activeSlave.vaginalAccessory == "smart bullet vibrator">>and smart bullet vibrator are<<else>>is<</if>> set to
+ <<if $activeSlave.clitPiercing == 3 || $activeSlave.vaginalAccessory == "smart bullet vibrator">>
+		<div>
+		<<if $activeSlave.clitPiercing == 3>>
+			<<if $activeSlave.dick < 1>>
+				$His smart clit piercing <<if $activeSlave.vaginalAccessory == "smart bullet vibrator">>and smart bullet vibrator are<<else>>is<</if>> set to
+			<<else>>
+				$His smart frenulum piercing <<if $activeSlave.vaginalAccessory == "smart bullet vibrator">>and smart bullet vibrator are<<else>>is<</if>> set to
+			<</if>>
 		<<else>>
-			$His smart frenulum piercing <<if $activeSlave.vaginalAccessory == "smart bullet vibrator">>and smart bullet vibrator are<<else>>is<</if>> set to
+			$His smart bullet vibe is set to
 		<</if>>
-	<<else>>
-		$His smart bullet vibe is set to
-	<</if>>
-	<strong><span id="setting">$activeSlave.clitSetting</span></strong>.
-	<<link "Vanilla">><<set $activeSlave.clitSetting = "vanilla">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Oral">><<set $activeSlave.clitSetting = "oral">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Anal">><<set $activeSlave.clitSetting = "anal">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Boobs">><<set $activeSlave.clitSetting = "boobs">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Sub">><<set $activeSlave.clitSetting = "submissive">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Dom">><<set $activeSlave.clitSetting = "dom">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Humiliation">><<set $activeSlave.clitSetting = "humiliation">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	<<if $seePreg != 0>>
-		| <<link "Preg">><<set $activeSlave.clitSetting = "pregnancy">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	<</if>>
-	| <<link "Pain">><<set $activeSlave.clitSetting = "masochist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Sadism">><<set $activeSlave.clitSetting = "sadist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Men">><<set $activeSlave.clitSetting = "men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Anti-men">><<set $activeSlave.clitSetting = "anti-men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Women">><<set $activeSlave.clitSetting = "women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "Anti-women">><<set $activeSlave.clitSetting = "anti-women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "All sex">><<set $activeSlave.clitSetting = "all">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	| <<link "No sex">><<set $activeSlave.clitSetting = "none">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
-	</div>
-<</if>>
-
-<<if $activeSlave.voice != 0>>
-	<br>Speech rules: ''<span id="speechRules">$activeSlave.rules.speech</span>.''
-	<<link "Restrictive">><<set $activeSlave.rules.speech = "restrictive">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>> |
-	<<link "Permissive">><<set $activeSlave.rules.speech = "permissive">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
-	<<if $activeSlave.accent > 0 && $activeSlave.accent < 4>>| <<link "Accent elimination">><<set $activeSlave.rules.speech = "accent elimination">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
-	<<elseif $activeSlave.accent > 3>>| <<link "Language lessons">><<set $activeSlave.rules.speech = "language lessons">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
-	<</if>>
-<</if>>
-
-<br>
-Relationship rules: ''<span id="relationshipRules">$activeSlave.rules.relationship</span>.''
-<<link "Restrictive">><<set $activeSlave.rules.relationship = "restrictive">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>> |
-<<link "Just friends">><<set $activeSlave.rules.relationship = "just friends">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>> |
-<<link "Permissive">><<set $activeSlave.rules.relationship = "permissive">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>>
-
-<<if $studio == 1>>
-
-	<br><br>__Media__:<br>
-	<<if $activeSlave.porn.prestige == 3>>
-		//$He is so prestigious in the realm of $activeSlave.porn.fameType porn that $his fame is self-sustaining.//
-	<<elseif $activeSlave.porn.feed == 0>>
-		The media hub is not releasing highlights of $his sex life. [[Release|Slave Interact][$activeSlave.porn.feed = 1]]
-	<<else>>
-		The media hub is releasing highlights of $his sex life <<if $activeSlave.porn.spending < 500>>to those who can find it<<elseif $activeSlave.porn.spending < 2500>>on several websites<<elseif $activeSlave.porn.spending > 5000>>through your old distributor<<else>>on many websites<</if>>.
-		<<if $activeSlave.porn.spending == 0>>
-			[[Halt|Slave Interact][$activeSlave.porn.feed = 0, $activeSlave.porn.focus = "none"]] |
-			[[Publicize|Slave Interact][$activeSlave.porn.spending += 1000]]
-			//Will cost <<print cashFormat(1000)>> weekly.//
+		<strong><span id="setting">$activeSlave.clitSetting</span></strong>.
+		<<link "Vanilla">><<set $activeSlave.clitSetting = "vanilla">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Oral">><<set $activeSlave.clitSetting = "oral">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Anal">><<set $activeSlave.clitSetting = "anal">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Boobs">><<set $activeSlave.clitSetting = "boobs">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Sub">><<set $activeSlave.clitSetting = "submissive">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Dom">><<set $activeSlave.clitSetting = "dom">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Humiliation">><<set $activeSlave.clitSetting = "humiliation">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		<<if $seePreg != 0>>
+			| <<link "Preg">><<set $activeSlave.clitSetting = "pregnancy">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		<</if>>
+		| <<link "Pain">><<set $activeSlave.clitSetting = "masochist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Sadism">><<set $activeSlave.clitSetting = "sadist">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Men">><<set $activeSlave.clitSetting = "men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Anti-men">><<set $activeSlave.clitSetting = "anti-men">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Women">><<set $activeSlave.clitSetting = "women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "Anti-women">><<set $activeSlave.clitSetting = "anti-women">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "All sex">><<set $activeSlave.clitSetting = "all">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		| <<link "No sex">><<set $activeSlave.clitSetting = "none">><<replace "#setting">>$activeSlave.clitSetting<</replace>><</link>>
+		</div>
+ <</if>>
+
+ <<if $activeSlave.voice != 0>>
+		<br>Speech rules: ''<span id="speechRules">$activeSlave.rules.speech</span>.''
+		<<link "Restrictive">><<set $activeSlave.rules.speech = "restrictive">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>> |
+		<<link "Permissive">><<set $activeSlave.rules.speech = "permissive">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
+		<<if $activeSlave.accent > 0 && $activeSlave.accent < 4>>| <<link "Accent elimination">><<set $activeSlave.rules.speech = "accent elimination">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
+		<<elseif $activeSlave.accent > 3>>| <<link "Language lessons">><<set $activeSlave.rules.speech = "language lessons">><<replace "#speechRules">>$activeSlave.rules.speech<</replace>><</link>>
+		<</if>>
+ <</if>>
+
+ <br>
+ Relationship rules: ''<span id="relationshipRules">$activeSlave.rules.relationship</span>.''
+ <<link "Restrictive">><<set $activeSlave.rules.relationship = "restrictive">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>> |
+ <<link "Just friends">><<set $activeSlave.rules.relationship = "just friends">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>> |
+ <<link "Permissive">><<set $activeSlave.rules.relationship = "permissive">><<replace "#relationshipRules">>$activeSlave.rules.relationship<</replace>><</link>>
+</div>
+</div>
+
+<div id="Financial" class="tabcontent">
+<div class="content">
+	<<if ($slaveCostFactor > 1)>>
+		@@.yellow;The slave market is bullish; the price of slaves is high.@@
+ <<elseif ($slaveCostFactor < 1)>>
+		@@.yellow;The slave market is bearish; the price of slaves is low.@@
+ <</if>>
+	<br>
+
+ <<if $studio == 1>>
+		Media
+		<<if $activeSlave.porn.prestige == 3>>
+			//$He is so prestigious in the realm of $activeSlave.porn.fameType porn that $his fame is self-sustaining.//
+		<<elseif $activeSlave.porn.feed == 0>>
+			The media hub is not releasing highlights of $his sex life. [[Release|Slave Interact][$activeSlave.porn.feed = 1]]
 		<<else>>
-			<<textbox "_newPornSpending" $activeSlave.porn.spending>> weekly is spent to publicize them. [[Save changes|Slave Interact][$activeSlave.porn.spending = Number(_newPornSpending) || 0]] |
-			[[Halt|Slave Interact][$activeSlave.porn.feed = 0, $activeSlave.porn.spending = 0, $activeSlave.porn.focus = "none", $PCSlutContacts = 1]] |
-			<<if $activeSlave.porn.spending < 5000>>
-				[[Increase|Slave Interact][$activeSlave.porn.spending += 1000]] |
+			The media hub is releasing highlights of $his sex life <<if $activeSlave.porn.spending < 500>>to those who can find it<<elseif $activeSlave.porn.spending < 2500>>on several websites<<elseif $activeSlave.porn.spending > 5000>>through your old distributor<<else>>on many websites<</if>>.
+			<<if $activeSlave.porn.spending == 0>>
+				[[Halt|Slave Interact][$activeSlave.porn.feed = 0, $activeSlave.porn.focus = "none"]] |
+				[[Publicize|Slave Interact][$activeSlave.porn.spending += 1000]]
+				//Will cost <<print cashFormat(1000)>> weekly.//
+			<<else>>
+				<<textbox "_newPornSpending" $activeSlave.porn.spending>> weekly is spent to publicize them. [[Save changes|Slave Interact][$activeSlave.porn.spending = Number(_newPornSpending) || 0]] |
+				[[Halt|Slave Interact][$activeSlave.porn.feed = 0, $activeSlave.porn.spending = 0, $activeSlave.porn.focus = "none", $PCSlutContacts = 1]] |
+				<<if $activeSlave.porn.spending < 5000>>
+					[[Increase|Slave Interact][$activeSlave.porn.spending += 1000]] |
+				<</if>>
+				[[Decrease|Slave Interact][$activeSlave.porn.spending -= 1000]]
+				<<if $activeSlave.porn.spending > 5000>><<set _warn = 1>><</if>>
+				<<set $activeSlave.porn.spending = Number($activeSlave.porn.spending) || 0>>
+				<<set $activeSlave.porn.spending = Math.clamp(Math.ceil($activeSlave.porn.spending/1000)*1000, 0, 5000)>>
+				<<if _warn>><br>//Spending more than <<print cashFormat(5000)>> weekly will have no effect.//<</if>>
+				<<if $PC.career == "escort">>
+					<br>
+					You retain some contacts from your past life in the industry that may be willing to cut you some discounts should you return to it.
+					<<if $PCSlutContacts != 2>>
+						You are not baring your body for all to see.
+						[[Star in porn for a discount|Slave Interact][$PCSlutContacts = 2]]
+					<<else>>
+						You are starring in hardcore porn once more.
+						[[Stop doing porn for a discount|Slave Interact][$PCSlutContacts = 1]]
+					<</if>>
+				<</if>>
 			<</if>>
-			[[Decrease|Slave Interact][$activeSlave.porn.spending -= 1000]]
-			<<if $activeSlave.porn.spending > 5000>><<set _warn = 1>><</if>>
-			<<set $activeSlave.porn.spending = Number($activeSlave.porn.spending) || 0>>
-			<<set $activeSlave.porn.spending = Math.clamp(Math.ceil($activeSlave.porn.spending/1000)*1000, 0, 5000)>>
-			<<if _warn>><br>//Spending more than <<print cashFormat(5000)>> weekly will have no effect.//<</if>>
-			<<if $PC.career == "escort">>
+
+			<<if $studioFeed == 1>>
 				<br>
-				You retain some contacts from your past life in the industry that may be willing to cut you some discounts should you return to it.
-				<<if $PCSlutContacts != 2>>
-					You are not baring your body for all to see.
-					[[Star in porn for a discount|Slave Interact][$PCSlutContacts = 2]]
+				<<if $activeSlave.porn.viewerCount < 100>>
+					$He lacks the fame in porn needed to discern what $his feed is getting tagged as.
 				<<else>>
-					You are starring in hardcore porn once more.
-					[[Stop doing porn for a discount|Slave Interact][$PCSlutContacts = 1]]
+					<<if $activeSlave.porn.prestige > 0>>
+						$He is known for $activeSlave.porn.fameType porn<<if $activeSlave.porn.prestige > 1>> and viewers have grown to expect it from $him<</if>>.
+					<</if>>
+					<<if $activeSlave.porn.focus == "none">>
+						You are allowing $his viewers to guide the direction of $his content.
+					<<else>>
+						You are focusing attention on the $activeSlave.porn.focus aspect of $his content.
+					<</if>>
+					<<= App.Porn.genreChoiceLinks("Slave Interact", $activeSlave)>> | [[No focus|Slave Interact][$activeSlave.porn.focus = "none"]]
 				<</if>>
 			<</if>>
 		<</if>>
+		<br>
+ <</if>>
 
-		<<if $studioFeed == 1>>
-			<br>
-			<<if $activeSlave.porn.viewerCount < 100>>
-				$He lacks the fame in porn needed to discern what $his feed is getting tagged as.
-			<<else>>
-				<<if $activeSlave.porn.prestige > 0>>
-					$He is known for $activeSlave.porn.fameType porn<<if $activeSlave.porn.prestige > 1>> and viewers have grown to expect it from $him<</if>>.
-				<</if>>
-				<<if $activeSlave.porn.focus == "none">>
-					You are allowing $his viewers to guide the direction of $his content.
-				<<else>>
-					You are focusing attention on the $activeSlave.porn.focus aspect of $his content.
-				<</if>>
-				<<= App.Porn.genreChoiceLinks("Slave Interact", $activeSlave)>> | [[No focus|Slave Interact][$activeSlave.porn.focus = "none"]]
+	<<SlaveExpenses $activeSlave>>
+	<p>
+ <<if (_SL > 1)>>
+		<<if $activeSlave.origin == "You bought $him from a body dump, completely broken." && ($week-$activeSlave.weekAcquired <= 8)>>
+			//A discarded slave must be kept for at least two months to ensure health before being sold.// |
+		<<elseif $activeSlave.accent > 3>>
+			//$His lack of language and basic life skills is a red sign to most slave appraisers. $He must not act like a child to be sold without raising suspicion.// |
+		<<else>>
+			<<link "Sell $him" "Sell Slave">><<run cashX(-500, "personalBusiness", $activeSlave)>><</link>> //Listing $him for sale will cost <<print cashFormat(500)>>// |
+			<<if ($seeAge != 0) && ($activeSlave.indenture < 1)>>
+				<<link "Retire $him" "SE retirement">><<set $retiree = $activeSlave.ID, $retired = 1>><</link>> |
 			<</if>>
 		<</if>>
-	<</if>>
-<</if>>
-
-<br><br>
-__Financial__:
-<<SlaveExpenses $activeSlave>>
-<br><br>
-<<if ($slaveCostFactor > 1)>>
-	<span class="yellow">The slave market is bullish; the price of slaves is high.</span>
-<<elseif ($slaveCostFactor < 1)>>
-	<span class="yellow">The slave market is bearish; the price of slaves is low.</span>
-<</if>>
-
-<<if (_SL > 1)>>
-	<<if $activeSlave.origin == "You bought $him from a body dump, completely broken." && ($week-$activeSlave.weekAcquired <= 8)>>
-		//A discarded slave must be kept for at least two months to ensure health before being sold.// |
-	<<elseif $activeSlave.accent > 3>>
-		//$His lack of language and basic life skills is a red sign to most slave appraisers. $He must not act like a child to be sold without raising suspicion.// |
-	<<else>>
-		<<link "Sell $him" "Sell Slave">><<run cashX(-500, "personalBusiness", $activeSlave)>><</link>> //Listing $him for sale will cost <<print cashFormat(500)>>// |
-		<<if ($seeAge != 0) && ($activeSlave.indenture < 1)>>
-			<<link "Retire $him" "SE retirement">><<set $retiree = $activeSlave.ID, $retired = 1>><</link>> |
+		<<link "Discard $him" "Discard Confirm">><</link>>
+		<<if $seeExtreme == 1 && $arcologies[0].FSPaternalist == "unset" && $cheatMode>>
+			| <<link "Threaten $his life" "KillSlave">><</link>>
 		<</if>>
-	<</if>>
-	<<link "Discard $him" "Discard Confirm">><</link>>
-	<<if $seeExtreme == 1 && $arcologies[0].FSPaternalist == "unset" && $cheatMode>>
-		| <<link "Threaten $his life" "KillSlave">><</link>>
-	<</if>>
-<<else>>
-	//You cannot sell or discard your last slave.//
-<</if>>
-
-| <<link "Export this slave" "Export Slave">><</link>>
-<<if $cheatMode>>
-	| <<link "Import a slave" "Import Slave">><</link>>
-<</if>>
+ <<else>>
+		//You cannot sell or discard your last slave.//
+ <</if>>
+
+	| <<link "Export this slave" "Export Slave">><</link>>
+ <<if $cheatMode>>
+		| <<link "Import a slave" "Import Slave">><</link>>
+ <</if>>
+	</p>
+</div>
+</div>
\ No newline at end of file