:: Intro Summary [nobr]

<style>
.active {
	background-color: grey;
}
</style>

<<set $neighboringArcologies = variableAsNumber($neighboringArcologies, 0, 8, 3)>>
<<set $FSCreditCount = variableAsNumber($FSCreditCount, 4, 7, 5)>>
<<set $PC.actualAge = variableAsNumber($PC.actualAge, 14, 80, 35)>>
<<set $PC.birthWeek = variableAsNumber($PC.birthWeek, 0, 51, 0)>>

You may review your settings before clicking "Continue" to begin.<br>
<<link "Continue" "Starting Girls">>
	<<if $freshPC == 1 || $saveImported == 0>>
		<<switch $PC.career>>
		<<case "wealth">>
			<<if $PC.vagina == 1>>
				<<set $PC.vagina = 2>>
			<</if>>
		<<case "capitalist">>
			<<set $PC.skill.trading = 100>>
		<<case "mercenary">>
			<<set $PC.skill.warfare = 100>>
		<<case "slaver">>
			<<set $PC.skill.slaving = 100>>
		<<case "engineer">>
			<<set $PC.skill.engineering = 100>>
		<<case "medicine">>
			<<set $PC.skill.medicine = 100>>
		<<case "celebrity">>
			<<if $PC.vagina == 1>>
				<<set $PC.vagina = 2>>
			<</if>>
		<<case "BlackHat">>
			<<set $PC.skill.hacking = 100>>
		<<case "arcology owner">>
			<<set $PC.skill.trading = 100, $PC.skill.warfare = 100, $PC.skill.hacking = 100, $PC.skill.slaving = 100, $PC.skill.engineering = 100, $PC.skill.medicine = 100>>
		<<case "escort">>
			<<if $PC.vagina == 1>>
				<<set $PC.vagina = 4>>
			<</if>>
			<<set $PC.anus = 1>>
			<<set $PC.clothes = "a slutty outfit">>
			<<set $PC.education = 15>>
			<<set $PC.skill.trading = 50, $PC.skill.warfare = -100, $PC.skill.slaving = -100, $PC.skill.engineering = -100, $PC.skill.medicine = 10, $PC.skill.hacking = 10>>
		<<case "servant">>
			<<set $PC.clothes = "a nice maid outfit">>
			<<set $PC.education = 0>>
			<<if $PC.vagina == 1>>
				<<set $PC.vagina = 4>>
			<</if>>
			<<set $PC.skill.trading = -100, $PC.skill.warfare = -100, $PC.skill.slaving = -100, $PC.skill.engineering = -100, $PC.skill.medicine = -100, $PC.skill.hacking = -100>>
		<<case "gang">>
			<<if $PC.vagina == 1>>
				<<set $PC.vagina = 2>>
			<</if>>
			<<set $PC.skill.trading = 50, $PC.skill.warfare = 50, $PC.skill.slaving = 50, $PC.skill.engineering = -100, $PC.skill.medicine = 0, $PC.skill.hacking = 50>>
		<</switch>>
	<</if>>
	<<if $saveImported == 1 && $freshPC == 0 && $PC.rules.living != "luxurious">>
		<<if $PC.rules.living == "spare">>
			<<set $PC.rules.living = "normal">>
		<<else>>
			<<set $PC.rules.living = "luxurious">>
		<</if>>
	<<elseif $PC.career == "wealth" || $PC.career == "celebrity">>
		<<set $PC.rules.living = "normal">>
	<<else>>
		<<set $PC.rules.living = "spare">>
	<</if>>
	<<if $secExpEnabled > 0>>
		<<set $wasToggledBefore = 1>>
	<</if>>
	<<run App.Intro.initNationalities()>>
<</link>>
<<if ($economy != 100) || ($seeDicks != 25) || ($continent != "North America") || ($internationalTrade != 1) || ($internationalVariety != 1) || ($seeRace != 1) || ($seeNationality != 1) || ($seeExtreme != 0) || ($seeCircumcision != 1) || ($seeAge != 1) || ($plot != 1)>>
	| [[restore defaults|Intro Summary][$seeDicks = 25, $economy = 100, $continent = "North America", $internationalTrade = 1, $internationalVariety = 1, $seeRace = 1, $seeNationality = 1, $seeExtreme = 0, $seeCircumcision = 1, $seeAge = 1, $plot = 1]]
<</if>>
	| [[Cheat Start|Starting Girls][cashX(1000000, "cheating"), $PC.rules.living = "luxurious",repX(20000, "cheating"), $dojo += 1, $cheatMode = 1, $seeDesk = 0, $seeFCNN = 0, $sortSlavesBy = "devotion", $sortSlavesOrder = "descending", $sortSlavesMain = 0, $rulesAssistantMain = 1, $UI.slaveSummary.abbreviation = {devotion: 1, rules: 1, clothes: 2, health: 1, diet: 1, drugs: 1, race: 1, nationality: 1, genitalia: 1, physicals: 1, skills: 1, mental: 2}, $PC.skill.trading = 100, $PC.skill.warfare = 100, $PC.skill.slaving = 100, $PC.skill.engineering = 100, $PC.skill.medicine = 100, $PC.skill.hacking = 100, App.Intro.initNationalities()]] //Intended for debugging: may have unexpected effects//

