diff --git a/src/SecExp/SecExpBackwardCompatibility.tw b/src/SecExp/SecExpBackwardCompatibility.tw
index b0467878321379526403c6572b950c7e8c8fb7e7..efa8b055192a146f732648dc86b3fadd34f2843c 100644
--- a/src/SecExp/SecExpBackwardCompatibility.tw
+++ b/src/SecExp/SecExpBackwardCompatibility.tw
@@ -269,6 +269,33 @@
 <<if ndef $upgradeUpkeep>>
 <<set $upgradeUpkeep = 50>>
 <</if>>
+<<if ndef $riotCenter>>
+<<set $riotCenter = 0>>
+<</if>>
+<<if ndef $riotUpgrades>>
+<<set $riotUpgrades = {
+	freeMedia: 0,
+	rapidUnit: 0,
+	rapidUnitSpeed: 0}>>
+<</if>>
+<<if ndef $fort>>
+<<set $fort = {
+	reactor: 0,
+	waterway: 0,
+	assistant:0}>>
+<</if>>
+<<if ndef $sentUnitCooldown>>
+<<set $sentUnitCooldown = 0>>
+<</if>>
+<<if ndef $advancedRiotEquip>>
+<<set $advancedRiotEquip = 0>>
+<</if>>
+<<if ndef $brainImplant>>
+<<set $brainImplant = -1>>
+<</if>>
+<<if ndef $brainImplantProject>>
+<<set $brainImplantProject = 0>>
+<</if>>
 
 /* events */
 <<if ndef $smilingManProgress>>
@@ -348,9 +375,6 @@
 <<if ndef $arcRepairTime>>
 <<set $arcRepairTime = 0>>
 <</if>>
-<<if ndef $arcRepairCost>>
-<<set $arcRepairCost = 1000>>
-<</if>>
 <<if ndef $rebelDefeatAftermath>>
 <<set $rebelDefeatAftermath = 0>>
 <</if>>
@@ -360,7 +384,6 @@
 	reactor: 0,
 	assistant: 0,
 	waterway: 0,
-	penthouseTime: 0,
 	reactorTime: 0,
 	assistantTime: 0,
 	waterwayTime: 0 }>>
diff --git a/src/SecExp/authorityReport.tw b/src/SecExp/authorityReport.tw
index 793c3cf84da225fcfbe9442f9f64950908fc76f2..4de9ff33a72c5be6610679489cd74bd5a8aff469 100644
--- a/src/SecExp/authorityReport.tw
+++ b/src/SecExp/authorityReport.tw
@@ -164,38 +164,6 @@ This week
 <<if $rebellionsEnabled == 1>>
 /* rebellions */
 	<br>
-	<br>
-
-	<<if $tension <= 33>>
-		Tensions are the arcology is low. Political and ideological opposition against the arcology owner is almost unheard of.
-	<<elseif $tension <= 66>>
-		Tensions in the arcology are rising, political and ideological opposition against the arcology owner are becoming a part of the daily life of the arcology.
-	<<else>>
-		Tensions are high. Opposition to the arcology owner is a sentiment shared by many and armed resistance is on the rise.
-	<</if>>
-
-	<<if $slaveProgress <= 25>>
-		There is very low unrest between slaves in the arcology. The chances of a rebellion igniting are extremely low.
-	<<elseif $slaveProgress <= 50>>
-		There is some unrest between the slaves. No major movement is forming yet, but it might be time to consider preventive measures.
-	<<elseif $slaveProgress <= 75>>
-		Unrest is getting high between the slaves of the arcology. Preventive measures are necessary if we want to prevent a violent rebellion.
-	<<else>>
-		Unrest is extremely high between slaves. The chances of a rebellion happening in the near future are extremely high.
-	<</if>>
-
-	<<if $citizenProgress <= 25>>
-		There is very low unrest between the citizens of the arcology. The chances of a rebellion igniting are extremely low.
-	<<elseif $citizenProgress <= 50>>
-		There is some unrest between the citizens. No major movement is forming yet, but it might be time to consider preventive measures.
-	<<elseif $citizenProgress <= 75>>
-		Unrest is getting high between the citizens of the arcology. Preventive measures are necessary if we want to prevent a violent rebellion.
-	<<else>>
-		Unrest is extremely high between citizens. The chances of a rebellion happening in the near future are extremely high.
-	<</if>>
-
-	<br>
-	<br>
-	
+	<br>	
 	<<include "rebellionGenerator">>
 <</if>>
\ No newline at end of file
diff --git a/src/SecExp/rebellionEvents.tw b/src/SecExp/rebellionEvents.tw
index 17c45ba722bfd961617db4019d76a8441c9a4601..00690f7c6eb28737691a253d1d79d26d200b8046 100644
--- a/src/SecExp/rebellionEvents.tw
+++ b/src/SecExp/rebellionEvents.tw
@@ -69,16 +69,14 @@
 	<</if>>
 	<<set $tension += random(10,15)>>
 <<case 4>>
-	random citizen event, low tension
+	random citizen mini event, low tension
 	<<set $tension += random(1,5)>>
 <<case 5>>
-	random citizen event, med tension
+	random citizen mini event, med tension
 	<<set $tension += random(5,10)>>
 <<case 6>>
-	random citizen event, high tension
+	random citizen mini event, high tension
 	<<set $tension += random(10,15)>>
 <</switch>>
 
-<<set $tension = Math.clamp($tension,0,100)>>
-
-<br>Debug: tension: $tension
+<<set $tension = Math.clamp($tension,0,100)>>
\ No newline at end of file
diff --git a/src/SecExp/rebellionGenerator.tw b/src/SecExp/rebellionGenerator.tw
index 859985db42d725e26d05aed36fddda4bc2c74cfc..d3303d1d24de8fc6d92d72665df85fef852cf09e 100644
--- a/src/SecExp/rebellionGenerator.tw
+++ b/src/SecExp/rebellionGenerator.tw
@@ -6,113 +6,113 @@
 
 /* slaves */
 <<if $authority <= 3000>>
-	<<set _slave += 30>>
+	Your very low authority allows slaves to think too freely.<<set _slave += 30>>
 <<elseif $authority <= 6000>>
-	<<set _slave += 25>>
+	Your low authority allows slaves to think too freely.<<set _slave += 25>>
 <<elseif $authority <= 9000>>
-	<<set _slave += 20>>
+	Your moderate authority allows slaves to think a bit too freely.<<set _slave += 20>>
 <<elseif $authority <= 12000>>
-	<<set _slave += 15>>
+	Your good authority does not allow slaves to think too freely.<<set _slave += 15>>
 <<elseif $authority <= 15000>>
-	<<set _slave += 10>>
+	Your high authority does not allow slaves to think too freely.<<set _slave += 10>>
 <<elseif $authority <= 18000>>
-	<<set _slave += 5>>
+	Your very high authority does not allow slaves to think too freely.<<set _slave += 5>>
 <</if>>
 <<if _CSratio <= 0.2>>
-	<<set _slave += 30>>
+	There are a lot more slaves than citizens, making some doubt their masters are strong enough to stop them.<<set _slave += 30>>
 <<elseif _CSratio <= 0.4>>
-	<<set _slave += 25>>
+	There are a lot more slaves than citizens, making some doubt their masters are strong enough to stop them.<<set _slave += 25>>
 <<elseif _CSratio <= 0.6>>
-	<<set _slave += 20>>
+	There are more slaves than citizens, making some doubt their masters are strong enough to stop them.<<set _slave += 20>>
 <<elseif _CSratio <= 0.8>>
-	<<set _slave += 15>>
+	There are more slaves than citizens, making some doubt their masters are strong enough to stop them.<<set _slave += 15>>
 <<elseif _CSratio <= 1>>
-	<<set _slave += 10>>
+	There are less slaves than citizens, making some doubt they would be strong enough to defeat their masters.<<set _slave += 10>>
 <<elseif _CSratio >= 1.2>>
-	<<set _slave -= 5>>
+	There are less slaves than citizens, making some doubt they would be strong enough to defeat their masters.<<set _slave -= 5>>
 <</if>>
 <<if $security <= 10>>
-	<<set _slave += 30>>
+	The very low security of the arcology leaves free space for slaves to organize and agitate.<<set _slave += 30>>
 <<elseif $security <= 30>>
-	<<set _slave += 20>>
+	The low security of the arcology leaves free space for slaves to organize and agitate.<<set _slave += 20>>
 <<elseif $security <= 60>>
-	<<set _slave += 10>>
+	The moderate security of the arcology does not allow free space for slaves to organize and agitate.<<set _slave += 10>>
 <<elseif $security >= 90>>
-	<<set _slave -= 5>>
+	The high security of the arcology does not allow free space for slaves to organize and agitate.<<set _slave -= 5>>
 <</if>>
 <<if $arcologies[0].FSDegradationist != "unset">>
-	<<set _slave += 30>>
+	Many slaves are so disgusted by your degradationist society, that are willing to rise up against their masters to escape.<<set _slave += 30>>
 <<elseif $arcologies[0].FSPaternalist != "unset">>
