:: Manage Arcology [nobr]

<<set $nextButton to "Back">>
<<set $nextLink to "Main">>

<<if $cheatMode == 1>>
<center>
//[[Cheat Edit Arcology|MOD_Edit Arcology Cheat][$cheater to 1]]//
</center>
<</if>>
<<set $showEncyclopedia to 0>>

<<include "Arcology Description">>

<br><br>

__Arcology Ownership__
You own ''$arcologies[0].ownership%'' of $arcologies[0].name, <<if $arcologies[0].minority > 0>>against ''$arcologies[0].minority%'' owned by the second most significant holder<<else>>and there are no other significant holders<</if>>.
<<if $arcologies[0].minority > $arcologies[0].ownership-10>>
	@@color:red;This is a dangerously narrow margin of control.@@
<</if>>
<<set $price to 500*Math.trunc($arcologies[0].prosperity*(1+($arcologies[0].demandFactor/100)))>>
A 1% interest in $arcologies[0].name is worth ¤$price and will require a transaction cost of ¤10000 to acquire.
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<<if $arcologies[0].ownership+$arcologies[0].minority < 100>>
	[[Buy|Manage Arcology][$cash -= $price+10000, $arcologies[0].ownership += 1, $arcologies[0].demandFactor += 5]]
<<else>>Buy<</if>> |
[[Sell|Manage Arcology][$cash += $price, $arcologies[0].ownership -= 1, $arcologies[0].demandFactor -= 5]]
<<if $arcologies[0].ownership+$arcologies[0].minority < 100>>
<<if $rep >= 10000>>
	<br>&nbsp;&nbsp;&nbsp;&nbsp;
	<<set $repPrice = Math.clamp($price/2, 0, 10000)>>
	You have so much political capital that you can spend reputation to  acquire ownership by spending reputation. [[Use reputation|Manage Arcology][$rep -= $repPrice, $arcologies[0].ownership += 1, $arcologies[0].demandFactor += 5]]
<</if>>
<</if>>

<<if $FSAnnounced > 0>>
	<<if $FSCredits > 0>>
	<br><br>
		@@color:yellow;$arcologies[0].name's society is ready to begin accepting a new societal direction.@@
	<</if>>
<</if>>

<br><br>

__Construction__
<br>

<<if $AProsperityCap <= 60>>
	//The first major upgrade needed is the installation of a drone security system so higher-class citizens will feel safe and protected should they choose to immigrate. This upgrade will cost ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>.// [[Install drone security system|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $AProsperityCap += 20]]
<<elseif $AProsperityCap <= 80>>
	//The next major upgrade needed is the installation of a better water reclamation system so your residents will have access to cheaper water and hydroponically grown food. This upgrade will cost ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>>.// [[Upgrade water reclamation system|Manage Arcology][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $AProsperityCap += 20]]
<<elseif $AProsperityCap <= 100>>
	//The next major upgrade needed is the installation of a broader apron at the bottom of the arcology to increase its surface area and gather more solar energy. Right now, tenants that use a lot of power have to import it from outside. This upgrade will cost ¤<<print Math.trunc(20000*$upgradeMultiplierArcology)>>.// [[Install solar apron|Manage Arcology][$cash -= Math.trunc(20000*$upgradeMultiplierArcology), $AProsperityCap += 20]]
<<elseif $AProsperityCap <= 120>>
	//The next major upgrade needed is an improvement of the arcology's electrical transmission lines to make efficient use of the additional power from the solar apron. This upgrade will cost ¤<<print Math.trunc(50000*$upgradeMultiplierArcology)>>.// [[Upgrade transmission lines|Manage Arcology][$cash -= Math.trunc(50000*$upgradeMultiplierArcology), $AProsperityCap += 30]]
<<elseif $AProsperityCap <= 150>>
	//The next major upgrade needed is an overhaul of the commercial floors. As the arcology has become prosperous a better class of citizen has started to look for a higher class of establishment. These renovations will cost ¤<<print Math.trunc(100000*$upgradeMultiplierArcology)>>.// [[Renovate commercial floors|Manage Arcology][$cash -= Math.trunc(100000*$upgradeMultiplierArcology), $AProsperityCap += 40]]
