:: Costs Report [nobr]

<<set $nextButton = "Back to Main", $nextLink = "Main">>
<<if $PCSlutContacts == 0>><<set $PCSlutContacts = 1>><</if>>

//Your weekly costs are as follows.//

Since you are
<<if $girls >= 3>>
	accustomed to luxury,
<<elseif $girls == 2>>
	used to living well,
<<else>>
	used to a fairly normal life,
<</if>>
your __personal living expenses__ are <<print cashFormat(($girls*(250+($economy*500))))>>.

<<if $arcologies[0].FSRepopulationFocusLaw == 1 && $PC.pregKnown == 1>>
	<br>Rent promotion for being a pregnant citizen under ''Universal Pregnancy Subsidy:'' <<print cashFormat(500)>>
<</if>>

<<if $PC.preg == -1>>
	<br>Your Contraceptives expenses: <<print cashFormat(25)>>
<<elseif $PC.fertDrugs == 1>>
	<br>Your fertility regimen: <<print cashFormat(50)>>
<<elseif $PC.preg >= 16>>
	<br>Increased living expenses due to being pregnant: <<print cashFormat(100)>>
<</if>>
<<if $PC.staminaPills == 1>>
	<br>Your stamina pills: <<print cashFormat(50)>>
<</if>>

<<if $breederOrphanageTotal > 0>><<set _breederTuition = 50>><<else>><<set _breederTuition = 0>><</if>>
<<if $citizenOrphanageTotal+$privateOrphanageTotal+$breederOrphanageTotal > 0>>
	<br> __Orphanage__ fee: @@.yellowgreen;<<print cashFormat($citizenOrphanageTotal*100+$privateOrphanageTotal*500+_breederTuition)>>@@
	<<if $citizenOrphanageTotal > 0>>
		<br>&nbsp;Citizen: @@.yellowgreen;<<print cashFormat(100)>>@@ per child. Currently <<print commaNum($citizenOrphanageTotal)>> are being taught, bringing the total to @@.yellowgreen;<<print cashFormat($citizenOrphanageTotal*100)>>@@.
	<</if>>
	<<if $privateOrphanageTotal > 0>>
		<br>&nbsp;Private: @@.yellowgreen;<<print cashFormat(500)>>@@ per child. Currently <<print commaNum($privateOrphanageTotal)>> are being taught, bringing the total to @@.yellowgreen;<<print cashFormat($privateOrphanageTotal*500)>>@@.
	<</if>>
	<<if $breederOrphanageTotal > 0>>
		<br>&nbsp;Since <<print commaNum($breederOrphanageTotal)>> of your slaves' children are being raised into productive members of society in a society funded school, you pay a flat @@.yellowgreen;<<print cashFormat(50)>>@@ usage fee.
	<</if>>
<</if>>

<<if $peacekeepers != 0 && $peacekeepers.undermining != 0>>
	<br> <<print cashFormat($peacekeepers.undermining)>> to undermine political support for the nearby old world peacekeeping mission.
<</if>>

<<if $SF.Toggle && $SF.Active >= 1 && $SF.Subsidy>>
	<br>__Finacinally supporting $SF.Caps unitll self sufficiency:__ <<print cashFormat(Math.ceil( (10000*($SFUnit.Troops/10))+(1+($arcologies[0].prosperity/100))+(1+($SF.Units/100)) ))>>
<</if>>
<<if $mercenaries > 0>>
	<<set _mercCosts = $mercenaries*2000>>
	<<if $barracks>><<set _mercCosts *= 0.5>><</if>>
	<<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>><<set _mercCosts *= 0.5>><</if>>
	<br>__Mercenary__ expenses: <<print cashFormat(_mercCosts)>>
	<<if $barracks>><<else>>//@@.red;Increased by the lack of a barracks.@@//<</if>>
	<<if ($PC.warfare >= 100) || ($PC.career == "arcology owner")>>//Reduced by your @@.springgreen;mercenary contacts.@@//<</if>>
<</if>>