-	<<set _slave -= 5>>
+	Many slaves are content to live in your paternalist society.<<set _slave -= 5>>
 <<else>>
 	<<set _slave += 5>>
 <</if>>
 <<if $arcologies[0].FSRestart != "unset">>
-	<<set _slave += 30>>
+	Many slaves are worried by your eugenics projects and some are pushed towards radicalization.<<set _slave += 30>>
 <<elseif $arcologies[0].FSRepopulationFocus != "unset">>
-	<<set _slave -= 5>>
+	Many slaves are pleasantly happy of your repopulation effort, affording them the freedom to reproduce.<<set _slave -= 5>>
 <<else>>
 	<<set _slave += 5>>
 <</if>>
-	
+<br>
 /* citizens */
 <<if $authority <= 3000>>
-	<<set _citizen += 30>>
+	Your very low authority allows your citizens to think too freely.<<set _citizen += 30>>
 <<elseif $authority <= 6000>>
-	<<set _citizen += 25>>
+	Your very low authority allows your citizens to think too freely.<<set _citizen += 25>>
 <<elseif $authority <= 9000>>
-	<<set _citizen += 20>>
+	Your moderate authority allows your citizens to think a bit too freely.<<set _citizen += 20>>
 <<elseif $authority <= 12000>>
-	<<set _citizen += 15>>
+	Your good authority does not allow your citizens to think too freely.<<set _citizen += 15>>
 <<elseif $authority <= 15000>>
-	<<set _citizen += 10>>
+	Your high authority does not allow your citizens to think too freely.<<set _citizen += 10>>
 <<elseif $authority <= 18000>>
-	<<set _citizen += 5>>
+	Your very high authority does not allow your citizens to think too freely.<<set _citizen += 5>>
 <</if>>
 <<if $crime >= 90>>
-	<<set _citizen += 30>>
+	The very high crime level of the arcology breeds extreme discontent between your citizens.<<set _citizen += 30>>
 <<elseif $crime >= 60>>
-	<<set _citizen += 15>>
+	The high crime level of the arcology breeds high discontent between your citizens.<<set _citizen += 15>>
 <<elseif $crime >= 30>>
-	<<set _citizen += 5>>
+	The low crime level of the arcology leaves your citizens happy and satisfied.<<set _citizen += 5>>
 <<else>>
-	<<set _citizen -= 5>>
+	The very low crime level of the arcology leaves your citizens happy and satisfied.<<set _citizen -= 5>>
 <</if>>
 <<if $militiaFounded == 1>>
 	<<if ($arcologies[0].FSRomanRevivalist == "unset" && $arcologies[0].FSAztecRevivalist == "unset" && $arcologies[0].FSEgyptianRevivalist == "unset" && $arcologies[0].FSEdoRevivalist == "unset" && $arcologies[0].FSArabianRevivalist == "unset" && $arcologies[0].FSChineseRevivalist == "unset")>>
 		<<if $militarizedSociety == 1>>
-			<<set _citizen += 20>>
+			Many of your citizens are offended by your extreme militarization of the arcology's society.<<set _citizen += 20>>
 		<<elseif $militaryService == 1>>
-			<<set _citizen += 15>>
+			Many of your citizens are offended by your militarization of the arcology's society.<<set _citizen += 15>>
 		<<else>>
 			<<set _citizen += 10>>
 		<</if>>
 	<<else>>
 		<<if $militarizedSociety == 1>>
-			<<set _citizen += 10>>
+			Some of your citizens are offended by your extreme militarization of the arcology's society<<set _citizen += 10>>
 		<<elseif $militaryService == 1>>
-			<<set _citizen += 5>>
+			Some of your citizens are offended by your militarization of the arcology's society<<set _citizen += 5>>
 		<<else>>
 			<<set _citizen -= 5>>
 		<</if>>
 	<</if>>	
 <</if>>
 <<if $arcologies[0].FSNull != "unset">>
-	<<set _citizen += either(20,30)>>
+	Many of your more conservative citizens do not enjoy the cultural freedom you afford the residents of the arcology.<<set _citizen += either(20,30)>>
 <</if>>
 <<if $arcologies[0].FSRestart != "unset">>
 	<<if _CSratio > 1>>
-		<<set _citizen +=20>>
+		Your citizens are not happy with the noticeable lack of slaves compared to their numbers.<<set _citizen +=20>>
 	<<elseif _CSratio > 0.5>>
-		<<set _citizen += 15>>
+		Your citizens are not happy with the lack of slaves compared to their numbers.<<set _citizen += 15>>
 	<<elseif _CSratio < 0.2>>
 		<<set _citizen -= 5>>
 	<</if>>
 <<elseif $arcologies[0].FSRepopulationFocus != "unset">>
 	<<if _CSratio < 0.5>>
-		<<set _citizen +=20>>
+		Your citizens are not happy of being outbred by the slaves of the arcology<<set _citizen +=20>>
 	<<elseif _CSratio < 1>>
-		<<set _citizen += 15>>
+		Your citizens are not happy of being outbred by the slaves of the arcology<<set _citizen += 15>>
 	<<elseif _CSratio > 1.4>>
 		<<set _citizen += 5>>
 	<</if>>
@@ -130,6 +130,9 @@
 	<<set _citizen = 95>>
 <</if>>
 <<set _roll = random(1,_slave + _citizen)>>
+<<if $brainImplant == 106>>
+	<<set _slave = Math.trunc(_slave * 0.3), _citizen = Math.trunc(_citizen * 0.3)>>
+<</if>>
 <<if _roll <= _slave>>
 	<<if random(1,100) < _slave>>
 		<<set $slaveRebellionEventFires = 1>>
@@ -152,8 +155,12 @@
 	<</if>>
 <</if>>
 
+/* if there is an advancement selects a random mini event */
 <<if $slaveRebellionEventFires == 1 || $citizenRebellionEventFires == 1>>
+	<br>
+	<br>
 	<<include "rebellionEvents">>
+	/* and resets flags */
 	<<set $slaveRebellionEventFires = 0>>
 	<<set $citizenRebellionEventFires = 0>>
 <</if>>
@@ -187,6 +194,7 @@
 <</if>>
 
 <<if $slaveRebellion == 1>>
+	<<set $engageRule = 0>>
 	<<set $lastRebellionWeeks = 0>>
 	<<set $leadingTroops = "assistant">>
 	/* calc how many slaves participate */
@@ -224,6 +232,7 @@
 	<</for>>
 	<<set $attackEquip = Math.clamp($weaponsLaw + random(-1,1),0,4)>>
 <<elseif $citizenRebellion == 1>>
+	<<set $engageRule = 0>>
 	<<set $lastRebellionWeeks = 0>>
 	<<set $leadingTroops = "assistant">>
 	/* calc how many citizens participate */
diff --git a/src/SecExp/rebellionOptions.tw b/src/SecExp/rebellionOptions.tw
index 2d4e5163c41069d979e4b58c90f980a1730f1e98..e4c5df770f269c222d459aaccc5b8438e51020c6 100644
--- a/src/SecExp/rebellionOptions.tw
+++ b/src/SecExp/rebellionOptions.tw
@@ -85,15 +85,19 @@ In order to preserve the structural integrity of the building and the lives of o
 		<br>Your troops will not limit their arsenal. This will put the structure and your citizens at risk, but our troops will be at full capacity.
 	<</replace>>
 <</link>>
-/*
-<br><<link "Extermination protocol">>
-	<<set $engageRule = 3>>
-	<<replace "#engage">>
-		<br>Your troops will make use of the special weaponry, equipment and infrastructure developed by the riot control center to surgically eliminate rebels and dissidents.
-	<</replace>>
-<</link>>
-*/
-<span id="engage"></span>
+
+<<if $advancedRiotEquip == 1>>
+	<br><<link "Advanced riot protocol">>
+		<<set $engageRule = 3>>
+		<<replace "#engage">>
+			<br>Your troops will make use of the special weaponry, equipment and infrastructure developed by the riot control center to surgically eliminate rebels and dissidents with little to no collateral damage.
+		<</replace>>
+	<</link>>
+<</if>>
+
+<span id="engage">	
+	<br>Your troops will use only non lethal weapons or light firearms to limit to the maximum the collateral damage. This will however weaken our troops considerably.
+</span>
 
 <br>
 <br>
diff --git a/src/SecExp/rebellionReport.tw b/src/SecExp/rebellionReport.tw
index 20b2a4b4f8bbe91302dae54953865f76cb54cccf..3159d08946c2568a2f3e79a1c1fcbe24c1281f4c 100644
--- a/src/SecExp/rebellionReport.tw
+++ b/src/SecExp/rebellionReport.tw
@@ -125,7 +125,7 @@
 		Due to your defeat, your @@.red;reputation@@ and @@.red;authority@@ decreased.
 		<<set $rep -= random(800,1000)>>
 		<<set $authority -= random(800,1000)>>