<<set $minimumSlaveAge = variableAsNumber($minimumSlaveAge, 3, 18, 18)>>
<<set $retirementAge = variableAsNumber($retirementAge, 25, 120, 45)>>
<<set $fertilityAge = variableAsNumber($fertilityAge, 3, 18, 13)>>
<<set $potencyAge = variableAsNumber($potencyAge, 3, 18, 13)>>
<<set $PC.mother = Number($PC.mother)>>
<<set $PC.father = Number($PC.father)>>
<<if $freshPC == 1 || $saveImported == 0>>
	<<set $PC.origRace = $PC.race>>
	<<set $PC.origSkin = $PC.skin>>
	<<set $PC.origEye = $PC.eye.right.iris>> /* needed for compatibility */
	<<set $PC.origHColor = $PC.hColor>>
<</if>>

<br><br>

<<run App.UI.tabbar.handlePreSelectedTab($tabChoice.introSummary)>>

<div class="tabbar">
	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'World')" id="tab World">World</button>
	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'slaves')" id="tab slaves">Slaves</button>
	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'PC')" id="tab PC">Player Character</button>
	<button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'UI')" id="tab UI">UI</button>
</div>

<div id="UI" class="tabcontent">
	<div class="content">

	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("Help tooltips are", "tooltipsEnabled")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()
	.addComment("This is mostly for new players. @@.exampleTooltip.noteworthy;Colored text@@ can have tooltips.")>>

	<<run _options.addOption("Accordion effects on weekly reports are", "useAccordion")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Economic Tabs on weekly reports are", "useTabs")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<includeDOM _options.render()>>

	<h2>Images</h2>
	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("Images are", "seeImages")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<includeDOM _options.render()>>

	<<if $seeImages > 0>>
		<div class="imageRef" style="width:200px;height:200px;margin-left:50px;">
			<<= SlaveArt(BaseSlave(), 0, 0)>>
		</div>

		<<set _options = new App.UI.OptionsGroup()>>

		<<run _options.addOption("", "imageChoice")
		.addValueList([["Revamped embedded vector art", 3], ["Non-embedded vector art", 2], ["NoX/Deepmurk's vector art", 1], ["Shokushu's rendered imagepack", 0]])>>

		<<if $imageChoice === 1>>
			<<run _options.addOption("").addComment('<span class="warning">Git compiled only, no exceptions.</span>')>>

			<<run _options.addOption("Face artwork is", "seeFaces")
			.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

			<<run _options.addOption("Highlights on shiny clothing are", "seeVectorArtHighlights")
			.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

			<<run _options.addOption("Height scaling", "seeHeight")
			.addValue("All images", 2).on().addValue("Small images", 1).neutral().addValue("Disabled", 0).off()>>

			<<run _options.addOption("Clothing erection bulges are", "showClothingErection")
			.addValue("Enabled", true).on().addValue("Disabled", false).off()>>
		<<elseif $imageChoice === 0>>
			<<run _options.addOption("").addComment(`You need """to"""
				<a href="https://mega.nz/#!upoAlBaZ!EbZ5wCixxZxBhMN_ireJTXt0SIPOywO2JW9XzTIPhe0">download the image pack</a>
				"""and""" put the 'renders' folder into the resources/ folder where this html file is.`
			)>>

			<<run _options.addOption("Slave summary fetish images are", "seeMainFetishes")
			.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>
		<<elseif $imageChoice === 3>>
			<<run _options.addOption("").addComment('<span class="warning">Git compiled only, no exceptions.</span>')>>

			<<run _options.addOption("Clothing erection bulges are", "showClothingErection")
			.addValue("Enabled", true).on().addValue("Disabled", false).off()>>
		<</if>>

		<<run _options.addOption("PA avatar art is", "seeAvatar")
		.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

		<<run _options.addOption("Slave images in lists are", "seeSummaryImages")
		.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

		<<run _options.addOption("Slave images in the weekly report are", "seeReportImages")
		.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

		<<includeDOM _options.render()>>
	<</if>>
	</div>
</div>