<<if $brothel > 0>>
	<<set _advertising = 0>>
	<<if $brothel > 0>>
		<<set _advertising = $brothelAdsSpending>>
	<</if>>
	<br>__Brothel__ maintenance: <<print cashFormat(($brothel*$facilityCost)+(0.1*$brothelUpgradeDrugs*$brothel*$facilityCost)+_advertising)>>
<</if>>

<<if $club > 0>>
	<<set _advertising= 0>>
	<<if $club > 0>>
		<<set _advertising = $clubAdsSpending>>
	<</if>>
	<br>__Club__ maintenance: <<print cashFormat(($club*$facilityCost)+(0.2*$clubUpgradePDAs*$club*$facilityCost)+_advertising)>>
<</if>>
<<if $arcade > 0>>
	<br>__Arcade__ maintenance: <<print cashFormat((0.5*$arcade*$facilityCost)+(0.2*$arcadeUpgradeInjectors*$arcade*$facilityCost)+(0.2*$arcadeUpgradeCollectors*$arcade*$facilityCost))>>
<</if>>
<<if $dairy > 0>>
	<br>__Dairy__ maintenance: <<print cashFormat(($dairy*$facilityCost)+(0.2*$dairyFeedersUpgrade*$dairy*$facilityCost)+(0.1*$dairyPregUpgrade*$dairy*$facilityCost))>>
	<<if $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren > 0>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional maintenance for milking machines upgraded with biological components: <<print cashFormat(($bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren)*100)>>
	<</if>>
<</if>>
<<if ($servantsQuarters > 0) && ($servantsQuartersUpgradeMonitoring > 0)>>
	<br>__Servants' Quarters__ maintenance: <<print cashFormat((0.2*$servantsQuartersUpgradeMonitoring*$servantsQuarters*$facilityCost))>>
<</if>>
<<if $nursery > 0>>
	<br>__Nursery maintenance: <<print cashFormat($nursery*$facilityCost)>>
<</if>>
<<if $farmyard > 0>>
	<br>__Farmyard__ maintenance: <<print cashFormat($farmyard*$facilityCost)>>
<</if>>

<<if $incubator > 0>>
	<br>__Incubation Facility__ maintenance and resource drain: <<print cashFormat((10*$incubator*$facilityCost)+(0.2*$incubatorUpgradeWeight*$incubator*$facilityCost)+(0.2*$incubatorUpgradeMuscles*$incubator*$facilityCost)+(0.2*$incubatorUpgradeReproduction*$incubator*$facilityCost)+(0.2*$incubatorUpgradeGrowthStims*$incubator*$facilityCost)+(0.5*$incubatorUpgradeSpeed*$incubator*$facilityCost))>>
	<<if $incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting > 0>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional monitoring and maintenance costs for growing children: <<print cashFormat((($incubatorWeightSetting+$incubatorMusclesSetting+$incubatorReproductionSetting+$incubatorGrowthStimsSetting)*500))>>
	<</if>>
<</if>>
<<if ($masterSuiteUpgradePregnancy == 1)>>
	<br>__Master Suite__ maintenance: <<print cashFormat(((500*$masterSuiteUpgradePregnancy) + (1000*$masterSuitePregnancyFertilitySupplements)))>>
<</if>>
<<if $cyberMod != 0>>
	<<if ($researchLab.built == "true")>>
		<br>__Research Lab__ maintenance: <<print cashFormat((100*$researchLab.maxSpace))>>
		<<if $researchLab.hired != 0>>&nbsp;__Scientists__: <<print cashFormat((300*$researchLab.hired))>><</if>>
		<<if $researchLab.menials != 0>>&nbsp;__Menial slaves__: <<print cashFormat((100*$researchLab.menials))>><</if>>
	<</if>>
<</if>>

