:: Cellblock
 
<<nobr>>
<<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Cellblock">>

<<if $cellblockName != "the Cellblock">>
	<<set $cellblockNameCaps to $cellblockName.replace("the ", "The ")>>
<</if>>

<<set $cellblockSlaves to 0>>
<<set $notCellblockSlaves to 0>>
<<for _i to 0; _i < $slaves.length; _i++>>
	<<if $slaves[_i].assignment is "be confined in the cellblock">>
		<<set $cellblockSlaves++>>
	<<else>>
		<<set $notCellblockSlaves++>>
	<</if>>
<</for>>

$cellblockNameCaps
<<switch $cellblockDecoration>>
<<case "Roman Revivalist">>
	is designed to resemble the holding pens beneath the old Coliseum. Whenever there's a fight in the arcology, screens in each cell helpfully keep inmates informed of what awaits (otherwise) useless slaves.
<<case "Egyptian Revivalist">>
	uses the climate of Egypt as an additional source of discomfort. The air here is hot and dry, and inmates can easily imagine themselves confined in mud brick cells in a baking desert.
<<case "Edo Revivalist">>
	is furnished in a severely medieval Japanese style. There is one refinement, but it's of exquisite cruelty. At the end of the hall, there's a fountain with a traditional bamboo boar scarer. As it fills with water, it tips against a stone with a thunk... thunk... thunk... thunk...
<<case "Arabian Revivalist">>
	is furnished as imagined Arabian slave pens, all set around a central pillar. This pillar is capped by shackles, so that slaves can be bound by their hands and whipped on the backs, buttocks, and thighs in clear view of all their fellow chattel.
<<case "Chinese Revivalist">>
	is furnished in a severely medieval Chinese style. There is one refinement, but it's of exquisite cruelty. Somewhere out of sight, water is dripping into an urn, drop by drop... drop... drop... drop...
<<case "Chattel Religionist">>
	is built of cold stone. Most of the cells are unfurnished little cubes inside which the only bed is the bare floor. A few are smaller still, so that the inmates can neither stand nor lie flat.
<<case "Degradationist">>
	is a nightmare. Everything is made of metal, and almost everything menaces with spikes of steel. Inmates must carefully avoid the walls of their own cells if they wish to avoid being stabbed.
<<case "Asset Expansionist">>
	is a straightforward prison, with one exception. Each cell features a screen displaying plans for its inmate's expansion. Day and night, inmates are confronted with the sight of themselves transformed.
<<case "Transformation Fetishist">>
	is a straightforward prison, with one exception. Each cell features a screen displaying plans for its inmate's expansion. Day and night, inmates are confronted with the sight of themselves transformed.
<<case "Gender Radicalist">>
	is a straightforward prison, with one exception. Each cell features a screen displaying plans for its inmate's bimbofication. Day and night, inmates are confronted with the sight of themselves dyed, pierced, tattooed, gaped, filled with implants, or all of these.
<<case "Gender Fundamentalist">>
	is a block of barred cells whose sides, offering a clear view of the whole prison, provide much menace. Anyone who abuses an inmate does so in full view of every other slave here, keeping the jailbirds in a state of constant fear that they're next.
<<case "Physical Idealist">>
	is a block of barred cells whose sides, offering a clear view of the whole prison, provide much menace. Anyone who assrapes an inmate does so in full view of every other slave here, keeping the bitches in a state of constant fear that their asses are next.
<<case "Supremacist">>
	is a straightforward prison whose menace is provided by context that, although subtle, adds up to a nightmare. Everyone outside the cells is $arcologies[0].FSSupremacistRace, and everyone inside them is not. The darkness of history is palpable here.
<<case "Subjugationist">>
	is a straightforward prison whose menace is provided by context that, although subtle, adds up to a nightmare. The inmates inside the cells are $arcologies[0].FSSubjugationistRace, and everyone outside them is not. The darkness of history is palpable here.
<<case "Repopulation Focus">>
	is a straightforward prison, with two exceptions. One cell style features a screen displaying plans for its inmate's impregnation, the other is covered with mirrors for its inmate to watch her pregnancy grow. Day and night, inmates are confronted with the sight of themselves transformed.