<div id="World" class="tabcontent">
	<div class="content">

	<h2>Economy</h2>

	<<set _options = new App.UI.OptionsGroup()>>

	<<set $localEcon = $economy>>
	<<run _options.addOption("Economic climate", "baseDifficulty")
	.addValue("Very Easy", 1, () => V.economy = 200).addValue("Easy", 2, () => V.economy = 125)
	.addValue("Default Difficulty", 3, () => V.economy = 100).addValue("Hard", 4, () => V.economy = 80)
	.addValue("Very Hard", 5, () => V.economy = 67)>>

	<<if $difficultySwitch == 1>><<set $econAdvantage = -2>><</if>>
	<<if $difficultySwitch == 0>><<set $econRate = 0>><</if>>
	<<run _options.addOption("Economic forecast", "econRate").addComment("Some economic content requires this to be set to harder than vanilla")
	.addValue("Vanilla", 0, () => V.difficultySwitch = 0).addValue("Easy", 1, () => V.difficultySwitch = 1)
	.addValue("Default", 2, () => V.difficultySwitch = 1).addValue("Hard", 3, () => V.difficultySwitch = 1)>>

	/* Not functional yet
	All the things you need to run your arcology are getting more expensive
	<<if $incomeMod == 0>>
		while all forms of income ''remain static''.
			[[Easier|Intro Summary][$incomeMod = 1]]
	<<elseif $incomeMod == 1>>
		while all forms of income ''rise but cannot keep pace''.
		[[Harder|Intro Summary][$incomeMod = 0]] | [[Easier|Intro Summary][$incomeMod = 2]]
	<<else>>
		but luckily all forms of income ''rise in lockstep''.
		[[Harder|Intro Summary][$incomeMod = 1]]
	<</if>>
	*/

	<<set $foodCost = Math.trunc(2500/$economy)>>
	<<set $drugsCost = Math.trunc(10000/$economy)>>
	<<set $rulesCost = Math.trunc(10000/$economy)>>
	<<set $modCost = Math.trunc(5000/$economy)>>
	<<set $surgeryCost = Math.trunc(30000/$economy)>>

	<<if ndef $customVariety>>
		<<run _options.addOption("You are using standardized slave trading channels.")
		.customButton("Customize the slave trade", () => {V.customVariety = 1; V.customWA = 0}, "Customize Slave Trade")>>

		<<run _options.addOption("", "internationalTrade")
		.addValue("Allow intercontinental trade", 1).on().customDescription("The slave trade is ''international,'' so a wider variety of slaves will be available.")
		.addValue("Restrict the trade to continental", 0).off().customDescription("The slave trade is ''continental,'' so a narrower variety of slaves will be available.")>>

		<<if $internationalTrade == 1>>
			<<run _options.addOption("International slave variety is", "internationalVariety")
			.addValue("Normalized national variety", 1).customDescription("''normalized,'' so small nations will appear nearly as much as large ones.")
			.addValue("Semi-realistic national variety", 0).customDescription("''semi-realistic,'' so more populous nations will be more common.")>>
		<</if>>
	<<else>>
		<<run _options.addOption("Nationality distributions are customized.")
		.customButton("Adjust the slave trade", () => {V.customWA = 0; V.customVariety = 1}, "Customize Slave Trade")
		.customButton("Stop customizing", () => {delete V.customVariety})>>

		<<if ndef $nationalitiescheck>> /* NGP: regenerate $nationalitiescheck from previous game's $nationalities array */
			<div id="SilentlyButWithStyle" style="display: none;"><<include "Customize Slave Trade">></div>
		<</if>>
		<<run _options.addOption("").addCustomElement(`
			<hr style="margin:0">
			<<set _len = Object.keys($nationalitiescheck).length>>
			<<set _j = 0>>
			<<for _nation, _i range $nationalitiescheck>>
				<<print _nation>> @@.orange;<<print (($nationalities[_nation]/hashSum($nationalities))*100).toFixed(2)>>%@@
				<<set _j++>>
				<<if _j < _len>> |	<</if>>
			<</for>>
			<br style="clear:both"><hr style="margin:0">
		`)>>
	<</if>> /* closes $customVariety is defined */

	<<run _options.addOption("", "plot")
	.addValue("Enable non-erotic events", 1).on().customDescription("Game mode: ''two-handed''. Includes non-erotic events concerning the changing world.")
	.addValue("Disable non-erotic events", 0).off().customDescription("Game mode: ''one-handed''. No non-erotic events concerning the changing world.")>>

	<<includeDOM _options.render()>>

	<h2>The Free City</h2>
	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("The Free City features ''$neighboringArcologies'' arcologies in addition to your own.", "neighboringArcologies")
	.showTextBox().addComment("Setting this to 0 will disable most content involving the rest of the Free City.")>>

	<<if $targetArcology.fs == "New">>
		<<run _options.addOption("The Free City is located on ''$terrain'' terrain.", "terrain")
		.addValueList([["Urban", "urban"], ["Rural", "rural"], ["Ravine", "ravine"], ["Marine", "marine"], ["Oceanic", "oceanic"]])>>

		<<if $terrain !== "oceanic">>
			<<set _option = _options.addOption("The Free City is located in ''$continent''.", "continent")
			.addValue("North America").addCallback(() => V.language = "English")
			.addValue("South America").addCallback(() => V.language = "Spanish")
			.addValue("Brazil").addCallback(() => V.language = "Portuguese")
			.addValue("Europe").addCallback(() => V.language = "English")
			.addValue("the Middle East").addCallback(() => V.language = "Arabic")
			.addValue("Africa").addCallback(() => V.language = "Arabic")
			.addValue("Asia").addCallback(() => V.language = "Chinese")
			.addValue("Australia").addCallback(() => V.language = "English")
			.addValue("Japan").addCallback(() => V.language = "Japanese")>>
		<</if>>

		<<run _options.addOption("The lingua franca of your arcology is", "language")
		.showTextBox()>>
	<<elseif !["ArabianRevivalist", "AztecRevivalist", "ChineseRevivalist", "EdoRevivalist", "EgyptianRevivalist", "RomanRevivalist"].includes($targetArcology.fs)>>
		<<run _options.addOption("The lingua franca of your arcology is", "language")
		.addValueList(["English", "Spanish", "Arabic"]).showTextBox()>>
	<</if>>

	<<run _options.addOption("The Free City could develop as many as ''$FSCreditCount'' future societies.", "FSCreditCount")
	.showTextBox().addComment("5 is default, 4 behaves the same as pre-patch 0.9.9.0, max is 7. This option cannot be changed during the game.")>>

	<<includeDOM _options.render()>>

	<h2>Content</h2>
	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("Proportion of slave girls with dicks", "seeDicks")
	.addValueList([["None (0%)", 0], ["A few (10%)", 10], ["Some (25%)", 25], ["Half (50%)", 50], ["Most (75%)", 75], ["Almost all (90%)", 90], ["All (100%)", 100]])>>

	<<if $seeDicks === 0>>
		<<run _options.addOption("Should you be able to surgically attach a penis to your female slaves and starting girls?", "makeDicks")
		.addValue("Yes", 1).on().addValue("No", 0).off()>>
	<</if>>

	<<run _options.addOption("Slaves getting sick is", "seeIllness")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Pregnancy related content is", "seePreg")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Children born in game strictly adhering to dick content settings is", "seeDicksAffectsPregnancy")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<if $seeDicksAffectsPregnancy === 0>>
		<<run _options.addOption("XX slaves only fathering daughters is", "adamPrinciple")
		.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>
	<</if>>

	<<run _options.addOption("Extreme pregnancy content like broodmothers is", "seeHyperPreg")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Advanced pregnancy complications such as miscarriage and premature birth are", "dangerousPregnancy")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Extreme content like amputation is", "seeExtreme")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Bestiality content is", "seeBestiality")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>


	<<run _options.addOption("Watersports content is", "seePee")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>


	<<run _options.addOption("Incest is", "seeIncest")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>


	<<if $seeDicks !== 0>>
		<<run _options.addOption("Circumcision is", "seeCircumcision")
		.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>
	<</if>>

	<<includeDOM _options.render()>>

	<h2>Mods</h2>
	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("The Special Force Mod is", "Toggle", $SF).addComment("This mod is initially from anon1888 but expanded by SFanon offers a lategame special (started out as security but changed to special in order to try and reduce confusion with CrimeAnon's separate Security Expansion (SecExp) mod) force, that is triggered after week 80. It is non-canon where it conflicts with canonical updates to the base game.")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

		/*The support facility is
		<<if $SF.Facility.Toggle < 1>>
				@@.red;DISABLED.@@ [[Enable|Intro Summary][$SF.Facility.Toggle = 1]]
		<<else>>
				@@.cyan;ENABLED.@@ [[Disable|Intro Summary][$SF.Facility.Toggle = 0]]
		<</if>> //Prep for future content.*/

	<<run _options.addOption("The Security Expansion Mod is", "secExpEnabled").addComment("This mod introduces security and crime in the arcology, as well as attacks and battles.")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<includeDOM _options.render()>>
	</div>
