:: Arcade Report [nobr]

<<set _DL = $ArcadeiIDs.length, $arcadeSlaves = _DL>>

<<if $arcadeSlaves > 0>>
	<<set _cockmilked = 0, _implanted = 0, _milked = 0,  _profits = 0, _SL = $slaves.length>>
	&nbsp;&nbsp;&nbsp;&nbsp;<<if ($arcadeSlaves > 1)>>''There are $arcadeSlaves inmates confined in $arcadeName.''<<else>>''There is one inmate confined in $arcadeName.''<</if>>
	<<if ($arcologies[0].FSDegradationist > 20)>>
	<<if $arcologies[0].FSDegradationistLaw == 1>>
		The tenants located near the arcade don't mind having it nearby, even though the crowd of menial slaves waiting their turn spills out into the hallway, 24 hours a day.
	<<else>>
		The tenants located near the arcade don't mind having it nearby.
	<</if>>
	<<elseif ($arcologies[0].FSPaternalist > 20)>>
		Many of the better tenants located near the arcade consider it an @@.red;intolerable@@ establishment to have nearby.
	<<else>>
		Some of the better tenants located near the arcade consider it an @@.red;obnoxious@@ establishment to have nearby.
	<</if>>
	<<if $arcadeDecoration != "standard">>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;$arcadeNameCaps's customers enjoy @@.green;getting off in $arcadeDecoration surroundings.@@
	<</if>>

	<<SlaveSort $ArcadeiIDs>>
	<<for _dI = 0; _dI < _DL; _dI++>>
	<<set _i = $ArcadeiIDs[_dI].Index, _ID = $ArcadeiIDs[_dI].ID>>
	<<if _ID != $slaves[_i].ID>>
		/% Slaves.ID and $ArcadeiIDs.ID's don't match-up so let's find her %/
		<<for _i = 0; _i < _SL; _i++>>
		<<if (_ID == $slaves[_i].ID)>>
			/% Correct the Index %/
			<<set $ArcadeiIDs[_dI].Index = _i>>
			<<break>>
		<</if>>
		<</for>>
	<</if>>
	/% Onward bound as normal %/
	<<set $oldCash = $cash, $i = _i>>
	<<if ($arcadeUpgradeInjectors == 1)>>
		<<if ($slaves[_i].health > -60)>>
			<<set $slaves[_i].health -= 10>>
		<<elseif ($slaves[_i].health > -80)>>
			<<set $slaves[_i].health -= 2>>
		<<else>>
			<<set $slaves[_i].health -= 1>>
		<</if>>
		<<set $slaves[_i].aphrodisiacs = 2, $slaves[_i].devotion -= 5, $slaves[_i].trust -= 10>>
	<<else>>
		<<if ($slaves[_i].health < -60)>>
			<<set $slaves[_i].health += 20>>
		<<elseif ($slaves[_i].health < 10)>>
			<<set $slaves[_i].health += 10>>
		<<elseif ($slaves[_i].health > 20)>>
			<<set $slaves[_i].health -= 10>>
		<</if>>
		<<set $slaves[_i].trust -= 5>>
	<</if>>
	<<if $showEWD != 0>>
		<br><br>
		/* 000-250-006 */
		<<if $seeImages == 1 && $imageChoice == 0>>
		<div class="imageRef tinyImg">
			<<SlaveArt $slaves[$i] 0 0>>
		</div>
		<</if>>
		/* 000-250-006 */
		''__@@.pink;$slaves[$i].slaveName@@__'' is confined in the $arcadeNameCaps.
		<br>&nbsp;&nbsp;&nbsp;&nbsp;She <<include "SA work a glory hole">>
	<<else>>
		<<silently>><<include "SA work a glory hole">><</silently>>
	<</if>>
	<<if ($arcadeUpgradeCollectors > 0)>>
	<<if ($slaves[_i].lactation < 2)>>
		<<set $slaves[_i].lactation = 2, $slaves[_i].health -= 10, $cash -= $surgeryCost, _implanted++>>
	<<elseif ($slaves[_i].lactation > 0) || ($slaves[_i].balls > 0)>>
		<<if $showEWD != 0>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;She <<include "SA get milked">>
		<<else>>
			<<silently>><<include "SA get milked">><</silently>>
		<</if>>
		<<if ($slaves[_i].boobs < 2000)>>
			<<set $slaves[_i].boobs += 100>>
		<<elseif ($slaves[_i].boobs < 5000)>>
			<<set $slaves[_i].boobs += 50>>
		<<elseif ($slaves[_i].boobs < 10000)>>
			<<set $slaves[_i].boobs += 25>>
		<</if>>
		<<if ($slaves[_i].balls > 0) && ($slaves[_i].balls < 6) && (random(1,100) > (40+(10*$slaves[_i].balls)))>>
			<<set $slaves[_i].balls++>>
		<</if>>
		<<if ($slaves[_i].dick > 0) && ($slaves[_i].dick < 6) && (random(1,100) > (40+(10*$slaves[_i].dick)))>>
			<<set $slaves[_i].dick++>>
		<</if>>
		<<if ($slaves[_i].lactation > 0)>>
			<<set _milked++>>
		<</if>>
		<<if ($slaves[_i].balls > 0)>>
			<<set _cockmilked++>>
		<</if>>
	<</if>>
	<</if>>
	<<set _profits += $cash-$oldCash>>
	<<if $showEWD != 0>>
		<br>&nbsp;&nbsp;&nbsp;
		<<include "SA drugs">>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<br><<include "SA devotion">>
	<<else>>
		<<silently>>
		<<include "SA drugs">>
		<<include "SA diet">>
		<<include "SA long term effects">>
		<<include "SA relationships">>
		<<include "SA rivalries">>
		<<include "SA devotion">>
		<</silently>>
	<</if>>
	<</for>>
	<br><br>&nbsp;&nbsp;&nbsp;
	<<if _milked == 1>>
		One of them is lactating and spends her time in $arcadeName being simultaneously milked and fucked.
	<<elseif _milked > 1>>
		_milked of them are lactating and spend their time in $arcadeName being simultaneously milked and fucked.
	<</if>>
	<<if _implanted == 1>>
		One of them was not lactating, so she was implanted with long-acting lactation inducing drugs, and it costs @@.red;¤$surgeryCost@@.
	<<elseif _implanted > 1>>
		_implanted of them were not lactating, so they were implanted with long-acting lactation inducing drugs, and they cost @@.red;¤<<print $surgeryCost*_implanted>>@@.
	<</if>>
	<<if _cockmilked == 1>>
		One of them retains testicles and is brutally cockmilked as she is used.
	<<elseif _cockmilked > 1>>
		_cockmilked of them retain testicles and are brutally cockmilked as they are used.
	<</if>>
	The arcade makes you @@.yellowgreen;¤_profits@@ this week.

	<<if ($arcologies[0].FSDegradationist > 20)>>
	<<elseif ($arcologies[0].FSPaternalist > 20)>>
		<<set $repGain -= Math.trunc(_profits/20)>>
	<<else>>
		<<set $repGain -= Math.trunc(_profits/100)>>
	<</if>>

	<<if ($arcadeUpgradeFuckdolls == 1) && ($arcade < $arcadeSlaves)>>
		<<set $activeSlave = 0, _Age = -1, _FD = -1, _MB = -1, _Con = -1>>
		<<for _dI = 0; _dI < _DL; _dI++>>
			<<set _i = $ArcadeiIDs[_dI].Index>>
			<<if ($slaves[_i].fetish == "mindbroken")>>
				<<if ($slaves[_i].fuckdoll == 0)>>
					<<if ($slaves[_i].physicalAge > 35)>>
						<<set _Age = _i>>
						<<break>>
					<<elseif _FD == -1>>
						<<set _FD = _i>>
					<</if>>
				<<elseif _MB == -1>>
					<<set _MB = _i>>
				<</if>>
			<<elseif _Con == -1>>
				<<set _Con = _i>>
			<</if>>
		<</for>>
		<<if _Age > -1>>
			<<set $activeSlave = $slaves[_Age]>>
		<<elseif _FD > -1>>
			<<set $activeSlave = $slaves[_FD]>>
		<<elseif _MB > -1>>
			<<set $activeSlave = $slaves[_MB]>>
		<<elseif _Con > -1>>
			<<set $activeSlave = $slaves[_Con]>>
		<</if>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;$activeSlave.slaveName is low-quality and surplus to the needs of the arcade, so she has been converted into a Fuckdoll.
		<<include "Remove activeSlave">>
		<<if $activeSlave == 0>> /% if not zero then technically there was an error INVALID SLAVE %/
			<<set $fuckdolls++>>
		<</if>>
	<</if>>
	<br><br>
<</if>>