/* security expansion */
<<if $secExp == 1>>
	<br>
	<<if $edictsUpkeep + $SFSupportUpkeep > 0>>
		__Edicts Upkeep__: <<print cashFormat($edictsUpkeep + $SFSupportUpkeep)>>
	<</if>>
	<<if $propHub != 0>>
		<br>__Propaganda Hub__ maintenance: <<print cashFormat($propHubUpkeep)>>
	<</if>>
	<<if $secHQ != 0>>
		<br>__Security Headquarters__ maintenance: <<print cashFormat(($secHQUpkeep)+(20*$secHelots))>>
	<</if>>
	<<if $secBarracks != 0>>
		<br>__Barracks__ maintenance: <<print cashFormat($secBarracksUpkeep)>>
	<</if>>
	<<if $riotCenter != 0>>
		<br>__Riot Control Center__ maintenance: <<print cashFormat($riotUpkeep)>>
	<</if>>
	
	<<if $soldierWages == 0>>
		<<set _soldierMod = 1>>
	<<elseif $soldierWages == 1>>
		<<set _soldierMod = 1.5>>
	<<else>>
		<<set _soldierMod = 2>>
	<</if>>
	<<for _i = 0; _i < $militiaUnits.length; _i++>>
		<br>__<<print $militiaUnits[_i].platoonName>>__ upkeep: <<print cashFormat($militiaUnits[_i].troops*$soldierUpkeep * _soldierMod)>>
	<</for>>
	<<for _i = 0; _i < $slaveUnits.length; _i++>>
		<br>__<<print $slaveUnits[_i].platoonName>>__ upkeep: <<print cashFormat($slaveUnits[_i].troops*$soldierUpkeep * 0.5 * _soldierMod)>>
	<</for>>	
	<<for _i = 0; _i < $mercUnits.length; _i++>>
		<br>__<<print $mercUnits[_i].platoonName>>__ upkeep: <<print cashFormat($mercUnits[_i].troops*$soldierUpkeep * 1.5 * _soldierMod)>>
	<</for>>
<</if>>

<<if $FSSpending != 0>>
	<br>__Society Shaping__ expenses: <<print cashFormat($FSSpending)>>
<</if>>
<<if $Recruiter != 0>>
	<br>__Recruiting__ expenses: <<print cashFormat(250)>>
<</if>>
<<if $TSS.schoolPresent == 1>>
	<br>__The Slavegirl School__ branch campus upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $GRI.schoolPresent == 1>>
	<br>__Growth Research Institute__ subsidiary lab upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $SCP.schoolPresent == 1>>
	<br>__St. Claver Preparatory__ branch campus upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $LDE.schoolPresent == 1>>
	<br>__L'École des Enculées__ branch campus upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $TGA.schoolPresent == 1>>
	<br>__The Gymnasium-Academy__ branch campus upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $HA.schoolPresent == 1>>
	<br>__The Hippolyta Academy__ branch campus upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $TCR.schoolPresent == 1>>
	<br>__The Cattle Ranch__ local pasture upkeep: <<print cashFormat(1000)>>
<</if>>
<<if ($TFS.schoolPresent == 1) && (($PC.dick == 0) || ($PC.vagina == 0) || ($PC.boobs == 0))>>
	<br>__The Futanari Sisters__ community upkeep: <<print cashFormat(1000)>>
<</if>>
<<if $TSS.subsidize != 0>>
	<br>__The Slavegirl School__ branch campus influence: <<print cashFormat(1000)>>
<</if>>
<<if $GRI.subsidize != 0>>
	<br>__Growth Research Institute__ subsidiary lab influence: <<print cashFormat(1000)>>
<</if>>
<<if $SCP.subsidize != 0>>
	<br>__St. Claver Preparatory__ branch campus influence: <<print cashFormat(1000)>>
<</if>>
<<if $LDE.subsidize != 0>>
	<br>__L'École des Enculées__ branch campus influence: <<print cashFormat(1000)>>
<</if>>
<<if $TGA.subsidize != 0>>
	<br>__The Gymnasium-Academy__ branch campus influence: <<print cashFormat(1000)>>