-		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology wil bear the scars of this day for a long time.
+		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology will bear the scars of this day for a long time.
 		<<set $ACitizens -= random(50,100)>>
 		<<set $ASlaves -= Math.trunc(($attackTroops - $enemyLosses) * 0.8)>>
 		<<set $rebelDefeatAftermath = 5>>
@@ -133,7 +133,7 @@
 		Due to your defeat, your @@.red;reputation@@ and @@.red;authority@@ decreased.
 		<<set $rep -= random(600,800)>>
 		<<set $authority -= random(600,800)>>
-		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology wil bear the scars of this day for a long time.
+		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology will bear the scars of this day for a long time.
 		<<set $ACitizens -= random(40,80)>>
 		<<set $ASlaves -= Math.trunc(($attackTroops - $enemyLosses) * 0.6)>>
 		<<set $rebelDefeatAftermath = 3>>
@@ -171,7 +171,7 @@
 			<<set $ASlaves -= random(230)>>
 			<<set $arcologies[0].prosperity -= random(25)>>
 		<</if>>
-		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology wil bear the scars of this day for a long time.
+		<br>After the battle most of the rebelling slaves managed to escape, while others remained in the arcology for days looting and hunting their former masters. The arcology will bear the scars of this day for a long time.
 		<<set $ACitizens -= random(50,100)>>
 		<<set $ASlaves -= Math.trunc(($attackTroops - $enemyLosses) * 0.8)>>
 		<<set $rebelDefeatAftermath = 5>>
@@ -385,10 +385,10 @@
 
 /* garrisons */
 <<if $garrison.reactor == 0>>
-	<<if random(1,100) <= 75>>
+	<<if random(1,100) <= (75 - ($fort.reactor * 25))>>
 		Unfortunately during the fighting a group of slaves infiltrated the reactor complex and sabotaged it, causing massive power fluctuations and blackouts.
 		It will take @@.red;time and money to repair the damage@@.
-		<<set $garrison.reactorTime = $repairTime + random(-1,1)>>
+		<<set $garrison.reactorTime = $repairTime + random(1) - $fort.reactor>>
 		<<set $cash -= 2000>>
 	<<else>>
 		While the reactor was left defenseless without a garrison, there was no attempt at sabotage. Let's hope we'll always be this lucky.
@@ -397,10 +397,10 @@
 	The garrison assigned to the reactor protected it from the multiple sabotage attempts carried out by the rebels.
 <</if>>
 <<if $garrison.waterway == 0>>
-	<<if random(1,100) <= 75>>
+	<<if random(1,100) <= (75 - ($fort.waterway * 25))>>
 		Unfortunately during the fighting a group of slaves infiltrated the water management complex and sabotaged it, causing huge water leaks throughout the arcology and severely limiting the water supply.
 		It will take @@.red;time and money to repair the damage@@.
-		<<set $garrison.waterwayTime = $repairTime + random(-1,1)>>
+		<<set $garrison.waterwayTime = $repairTime + random(1) - $fort.waterway>>
 		<<set $cash -= 2000>>
 	<<else>>
 		While the water management complex was left defenseless without a garrison, there was no attempt at sabotage. Let's hope we'll always be this lucky.
@@ -409,10 +409,10 @@
 	The garrison assigned to the water management complex protected it from the sabotage attempt of the rebels.
 <</if>>
 <<if $garrison.assistant == 0>>
-	<<if random(1,100) <= 75>>
+	<<if random(1,100) <= (75 - ($fort.assistant * 25))>>
 		Unfortunately during the fighting a group of slaves infiltrated the facility housing $assistantName mainframe and sabotaged it. Without its AI the arcology will be next to impossible to manage.
 		It will take @@.red;time and money to repair the damage@@.
-		<<set $garrison.waterwayTime = $repairTime + random(-1,1)>>
+		<<set $garrison.assistantTime = $repairTime + random(1) - $fort.assistant>>
 		<<set $cash -= 2000>>
 	<<else>>
 		While the water management complex was left defenseless without a garrison, there was no attempt at sabotage. Let's hope we'll always be this lucky.
@@ -421,7 +421,7 @@
 	The garrison assigned to the facility housing $assistantName mainframe prevented any sabotage attempt.
 <</if>>
 <<if $garrison.penthouse == 1 && $Bodyguard != 0>>
-	The garrison assigned to the penthouse together with your loyal bodyguard stopped any assault against your penthouse with ease.
+	The garrison assigned to the penthouse together with your loyal bodyguard stopped all assaults against your penthouse with ease.
 <<elseif $Bodyguard != 0>>
 	<<if random(1,100) <= 75>>
 		During the fighting a group of slaves assaulted the penthouse. Your bodyguard, $Bodyguard.slaveName, stood strong against the furious attack.
@@ -512,7 +512,7 @@
 					a splinter hit her face, severely damaging her eyes. 
 					<<set $Concubine.eyes = -2>>
 				<<elseif $woundType == 3>>
-					an explosion near her casued the loss of all her limbs.
+					an explosion near her caused the loss of all her limbs.
 					<<set $Concubine.amp = 1>>
 				<<elseif $woundType >= 4>>
 					a stray shot severely wounded her.
@@ -575,7 +575,7 @@
 				A splinter hit her face, severely damaging her eyes. 
 				<<set $Bodyguard.eyes = -2>>
 			<<elseif $woundType == 3>>
-				An explosion near her casued the loss of all her limbs.
+				An explosion near her caused the loss of all her limbs.
 				<<set $Bodyguard.amp = 1>>
 			<<elseif $woundType >= 4>>
 				A stray shot severely wounded her.
@@ -682,7 +682,7 @@
 					a splinter hit her face, severely damaging her eyes. 
 					<<set $Concubine.eyes = -2>>
 				<<elseif $woundType == 3>>
-					an explosion near her casued the loss of all her limbs.
+					an explosion near her caused the loss of all her limbs.
 					<<set $Concubine.amp = 1>>
 				<<elseif $woundType >= 4>>
 					a stray shot severely wounded her.
@@ -790,7 +790,7 @@
 					a splinter hit her face, severely damaging her eyes. 
 					<<set $Concubine.eyes = -2>>
 				<<elseif $woundType == 3>>
-					an explosion near her casued the loss of all her limbs.
+					an explosion near her caused the loss of all her limbs.
 					<<set $Concubine.amp = 1>>
 				<<elseif $woundType >= 4>>
 					a stray shot severely wounded her.
@@ -812,12 +812,7 @@
 
 <<include "unitsRebellionReport">>
 
-
-
-
-
-
-/* resets variables */
+/* resets variables and flags */
 <<set $attackTroops = 0>>
 <<set $attackEquip = 0>>
 <<set $enemyLosses = 0>>
diff --git a/src/SecExp/riotControlCenter.tw b/src/SecExp/riotControlCenter.tw
index 60b909a71b0362ec3ee94bc52b84ee91ea8c67a3..0de5bc3e7e00e5a5e7bcd1574f0cd797e50a3023 100644
--- a/src/SecExp/riotControlCenter.tw
+++ b/src/SecExp/riotControlCenter.tw
@@ -1,11 +1,188 @@
 :: riotControlCenter [nobr]
 
+Riot Control Center
+<hr>
 