<<case "Eugenics">>
	is designed to make very clear to its inmates that they are subhuman. Many screens showcasing their inadequacy intermingled with propaganda play on nonstop loops.
<<case "Paternalist">>
	is a prison, but a modern and scientific one. The cells, the common areas, and even the color of the walls are all carefully designed to communicate the feeling that inmates can better themselves.
<<case "Pastoralist">>
	requires its inmates to drink as much breast milk as they can hold. This sounds like a small thing, but for an unbroken slave, conquering the revulsion of drinking another girl's milk is an important step.
<<case "Maturity Preferentialist">>
	is subtly designed to make very clear to its inmates that they are sex objects. Many screens showing pornography make it clear to the maturest girl here that she's still an object of lust, and will be used to slake others' pleasure.
<<case "Youth Preferentialist">>
	is subtly designed to make the breadth of sex acts performed in the arcology clear to its inmates. A cacophony of pornography makes clear to the most innocent inmate that her pussy is a fuck hole, her mouth is a fuck hole, her anus is a fuck hole, and, in fact, all three can be fuck holes at once.
<<case "Body Purist">>
	requires its inmates to drink as much filtered water as they can, all the time. This sounds like a petty thing, but most inmates are very aware that they're being flushed out. Cleaned. It is an oddly menacing thought.
<<case "Slimness Enthusiast">>
	is torture for chubby slaves. Fat bitches that pass through here soon learn that they're going to be slim and pretty one day, but that it isn't going to be much fun getting there.
<<default>>
	could be mistaken for a modern prison. A close inspection, however, reveals restraints in each cell that will hold inmates in sexually compromising positions, and compliance systems to force them to place their wrists and ankles in them.
<</switch>>

<<if $cellblockSlaves > 2>>
	$cellblockNameCaps is full of slaves, though it's difficult to tell at first. The row of cell doors is closed as always, and the soundproofed little rooms let no noise escape. Through each little window, though, a scene of loneliness and misery may be witnessed.
<<elseif $cellblockSlaves > 0>>
	$cellblockNameCaps holds a few slaves, though it's difficult to tell at first. The row of cell doors is closed as always, and the soundproofed little rooms let no noise escape. Through several of the little windows, though, a scene of loneliness and misery may be witnessed.
<<elseif $Wardeness != 0>>
	$Wardeness.slaveName is alone in the cellblock, and seems rather lonely without anyone to oppress.
<<else>>
	None of your slaves are confined in the cellblock. [[Decommission the cellblock|Main][$cellblock to 0, $cellblockDecoration to "standard"]]
<</if>>

<br>$cellblockNameCaps has room for $cellblock slaves to be kept in close confinement.
[[Expand the cellblock|Cellblock][$cash -=  Math.trunc($cellblock*1000*$upgradeMultiplierArcology), $cellblock += 5]] //Costs ¤<<print Math.trunc($cellblock*1000*$upgradeMultiplierArcology)>>//

<br>
<<if $cellblockUpgrade == 1>>
	Its compliance systems have been upgraded to allow slaves no mental respite, painstakingly correcting the tiniest misbehaviors to soften flaws into quirks at the cost of considerable anguish to inmates denied any rest from correction.
<<else>>
	Its compliance systems are standard. [[Upgrade them to soften slave flaws|Cellblock][$cash -= 20000, $cellblockUpgrade to 1]] //Costs ¤20000//
<</if>>

<br><br>
<<if $Wardeness != 0>>
	<<set $Flag to 2>>
	<<include "Slave Summary">>
<<else>>
	You do not have a slave serving as a Wardeness. [[Appoint one|Wardeness Select]]
<</if>>

<<if $cellblockSlaves > 0>>
	<br><br>''Let a slave out of the cellblock:''
	<<set $Flag to 1>>
	<<include "Slave Summary">>
<</if>>

<<if $notCellblockSlaves > 0>>
	<br><br>''Send a resistant slave to be broken in the cellblock:''
	<<set $Flag to 0>>
	<<include "Slave Summary">>
<</if>>
<<unset $Flag>>

<br><br>Rename $cellblockName: <<textbox "$cellblockName" $cellblockName "Cellblock">> //Use a noun or similar short phrase//
<</nobr>>