<<elseif $AProsperityCap <= 190>>
	//The next major upgrade needed is an overhaul of the residential floors. As the arcology has become prosperous a better class of citizen has started to look for a higher class of living quarters. These renovations will cost ¤<<print Math.trunc(200000*$upgradeMultiplierArcology)>>.// [[Renovate residential floors|Manage Arcology][$cash -= Math.trunc(200000*$upgradeMultiplierArcology), $AProsperityCap += 50]]
<<elseif $AProsperityCap <= 240>>
	//The next major upgrade needed is the addition of a spire at the top of the arcology to increase the space available for the wealthiest citizens to own whole floors. This huge project will cost ¤<<print Math.trunc(250000*$upgradeMultiplierArcology)>>.// [[Add spire|Manage Arcology][$cash -= Math.trunc(250000*$upgradeMultiplierArcology), $AProsperityCap += 60]]
<<else>>
	//The arcology's public areas are fully upgraded.//
<</if>>
<<if ($PC.career == "engineer") || ($PC.career == "arcology owner")>>
<<if $AProsperityCap < 360>>
	//Arcology upgrades are less expensive due to your @@color:springgreen;<<if $PC.career == "arcology owner">>experience in the Free Cities<<else>>arcology engineering career<</if>>.@@//
<</if>>
<</if>>

<br>

<<if $weatherCladding == 0>>
	//Extreme weather is becoming common worldwide. The arcology's exterior can be hardened to reduce damage in case of heavy weather, but this will reduce its beauty somewhat and will cost ¤<<print Math.trunc(50000*$upgradeMultiplierArcology)>>. Your citizens are <<if $weatherAwareness == 0>>likely to disapprove of this measure as alarmism.<<else>>@@color:yellow;concerned that this measure has not been taken already.@@<</if>> // [[Apply weather cladding|Manage Arcology][$cash -= Math.trunc(50000*$upgradeMultiplierArcology), $weatherCladding to 1]]
<<elseif $weatherCladding == 1 && $AProsperityCap is 300>>
	The arcology's exterior is jacketed with unsightly but sturdy weather cladding. Your arcology is so prosperous that remodeling the cladding into something beautiful is within the realm of possibility. This massive project will cost ¤<<print Math.trunc(3500000*$upgradeMultiplierArcology)>> and without a doubt render your arcology one of the wonders of the world.
[[Remodel weather cladding|Manage Arcology][$cash -= Math.trunc(3500000*$upgradeMultiplierArcology), $weatherCladding to 2, $AProsperityCap to 360]]
<<elseif $weatherCladding == 1>>
	//The arcology's exterior is jacketed with unsightly but sturdy weather cladding.//
<<elseif $weatherCladding == 2>>
	//The arcology's exterior is jacketed with gorgeously sculpted and fully functional weather cladding.//
<</if>>

<br><br>

__Facilities__
<br>

<<if $brothel == 0>>
	[[Combine empty apartments into a brothel|Manage Arcology][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $brothel to 5]]
	//Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>> and will incur upkeep costs//
<<elseif $brothel > 0>>
	A brothel has been installed directly below your penthouse. It can support <<print $brothel>> whores.
<</if>>

<br>

<<if $club == 0>>
	[[Build a club to serve as a focal point for public sluts|Manage Arcology][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $club to 5]]
	//Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>> and will incur upkeep costs//
<<elseif $club > 0>>
	There are rooms off the club to support slaves as they please citizens. They can support <<print $club>> sluts.
<</if>>

<br>

<<if $arcade == 0>>
	[[Construct a sex arcade to confine slaves in|Manage Arcology][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $arcade to 5]]
	//Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>> and will incur upkeep costs//
<<elseif $arcade > 0>>
	A sex arcade has been installed in the arcology. It can support <<print $arcade>> inmates.
<</if>>

<br>