-
-
-
-
-
--possibility of accepting demands of rebels.
--extermination protocol
--brain chips
\ No newline at end of file
+The riot control center opens its guarded doors to you. The great chanber inside is dominated by massive screens filled with vital information and propaganda being tested.
+<br>
+<br>
+<<if $tension <= 33>>
+	Tensions in the arcology are low. Political and ideological opposition against the arcology owner is almost unheard of.
+<<elseif $tension <= 66>>
+	Tensions in the arcology are rising, political and ideological opposition against the arcology owner are becoming a part of the daily life of the arcology.
+<<else>>
+	Tensions are high. Opposition to the arcology owner is a sentiment shared by many and armed resistance is on the rise.
+<</if>>
+<br>
+<<if $riotUpgrades.freeMedia == 0>>
+	[[Provide free media acces|riotControlCenter][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $riotUpgrades.freeMedia = 1, $riotUpkeep += $upgradeUpkeep]]
+	<br>//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>. Will slowly lower tensions in the arcology, but will incur in upkeep costs.//
+<<else>>
+	You are providing free access to many mass media in the arcology.
+	<<if $riotUpgrades.freeMedia < 5>>
+		<<link "Invest more resources in the free media project">>
+			<<set $riotUpgrades.freeMedia += 1>>
+			<<set $cash -= 5000 * $upgradeMultiplierArcology * ($riotUpgrades.freeMedia + 1)>>
+			<<set $riotUpkeep += $upgradeUpkeep>>
+			<<goto "riotControlCenter">>
+		<</link>>
+		<br>Invest more resources into the project to increase its effectiveness.
+		<br>//Costs ¤<<print Math.trunc(5000 * $upgradeMultiplierArcology * ($riotUpgrades.freeMedia + 1))>>. Will accelerate the tension decay, but will increase upkeep costs.//
+	<<else>>
+		You upgraded your free media scheme to its limits.
+	<</if>>
+<</if>>
+<br>
+<br>
+<<if $slaveProgress <= 25>>
+	There is very low unrest between slaves in the arcology. The chances of a rebellion igniting are extremely low.
+<<elseif $slaveProgress <= 50>>
+	There is some unrest between the slaves. No major movement is forming yet, but it might be time to consider preventive measures.
+<<elseif $slaveProgress <= 75>>
+	Unrest is getting high between the slaves of the arcology. Preventive measures are necessary if we want to prevent a violent rebellion.
+<<else>>
+	Unrest is extremely high between slaves. The chances of a rebellion happening in the near future are extremely high.
+<</if>>
+<br>
+<<if $citizenProgress <= 25>>
+	There is very low unrest between the citizens of the arcology. The chances of a rebellion igniting are extremely low.
+<<elseif $citizenProgress <= 50>>
+	There is some unrest between the citizens. No major movement is forming yet, but it might be time to consider preventive measures.
+<<elseif $citizenProgress <= 75>>
+	Unrest is getting high between the citizens of the arcology. Preventive measures are necessary if we want to prevent a violent rebellion.
+<<else>>
+	Unrest is extremely high between citizens. The chances of a rebellion happening in the near future are extremely high.
+<</if>>
+<br>
+<<if $riotUpgrades.rapidUnit == 0>>
+	[[Create rapid deployment riot units|riotControlCenter][$cash -= Math.trunc(7500*$upgradeMultiplierArcology), $riotUpgrades.rapidUnit = 1, $riotUpkeep += $upgradeUpkeep]]
+	<br>//Costs ¤<<print Math.trunc(7500*$upgradeMultiplierArcology)>>. Will allow spending authority or reputation to lower the progress of rebellions.//
+<<else>>
+	You created a rapid deployment riot unit.
+	<<if $riotUpgrades.rapidUnit < 5>>
+		<<link "Invest more resources in the rapid deployment unit">>
+			<<set $riotUpgrades.rapidUnit += 1>>
+			<<set $cash -= 5000 * $upgradeMultiplierArcology * ($riotUpgrades.rapidUnit + 1)>>
+			<<set $riotUpkeep += $upgradeUpkeep>>
+			<<goto "riotControlCenter">>
+		<</link>>
+		<br>Invest more resources into the project to increase its effectiveness.
+		<br>//Costs ¤<<print Math.trunc(5000 * $upgradeMultiplierArcology * ($riotUpgrades.rapidUnit + 1))>>. Will lower action costs.//
+	<<else>>
+		<br>You upgraded your rapid deployment unit to its limits.
+	<</if>>
+	<<if $riotUpgrades.rapidUnitSpeed < 2>>
+		<<link "Enhance the internal informants network">>
+			<<set $riotUpgrades.rapidUnitSpeed += 1>>
+			<<set $cash -= 5000 * $upgradeMultiplierArcology * ($riotUpgrades.rapidUnitSpeed + 1)>>
+			<<set $riotUpkeep += $upgradeUpkeep>>
+			<<goto "riotControlCenter">>
+		<</link>>
+		<br>Invest more resources into the effectivenes of the informants network.
+		<br>//Costs ¤<<print Math.trunc(5000 * $upgradeMultiplierArcology * ($riotUpgrades.rapidUnitSpeed + 1))>>. Will reduce cooldown of the rapid deployment riot unit.//
+	<<else>>
+		<br>You enhanced your informants network to its limits.
+	<</if>>
+	<br>You can send out the squad to slow down the progress of hostile groups within the arcology: <<link "spend authority">>
+		<<set $riotUpgrades.rapidUnitCost = 0>>
+	<</link>>|
+	<<link "spend reputation">>
+		<<set $riotUpgrades.rapidUnitCost = 1>>
+	<</link>>
+	<br>
+	<<if $sentUnitCooldown == 0>>
+		<br><<link "Deploy the unit against slaves rebel leaders">>
+			<<if $riotUpgrades.rapidUnitCost == 0>>
+				<<set $authority -= 1000 + 50 * $riotUpgrades.rapidUnit>>
+			<<else>>
+				<<set $reputation -= 1000 + 50 * $riotUpgrades.rapidUnit>>
+			<</if>>
+			<<set $slaveProgress = Math.clamp($slaveProgress -random(10) + random(1,2) * $riotUpgrades.rapidUnit,0,100)>>
+			<<set $sentUnitCooldown = 3 - $riotUpgrades.rapidUnitSpeed>>
+			<<goto "riotControlCenter">>
+		<</link>>
+		<br><<link "Deploy the unit against citizens rebel leaders">>
+			<<if $riotUpgrades.rapidUnitCost == 0>>
+				<<set $authority -= 1000 + 50 * $riotUpgrades.rapidUnit>>
+			<<else>>
+				<<set $reputation -= 1000 + 50 * $riotUpgrades.rapidUnit>>
+			<</if>>
+			<<set $citizenProgress = Math.clamp($citizenProgress -random(10) + random(1,2) * $riotUpgrades.rapidUnit,0,100)>>
+			<<set $sentUnitCooldown = 3 - $riotUpgrades.rapidUnitSpeed>>
+			<<goto "riotControlCenter">>
+		<</link>>
+	<<else>>
+		The unit cannot be deployed again for $sentUnitCooldown weeks.
+	<</if>>
+<</if>>
+<br>
+<<if $brainImplant == -1>>
+	<<if $brainImplantProject == 0>>
+		<<link "Start secretly installing brain implants in your citizens and resident slaves">>
+			<<set $brainImplantProject = 1>>
+			<<set $riotUpkeep += $10000>>
+		<</link>>
+		<br>//Will take weeks of work and will cost 10000 each, but once finished rebellions will progress a lot slower.//
+	<<else>>
+		<if $brainImplantProject < 5>>
+		<<link "Invest more resources in the brain implant project">>
+			<<set $brainImplantProject += 1>>
+			<<set $cash -= 50000 * $upgradeMultiplierArcology * $brainImplantProject>>
+			<<set $riotUpkeep += $upgradeUpkeep * 100>>
+			<<goto "riotControlCenter">>
+		<</link>>
+		<br>Invest more resources into the project to increase its speed.
+		<br>//Costs ¤<<print Math.trunc(50000 * $upgradeMultiplierArcology * $brainImplantProject>>. Will shorten the time required to complete the project.//
+	<<else>>
+		<br>You sped up the project to its maximum.
+	<</if>>
+<<elseif $brainImplant == 106>>
+	The great brain implant project is underway. Estimated time to completion: <<print Math.trunc(100 - $brainImplant / $brainImplantProject)>>
+<<else>>
+	The great brain implant project is completed, rebellions against you will be extremely difficult to organize.
+<</if>>
+<br>
+<br>
+<<if $advancedRiotEquip == 0>>
+	<<link "Develop advanced anti-riot equipment">>
+		<<set $advancedRiotEquip = 1>>
+		<<set $cash -= 30000>>
+		<<goto "riotControlCenter">>
+	<</link>>
+	<br>//Costs ¤30000. Will allow the selection of advanced riot equipment in case of a rebellion, which will let your troops fight at full effectiveness while doing reduced collateral damage.//
+<<else>>
+	You developed advanced riot equipment, which allows your troops to fight within the confies of your arcology without the fear of doing major collateral damage.
+<</if>>
+<br>
+<<if $fort.reactor == 0>>
+	<<link "Reinforce the reactor complex">>
+		<<set $fort.reactor = 1>>
+		<<set $cash -= 10000 * $upgradeMultiplierArcology>>
+		<<goto "riotControlCenter">>
+	<</link>>
+	<br>//Costs ¤<<print 10000 * $upgradeMultiplierArcology>>. Will add protection to the reactor building, making it less likely to be damaged and speeding up repairs if our defensive efforts should fail.//
+<<else>>
+	You have installed additional protection layers and redundant systems in the reactor complex.
+<</if>>
+<br>
+<<if $fort.waterway == 0>>
+	<<link "Reinforce the waterways">>
+		<<set $fort.waterway = 1>>
+		<<set $cash -= 10000 * $upgradeMultiplierArcology>>
+		<<goto "riotControlCenter">>
+	<</link>>
+	<br>//Costs ¤<<print 10000 * $upgradeMultiplierArcology>>. Will add protection to the waterways, making it less likely to be damaged and speeding up repairs if our defensive efforts should fail.//
+<<else>>
+	You have installed additional protection layers and redundant systems in the waterways.
+<</if>>
+<br>
+<<if $fort.assistant == 0>>
+	<<link "Reinforce the assistant CPU core">>
+		<<set $fort.assistant = 1>>
+		<<set $cash -= 10000 * $upgradeMultiplierArcology>>
+		<<goto "riotControlCenter">>
+	<</link>>
+	<br>//Costs ¤<<print 10000 * $upgradeMultiplierArcology>>. Will add protection to the assistant CPU core, making it less likely to be damaged and speeding up repairs if our defensive efforts should fail.//
+<<else>>
+	You have installed additional protection layers and redundant systems in the assistant CPU core.
+<</if>>
\ No newline at end of file
diff --git a/src/SecExp/secInit.tw b/src/SecExp/secInit.tw
index d261199976f0c428ae3506e50ec7c1f3def873e7..6148026ff702016e4b1749d6bec6fb9cf1bd5eae 100644
--- a/src/SecExp/secInit.tw
+++ b/src/SecExp/secInit.tw
@@ -107,6 +107,19 @@
 <<set $secretService = 0>>
 <<set $blackOps = 0>>
 <<set $marketInfiltration = 0>>