<</if>>
<<if $HA.subsidize != 0>>
	<br>__The Hippolyta Academy__ branch campus influence: <<print cashFormat(1000)>>
<</if>>
<<if $TCR.subsidize != 0>>
	<br>__The Cattle Ranch__  local pasture influence: <<print cashFormat(1000)>>
<</if>>
<<if $TFS.subsidize != 0>>
	<br>__The Futanari Sisters__ community influence: <<print cashFormat(1000)>>
<</if>>

<<if $alwaysSubsidizeGrowth == 1>>
	<br>Weekly arcology growth subsidy: <<print cashFormat($policyCost)>>
<</if>>
<<if $alwaysSubsidizeRep == 1>>
	<br>Weekly self-promotion budget: <<print cashFormat($policyCost)>>
<</if>>
<<if $RegularParties == 1>>
	<br>Weekly social gatherings: <<print cashFormat($policyCost)>>
<</if>>

<<if $ProImmigrationCash == 1>>
	<br>Pro-immigration promotion budget: <<print cashFormat($policyCost)>>
<</if>>
<<if $AntiEnslavementCash == 1>>
	<br>Anti-enslavement charity budget: <<print cashFormat($policyCost)>>
<</if>>

<<if $CoursingAssociation == 1>>
	<br>Coursing Association membership: <<print cashFormat(1000)>>
<</if>>

<<if $PC.actualAge >= $IsInPrimePC && $PC.actualAge < $IsPastPrimePC>>
<br><br>
	<<if ($personalAttention == "trading") || ($personalAttention == "warfare") || ($personalAttention == "slaving") || ($personalAttention == "engineering") || ($personalAttention == "medicine") || ($personalAttention == "hacking")>>
		<<set _cost = 10000*$AgeEffectOnTrainerPricingPC>>
		<<switch $personalAttention>>
		<<case trading>>
			__Trading__
		<<case warfare>>
			__Warfare__
		<<case slaving>>
			__Slaving__
		<<case engineering>>
			__Engineering__
		<<case medicine>>
			__Medicine__
		<<case hacking>>
			__Hacking__
		<</switch>>
		trainer fees: <<print cashFormat(_cost)>>
	<</if>>
<</if>>