</div>

<div id="slaves" class="tabcontent">
	<div class="content">

	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("Master Suite report details such as slave changes are", "verboseDescriptions")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Slaves can have alternate titles", "newDescriptions")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Mention ethnicity", "seeRace")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Mention nationality", "seeNationality")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Dynasties of enslaved royalities are", "realRoyalties")
	.addValueList([["Historical", 1], ["Random", 0]])>>

	<<run _options.addOption("New slaves may have male names", "allowMaleSlaveNames").addComment("This only affects slave generation and not your ability to name your slaves.")
	.addValue("Enabled", true).on().addValue("Disabled", false).off()>>

	<<run _options.addOption("Schema for ordering slave names is", "surnameOrder")
	.addValueList([["Country of origin", 0], ["Name Surname", 1], ["Surname Name", 2]])>>

	<<run _options.addOption("Family size", "limitFamilies").addComment("Controls acquisition of additional relatives, by means other than birth, for slaves with families.")
	.addValue("Allow extended families", 0).on().addValue("Restrict family size (Vanilla Emulation)", 1).off()>>

	<<run _options.addOption("Tracking distant relatives is", "showDistantRelatives")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Successive breeding resulting in sub-average slaves is", "inbreeding")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Family titles for relatives", "allowFamilyTitles")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Slave assets affected by weight is", "weightAffectsAssets")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()
	.addComment("Diet will still affect asset size.")>>

	<<run _options.addOption("Curative side effects are", "curativeSideEffects")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Slaves with fat lips or heavy oral piercings may lisp", "disableLisping")
	.addValue("Yes", 0).on().addValue("No", 1).off()>>

	<<includeDOM _options.render()>>

	<h2>Age</h2>
	<<set _options = new App.UI.OptionsGroup()>>

	<<run _options.addOption("Slave aging", "seeAge")
	.addValue("Enabled", 1).on().addValue("Celebrate birthdays, but don't age.", 2).neutral().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Slave age distribution", "pedo_mode").addComment("In loli mode most new slaves are under the age of 18. May not apply to custom slaves and slaves from specific events.")
	.addValue("Loli mode", 1, () => V.minimumSlaveAge = 5).addValue("Normal mode", 0)>>

	<<set $minimumSlaveAge = Math.clamp($minimumSlaveAge, 3, 18)>>
	<<run _options.addOption("Girls appearing in the game will be no younger than", "minimumSlaveAge").showTextBox()>>

	<<run _options.addOption("Molestation of slaves younger than $minimumSlaveAge is", "extremeUnderage")
	.addValue("Permitted", 1).on().addValue("Forbidden", 0).off()>>

	<<set $retirementAge = Math.clamp($retirementAge, $minimumSlaveAge + 1, 120)>>
	<<run _options.addOption("Initial retirement age will be at", "retirementAge")
	.addComment("May cause issues with New Game and initial slaves if set below 45.").showTextBox()>>

	<<set $fertilityAge = Math.clamp($fertilityAge, 3, 18)>>
	<<run _options.addOption("Girls will not be able to become pregnant if their age is under", "fertilityAge").showTextBox()>>

	<<set $potencyAge = Math.clamp($potencyAge, 3, 18)>>
	<<run _options.addOption("Girls will not be able to impregnate others if their age is under", "potencyAge").showTextBox()>>

	<<run _options.addOption("Precocious puberty is", "precociousPuberty").addComment("Under certain conditions they can become pregnant or inseminate others younger then normal age - $fertilityAge, though they may also experience delayed puberty.")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Age penalties are", "AgePenalty").addComment("Job and career penalties due to age.")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<run _options.addOption("Children growing as they age is", "loliGrow")
	.addValue("Enabled", 1).on().addValue("Disabled", 0).off()>>

	<<includeDOM _options.render()>>
	</div>