+<<set $riotCenter = 0>>
+<<set $riotUpgrades = {
+	freeMedia: 0,
+	rapidUnit: 0,
+	rapidUnitSpeed: 0}>>
+<<set $fort = {
+	reactor: 0,
+	waterway: 0,
+	assistant:0}>>
+<<set $sentUnitCooldown = 0>>
+<<set $advancedRiotEquip = 0>>
+<<set $brainImplant = -1>>
+<<set $brainImplantProject = 0>>
 
 /* events */
 <<set $smilingManProgress = 0>>
@@ -136,14 +149,12 @@
 <<set $rebellingMercs = 0>>
 <<set $repairTime = 3>>
 <<set $arcRepairTime = 0>>
-<<set $arcRepairCost = 1000>>
 <<set $rebelDefeatAftermath = 0>>
 <<set $garrison = {
 	penthouse: 0,
 	reactor: 0,
 	assistant: 0,
 	waterway: 0,
-	penthouseTime: 0,
 	reactorTime: 0,
 	assistantTime: 0,
 	waterwayTime: 0 }>>
diff --git a/src/SecExp/securityReport.tw b/src/SecExp/securityReport.tw
index 1a1389703bcb3c7fea3e96bd388e27d3c60ce208..6619ae3690825d225e9013c30fe97f1ad970d043 100644
--- a/src/SecExp/securityReport.tw
+++ b/src/SecExp/securityReport.tw
@@ -102,6 +102,14 @@
 	Your black ops team proves to be a formidable tool against anyone threatening the security of your arcology.
 	<<set _secGrowth += 0.5 * random(1,2)>>
 <</if>>
+
+<<if $garrison.assistantTime > 0>>
+	With the central CPU core of the assistant down, managing security is a much harder task. Inevitably some little but important details will slip past your agents.
+	It will still take <<if $garrison.assistantTime> 1>>$garrison.assistantTime weeks<<else>>a week<</if>> to finish repair works.
+	<<set _secGrowth-->>
+	<<set _crimeGrowth++>>
+	<<set $garrison.assistantTime-->>
+<</if>>
 	
 <<if $SFSupportLevel >= 3>>
 	The two squads of $securityForceName assigned to the Security HQ provide an essential help to the security department.
@@ -446,4 +454,24 @@
 			<</for>>
 		<</if>>
 	<</if>>
+<</if>>
+
+<br>
+<br>
+<<if $brainImplantProject > 0 && $brainImplant == 106>>
+	<<set $brainImplant += $brainImplantProject>>
+	<<if 100 - $brainImplant <= 0>>
+		The project has been completed!
+		<<set $brainImplant = 101>>
+	<<else>>
+		The great brain implant project is proceeding steadily. This week we made
+		<<if $brainImplantProject <= 2>>
+			some small
+		<<elseif $brainImplantProject <= 4>>
+			some
+		<<else>>
+			good
+		<</if>>
+		progress
+	<</if>>
 <</if>>
\ No newline at end of file
diff --git a/src/events/gameover.tw b/src/events/gameover.tw
index 01582750a0489c4dc8db55a962e1f7b54acbe4ba..f2b21b5515e874689541d00188808ff240ad64f1 100644
--- a/src/events/gameover.tw
+++ b/src/events/gameover.tw
@@ -49,6 +49,7 @@
 	<<goto "eliteTakeOver">>
 
 <<elseif $gameover == "major battle defeat">>
+	<<set $ui = "start">>
 	<<if $attackType == "raiders">>
 		As the horde of raiders breaks the battlelines and enter the arcology, all hell break loose. You citizens are raped, your slaves captured and abused, your penthouse burned.
 		As for you, you are quickly captured and brought in front of the warlord himself. With a satisfied smile he aims his pistol to your forehead and squeezes the trigger.
@@ -63,7 +64,10 @@
 		Your personal story may continue, but that part of it worthy of retelling has now ended.
 	<</if>>
 	
+	<br><br>
+	''GAME OVER''
 <<elseif $gameover == "Rebellion defeat">>
+	<<set $ui = "start">>
 	<<if $slaveRebellion == 1>>
 		As the furious horde of slaves invade your penthouse you are left a few precious seconds to decide your fate. You embrace for the last time your faithful revolver and just as the rebels break through your doors you squeeze the trigger.
 		The end of your story has come and your arcology is now in the hands of whoever will take control of the vermins that dared rise up this day.
@@ -72,6 +76,8 @@
 		The end of your story has come and your arcology is now in the hands of whoever will take control of the vermins that dared rise up this day.
 	<</if>>
 	
+	<br><br>
+	''GAME OVER''
 <<else>>
 	<<set $ui = "start">>
 	Since you are without slaves, Free Cities society no longer considers you a citizen of the first rank. Your personal story may continue, but that part of it worthy of retelling has now ended.