<br><br>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<set $individualCosts = 0>>
	''$slaves[$i].slaveName'':
	<<switch $slaves[$i].assignment>>
	<<case "be confined in the arcade">>
		<<set _livingExpense = ($rulesCost*.75)>>
	<<case "work in the dairy">>
		<<if $dairyRestraintsSetting >= 2>>
			<<set _livingExpense = ($rulesCost*.75)>>
		<<elseif $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.5)>>
		<<elseif $dairyDecoration == "Degradationist">>
			<<set _livingExpense = ($rulesCost*.9)>>
		<<else>>
			<<set _livingExpense = $rulesCost>>
		<</if>>
	<<case "work in the brothel">>
		<<if $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.5)>>
		<<else>>
			<<set _livingExpense = $rulesCost>>
		<</if>>
	<<case "serve in the club" "learn in the schoolroom">>
		<<set _livingExpense = ($rulesCost*1.5)>>
	<<case "get treatment in the clinic">>
		<<if $slaves[$i].livingRules == "luxurious">>
			<<set _livingExpense = ($rulesCost*2)>>
		<<elseif $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.5)>>
		<<else>>
			<<set _livingExpense = $rulesCost>>
		<</if>>
	<<case "rest in the spa" "work as a nanny">>
		<<if $slaves[$i].livingRules == "luxurious">>
			<<set _livingExpense = ($rulesCost*1.75)>>
		<<elseif $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.5)>>
		<<else>>
			<<set _livingExpense = $rulesCost>>
		<</if>>
	<<case "be a servant">>
		<<if $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.5)>>
		<<else>>
			<<if $servantsQuartersDecoration == "Degradationist">>
				<<set _livingExpense = ($rulesCost*.9)>>
			<<else>>
				<<set _livingExpense = $rulesCost>>
			<</if>>
		<</if>>
	<<case "be confined in the cellblock">>
		<<if $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*1.25)>>
		<<else>>
			<<set _livingExpense = ($rulesCost*.9)>>
		<</if>>
	<<case "be the Madam" "be the DJ" "be the Nurse" "be the Wardeness" "be the Attendant" "be the Matron" "be the Schoolteacher" "be the Stewardess" "be the Milkmaid">>
		<<set _livingExpense = ($rulesCost*2)>>
	<<default>>
		<<if $slaves[$i].livingRules == "luxurious">>
			<<if $slaves[$i].relationship >= 4>>
				<<set _livingExpense = ($rulesCost*3)>>
			<<else>>
				<<set _livingExpense = ($rulesCost*4)>>
			<</if>>
		<<elseif $slaves[$i].livingRules == "normal">>
			<<set _livingExpense = ($rulesCost*2)>>
		<<else>>
			<<set _livingExpense = $rulesCost>>
		<</if>>
	<</switch>>
	<br>&nbsp;&nbsp;&nbsp;&nbsp;Living expenses: <<print cashFormat(_livingExpense)>>
	<<set $individualCosts += _livingExpense>>
	
	<br>&nbsp;&nbsp;&nbsp;&nbsp;Basic slave food cost: <<print cashFormat($foodCost*4)>>
	<<set $individualCosts += $foodCost*4>>
	<<switch $slaves[$i].diet>>
	<<case "fattening" "muscle building">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Heavy diet: <<print cashFormat($foodCost)>>
		<<set $individualCosts += $foodCost>>
	<<case "restricted" "slimming">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Light diet: //reduced by// <<print cashFormat($foodCost)>>
		<<set $individualCosts -= $foodCost>>
	<</switch>>
	<<if $slaves[$i].weight > 130>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for heavy weight: <<print cashFormat($foodCost*2)>>
		<<set $individualCosts += $foodCost*2>>
	<<elseif $slaves[$i].weight > 50>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for high weight: <<print cashFormat($foodCost)>>
		<<set $individualCosts += $foodCost>>
	<<elseif $slaves[$i].weight < -50>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Caloric adjustment for light weight: //reduced by// <<print cashFormat($foodCost)>>
		<<set $individualCosts -= $foodCost>>
	<</if>>
	<<if $slaves[$i].drugs == "appetite suppressors">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Food saved via suppressed appetite: //reduced by// <<print cashFormat($foodCost)>>
		<<set $individualCosts -= $foodCost>>
	<</if>>
	<<if $slaves[$i].lactation > 0>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Food to support
		<<if $slaves[$i].lactation > 1>>heavy<<else>>natural<</if>> lactation from
		<<if Math.trunc($slaves[$i].boobs/10000) > 2>>absurd udders<<elseif Math.trunc($slaves[$i].boobs/10000) > 1>>enormous boobs<<else>>reasonable breasts<</if>>:
		<<print cashFormat($foodCost*$slaves[$i].lactation*(1+Math.trunc($slaves[$i].boobs/10000)))>>
		<<set $individualCosts += $foodCost*$slaves[$i].lactation*(1+Math.trunc($slaves[$i].boobs/10000))>>
	<</if>>
	<<if $slaves[$i].preg > 5>>
		<<if $slaves[$i].assignment == "work in the dairy" && $dairyFeedersSetting > 0>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding costs to support pregnancy are covered by dairy feeders.
		<<elseif ($slaves[$i].assignment == "serve in the master suite" || $slaves[$i].assignment == "be your concubine") && $masterSuiteUpgradePregnancy == 1>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding costs to support pregnancy are covered by $masterSuiteName luxuries.
		<<else>>
			<<set _pAccMult = 1>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Extra feeding to support <<if $slaves[$i].pregControl == "speed up">>accelerated <<set _pAccMult = 3>><</if>>pregnancy: <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
			<<set $individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
			<<if $slaves[$i].pregType >= 10>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized food blend to support multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*2*_pAccMult)>>
				<<set $individualCosts += $foodCost*$slaves[$i].pregType*_pAccMult>>
			<<elseif $slaves[$i].pregType >= 30>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Concentrated, quick to digest food blend to support extreme multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*_pAccMult)>>
				<<set $individualCosts += $foodCost*2*$slaves[$i].pregType*_pAccMult>>
			<<elseif $slaves[$i].pregType >= 50>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized dietary adjustments and concentrated, quick to digest food required to support absurd multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*3*_pAccMult)>>
				<<set $individualCosts += $foodCost*$slaves[$i].pregType*3*_pAccMult>>
			<<elseif $slaves[$i].pregType >= 100>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized dietary requirements and feeding methods to support absurd multiples: <<print cashFormat($foodCost*$slaves[$i].pregType*5*_pAccMult)>>
				<<set $individualCosts += $foodCost*$slaves[$i].pregType*5*_pAccMult>>
			<</if>>
		<</if>>
	<</if>>
	<<switch $slaves[$i].diet>>
	<<case "XX" "XY">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormone enriched diet: <<print cashFormat(25)>>
		<<set $individualCosts += 25>>
	<<case "XXY">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized hermaphrodite diet: <<print cashFormat(75)>>
		<<set $individualCosts += 75>>
	<<case "cleansing">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Chemical cleansing diet: <<print cashFormat(50)>>
		<<set $individualCosts += 50>>
	<<case "fertility">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Specialized fertility diet: <<print cashFormat(25)>>
		<<set $individualCosts += 50>>
	<</switch>>
	<<if $boobAccessibility != 1>>
		<<if ($slaves[$i].boobs > 20000)>>
			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to inconveniently huge boobs: <<print cashFormat(50)>>
				<<set $individualCosts += 50>>
			<</if>>
		<</if>>
	<</if>>
	<<if $pregAccessibility != 1>>
		<<if ($slaves[$i].belly >= 60000)>>
			<<if ($slaves[$i].assignment != "labor in the production line") && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge belly: <<print cashFormat(100)>>
				<<set $individualCosts += 100>>
			<</if>>
		<</if>>
	<</if>>
	<<if $dickAccessibility != 1>>
		<<if ($slaves[$i].dick > 45)>>
			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge penis: <<print cashFormat(50)>>
				<<set $individualCosts += 50>>
			<</if>>
		<</if>>
	<</if>>
	<<if $ballsAccessibility != 1>>
		<<if ($slaves[$i].balls > 90)>>
			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to inconveniently huge balls: <<print cashFormat(50)>>
				<<set $individualCosts += 50>>
			<</if>>
		<</if>>
	<</if>>
	<<if $buttAccessibility != 1>>
		<<if ($slaves[$i].butt > 15)>>
			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to an inconveniently huge butt: <<print cashFormat(50)>>
				<<set $individualCosts += 50>>
			<</if>>
		<</if>>
	<</if>>
	<<if !canSee($slaves[$i]) && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to lack of sight: <<print cashFormat(50)>>
		<<set $individualCosts += 50>>
	<<elseif $slaves[$i].eyes <= -1 && $slaves[$i].eyewear != "corrective glasses" && $slaves[$i].eyewear != "corrective contacts">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to poor vision: <<print cashFormat(25)>>
		<<set $individualCosts += 25>>
	<<elseif ($slaves[$i].eyewear == "blurring glasses") || ($slaves[$i].eyewear == "blurring contacts")>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to blurred vision: <<print cashFormat(25)>>
		<<set $individualCosts += 25>>
	<</if>>
	<<if !canHear($slaves[$i]) && ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to lack of hearing: <<print cashFormat(20)>>
		<<set $individualCosts += 20>>
	<<elseif $slaves[$i].hears <= -1 && $slaves[$i].earwear != "hearing aids">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to poor hearing: <<print cashFormat(5)>>
		<<set $individualCosts += 5>>
	<<elseif ($slaves[$i].earwear == "muffling ear plugs")>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to muffled hearing: <<print cashFormat(5)>>
		<<set $individualCosts += 5>>
	<</if>>
	<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2) && ($slaves[$i].assignment != "be confined in the arcade")>>
		<<if ($slaves[$i].amp != 0)>>
			<<if ($slaves[$i].amp == 1)>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to limblessness: <<print cashFormat($rulesCost)>>
				<<set $individualCosts += $rulesCost>>
			<<else>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to prosthetics: <<print cashFormat($rulesCost/2)>>
				<<set $individualCosts += $rulesCost/2>>
			<</if>>
		<<elseif !canWalk($slaves[$i])>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Increased living expenses due to immobility: <<print cashFormat($rulesCost)>>
			<<set $individualCosts += $rulesCost>>
		<</if>>
	<</if>>
	<<if $slaves[$i].boobs > 10000>>
		<<if $slaves[$i].boobsImplantType == 1>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Maintenance cost for oversized string implants: <<print cashFormat(50)>>
			<<set $individualCosts += 50>>
		<</if>>
	<</if>>
	<<if $slaves[$i].butt > 10>>
		<<if $slaves[$i].buttImplantType == 1>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Maintenance cost for oversized string implants: <<print cashFormat(50)>>
			<<set $individualCosts += 50>>
		<</if>>
	<</if>>
	<<if $slaves[$i].preg > 35>>
		<<if $universalRulesBirthing == 1>>
			<<if ($slaves[$i].assignment != "work in the dairy" || $dairyRestraintsSetting < 2)>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;Coverage cost for daily pregnancy scanning: <<print cashFormat(50)>>
				<<set $individualCosts += 50>>
			<</if>>
		<</if>>
	<</if>>
	<<if $CitizenRetirement == 1>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Retirement account payments: <<print cashFormat(250)>>
		<<set $individualCosts += 250>>
	<</if>>
	<<if ($slaves[$i].inflation == 3)>>
		<<switch $slaves[$i].inflationType>>
		<<case "water">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 2 gallons: <<print cashFormat(100)>>
			<<set $individualCosts += 100>>
		<<case "food">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 2 gallons: <<print cashFormat(($foodCost*4))>>
			<<set $individualCosts += ($foodCost*4)>>
		<<case "curative" "aphrodisiac" "tightener">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 2 gallons: <<print cashFormat((100+($drugsCost*2)))>>
			<<set $individualCosts += (100+($drugsCost*2))>>
		<</switch>>
	<<elseif ($slaves[$i].inflation == 2)>>
		<<switch $slaves[$i].inflationType>>
		<<case "water">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 1 gallon: <<print cashFormat(50)>>
			<<set $individualCosts += 50>>
		<<case "food">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 1 gallon: <<print cashFormat(($foodCost*2))>>
			<<set $individualCosts += ($foodCost*4)>>
		<<case "curative" "aphrodisiac" "tightener">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 1 gallon: <<print cashFormat((50+($drugsCost*2)))>>
			<<set $individualCosts += (50+($drugsCost*2))>>
		<</switch>>
	<<elseif ($slaves[$i].inflation == 1)>>
		<<switch $slaves[$i].inflationType>>
		<<case "water">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated water for enemas; 2 liters: <<print cashFormat(25)>>
			<<set $individualCosts += 25>>
		<<case "food">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of filler food for slave stuffing; 2 liters: <<print cashFormat(($foodCost))>>
			<<set $individualCosts += ($foodCost)>>
		<<case "curative" "aphrodisiac" "tightener">>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Costs of specially formulated drug mixtures for enemas; 2 liters: <<print cashFormat((25+($drugsCost*2)))>>
			<<set $individualCosts += (25+($drugsCost*2))>>
		<</switch>>
	<</if>>
	<<switch $slaves[$i].drugs>>
	<<case "anti-aging cream">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Anti-aging creams: <<print cashFormat(($drugsCost*10))>>
		<<set $individualCosts += ($drugsCost*10)>>
	<<case "female hormone injections" "male hormone injections">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormonal injections: <<print cashFormat(($drugsCost*5))>>
		<<set $individualCosts += ($drugsCost*5)>>
	<<case "growth stimulants">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Growth stimulants: <<print cashFormat(($drugsCost*5))>>
		<<set $individualCosts += ($drugsCost*5)>>
	<<case "intensive breast injections" "intensive butt injections" "intensive penis enhancement" "intensive testicle enhancement" "intensive lip injections" "hyper breast injections" "hyper butt injections" "hyper penis enhancement" "hyper testicle enhancement" "hyper lip injections">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Intensive drugs: <<print cashFormat($drugsCost*5)>>
		<<set $individualCosts += $drugsCost*5>>
	<<case "sag-B-gone">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Questionable infomercial creams: <<print cashFormat(Math.trunc($drugsCost/10))>>
		<<set $individualCosts += ($drugsCost/10)>>
	<<case "no drugs" "none">>
	<<default>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Standard drugs: <<print cashFormat(($drugsCost*2))>>
		<<set $individualCosts += ($drugsCost*2)>>
	<</switch>>
	<<if $slaves[$i].curatives == 1 && $slaves[$i].assignmentVisible != 1>>
	<<elseif $slaves[$i].curatives > 0>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Health drugs: <<print cashFormat($drugsCost+($slaves[$i].curatives*$drugsCost))>>
		<<set $individualCosts += $drugsCost+($slaves[$i].curatives*$drugsCost)>>
	<</if>>
	<<if ($slaves[$i].aphrodisiacs !== 0)>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Aphrodisiacs/Anaphrodisiacs: <<print cashFormat(Math.trunc($drugsCost*Math.abs($slaves[$i].aphrodisiacs)))>>
		<<set $individualCosts += $drugsCost*Math.abs($slaves[$i].aphrodisiacs)>>
	<</if>>
	<<if ($slaves[$i].hormones != 0)>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Hormones: <<print cashFormat((Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)))>>
		<<set $individualCosts += Math.trunc($drugsCost*Math.abs($slaves[$i].hormones)*0.5)>>
	<</if>>
	<<if ($slaves[$i].bodySwap > 0)>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;JS-Suppressants: <<print cashFormat(($drugsCost*10*$slaves[$i].bodySwap))>>
		<<set $individualCosts += Math.trunc($drugsCost*10*$slaves[$i].bodySwap)>>
	<</if>>
	<<if ($slaves[$i].preg == -1) && isFertile($slaves[$i])>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;Contraceptives: <<print cashFormat((Math.trunc($drugsCost*0.5)))>>
		<<set $individualCosts += Math.trunc($drugsCost*0.5)>>
	<</if>>
	<<if ($studio == 1)>>
		<<if ($slaves[$i].pornFameSpending > 0)>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;Publicity: <<print cashFormat($slaves[$i].pornFameSpending/$PCSlutContacts)>>
			<<set $individualCosts += ($slaves[$i].pornFameSpending/$PCSlutContacts)>>
		<</if>>
	<</if>>
	<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__Total__: <<print cashFormat(Math.trunc($individualCosts))>>
	<br>
<</for>>

<<if $PC.career == "servant">>
	<br>Using your prior experience, you managed to lower your home's upkeep by <<if $personalAttention == "upkeep">><<if $PC.belly >= 5000>>20%<<else>>25%<</if>><<else>>10%<</if>>.
<</if>>

<<if $secExp == 1>>
	<<if $terrain == "oceanic" || $terrain == "marine">>
		<<if $docks > 0>>
			<br>The infrastructure you've built eases the transportation and safe handling of the supplies required by the arcology. Upkeep is lowered by <<print $docks * 5>>%
		<</if>>
	<<else>>
		<<if $railway > 0>>
			<br>The infrastructure you've built eases the transportation and safe handling of the supplies required by the arcology. Upkeep is lowered by <<print $railway * 5>>%
		<</if>>
	<</if>>
<</if>>