</div>

<div id="PC" class="tabcontent">
	<div class="content">

	<<set _options = new App.UI.OptionsGroup()>>

	<<if $freshPC == 1 || $saveImported == 0>>
		<<run _options.addOption("You are a", "title", $PC)
		.addValue("Masculine Master", 1, () => V.PC.genes = "XY").addValue("Feminine Mistress", 0, () => V.PC.genes = "XX")>>

		<<run _options.addOption("Everyone calls you ''<<= PlayerName()>>.''")>>
		<<run _options.addOption("Your given name is", "slaveName", $PC).showTextBox()>>

		<<if $PC.slaveSurname === 0>>
			<<run _option = _options.addOption("And no surname", "slaveSurname", $PC)
			.addValue("Add a surname", "Anon")
			.addComment("Surnames cannot be changed during the game outside of special circumstances.")>>
		<<else>>
			<<run _option = _options.addOption("And your surname is", "slaveSurname", $PC).showTextBox()
			.addValue("Go by a single name", 0)
			.addComment("Surnames cannot be changed during the game outside of special circumstances.")>>
		<</if>>

		<<set $PC.physicalAge = $PC.actualAge, $PC.visualAge = $PC.actualAge>>
		<<run _options.addOption("You are", "actualAge", $PC).showTextBox()
		.addRange(25, 35, "<", "Surprisingly young").addRange(40, 50, "<", "Entering middle age")
		.addRange(55, 65, "<", "Well into middle age").addRange(70, 65, ">=", "Old")>>

		<<run _options.addOption("Your birthday was ''$PC.birthWeek'' weeks ago.", "birthWeek", $PC).showTextBox()>>

		<<run _options.addOption("Player aging is", "playerAging")
		.addValue("Enabled", 2).on().addValue("Celebrate birthdays, but don't age.", 1).neutral().addValue("Disabled", 0).off()
		.addComment("This option cannot be changed during the game.")>>

		<<if def $PC.customTitle>>
			<<run _options.addOption("Custom title", "customTitle", $PC).showTextBox()
			.addValue("Reset to default", "", () => {delete $PC.customTitle; delete $PC.customTitleLisp;})>>

			<<run _options.addOption("Lisped custom title", "customTitleLisp", $PC).showTextBox()
			.addComment('If using a custom title, select Master or Mistress to set the gender of your title. Make sure to replace your "s"s with "th"s to have working lisps in your lisped title.')>>
		<<else>>
			<<run _options.addOption("Custom title", "customTitle", $PC)
			.addValue("Set custom title", "Master", () => $PC.customTitleLisp = 'Mather')>>
		<</if>>

		<<run _options.addOption("Your nationality is", "nationality", $PC).showTextBox()
		.addComment("For best result capitalize it.")>>

		<<run _options.addOption("Your race is", "race", $PC).showTextBox()
		.addValueList([["White", "white"], ["Asian", "asian"], ["Latina", "latina"], ["Middle Eastern", "middle eastern"],
			["Black", "black"], ["Semetic", "semetic"], ["Southern European", "southern european"], ["Indo-Aryan", "indo-aryan"],
			["Amerindian", "amerindian"], ["Pacific Islander", "pacific islander"], ["Malay", "malay"], ["Mixed Race", "mixed race"]])>>

		<<run _options.addOption("Your skin tone is", "skin", $PC).showTextBox()
		.addValueList([["Pure White", "pure white"], ["Ivory", "ivory"], ["White", "white"], ["Extremely Pale", "extremely pale"],
			["Very Pale", "very pale"], ["Pale", "pale"], ["Extremely Fair", "extremely fair"], ["Very Fair", "very fair"],
			["Fair", "fair"], ["Light", "light"], ["Light Olive", "light olive"], ["Tan", "tan"], ["Olive", "olive"], ["Bronze", "bronze"],
			["Dark Olive", "dark olive"], ["Dark", "dark"], ["Light Beige", "light beige"], ["Beige", "beige"],
			["Dark Beige", "dark beige"], ["Light Brown", "light brown"], ["Brown", "brown"], ["Dark Brown", "dark brown"],
			["Black", "black"], ["Ebony", "ebony"], ["Pure Black", "pure black"]])>>

		<<run _options.addOption("Your body", "markings", $PC)
		.addValueList([["Is clear of blemishes", "none"], ["Has light freckling", "freckles"], ["Has heavy freckling", "heavily freckled"]])>>

		<<run _options.addOption("Your eyes are", "origColor", $PC.eye).showTextBox()>>

		<<run _options.addOption("Your hair is", "hColor", $PC).showTextBox()>>

		<<run _options.addOption("Your face is", "faceShape", $PC)
		.addValueList([["Normal", "normal"], ["Androgynous", "androgynous"], ["Masculine", "masculine"], ["Cute", "cute"], ["Sensual", "sensual"], ["Exotic", "exotic"]])>>

		<<run _options.addOption("Your preferred refreshment is", "refreshment", $PC).showTextBox()
		.addValue("Cigars", "cigar", () => {V.PC.refreshmentType = 0})
		.addValue("Whiskey", "whiskey", () => {V.PC.refreshmentType = 1})>>

		<<set _option = _options.addOption("Which you", "refreshmentType", $PC)
		.addValueList([["Smoke", 0], ["Drink", 1], ["Eat", 2], ["Snort", 3], ["Inject", 4], ["Pop", 5], ["Orally dissolve", 6]])>>

		<<if $PC.refreshmentType == 0>>
			<<run _option.addComment('"Smoked" must fit into the following sentence: "I smoked a $PC.refreshment" to fit events properly.')>>
		<<elseif $PC.refreshmentType == 5>>
			<<run _option.addComment('"Popped" must fit into the following sentence: "I shook the bottle of $PC.refreshment" to fit events properly.')>>
		<<elseif $PC.refreshmentType == 6>>
			<<run _option.addComment('"Orally Dissolved" must fit into the following sentence: "I placed a tab of $PC.refreshment under my tongue" to fit events properly.')>>
		<</if>>

		<<set _option = _options.addOption("Before you came to the Free Cities, you were a", "career", $PC)>>
		<<if $PC.career == "arcology owner">>
			<<run _option.addValue("Arcology owner", "arcology owner")>>
		<<else>>
			<<run _option.addValueList([["Member of the idle wealthy", "wealth"], ["Business leader", "capitalist"],
				["Mercenary", "mercenary"], ["Slaver", "slaver"], ["Engineer", "engineer"], ["Doctor", "medicine"], ["Hacker", "BlackHat"],
				["Minor celebrity", "celebrity"], ["Escort", "escort"], ["Servant", "servant"], ["Gang leader", "gang"]]
			)>>
			<<if $secExpEnabled > 0>>
				<<switch $PC.career>>
				<<case "capitalist">>
					<<run _option.addComment("<div>@@.yellowgreen;The propaganda hub's upgrades will be cheaper.@@</div>")>>
				<<case "mercenary">>
					<<run _option.addComment("<div>@@.green;Easier to maintain security@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>>
				<<case "slaver">>
					<<run _option.addComment("<div>@@.green;Easier to maintain authority@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>>
				<<case "engineer">>
					<<run _option.addComment("<div>@@.yellowgreen;construction and upgrade of facilities will be cheaper.@@</div>")>>
				<<case "medicine">>
					<<run _option.addComment("<div>@@.yellowgreen;Drug upgrades will be cheaper.@@</div>")>>
				<<case "celebrity">>
					<<run _option.addComment("<div>@@.yellowgreen;The propaganda hub's upgrades will be cheaper.@@</div>")>>
				<<case "escort">>
					<<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>>
				<<case "servant">>
					<<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>>
				<<case "gang">>
					<<run _option.addComment("<div>@@.green;Easier to maintain authority@@ and @@.yellowgreen;the security HQ's upgrades will be cheaper.@@</div>")>>
				<<case "BlackHat">>
					<<run _option.addComment("<div>@@.red;Harder to maintain authority.@@</div>")>>
				<<default>>
					<<run _option.addComment("<div>@@.red;Harder to maintain authority,@@ but @@.yellowgreen;the propaganda hub's upgrades will be cheaper.@@</div>")>>
				<</switch>>
			<</if>>
		<</if>>

		<<run _options.addOption("It is rumored that you acquired your arcology through", "rumor", $PC)
		.addValueList([["Wealth", "wealth"], ["Hard work", "diligence"], ["Force", "force"], ["Social engineering", "social engineering"],
			["Blind luck", "luck"]]
		)>>

		<<includeDOM _options.render()>>

		<h2>Sexuality</h2>
		<<set _options = new App.UI.OptionsGroup()>>

		<<if $PC.vagina !== -1 && $PC.dick !== 0>>
			<<set _vagina_penis = 2>>
		<<elseif $PC.vagina !== -1>>
			<<set _vagina_penis = 1>>
		<<else>>
			<<set _vagina_penis = 0>>
		<</if>>

		<<set _option = _options.addOption("You have a", "vagina_penis", State.temporary)
		.addValue("Penis", 0, () => {
			V.PC.preg = 0;
			V.PC.pregType = 0;
			V.PC.dick = 4;
			V.PC.balls = 3;
			V.PC.scrotum = 3;
			V.PC.prostate = 1;
			V.PC.vagina = -1;
			V.PC.ovaries = 0;
		}).addValue("Vagina", 1, () => {
			V.PC.dick = 0;
			V.PC.balls = 0;
			V.PC.scrotum = 0;
			V.PC.prostate = 0;
			V.PC.vagina = 1;
			V.PC.ovaries = 1
		}).addValue("Penis and Vagina", 2, () => {
			V.PC.dick = 4;
			V.PC.balls = 3;
			V.PC.scrotum = 3;
			V.PC.prostate = 1;
			V.PC.vagina = 1;
			V.PC.ovaries = 1
		})>>
		<<if _vagina_penis === 0>>
			<<run _option.addComment("Standard sex scenes; easiest reputation maintenance.")>>
		<<elseif _vagina_penis === 1>>
			<<run _option.addComment("Sex scene variations; most difficult reputation maintenance.")>>
		<<else>>
			<<run _option.addComment("Sex scene variations; more difficult reputation maintenance; some unique opportunities, especially with breasts.")>>
		<</if>>

		<<if $PC.vagina !== -1>>
			<<set _option = _options.addOption("You are", "preg", $PC)
			.addValue("Taking contraceptives", -1, () => {V.PC.pregType = 0; V.PC.labor = 0;})
			.addValue("Not taking contraceptives", 0, () => {V.PC.pregType = 0; V.PC.labor = 0;})
			.addRange(16, 37, "<=", "Pregnant").addCallback(() => {V.PC.pregType = 1; V.PC.labor = 0;})
			.addRange(40, 42, "<=", "Ready to drop").addCallback(() => {V.PC.pregType = 1; V.PC.labor = 0;})
			.addRange(43, 42, ">", "Ready to drop with octuplets").addCallback(() => {V.PC.pregType = 8; V.PC.labor = 1;})>>
			<<if $PC.preg == -1>>
				<<run _option.addComment("You can't get pregnant, however there will be a slight increase to living expenses.")>>
			<</if>>

			<<if $PC.counter.birthsTotal > 0>>
				<<run _options.addOption("").addComment("You have given birth to ''$PC.counter.birthsTotal'' babies.")>>
			<</if>>

			<<set _option = _options.addOption("Hormone effects", "pregMood", $PC)
			.addValueList([["None", 0], ["Caring and motherly", 1], ["Aggressive and domineering", 2]])>>
			<<if $PC.pregMood === 1>>
				<<run _option.addComment("Sex scene alterations; slaves will trust you more, but may try to take advantage of your mercy.")>>
			<<elseif $PC.pregMood === 2>>
				<<run _option.addComment("Sex scene alterations; slaves will fear you more, but will become more submissive to you.")>>
			<</if>>
		<</if>>

		<<if $PC.title === 1 && $PC.boobs <= 100>>
			<<set _option = _options.addOption("Your chest is", "boobs", $PC).addValue("Manly", 100, () => V.PC.boobsImplant = 0)>>
		<<else>>
			<<set _option = _options.addOption("Your breasts are", "boobs", $PC).addValue("Flat", 100, () => V.PC.boobsImplant = 0)>>
		<</if>>
		<<run _option.addValueList([["C-cups", 500], ["DD-cups", 900], ["F-cups", 1100], ["G-cups", 1300]])>>

		<<if $PC.boobs >= 500>>
			<<run _options.addOption("Your breasts are", "boobsImplant", $PC)
			.addValueList([["All natural", 0], ["Fake", 400]])>>
		<</if>>

		<<includeDOM _options.render()>>
	<<else>>

		You are a
		<<if $PC.title == 1>>
			masculine ''Master''
		<<else>>
			feminine ''Mistress'
		<</if>>
		and everyone that matters calls you	<<= PlayerName()>>.

		You are $PC.actualAge years old which is
		<<if $PC.actualAge >= 65>>
			''old''.
		<<elseif $PC.actualAge >= 50>>
			''well into middle age''.
		<<elseif $PC.actualAge >= 35>>
			''entering middle age''.
		<<else>>
			''surprisingly young''.
		<</if>>

		<<run _options.addOption("Player aging is", "playerAging")
		.addValue("Enabled", 2).on().addValue("Celebrate birthdays, but don't age.", 1).neutral().addValue("Disabled", 0).off()
		.addComment("This option cannot be changed during the game.")>>

		<p>
			Your custom title is ''<<textbox2 "$PC.customTitle" $PC.customTitle "Intro Summary">>''
			and when lisped it is ''<<textbox2 "$PC.customTitleLisp" $PC.customTitleLisp "Intro Summary">>''.
			//If using a custom title, select Master or Mistress to set the gender of your title.//
			//Make sure to replace your "s"s with "th"s to have working lisps in your lisped title.//
		</p>

		<p>
			You are a $PC.nationality $PC.race with	<<if $PC.markings == "heavily freckled">>heavily freckled<<elseif $PC.markings == "freckles">>lightly freckled<<else>>clear<</if>> $PC.skin skin, $PC.hColor hair and	<<print App.Desc.eyesColor($PC)>>. You have a $PC.faceShape face.
		</p>

		<p>
			Your preferred refreshment is	<<textbox2 "$PC.refreshment" $PC.refreshment "Intro Summary">> [[Cigars|Intro Summary][$PC.refreshment = "cigar",$PC.refreshmentType = 0]] | [[Whiskey|Intro Summary][$PC.refreshment = "whiskey",$PC.refreshmentType = 1]]
		</p>

		<p>
			and you consume it by ''<<if $PC.refreshmentType == 0>>Smoking<<elseif $PC.refreshmentType == 1>>Drink<<elseif $PC.refreshmentType == 2>>Eating<<elseif $PC.refreshmentType == 3>>Snorting<<elseif $PC.refreshmentType == 4>>Injection<<elseif $PC.refreshmentType == 5>>Popping<<else>>Orally Dissolving<</if>>''.
		</p>
		[[Smoked|Intro Summary][$PC.refreshmentType = 0]] | [[Drank|Intro Summary][$PC.refreshmentType = 1]] | [[Eaten|Intro Summary][$PC.refreshmentType = 2]] | [[Snorted|Intro Summary][$PC.refreshmentType = 3]] | [[Injected|Intro Summary][$PC.refreshmentType = 4]] | [[Popped|Intro Summary][$PC.refreshmentType = 5]] | [[Orally Dissolved|Intro Summary][$PC.refreshmentType = 6]]

		&nbsp;&nbsp;&nbsp;&nbsp;
		<<if $PC.refreshmentType == 0>>//"Smoked" must fit into the following sentence: "I smoked a $PC.refreshment" to fit events properly
		<<elseif $PC.refreshmentType == 5>>//"Popped" must fit into the following sentence: "I shook the bottle of $PC.refreshment" to fit events properly
		<<elseif $PC.refreshmentType == 6>>//"Orally Dissolved" must fit into the following sentence: "I placed a tab of $PC.refreshment under my tongue" to fit events properly
		<</if>>

		<<switch $PC.career>>
		<<case "wealth">>
			Prior to being an arcology owner, you were a member of the idle wealthy.
		<<case "capitalist">>
			Prior to being an arcology owner, you were a business leader.
		<<case "mercenary">>
			Prior to being an arcology owner, you were a mercenary.
		<<case "slaver">>
			Prior to being an arcology owner, you were a slaver.
		<<case "engineer">>
			Prior to being an arcology owner, you were an engineer.
		<<case "medicine">>
			Prior to being an arcology owner, you were a surgeon.
		<<case "celebrity">>
			Prior to being an arcology owner, you were a minor celebrity.
		<<case "BlackHat">>
			Prior to being an arcology owner, you specialized in cracking databases and making mockeries of cyber security.
		<<case "arcology owner">>
			Being an arcology owner defines your life now.
		<<case "escort">>
			Prior to being an arcology owner, you knew how to survive off your looks and body.
		<<case "servant">>
			Prior to being an arcology owner, you served a well-off master<<if $PC.counter.birthMaster >= 2>> and bore him several children<</if>>.
		<<case "gang">>
			Prior to being an arcology owner, you were the leader of a ruthless gang.
		<</switch>>

		Word in the arcology is you acquired it through
		<<switch $PC.rumor>>
		<<case "wealth">>
			a rather ridiculous amount of money.
		<<case "diligence">>
			sheer effort.
		<<case "force">>
			brutal force.
		<<case "social engineering">>
			clever social manipulation.
		<<case "luck">>
			blind luck.
		<</switch>>

		You have a
		<<if $PC.vagina != -1 && $PC.dick != 0>>
			penis and vagina
		<<elseif $PC.dick != 0>>
			penis.
		<<elseif $PC.vagina != -1>>
			vagina
		<</if>>
		<<if $PC.vagina != -1>>
			and are
			<<if $PC.pregWeek < 0>>
				recovering from your last pregnancy.
			<<elseif $PC.preg == -2>>
				infertile.
			<<elseif $PC.preg == -1>>
				taking contraceptives.
			<<elseif $PC.preg == 0>>
				fertile.
			<<elseif $PC.preg > 37>>
				extremely pregnant.
			<<elseif $PC.preg > 0>>
				pregnant.
			<</if>>
			<<if $PC.preg > 20 || $PC.counter.birthsTotal > 0>>
				<<if $PC.pregMood == 1>>
					You tend to be caring and motherly when you're pregnant.
					[[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]]
				<<elseif $PC.pregMood == 0>>
					Pregnancy doesn't really affect your mood.
					[[Change to motherly|Intro Summary][$PC.pregMood = 1]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]]
				<<else>>
					You tend to be very demanding and aggressive when you're pregnant.
					[[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to motherly|Intro Summary][$PC.pregMood = 1]]
				<</if>>
			<<else>>
				<<if $PC.pregMood == 1>>
					You tend to be caring and motherly when you're hormonal.
					[[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]]
				<<elseif $PC.pregMood == 0>>
					Your mood isn't tied to your hormones.
					[[Change to motherly|Intro Summary][$PC.pregMood = 1]] | [[Change to aggressive|Intro Summary][$PC.pregMood = 2]]
				<<else>>
					You tend to be very demanding and aggressive when you're hormonal.
					[[Change to no change|Intro Summary][$PC.pregMood = 0]] | [[Change to motherly|Intro Summary][$PC.pregMood = 1]]
				<</if>>
			<</if>>
			<<if $PC.counter.birthsTotal > 0>>
				You have given birth to $PC.counter.birthsTotal babies.
			<</if>>
		<</if>>

		<<if $PC.boobs >= 300>>
			You have a	<<if $PC.title > 0>>masculine<<else>>feminine<</if>> body with
			<<if $PC.boobs >= 1400>>
				giant<<if $PC.boobsImplant != 0>>, fake<</if>> cow tits.
			<<elseif $PC.boobs >= 1200>>
				huge	<<if $PC.boobsImplant != 0>>fake	<</if>>breasts.
			<<elseif $PC.boobs >= 1000>>
				big	<<if $PC.boobsImplant != 0>>fake	<</if>>breasts.
			<<elseif $PC.boobs >= 800>>
				noticeable breasts.
			<<elseif $PC.boobs >= 650>>
				unremarkable breasts.
			<<elseif $PC.boobs >= 500>>
				average breasts.
			<<else>>
				small breasts.
			<</if>>
		<<else>>
			<<if $PC.title > 0>>
				You have a manly chest.
			<<else>>
				You are flat as a board.
			<</if>>
		<</if>>
	<</if>>

	</div>
</div>

src/events/intro/introSummary.tw