<<if $dairy == 0>>
	[[Add a dairy to the water reclamation facility|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $dairy to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>> and will incur upkeep costs//
<<elseif $dairy > 0>>
	A dairy has been installed in the water reclamation area of your penthouse. It can support <<print $dairy>> milkers.
<</if>>

<br>

<<if $servantsQuarters == 0>>
	[[Build a dormitory to house large numbers of house servants|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $servantsQuarters to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
<<else>>
	Your penthouse includes a dormitory to house large numbers of house servants.
<</if>>

<br>

<<if $schoolroom == 0>>
	[[Build a schoolroom where slaves can be educated|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $schoolroom to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
<<else>>
	Your penthouse includes a schoolroom where slaves can be educated.
<</if>>

<br>

<<if $spa == 0>>
	[[Install open baths to provide relaxation space for resting slaves|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $spa to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
<<else>>
	The penthouse includes a fully appointed spa where slaves can rest and recuperate.
<</if>>

<br>

<<if $clinic == 0>>
	[[Expand the surgical recovery area to accommodate patients and a nurse|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $clinic to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
<<else>>
	The surgical recovery area has been expanded to take in more unhealthy slaves and be staffed by a nurse.
<</if>>

<br>

<<if $cellblock == 0>>
	[[Construct cells to properly confine disobedient slaves|Manage Arcology][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $cellblock to 5]]
	//Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>//
<<else>>
	The lower level of the penthouse includes a hallway of cells to confine slaves in.
<</if>>

<br>

<<if $AProsperityCap > 120 && $familyTesting == 1>>
<<if $incubator == 0>>
	[[Install an incubation chamber to rapidly age children|Manage Arcology][$cash -= Math.trunc(100000*$upgradeMultiplierArcology), $incubator to 1]]
	//Costs ¤<<print Math.trunc(100000*$upgradeMultiplierArcology)>>//
<<else>>
	The penthouse has a specialized facility dedicated to rapidly aging children.
<</if>>
<<elseif $AProsperityCap >= 100 && $AProsperityCap <= 120>>
	//Installation of a child aging facility will require the arcology's electrical infrastructure to be overhauled.//
<</if>>

<br><br>

__Special Arcology Upgrades__
<br>&nbsp;&nbsp;&nbsp;&nbsp;

<<if ($personalArms == 0) && ($mercenaries == 0) && ($assistant == 0)>>
//$arcologies[0].name has no special upgrades//
<</if>>

<<if ($personalArms == 1)>>
You own a prototype powered exoskeleton that mounts armor and a smart mortar system, and has rifles mounted into its forearms.
<<elseif ($personalArms > 1)>>
You own a prototype powered exoskeleton that mounts armor and a smart mortar system, and has rifles mounted into its forearms. Furthermore, your security drones can rearm with small-caliber guns if necessary.
<</if>>

<<if ($mercenaries > 0)>>
<<if ($mercenaries == 1)>>
A squad of mercenaries is permanently quartered in $arcologies[0].name. They are grim men and women, heavily armed and armored. Their upkeep is costing ¤<<print ($mercenaries*1000)>> weekly.
<<elseif ($mercenaries < 5)>>
A full platoon of mercenaries is permanently quartered in $arcologies[0].name. They are grim men and women, heavily armed and armored. Their upkeep is costing ¤<<print ($mercenaries*1000)>> weekly.
<<elseif ($mercenaries >= 5)>>
You have permanently settled a full platoon of mercenaries in $arcologies[0].name as your $mercenariesTitle. They are grim men and women who appreciate their luxurious life here and train hard to keep their skills with their prototype armor sharp. Their upkeep is costing ¤<<print ($mercenaries*1000)>> weekly.
<</if>>
<</if>>

<<if ($assistant > 0)>>
<<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> is using an alternative personality setting, speaking in a sultry, sexual voice, and talking as though the penthouse's sex toys are her body.
<</if>>
<<if ($assistant > 1)>>
She also has charge of all smart piercings in the arcology, and is using her adaptations to sexual duties to improve their effectiveness.
<</if>>

<br><br>

Your slaves have participated in approximately <<print $oralTotal+$vaginalTotal+$analTotal>> sexual encounters: $oralTotal primarily oral, $vaginalTotal vanilla, $mammaryTotal mammary, $analTotal anal, and $penetrativeTotal with the slave penetrating another. They have produced about $milkTotal liters of marketable milk, <<if $seeDicks != 0>>about $cumTotal deciliters of marketable cum, <</if>>and have given birth $birthsTotal times.

<<if $pitKillsTotal > 0>>$pitKillsTotal slaves have died in your fighting pit.<</if>>
<<if $fuckdollsSold > 0>>$fuckdollsSold mindbroken arcade slaves have been converted into Fuckdolls and sold.<</if>>

<br><br>

Your arcology is named <<textbox "$arcologies[0].name" $arcologies[0].name "Manage Arcology">>