diff --git a/src/js/storyJS.tw b/src/js/storyJS.tw
index f82097d428838e232d5cae0ebeba5bccf31e9876..5160a157a9fe864be16131550243d3018b2bfc4b 100644
--- a/src/js/storyJS.tw
+++ b/src/js/storyJS.tw
@@ -155,6 +155,9 @@ Mousetrap.bind("shift+a", function () {
 Mousetrap.bind("shift+h", function () {
 	$("#story-caption #propHub a.macro-link").trigger("click");
 });
+Mousetrap.bind("shift+r", function () {
+	$("#story-caption #riotCenter a.macro-link").trigger("click");
+});
 /**
  * BoobGenerator namespace.
  */
diff --git a/src/pregmod/fSlaveSlaveVagConsummate.tw b/src/pregmod/fSlaveSlaveVagConsummate.tw
index 041d130d180dd3f60027c44afc32b404180f04a7..2be24363eed9d67cca17d4d39fd0e43b3ff108c5 100644
--- a/src/pregmod/fSlaveSlaveVagConsummate.tw
+++ b/src/pregmod/fSlaveSlaveVagConsummate.tw
@@ -93,7 +93,7 @@ You take a look at the slave you selected.
 
 <<elseif ($slaverapistx.devotion >= -20)>>
 	Since $slaverapistx.slaveName does not resist your will, she should comply reasonably well.
-	<<if (if $slaverapistx.dick == 0)>>She dons a strap-on and applies lube in a mechanical, detached fashion,
+	<<if $slaverapistx.dick == 0>>She dons a strap-on and applies lube in a mechanical, detached fashion,
 	<<else>>She has to work to get herself hard despite her doubts,
 	<</if>>
 	fear and disgust showing on her face as she absorbs the perversion of the natural order of things she's about to experience.
diff --git a/src/uncategorized/arcmgmt.tw b/src/uncategorized/arcmgmt.tw
index 6487d36a4798603957e678f8110e8f45bcf5953f..22be24430f68add00a9e360880bc794e0c3b2113 100644
--- a/src/uncategorized/arcmgmt.tw
+++ b/src/uncategorized/arcmgmt.tw
@@ -120,6 +120,13 @@ This week, <<if _flux > 0>>few to none<<else>>many<</if>> of $arcologies[0].name
 			<<set _immigrants = 40>>
 		<</if>>
 	<</if>>
+	<<if $garrison.waterwayTime > 0>>
+		The damage caused to the water supply of the arcology discourages immigration and causes the death of some of the poorest residents.
+		It will still take <<if $garrison.waterwayTime > 1>>$garrison.waterwayTime weeks<<else>>a week<</if>> to finish repair works.
+		 <<set _immigrants = Math.clamp(_immigrants - random(40,60), 0 , _immigrants)>>
+		 <<set $ACitizens -= random(10,20), $ASlaves -= random(10,20)>>
+		 <<set $garrison.waterwayTime-->>
+	<</if>>
 <</if>>
 <<set $ACitizens += _immigrants>>
 <<if $ACitizens <= 100>>
@@ -541,6 +548,12 @@ earning you @@.yellowgreen;¤_earnings.@@
 			With the global economy recovering from the great crisis unleashed by the Smiling Man, there is plenty of room to grow. Your arcology's prosperity benefits from this greatly.
 			<<set _AWeekGrowth++>>
 		<</if>>
+		<<if $garrison.reactorTime > 0>>
+			The damage to the reactor caused by the last rebellion is extensive. Businesses and private citizens struggle to operate with the unreliable and limited energy production offered by the auxiliary generators.
+			It will still take <<if $garrison.reactorTime> 1>>$garrison.reactorTime weeks<<else>>a week<</if>> to finish repair works.
+			<<set _AWeekGrowth -= random(1,2)>>
+			<<set $garrison.reactorTime-->>			
+		<</if>>
 	<</if>>
 	<<set _AWeekGrowth = Math.trunc(0.5*_AWeekGrowth)>>
 	<<if _AWeekGrowth > 0>>
diff --git a/src/uncategorized/manageArcology.tw b/src/uncategorized/manageArcology.tw
index 898947aa6734e3c8e7495a5eee17c98414bf40f7..2587820e2fbc4e5b54d5cbb10b4b88dbfe8f4833 100644
--- a/src/uncategorized/manageArcology.tw
+++ b/src/uncategorized/manageArcology.tw
@@ -109,6 +109,7 @@ __Construction__
 		<br>
 		The [[security HQ|securityHQ]] is constantly working to protect your arcology.
 	<</if>>
+	
 	<<if $arcologyUpgrade.drones == 1 && $secBarracks == 0>>
 		<br>
 		[[Set up the barracks|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $secBarracks = 1]]
@@ -118,6 +119,16 @@ __Construction__
 		<br>
 		The [[barracks|secBarracks]] patiently await your orders.
 	<</if>>
+
+	<<if $riotCenter == 0 && $rebellionsEnabled == 1>>
+		<br>
+		[[Set up the riot control center|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $riotCenter = 1]]
+		//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
+		<br>//Building specialized in the management and suppression of rebellions.//
+	<<else>>
+		<br>
+		The [[Riot Control Center|riotControlCenter]] stands ready for action.
+	<</if>>
 <</if>>
 
 <br><br>
diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw
index b1706aa0e783f3063c59237120dfc30b1415cd82..cdf77a5e3c3065bc59b64c8b51f9118e7fefbbe6 100644
--- a/src/uncategorized/nextWeek.tw
+++ b/src/uncategorized/nextWeek.tw
@@ -128,6 +128,10 @@
     <</if>>
 <</if>>
 
+<<if $sentUnitCooldown > 0>>
+	<<set $sentUnitCooldown-->>
+<</if>>
+
 <<if $week == $oldWeek>>
 	<<set $week += 1, $day += 7>>
 	<<switch $month>>
diff --git a/src/uncategorized/pCitizensAndCivilians.tw b/src/uncategorized/pCitizensAndCivilians.tw
index ea8fd85cf7c21139c484b3e824a708abcea7e387..6ae98a9963442ea438b29a45c6f62fbe42099d66 100644
--- a/src/uncategorized/pCitizensAndCivilians.tw
+++ b/src/uncategorized/pCitizensAndCivilians.tw
@@ -1,5 +1,11 @@
 :: P citizens and civilians [nobr]
 
+<<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>
+	<<set _cost = 10000>>
+<<else>> 
+	<<set _cost = 20000>>
+<</if>>
+
 <<set $nextButton = "Continue", $nextLink = "Random Nonindividual Event">>
 
 <<if $assistant > 0>>
@@ -57,21 +63,21 @@
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Knight-Captain reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Knights - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Knights">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <<if $arcologies[0].FSRomanRevivalist >= 10>>
 <br><<link "They shall be my Evocati">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Centurion reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Evocati - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and bearing a Roman standard. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Evocati">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSAztecRevivalist >= 10>>\
 <<link "They shall be my Shorn Ones">>
@@ -79,11 +85,11 @@
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Centurion reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Shorn Ones - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and bearing an Aztec standard adorned on a spear. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $nextButton = "Continue">>
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Shorn Ones">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSChineseRevivalist >= 10>>\
 <<link "They shall be my Imperial Guards">>
@@ -91,219 +97,219 @@
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "General of the Imperial Guard, reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Imperial Guards - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and bearing an Imperial Chinese war banner. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $nextButton = "Continue">>
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Imperial Guards">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSEgyptianRevivalist >= 10>>
 <br><<link "They shall be my Medjay">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "First Medjay reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Medjay - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and bearing a faux cheetah cloak. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Medjay">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSEdoRevivalist >= 10>>
 <br><<link "Naturally, they shall be the Samurai">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Your Samurai-Lord reports for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Samurai - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons, exterior plates styled after lacquered Samurai armor, and an enraged mask covering the face. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Samurai">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSArabianRevivalist >= 10>>
 <br><<link "They shall be my Janissaries">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Corbaci reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Janissaries - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and cloaked in an outer garment of fine oriental silks. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Janissaries">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSChattelReligionist >= 10>>
 <br><<link "They shall be the Knights Templar">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Inquisitor-General reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Knights Templar - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and bearing a cloak emblazoned with the symbol of God. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Knights Templar">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSDegradationist >= 10>>
 <br><<link "They shall be my Immortals">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Satrap reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Immortals - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and more than one wicked, curved blade. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Immortals">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSAssetExpansionist >= 10>>
 <br><<link "They shall be the Vast Legions">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "The Vast Legions reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Vast Legions - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of bulky, heavily armored prototype armor. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Vast Legions">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSTransformationFetishist >= 10>>
 <br><<link "They shall be the Surgical Corps">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Surgeon-General reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Surgical Corps - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest medical equipment. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Surgical Corps">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSGenderRadicalist >= 10>>
 <br><<link "They shall be the Inglorious Bitches">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Guess that makes me a bitch, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Inglorious Bitches - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor slathered in garish neon paint. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Inglorious Bitches">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSGenderFundamentalist >= 10>>
 <br><<link "They shall be the Thousand Sons">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Allfather reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Thousand Sons - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, a private gym, and a suit of prototype armor that preserves a sample of the wearer's genetic material in the event of death. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Thousand Sons">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSRepopulationFocus >= 10>>
 <br><<link "They shall be the Guardians of the Unborn">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Fetal Guardian reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Guardians of the Unborn - are well looked after. They are each assigned a nice apartment, three fertile slavegirls for the men, assured maternity leave for the ladies, and a suit of prototype armor designed to keep even the most heavily pregnant mercanary's child safe and sound. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Guardians of the Unborn">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSRestart >= 10>>
 <br><<link "They shall be my Shadowed Hand">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Your Right Hand reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Shadowed Hand of the Societal Elite - are well looked after. They are each assigned a glorious apartment, a slave of their choice, what ever luxuries they can think of, and a suit of prototype armor equipped with the latest weapons and defenses. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Shadowed Hand">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSPhysicalIdealist >= 10>>
 <br><<link "They shall be the Asgardians">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Foehammer reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Asgardians - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, a private gym, and a suit of prototype armor equipped with the latest weapons. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Asgardians">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSHedonisticDecadence >= 10>>
 <br><<link "They shall be the Tasters">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Lead Foodie reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Tasters - are well looked after. They are each assigned a comfy apartment, a freshly enslaved, plush servant, all the food and drink they can want (while off duty), and a suit of self-propelling prototype armor designed for maximum comfort without sacrificing protection. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Tasters">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSSupremacist >= 10>>
 <br><<link "They shall be the Knights of the Blood">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Knights of the Blood reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Knights of the Blood - are well looked after. They are each assigned a nice apartment, three freshly enslaved servants of inferior races, and a suit of prototype armor equipped with the latest weapons. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Knights of the Blood">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSSubjugationist >= 10>>
 <br><<link "They shall be the Knights of the Purge">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Knights of the Purge reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Knights of the Purge - are well looked after. They are each assigned a nice apartment, three freshly enslaved servants of the inferior race, and a suit of prototype armor equipped with the latest weapons. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Knights of the Purge">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSPaternalist >= 10>>
 <br><<link "They shall be the Wardens">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a redesigned contract between you. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if $PC.title isnot 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "First Warden reporting for duty, <<if $PC.title isnot 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Wardens - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and a collapsible riot shield. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Wardens">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSBodyPurist >= 10>>
 <br><<link "They shall be the Purifiers">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Master Purifier reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Purifiers - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with a cleansing flamethrower. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Purifiers">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSSlimnessEnthusiast >= 10>>
 <br><<link "They shall be the Abstemious">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Lord-Abstinent reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Abstemious - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of sleek prototype armor equipped with advanced restraining weapons. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Abstemious">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 <<if $arcologies[0].FSPastoralist >= 10>>
 <br><<link "They shall be the Rangers">>
 	<<replace "#result">>
 	You ask for a meeting with your mercenaries' captain and lay out a proposal for a new contract between you over $PC.refreshment. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "Lead Ranger reporting for duty, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Rangers - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons - and an improbably massive revolver on the hip. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
-	<<set $cash -= 20000>>
+	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
 	<<set $mercenariesTitle = "Rangers">>
 	<</replace>>
-<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤20000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
+<</link>>  <<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//This will cost ¤10000 and some upkeep, @@.springgreen;reduced by your mercenary contacts@@//<<else>>//This will cost ¤20000 and incur significant upkeep costs//<</if>>
 <</if>>
 </span>
diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw
index 8ac685121ad7ed695d0f249e02b79ec7cc1b0b5e..50d772a223bb18d04e809ba4262690d81b50cd3b 100644
--- a/src/uncategorized/persBusiness.tw
+++ b/src/uncategorized/persBusiness.tw
@@ -603,6 +603,12 @@
 	<<set $crime += random(0,2)>>
 <</if>>
 
+<<if $arcRepairTime > 0>>
+	The recent rebellion left the arcology wounded and it falls to its owner to fix it. It will still take <<if $arcRepairTime > 1>>$arcRepairTime weeks<<else>>a week<</if>> to finish repair works.
+	<<set $cash -= 5000>>
+	<<set $arcRepairTime-->>
+<</if>>
+
 Routine upkeep of your demesne costs @@.yellow;¤$costs.@@
 <<if $plot == 1>>
 <<if $week > 10>>
diff --git a/src/uncategorized/ptWorkaround.tw b/src/uncategorized/ptWorkaround.tw
index 641dcd3c866903176e6b17d0ac7ec336a3cdc022..5fd7b5811c9fea5c27c8ba97367957027e294667 100644
--- a/src/uncategorized/ptWorkaround.tw
+++ b/src/uncategorized/ptWorkaround.tw
@@ -944,7 +944,7 @@
 <<case "induce hatred of oral">>
 	Since you've decided to force her to dislike oral sex, you're forced to use a complicated and refined slave breaking technique: constantly raping her face.
 	<<InduceFlawAbuseEffects>>
-	<<AnalVCheck 10>>
+	<<set $activeSlave.oralTotal += 10, $oralTotal += 10>>
 	<<set $activeSlave.training += 80-($activeSlave.intelligence*10)+(($activeSlave.devotion+$activeSlave.trust)/10)>>
 	<<if ($PC.slaving >= 100)>>
 		<<set $activeSlave.training += 20>>
diff --git a/src/uncategorized/saChoosesOwnClothes.tw b/src/uncategorized/saChoosesOwnClothes.tw
index 4d96ee27dc49b437664b586cd34b8bcf883650c8..82071f022d7eddac7b6d5197e7118091cbd7c8bb 100644
--- a/src/uncategorized/saChoosesOwnClothes.tw
+++ b/src/uncategorized/saChoosesOwnClothes.tw
@@ -21,57 +21,99 @@
 		<</if>>
 	<</if>>
 	Faced with so many choices and no thought on the matter;
+	<<set _clothingPool = []>>
 	<<if ($arcologies[0].FSChattelReligionist > 0)>>
 		$pronoun commonly sees others wearing chattel habits and is drawn to doing so <<print $object>>self.
 		<<set $slaves[$i].clothes = "a chattel habit">>
-	<<elseif ($arcologies[0].FSEgyptianRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing nothing but jewelry and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "slutty jewelry">>
-	<<elseif ($arcologies[0].FSRomanRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing togas and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "a toga">>
-	<<elseif ($arcologies[0].FSAztecRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun wears a very revealing huipil that accentuates $possessive body.
-		<<set $slaves[$i].clothes = "a huipil">>
-	<<elseif ($arcologies[0].FSEdoRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing kimonos and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "a kimono">>
-	<<elseif ($arcologies[0].FSArabianRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing silk and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "harem gauze">>
-	<<elseif ($arcologies[0].FSChineseRevivalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing qipaos and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "a slutty qipao">>
-	<<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees cheerleaders around and instinctually follows along.
-		<<set $slaves[$i].clothes = either("a cheerleader outfit", "a schoolgirl outfit")>>
-	<<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees bunnies around and instinctually follows along.
-		<<set $slaves[$i].clothes = "a bunny outfit">>
-	<<elseif ($arcologies[0].FSPaternalist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing clothing and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = "conservative clothing">>
-	<<elseif ($arcologies[0].FSMaturityPreferentialist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing suits and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = either("slutty business attire", "a nice maid outfit", "a military uniform", "nice business attire")>>
-	<<elseif ($arcologies[0].FSYouthPreferentialist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees schoolgirls around and instinctually follows along.
-		<<set $slaves[$i].clothes = either("a schoolgirl outfit", "a cheerleader outfit")>>
-	<<elseif ($arcologies[0].FSDegradationist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing chains and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = either("chains", "uncomfortable straps", "shibari ropes")>>
-	<<elseif ($arcologies[0].FSPhysicalIdealist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees naked girls around and seldom realizes they are coated in oil.
-		<<set $slaves[$i].clothes = either("body oil", "no clothing", "no clothing")>>
-	<<elseif ($arcologies[0].FSPastoralist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees cowgirls around and instinctually follows along.
-		<<set $slaves[$i].clothes = "Western clothing">>
-	<<elseif ($arcologies[0].FSBodyPurist > 0) && (random(1,3) == 1)>>
-		$pronoun commonly sees others wearing tight, form-fitting clothes and is drawn to doing so <<print $object>>self.
-		<<set $slaves[$i].clothes = either("a leotard", "a string bikini", "a slave gown", "a comfortable bodysuit", "restrictive latex", "clubslut netting", "a leotard", "a halter top dress")>>
 	<<else>>
-		$pronoun chooses to put on underwear, the reasons lost to $possessive, and moves on.
-		<<set $slaves[$i].clothes = "attractive lingerie">>
+		<<if ($arcologies[0].FSEgyptianRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("egyptian")>>
+		<<elseif ($arcologies[0].FSRomanRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("roman")>>
+		<<elseif ($arcologies[0].FSAztecRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("aztec")>>
+		<<elseif ($arcologies[0].FSEdoRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("edo")>>
+		<<elseif ($arcologies[0].FSArabianRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("arabic")>>
+		<<elseif ($arcologies[0].FSChineseRevivalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("chinese")>>
+		<</if>>
+		<<if ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("genderFund")>>
+		<</if>>
+		<<if ($arcologies[0].FSPaternalist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("paternalist")>>
+		<<elseif ($arcologies[0].FSDegradationist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("degradationist")>>
+		<</if>>
+		<<if ($arcologies[0].FSMaturityPreferentialist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("mature")>>
+		<<elseif ($arcologies[0].FSYouthPreferentialist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("youth")>>
+		<</if>>
+		<<if ($arcologies[0].FSPhysicalIdealist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("physicalIdealist")>>
+		<</if>>
+		<<if ($arcologies[0].FSPastoralist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("pastoralist")>>
+		<</if>>
+		<<if ($arcologies[0].FSBodyPurist > 0) && (random(1,3) == 1)>>
+			<<set _clothingPool.push("bodyPurist")>>
+		<</if>>
+		<<set _clothingPool.push("panties")>>
+		<<switch _randomClothes>>
+		<<case "egyptian">>
+			$pronoun commonly sees others wearing nothing but jewelry and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "slutty jewelry">>
+		<<case "roman">>
+			$pronoun commonly sees others wearing togas and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "a toga">>
+		<<case "aztec">>
+			$pronoun commonly sees others wearing huipils and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "a huipil">>
+		<<case "edo">>
+			$pronoun commonly sees others wearing kimonos and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "a kimono">>
+		<<case "arabic">>
+			$pronoun commonly sees others wearing silk and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "harem gauze">>
+		<<case "chinese">>
+			$pronoun commonly sees others wearing qipaos and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "a slutty qipao">>
+		<<case "genderFund">>
+			<<if random(1,2) == 1>>
+				$pronoun commonly sees cheerleaders around and instinctually follows along.
+				<<set $slaves[$i].clothes = either("a cheerleader outfit", "a schoolgirl outfit")>>
+			<<else>>
+				$pronoun commonly sees bunnies around and instinctually follows along.
+				<<set $slaves[$i].clothes = "a bunny outfit">>
+			<</if>>
+		<<case "paternalist">>
+			$pronoun commonly sees others wearing clothing and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = "conservative clothing">>
+		<<case "mature">>
+			$pronoun commonly sees others wearing suits and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = either("slutty business attire", "a nice maid outfit", "a military uniform", "nice business attire")>>
+		<<case "youth">>
+			$pronoun commonly sees schoolgirls around and instinctually follows along.
+			<<set $slaves[$i].clothes = either("a schoolgirl outfit", "a cheerleader outfit")>>
+		<<case "degradationist">>
+			$pronoun commonly sees others wearing chains and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = either("chains", "uncomfortable straps", "shibari ropes")>>
+		<<case "physicalIdealist">>
+			$pronoun commonly sees naked girls around and seldom realizes they are coated in oil.
+			<<set $slaves[$i].clothes = either("body oil", "no clothing", "no clothing")>>
+		<<case "pastoralist">>
+			$pronoun commonly sees cowgirls around and instinctually follows along.
+			<<set $slaves[$i].clothes = "Western clothing">>
+		<<case "bodyPurist">>
+			$pronoun commonly sees others wearing tight, form-fitting clothes and is drawn to doing so <<print $object>>self.
+			<<set $slaves[$i].clothes = either("a leotard", "a string bikini", "a slave gown", "a comfortable bodysuit", "restrictive latex", "clubslut netting", "a leotard", "a halter top dress")>>
+		<<default>>
+			$pronoun chooses to put on underwear, the reasons lost to $possessive, and moves on.
+			<<set $slaves[$i].clothes = "attractive lingerie">>
+		<</switch>>
 	<</if>>
 <<else>>
 
@@ -79,13 +121,13 @@
 	$pronounCap uses the ability to select outfits to cover up with comfortable cut-offs and a t-shirt,
 	<<set $slaves[$i].clothes = "cutoffs and a t-shirt">>
 	<<if ($slaves[$i].amp != 1)>>
-	<<if ($slaves[$i].heels == 0)>>
-	and wears comfortable flats,
-	<<set $slaves[$i].shoes = "flats">>
-	<<else>>
-	and angrily wears the heels $pronoun needs to walk,
-	<<set $slaves[$i].shoes = "heels">>
-	<</if>>
+		<<if ($slaves[$i].heels == 0)>>
+			and wears comfortable flats,
+			<<set $slaves[$i].shoes = "flats">>
+		<<else>>
+			and angrily wears the heels $pronoun needs to walk,
+			<<set $slaves[$i].shoes = "heels">>
+		<</if>>
 	<</if>>
 	@@.mediumorchid;increasing $possessive independence.@@
 	<<set $slaves[$i].devotion -= 5>>
@@ -321,7 +363,7 @@
 <<if $arcologies[0].FSRestart != "unset">>
 	<<if $slaves[$i].choosesOwnChastity == 1>>
 		<<if $slaves[$i].vagina > -1 && $slaves[$i].breedingMark == 1 && ($slaves[$i].vaginalAccessory == "chastity belt" || $slaves[$i].vaginalAccessory == "combined chastity")>>
-			$pronounCap unfastens $possessive chastity belt knowing full well $possessive role in life is to carry $possessive <<if def $PC.customTitle>><<print $PC.customTitle>>'s<<elseif $PC.title != 0>>Master's<<else>>Mistress'<</if>> children.
+			$pronounCap unfastens $possessive chastity belt knowing full well $possessive role in life is to carry $possessive <<WrittenMaster $slaves[$i]>>'s children.
 			<<set $slaves[$i].vaginalAccessory = "none">>
 		<<elseif $slaves[$i].vagina > -1 && $slaves[$i].ovaries == 1 && $slaves[$i].preg == 0 && $slaves[$i].vaginalAccessory != "chastity belt">>
 			$pronounCap also affixes a chastity belt over $possessive vagina to discourage use of $possessive reproductive organ.
@@ -341,22 +383,22 @@
 <</if>>
 
 <<if ($slaves[$i].amp != 1)>>
-<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "dom")>>
-	$pronounCap wears boots to look like a proper dominant.
-	<<set $slaves[$i].shoes = "boots">>
-<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "sadist")>>
-	$pronounCap wears boots, since $pronoun thinks they make $possessive look dangerous.
-	<<set $slaves[$i].shoes = "boots">>
-<<elseif ($slaves[$i].heels == 1)>>
-	$pronounCap wears the heels $pronoun needs to walk.
-	<<set $slaves[$i].shoes = "heels">>
-<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "none")>>
-	$pronounCap wears comfortable flats, since $pronoun doesn't have a fetish to show off.
-	<<set $slaves[$i].shoes = "flats">>
-<<else>>
-	$pronounCap wears heels to strut $possessive stuff.
-	<<set $slaves[$i].shoes = "heels">>
-<</if>>
+	<<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "dom")>>
+		$pronounCap wears boots to look like a proper dominant.
+		<<set $slaves[$i].shoes = "boots">>
+	<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "sadist")>>
+		$pronounCap wears boots, since $pronoun thinks they make $possessive look dangerous.
+		<<set $slaves[$i].shoes = "boots">>
+	<<elseif ($slaves[$i].heels == 1)>>
+		$pronounCap wears the heels $pronoun needs to walk.
+		<<set $slaves[$i].shoes = "heels">>
+	<<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish == "none")>>
+		$pronounCap wears comfortable flats, since $pronoun doesn't have a fetish to show off.
+		<<set $slaves[$i].shoes = "flats">>
+	<<else>>
+		$pronounCap wears heels to strut $possessive stuff.
+		<<set $slaves[$i].shoes = "heels">>
+	<</if>>
 <</if>>
 
 <</if>> /* closes devotion > 20 */
diff --git a/src/uncategorized/saDiet.tw b/src/uncategorized/saDiet.tw
index b633987dc7579b1b9cb4dc741bead19bc0841f5f..46ea11eaa09c41be67eedcdbe9629b459205346a 100644
--- a/src/uncategorized/saDiet.tw
+++ b/src/uncategorized/saDiet.tw
@@ -325,7 +325,7 @@
 	<<elseif ($slaves[$i].hormoneBalance <= -100)>>
 		Her heavy workouts focus on lifting, and with artificial testosterone in her system, she @@.lime;gains muscle.@@
 		<<set $slaves[$i].muscles += 5>>
-	<<elseif ($slaves[$i].hormoneBalance >= -100)>>
+	<<elseif ($slaves[$i].hormoneBalance >= 100)>>
 		Her heavy workouts focus on lifting, but with lots of female hormones in her system, she barely @@.lime;gains muscle.@@
 		<<set $slaves[$i].muscles += 2>>
 	<<else>>
diff --git a/src/uncategorized/slaveSummary.tw b/src/uncategorized/slaveSummary.tw
index 30fa746860b976daf42fe9e4720aa5806bce7c09..8ea58d5ff42558bd675f150a7620e7f08b26fa60 100644
--- a/src/uncategorized/slaveSummary.tw
+++ b/src/uncategorized/slaveSummary.tw
@@ -153,7 +153,7 @@
 <<case "Head Girl Suite">>
 <<if $Flag == 0>>
 		<br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if ($seeImages == 1) && ($seeSummaryImages == 1)>><div class="imageRef smlImg"><<SlaveArt _Slave 1>></div><</if>>
-		[[_slaveName|Slave Interact][$activeSlave = $slaves[ssi]]]
+		[[_slaveName|Slave Interact][$activeSlave = $slaves[_ssi]]]
 <<else>>
 		<br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if ($seeImages == 1) && ($seeSummaryImages == 1)>><div class="imageRef smlImg"><<SlaveArt _Slave 1>></div><</if>>
 		[[_slaveName|Slave Interact][$activeSlave = $slaves[_ssi]]]
diff --git a/src/uncategorized/storyCaption.tw b/src/uncategorized/storyCaption.tw
index 16aa802d188aee6af9eeab9ce161e1fc88067f2f..dadea53450e7676c4731f8540030573cb52588c9 100644
--- a/src/uncategorized/storyCaption.tw
+++ b/src/uncategorized/storyCaption.tw
@@ -432,6 +432,9 @@
 		<<if $secBarracks == 1>>
 			<br><span id="secBarracks"><<link "Manage Military">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "secBarracks">><</link>></span> @@.cyan;[Shift+A]@@
 		<</if>>
+		<<if $riotCenter == 1>>
+		<br><span id="riotCenter"><<link "Manage Rebels">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "riotCenter">><</link>></span> @@.cyan;[Shift+R]@@
+		<</if>>
 		<</if>>
 		<<if $cyberMod != 0 && $researchLab.built == "true">>
 			<br>[[Manage Research Lab|Research Lab][$temp = 0]]
@@ -466,6 +469,9 @@
 	<<if $secBarracks == 1>>
 		<br><span id="secBarracks"><<link "Manage Military">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "secBarracks">><</link>></span> @@.cyan;[Shift+A]@@
 	<</if>>
+	<<if $riotCenter == 1>>
+		<br><span id="riotCenter"><<link "Manage Rebels">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "riotCenter">><</link>></span> @@.cyan;[Shift+R]@@
+	<</if>>
 	<</if>>
 	<<if $cyberMod != 0 && $researchLab.built == "true">>
 		<br>[[Manage Research Lab|Research Lab][$temp = 0]]
diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw
index 3d43ba844379dbaeac56ca992dc27ed33ad59de2..6c15b6d52622b32adff392ffbe2373a0a1774573 100644
--- a/src/utility/descriptionWidgetsFlesh.tw
+++ b/src/utility/descriptionWidgetsFlesh.tw
@@ -4221,7 +4221,7 @@ $pronounCap has
 		<<if $activeSlave.physicalAge <= 3>>
 			and $possessive belly pins $possessive to the ground. $possessiveCap toddlerish form is dwarfed by $possessive pregnancy, and try as $pronoun might $pronoun can not even drag the oversized thing.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
 		<<elseif $activeSlave.physicalAge <= 12>>
-			and $pronoun can barely function with $possessive oversized belly.
+			and $pronoun can barely function with $possessive oversized belly.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet<<if $saleDescription == 0>>, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere<</if>>.<</if>>
 		<<elseif $activeSlave.height >= 185>>
 			but $possessive tall frame barely bears $possessive oversized, drum-taut belly.
 		<<elseif $activeSlave.height < 150>>