:: init [nobr]

/*
FREE CITIES
a text-based slave management game
Copyright (C) 2017 freecitiesdev

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

<<set $returnTo = "init", $nextButton = "Continue", $nextLink = "Alpha disclaimer">>

<<unset $releaseID>>
<<set $ver = "0.10.7", $releaseID = 1031>>
<<if ndef $releaseID>><<set $releaseID = 1031>><</if>>

/* This needs to be broken down into individual files that can be added to StoryInit instead. */

<<if def $slaves>>
	<<set _SL = $slaves.length>>
	<<for _i = 0; _i < _SL; _i++>>
		<<if $slaves[_i].assignment == "be imported">>
			<<set $slaves[_i].ID += 1200000>>
			<<set $slaves[_i].assignment = "rest">>
			<<set $slaves[_i].assignmentVisible = 1>>
			<<set $slaves[_i].weekAcquired = 0>>
			<<set $slaves[_i].newGamePlus = 1>>
			<<PMODinit $slaves[_i]>>
			<<if $slaves[_i].mother > 0>>
				<<set $slaves[_i].mother += 1200000>>
			<<elseif $freshPC == 1 && $slaves[_i].mother == -1>>
				<<set $slaves[_i].mother = -12000000>>
			<<elseif $slaves[_i].mother < -1>>
				<<set $slaves[_i].mother -= 1200000>>
			<</if>>
			<<if $slaves[_i].father > 0>>
				<<set $slaves[_i].father += 1200000>>
			<<elseif $freshPC == 1 && $slaves[_i].father == -1>>
				<<set $slaves[_i].father = -12000000>>
			<<elseif $slaves[_i].father < -1>>
				<<set $slaves[_i].father -= 1200000>>
			<</if>>
			<<set $slaves[_i].daughters = 0>>
			<<set $slaves[_i].sisters = 0>>
			<<set $slaves[_i].canRecruit = 0>>
			<<set $slaves[_i].breedingMark = 0>>
			<<set $slaves[_i].reservedChildren = 0>>
			<<set $slaves[_i].reservedChildrenNursery = 0>>
			<<if $arcologies[0].FSRomanRevivalist > 90>>
				<<set $slaves[_i].nationality = "Roman Revivalist">>
			<<elseif $arcologies[0].FSAztecRevivalist > 90>>
				<<set $slaves[_i].nationality = "Aztec Revivalist">>
			<<elseif $arcologies[0].FSEgyptianRevivalist > 90>>
				<<set $slaves[_i].nationality = "Ancient Egyptian Revivalist">>
			<<elseif $arcologies[0].FSEdoRevivalist > 90>>
				<<set $slaves[_i].nationality = "Edo Revivalist">>
			<<elseif $arcologies[0].FSArabianRevivalist > 90>>
				<<set $slaves[_i].nationality = "Arabian Revivalist">>
			<<elseif $arcologies[0].FSChineseRevivalist > 90>>
				<<set $slaves[_i].nationality = "Ancient Chinese Revivalist">>
			<</if>>
			<<if $slaves[_i].relationTarget != 0>>
			<<set $slaves[_i].relationTarget += 1200000>>
			<</if>>
			<<if $slaves[_i].relationshipTarget != 0>>
			<<set $slaves[_i].relationshipTarget += 1200000>>
			<</if>>
			<<set $slaves[_i].rivalry = 0, $slaves[_i].rivalryTarget = 0, $slaves[_i].subTarget = 0>>
		<<else>>
			<<set _dump = removeSlave(_i), _i--, _SL-->>
		<</if>>
	<</for>>
	<<set $slaveIndices = slaves2indices()>>
	<<for _k = 0; _k < _SL; _k++>>
		<<for _i = 0; _i < _SL; _i++>>
			<<if $slaves[_k].mother == $slaves[_i].ID || $slaves[_k].father == $slaves[_i].ID>>
				<<set $slaves[_i].daughters += 1>>
			<</if>>
			<<if areSisters($slaves[_k], $slaves[_i]) > 0>>
				<<set $slaves[_i].sisters += 1>>
			<</if>>
		<</for>>
		<<if $slaves[_k].pregSource > 0>>
			<<set $slaves[_k].pregSource += 1200000>>
			<<set _getFather = $slaveIndices[$slaves[_k].pregSource]>>
			<<if ndef _getFather>>
				<<set $slaves[_k].pregSource = 0>>
			<</if>>
			<<for _sInit = 0; _sInit < $slaves[_k].womb.length; _sInit++>>
				<<if $slaves[_k].womb[_sInit].fatherID > 0>>
					<<set $slaves[_k].womb[_sInit].fatherID += 1200000>>
				<</if>>
			<</for>>
		<</if>>
	<</for>>
	<<set $genePool = ngUpdateGenePool($genePool)>>
	<<if ndef $missingTable || $showMissingSlaves == 0>>
		<<set $missingTable = {}>>
	<<else>>
		<<set $missingTable = ngUpdateMissingTable($missingTable)>>
	<</if>>
	/*
	<<for $i = 0; $i < $genePool.length; $i++>>
		<<for $k = 0; $k < $slaves.length; $k++>>
			<<if $genePool[$i].ID+1200000 == $slaves[$k].ID>>
				<<set $genePool[$i].ID += 1200000>>
				<<break>>
			<</if>>
		<</for>>
		<<if $k == $slaves.length>>
			<<set $dump = $genePool.pluck([$i], [$i])>><<set $i-->>
		<</if>>
	<</for>>
	*/
	<<for _i = 0; _i < _SL; _i++>>
		<<if $slaves[_i].relation != 0>>
			<<set _seed = 0, _rt = $slaves[_i].relationTarget, _ID = $slaves[_i].ID>>
			<<set _j = $slaveIndices[_rt]>>
			<<if def _j && $slaves[_j].relationTarget == _ID>>
				<<set _seed = 1>>
			<</if>>
			<<if _seed == 0>>
			<<set $slaves[_i].relation = 0, $slaves[_i].relationTarget = 0>>
			<</if>>
		<</if>>
		<<if $slaves[_i].relationship > 0>>
			<<set _seed = 0, _rt = $slaves[_i].relationshipTarget, _ID = $slaves[_i].ID>>
			<<set _j = $slaveIndices[_rt]>>
			<<if def _j && $slaves[_j].relationshipTarget == _ID>>
				<<set _seed = 1>>
			<</if>>
			<<if _seed == 0>>
			<<set $slaves[_i].relationship = 0, $slaves[_i].relationshipTarget = 0>>
			<</if>>
		<</if>>
	<</for>>
	<<for _i = 0; _i < _SL; _i++>>
		<<if $familyTesting == 1>>
			<<if $slaves[_i].canRecruit == 1>>
				/*<<set $recruiters.push($slaves[_i])>>*/
			<</if>>
		<<else>>
			<<if $slaves[_i].relation == 0>>
				<<if random(1,100) <= 5>>
					<<set $slaves[_i].recruiter = "twin">>
				<<elseif ($slaves[_i].actualAge > 32) && (random(1,100) <= 41)>>
					<<set $slaves[_i].recruiter = "mother">>
				<<elseif ($slaves[_i].actualAge < 24) && (random(1,100) <= 40)>>
					<<set $slaves[_i].recruiter = "daughter">>
				<<elseif ($slaves[_i].actualAge < 43) && (random(1,100) <= 20)>>
					<<set $slaves[_i].recruiter = "older sister">>
				<<elseif ($slaves[_i].actualAge < 25) && ($slaves[_i].actualAge > 18) && (random(1,100) <= 20)>>
					<<set $slaves[_i].recruiter = "young sister">>
				<</if>>
			<<else>>
				<<set $slaves[_i].recruiter = 0>>
			<</if>>
		<</if>> /*closes family mode */
		<<set $slaves[_i].milk = 0>>
		<<set $slaves[_i].cum = 0>>
		<<set $slaves[_i].births = 0>>
		<<set $slaves[_i].mammaryCount = 0>>
		<<set $slaves[_i].penetrativeCount = 0>>
		<<set $slaves[_i].oralCount = 0>>
		<<set $slaves[_i].analCount = 0>>
		<<set $slaves[_i].vaginalCount = 0>>
	<</for>>
	<<set $slavesOriginal = []>> /* not used by pregmod */
	<<if ndef $PC.intelligence>>
		<<set $PC.intelligence = 100>>
	<</if>>
	<<if ndef $PC.face>>
		<<set $PC.face = 100>>
	<</if>>
	<<if ndef $PC.actualAge>>
		<<if $PC.age == 1>>
			<<set $PC.actualAge = 20>>
		<<elseif $PC.age == 2>>
			<<set $PC.actualAge = 35>>
		<<elseif $PC.age == 3>>
			<<set $PC.actualAge = 50>>
		<</if>>
	<</if>>
	<<if ndef $PC.visualAge>>
		<<set $PC.visualAge = $PC.actualAge>>
	<</if>>
	<<if ndef $PC.physicalAge>>
		<<set $PC.physicalAge = $PC.actualAge>>
	<</if>>
	<<if ndef $PC.birthWeek>>
		<<set $PC.birthWeek = 0>>
	<</if>>
	<<if ndef $PC.markings>>
		<<set $PC.markings = "none">>
	<</if>>
	<<if ndef $PC.mpreg>> /* for <<KnockMeUp $PC>> */
		<<set $PC.mpreg = 0>>
	<</if>>
	<<if ndef $PC.slavesKnockedUp>>
		<<set $PC.slavesKnockedUp = 0>>
	<</if>>
	<<if ndef $PC.slavesFathered>>
		<<set $PC.slavesFathered = 0>>
	<</if>>
	<<if ndef $PC.pronoun>>
		<<if $PC.title == 1>>
			<<set $PC.pronoun = "he", $PC.possessive = "his", $PC.object = "him">>
		<<else>>
			<<set $PC.pronoun = "she", $PC.possessive = "her", $PC.object = "her">>
		<</if>>
	<</if>>
	<<if ndef $PC.pregKnown>>
		<<if $PC.preg > 0>>
			<<set $PC.pregKnown = 1>>
		<<else>>
			<<set $PC.pregKnown = 0>>
		<</if>>
	<</if>>
	<<if ndef $PC.pregType>>
		<<if $PC.preg > 0>>
			<<set $PC.pregType = 1>>
		<<else>>
			<<set $PC.pregType = 0>>
		<</if>>
	<</if>>
	<<if ndef $PC.belly>>
		<<if $PC.preg > 0>>
			<<set $PC.belly = getPregBellySize($PC)>>
		<<else>>
			<<set $PC.belly = 0>>
		<</if>>
	<</if>>
	<<if ndef $PC.degeneracy>>
		<<set $PC.degeneracy = 0>>
	<</if>>
	<<if ndef $PC.pregWeek>>
		<<if $PC.preg > 0>>
			<<set $PC.pregWeek = $PC.preg>>
		<<else>>
			<<set $PC.pregWeek = 0>>
		<</if>>
	<</if>>
	<<set $PC.reservedChildren = 0>>
	<<set $PC.reservedChildrenNursery = 0>>
<<else>>
	<<set $slaves = []>>
	<<set $slavesOriginal = []>> /* not used by pregmod */
	<<set $genePool = []>>
	<<set $slaveIndices = slaves2indices()>>
        <<set $missingTable = {}>>
	<<set $showMissingSlaves = false>>
	<<set $showMissingSlavesSD = false>>
<</if>>

<<set $organs = []>>
<<set $ArcadeiIDs = [], $BrothiIDs = [], $CellBiIDs = [], $CliniciIDs = [], $ClubiIDs = [], $DairyiIDs = [], $HGSuiteiIDs = [], $MastSiIDs = [], $SchlRiIDs = [], $ServQiIDs = [], $SpaiIDs = [], $NurseryiIDs = []>>

<<if ndef $saveImported>>
	<<set $saveImported = 0>>
<</if>>


<<if $saveImported == 0>> /* new game (not NG+) */

	<<initPC>>
	<<set $freshPC = 0>>
	<<set $cheater = 0>>
	<<set $cash = 10000>>
	<<set $normalizedEvents = 0>>
	<<set $autosave = 1>>
	<<set $useFSNames = 1>>
	<<set $seeDetails = 1>>
	<<set $seeDesk = 1>>
	<<set $newModelUI = 1>>
	<<set $seeArcology = 1>>
	<<set $seeFCNN = 1>>
	<<set $useSummaryCache = true>>
	<<set $seeExtreme = 0>>
	<<set $seeBestiality = 0>>
	<<set $seeHyperPreg = 0>>
	<<set $seePreg = 1>>
	<<set $dangerousPregancy = 1>>
	<<set $seeCircumcision = 1>>
	<<set $seeAge = 1>>
	<<set $seeDicks = 25>>
	<<set $seeRace = 1>>
	<<set $seeNationality = 1>>
	<<set $seeImages = 0>>
	<<set $imageChoice = 0>>
	<<set $seeVectorArtHighlights = 1>>
	<<set $seeMainFetishes = 0>>
	<<set $seeSummaryImages = 1>>
	<<set $seeReportImages = 1>>
	<<set $lineSeparations = 1>>
	<<set $showSexualHistory = 1>>
	<<set $showBodyMods = 0>>
	<<set $showImplantEffects = 1>>
	<<set $showClothing = 1>>
	<<set $showAgeDetail = 1>>
	<<set $showBoobCCs = 1>>
	<<set $showHeightCMs = 1>>
	<<set $showDickCMs = 1>>
	<<set $showInches = 0>>
	<<set $showScores = 1>>
	<<set $showAssignToScenes = 1>>
	<<set $showEWD = 1>>
	<<set $showEWM = 1>>
	<<set $showVignettes = 1>>
	<<set $showAppraisal = 1>>
	<<set $positionMainLinks = -1>>
	<<set $showTipsFromEncy = 1>>
	<<set $displayAssignments = 1>>
	<<set $sortSlavesBy = "devotion">>
	<<set $sortSlavesOrder = "descending">>
	<<set $sortSlavesMain = 1>>
	<<set $HGSeverity = 0>>
	<<set $HGFormality = 1>>
	<<set $universalRulesConsent = 0>>
	<<set $universalRulesRest = 0>>
	<<set $universalRulesFacilityWork = 1>>
	<<set $universalRulesImpregnation = "none">>
	<<set $universalRulesBirthing = 0>>
	<<set $universalRulesCSec = 0>>
	<<set $universalRulesNewSlavesRA = 1>>
	<<set $universalRulesAssignsSelfFacility = 0>>
	<<set $universalRulesImmobileSlavesMaintainMuscles = 0>>
	<<set $slaveDead = 0>>
	<<set $rulesAssistantMain = 1>>
	<<set $rulesAssistantAuto = 0>>
	<<set $abbreviateDevotion = 2>>
	<<set $abbreviateRules = 2>>
	<<set $abbreviateClothes = 2>>
	<<set $abbreviateOrigins = 2>>
	<<set $abbreviateRulesets = 2>>
	<<set $abbreviateNationality = 2>>
	<<set $abbreviateHealth = 2>>
	<<set $abbreviateDiet = 2>>
	<<set $abbreviateDrugs = 2>>
	<<set $abbreviateRace = 2>>
	<<set $abbreviateGenitalia = 2>>
	<<set $abbreviatePhysicals = 2>>
	<<set $abbreviateSkills = 2>>
	<<set $abbreviateMental = 2>>
	<<set $abbreviateSidebar = 2>>
	<<set $summaryStats = 1>>
	<<set $nicknamesAllowed = 1>>
	<<set $modRequestsAllowed = 1>>
	<<set $expansionRequestsAllowed = 1>>
	<<set $plot = 1>>
	<<set $continent = "North America">>
	<<set $terrain = "rural">>
	<<set $language = "English">>
	<<set $headGirlTrainsSkills = 1>>
	<<set $headGirlTrainsHealth = 1>>
	<<set $headGirlTrainsObedience = 1>>
	<<set $headGirlTrainsFlaws = 1>>
	<<set $headGirlSoftensFlaws = 1>>
	<<set $headGirlTrainsParaphilias = 1>>
	<<set $retainCareer = 1>>
	<<set $useSlaveSummaryTabs = 0>>
	<<set $useSlaveSummaryOverviewTab = 0>>
	<<set $useSlaveListInPageJSNavigation = 0>>
 
	/* master suite reporting and alternate descriptions */
	<<set $verboseDescriptions = 0>>
	/* Accordion 000-250-006 */
	<<set $useAccordion = 0>>

	<<set $useTabs = 0>>

	/*onlyintendeddickgirls variables */
	<<set $makeDicks = 0>>

	/* economy reports variables */
	<<set $showEconomicDetails = 0>>

	/* Pregmod specific */
	<<set $economy = 1>>
	<<set $neighboringArcologies = 3>>
	<<set $newDescriptions = 0>>
	<<set $familyTesting = 0>>
	<<set $inbreeding = 1>>
	<<set $allowFamilyTitles = 0>>

	/% Begin mod section: toggle whether slaves lisp. %/
	<<set $disableLisping = 0>>
	/% End mod section: toggle whether slaves lisp. %/

	<<set $weightAffectsAssets = 1>>
	<<set $curativeSideEffects = 1>>
 
	/*non-vanilla shit*/
	<<set $pedo_mode = 0>>
	<<set $minimumSlaveAge = 18>>
	<<set $fertilityAge = 13>>
	<<silently>>
	FertilityAge($fertilityAge)
	<</silently>>
	<<set $potencyAge = 13>>
	<<set $AgePenalty = 1>>
	<<set $precociousPuberty = 0>>
	<<set $loliGrow = 1>>

	<<set $retirementAge = 45>>
	<<set $customRetirementAge = 45>>
	<<set $FSCreditCount = 5>>
	<<set $FSCreditCountString = "five">>
 
	<<include "Init Rules">>

<<else>> /* imported save (NG+) */

	<<if $freshPC == 0>>
		<<if def $arcologies[0].prosperity>>
			<<set $cash += 250*$arcologies[0].prosperity*$arcologies[0].ownership>>
		<</if>>
		<<set $cash = Math.clamp(1000*Math.trunc($cash/100000), 5000, 1000000)>>
		<<if $retainCareer == 0>>
			<<set $PC.career = "arcology owner", $PC.trading = 100, $PC.warfare = 100, $PC.hacking = 100, $PC.slaving = 100, $PC.engineering = 100, $PC.medicine = 100>>
		<</if>>
		<<if $PC.mother > 0>>
			<<set $PC.mother += 1200000>>
		<<elseif $PC.mother < 0>>
			<<set $PC.mother -= 1200000>>
		<</if>>
		<<if $PC.father > 0>>
			<<set $PC.father += 1200000>>
		<<elseif $PC.father < 0>>
			<<set $PC.father -= 1200000>>
		<</if>>
		<<if $PC.pregSource > 0>>
			<<set $PC.pregSource += 1200000>>
			<<set _getFather = $slaveIndices[$PC.pregSource]>>
			<<if ndef _getFather>>
				<<set $PC.pregSource = 0>>
			<</if>>
			<<for _sInit = 0; _sInit < $PC.womb.length; _sInit++>>
				<<if $PC.womb[_sInit].fatherID > 0>>
					<<set $PC.womb[_sInit].fatherID += 1200000>>
				<</if>>
			<</for>>
		<</if>>
	<<else>>
		<<initPC>>
		<<set $cheater = 0>>
		<<set $cash = 10000>>
	<</if>>

<</if>>

<<set $targetArcology = {type: "New"}>>

<<set $REFeminizationCheckinIDs = []>>
<<set $REMILFCheckinIDs = []>>
<<set $REOrientationCheckinIDs = []>>
<<set $REUglyCheckinIDs = []>>
<<set $REButtholeCheckinIDs = []>>
<<set $REFutaSisterCheckinIDs = []>>
<<set $REReductionCheckinIDs = []>>
<<set $activeSlave = 0>>

<<set $boomerangSlave = 0, $boomerangWeeks = 0, $boomerangBuyer = 0>>

<<set $bioreactorPerfectedID = 0>>

<<set $independenceDay = 0>>
<<set $invasionVictory = 0>>
<<set $daughtersVictory = 0>>
<<set $startingGirlCopied = 0, $startingGirlRelation = 0>>
<<set $archetyped = 0>>
<<set $createRelatedSlave = 0>>

<<set $slavesVisible = 0>>
<<set $dormitory = 20>>
<<set $dormitoryPopulation = 0>>
<<set $rooms = 5>>
<<set $roomsPopulation = 0>>

<<set $brothelSlaves = 0>>
<<set $brothelDecoration = "standard">>
<<set $brothelUpgradeDrugs = 0>>
<<set $brothelAdsSpending = 0>>
<<set $brothelAdsOld = 0>>
<<set $brothelAdsModded = 0>>
<<set $brothelAdsImplanted = 0>>
<<set $brothelAdsStacked = 0>>
<<set $brothelAdsPreg = 0>>
<<set $brothelAdsXX = 0>>
<<set $brothelName = "the Brothel">>
<<set $brothelNameCaps = "The Brothel">>
<<set $brothel = 0>>
<<set $dairySlaves = 0>>
<<set $dairyDecoration = "standard">>
<<set $dairyPrepUpgrade = 0>>
<<set $dairyStimulatorsUpgrade = 0>>
<<set $dairyStimulatorsSetting = 0>>
<<set $dairyStimulatorsSettingChanged = 0>>
<<set $dairyFeedersUpgrade = 0>>
<<set $dairyFeedersSetting = 0>>
<<set $dairyFeedersSettingChanged = 0>>
<<set $dairyPregUpgrade = 0>>
<<set $dairyPregSetting = 0>>
<<set $dairyPregSettingChanged = 0>>
<<set $dairyRestraintsUpgrade = 0>>
<<set $dairyRestraintsSetting = 0>>
<<silently>>
DairyRestraintsSetting($dairyRestraintsSetting)
<</silently>>
<<set $dairySlimMaintainUpgrade = 0>>
<<set $dairySlimMaintain = 0>>
<<set $dairyHyperPregRemodel = 0>>
<<set $dairyWeightSetting = 0>>
<<set $dairyImplantsSetting = 1>>
<<set $dairyUpgradeMenials = 0>>
<<set $createBioreactors = 0>>
<<set $bioreactorsAnnounced = 0>>
<<set $bioreactorsHerm = 0>>
<<set $bioreactorsXX = 0>>
<<set $bioreactorsXY = 0>>
<<set $bioreactorsBarren = 0>>
<<set $dairyName = "the Dairy">>
<<set $dairyNameCaps = "The Dairy">>
<<set $dairy = 0>>
<<set $cumSlaves = 0>>
<<set $clubSlaves = 0>>
<<set $clubDecoration = "standard">>
<<set $clubUpgradePDAs = 0>>
<<set $clubAdsSpending = 0>>
<<set $clubAdsOld = 0>>
<<set $clubAdsModded = 0>>
<<set $clubAdsImplanted = 0>>
<<set $clubAdsStacked = 0>>
<<set $clubAdsPreg = 0>>
<<set $clubAdsXX = 0>>
<<set $clubName = "the Club">>
<<set $clubNameCaps = "The Club">>
<<set $club = 0>>
<<set $servantsQuartersSlaves = 0>>
<<set $servantsQuartersDecoration = "standard">>
<<set $servantsQuartersUpgradeMonitoring = 0>>
<<set $servantsQuarters = 0>>
<<set $servantsQuartersName = "the Servants' Quarters">>
<<set $servantsQuartersNameCaps = "The Servants' Quarters">>
<<set $schoolroomSlaves = 0>>
<<set $schoolroomDecoration = "standard">>
<<set $schoolroomUpgradeSkills = 0>>
<<set $schoolroomUpgradeLanguage = 0>>
<<set $schoolroomUpgradeRemedial = 0>>
<<set $schoolroom = 0>>
<<set $schoolroomName = "the Schoolroom">>
<<set $schoolroomNameCaps = "The Schoolroom">>
<<set $spaSlaves = 0>>
<<set $spaDecoration = "standard">>
<<set $spa = 0>>
<<set $spaUpgrade = 0>>
<<set $spaFix = 0>>
<<set $spaName = "the Spa">>
<<set $spaNameCaps = "The Spa">>

<<set $nursery = 0>>	/*counts the number of children the nursery can support*/
<<set $nurseryNannies = 0>>	/*counts the number of nannies the nursery can support*/
<<set $nurseryDecoration = "standard">>
<<set $nurseryBabies = 0>>	/*counts the number of children currently in the nursery*/
<<set $nurserySlaves = 0>>	/*counts thse number of nannies currently assigned to the nursery*/
<<set $nurseryName = "the Nursery">>
<<set $nurseryNameCaps = "The Nursery">>
<<set $reservedChildrenNursery = 0>>
<<set $cribs = []>>
<<set $babies = []>>

<<set $incubator = 0>>
<<set $incubatorSlaves = 0>>
<<set $incubatorOrgans = []>>
<<set $incubatorOldID = 0>>
<<set $incubatorUpgradeSpeed = 5>>
<<set $incubatorUpgradeWeight = 0>>
<<set $incubatorUpgradeMuscles = 0>>
<<set $incubatorUpgradeGrowthStims = 0>>
<<set $incubatorUpgradeReproduction = 0>>
<<set $incubatorUpgradeOrgans = 0>>
<<set $incubatorImprintSetting = 0>>
<<set $incubatorWeightSetting = 0>>
<<set $incubatorMusclesSetting = 0>>
<<set $incubatorGrowthStimsSetting = 0>>
<<set $incubatorReproductionSetting = 0>>
<<set $incubatorName = "the Incubator">>
<<set $incubatorNameCaps = "The Incubator">>
<<set $reservedChildren = 0>>
<<set $tanks = []>>
<<set $clinicSlaves = 0>>
<<set $clinicDecoration = "standard">>
<<set $clinic = 0>>
<<set $clinicUpgradeFilters = 0>>
<<set $clinicUpgradeScanner = 0>>
<<set $clinicUpgradePurge = 0>>
<<set $clinicName = "the Clinic">>
<<set $clinicNameCaps = "The Clinic">>
<<set $arcadeSlaves = 0>>
<<set $arcadeDecoration = "standard">>
<<set $arcadeUpgradeInjectors = 0>>
<<set $arcadeUpgradeFuckdolls = 0>>
<<set $arcadeUpgradeCollectors = 0>>
<<set $arcadeUpgradeMenials = 0>>
<<set $arcadeName = "the Arcade">>
<<set $arcadeNameCaps = "The Arcade">>
<<set $arcade = 0>>
<<set $fuckdollsSold = 0>>
<<set $cellblockSlaves = 0>>
<<set $cellblockDecoration = "standard">>
<<set $cellblockUpgrade = 0>>
<<set $cellblock = 0>>
<<set $cellblockName = "the Cellblock">>
<<set $cellblockNameCaps = "The Cellblock">>
<<set $cellblockWardenCumsInside = 1>>
<<set $masterSuiteSlaves = 0>>
<<set $masterSuiteDecoration = "standard">>
<<set $masterSuiteUpgradeLuxury = 0>>
<<set $masterSuiteUpgradePregnancy = 0>>				/* Is the upgrade active? */
<<set $masterSuitePregnancyFertilityDrugs = 0>>		/* Are slaves being put on fertility drugs? */
<<set $masterSuitePregnancyFertilitySupplements = 0>>	/* Are those drugs being supplemented (health benefits and (even) more multiple pregnancies) */
<<set $masterSuitePregnancySlaveLuxuries = 0>>			/* Are the slaves being given some nicer things to reduce stress during preg? (health/devotion/trust benefits) */
<<set $universalHGImpregnateMasterSuiteToggle = 0>>	/* Will the HG impregnate fertile slaves in the MS? */
<<set $masterSuiteHyperPregnancy = 0>>
<<set $masterSuite = 0>>
<<set $masterSuiteName = "the Master Suite">>
<<set $masterSuiteNameCaps = "The Master Suite">>

<<set $farmyard = 0>>
<<set $farmyardUpgrade = 0>>
<<set $farmyardUpgradeList = []>>
<<set $farmyardCrops = 0>>
<<set $farmyardStable = 0>>
<<set $farmyardKennels = 0>>
<<set $farmyardCages = 0>>
<<set $activeCanine = "wolf">>
<<set $activeHooved = "horse">>
<<set $activeFeline = "cougar">>
<<set $farmyardLab = 0>>
<<set $boughtCanines = 0>>
<<set $boughtFelines = 0>>
<<set $boughtWolves = 0>>
<<set $boughtFoxes = 0>>
<<set $boughtJackals = 0>>
<<set $boughtDingos = 0>>
<<set $boughtCougars = 0>>
<<set $boughtJaguars = 0>>
<<set $boughtPumas = 0>>
<<set $boughtLynx = 0>>
<<set $boughtLeopards = 0>>
<<set $boughtLions = 0>>
<<set $boughtTigers = 0>>
<<set $farmyardName = "the Farmyard">>
<<set $farmyardNameCaps = "The Farmyard">>

<<set $HGSuite = 0>>
<<set $HGSuiteSlaves = 0>>
<<set $HGSuiteSurgery = 1>>
<<set $HGSuiteDrugs = 1>>
<<set $HGSuiteHormones = 1>>
<<set $HGSuiteEquality = 0>>
<<set $HGSuiteName = "the Head Girl Suite">>
<<set $HGSuiteNameCaps = "The Head Girl Suite">>
<<set $fighterIDs = []>>
<<set $pitBG = 0>>
<<set $pitAnimal = 0>>
<<set $pitAnimalType = 0>>
<<set $pitAudience = "none">>
<<set $pitLethal = 0>>
<<set $pitVirginities = 0>>
<<set $pitFought = 0>>
<<set $pit = 0>>
<<set $pitName = "the Pit">>
<<set $pitNameCaps = "The Pit">>
<<set $dojo = 0>>
<<set $feeder = 0>>
<<set $cockFeeder = 0>>
<<set $suppository = 0>>
<<set $weatherCladding = 0>>
<<set $weatherAwareness = 0>>
<<set $boobAccessibility = 0>>
<<set $servantMilkers = 0>>
<<set $servantMilkersMultiplier = 1>>
<<set $foodCost = 25>>
<<set $revealFoodEffects = 0>>

<<set $studio = 0>>
<<set $studioFeed = 0>>
<<set $PCSlutContacts = 1>>

/* Porn type counts */
<<set $pornStars = 0>>
<<set $pornStarFuckdolls = 0>>
<<set $pornStarRapees = 0>>
<<set $pornStarPreggos = 0>>
<<set $pornStarBBWs = 0>>
<<set $pornStarGainers = 0>>
<<set $pornStarStuds = 0>>
<<set $pornStarLolis = 0>>
<<set $pornStarDeepThroats = 0>>
<<set $pornStarStruggleFucks = 0>>
<<set $pornStarPainals = 0>>
<<set $pornStarTeases = 0>>
<<set $pornStarRomantics = 0>>
<<set $pornStarPerverts = 0>>
<<set $pornStarCarings = 0>>
<<set $pornStarUnflinchings = 0>>
<<set $pornStarSizeQueens = 0>>
<<set $pornStarNeglectfuls = 0>>
<<set $pornStarCumAddicts = 0>>
<<set $pornStarAnalAddicts = 0>>
<<set $pornStarAttentionWhores = 0>>
<<set $pornStarBreastGrowths = 0>>
<<set $pornStarAbusives = 0>>
<<set $pornStarMalicious = 0>>
<<set $pornStarSelfHatings = 0>>
<<set $pornStarBreeders = 0>>
<<set $pornStarSubs = 0>>
<<set $pornStarCumSluts = 0>>
<<set $pornStarAnals = 0>>
<<set $pornStarHumiliations = 0>>
<<set $pornStarBoobs = 0>>
<<set $pornStarDoms = 0>>
<<set $pornStarSadists = 0>>
<<set $pornStarMasochists = 0>>
<<set $pornStarPregnancySluts = 0>>

/* level 3 prestige */
<<set $pornStarID = 0>>
<<set $pornStarFuckdollID = 0>>
<<set $pornStarRapeID = 0>>
<<set $pornStarPreggoID = 0>>
<<set $pornStarBBWID = 0>>
<<set $pornStarGainerID = 0>>
<<set $pornStarStudID = 0>>
<<set $pornStarLoliID = 0>>
<<set $pornStarDeepThroatID = 0>>
<<set $pornStarStruggleFuckID = 0>>
<<set $pornStarPainalID = 0>>
<<set $pornStarTeaseID = 0>>
<<set $pornStarRomanticID = 0>>
<<set $pornStarPervertID = 0>>
<<set $pornStarCaringID = 0>>
<<set $pornStarUnflinchingID = 0>>
<<set $pornStarSizeQueenID = 0>>
<<set $pornStarNeglectfulID = 0>>
<<set $pornStarCumAddictID = 0>>
<<set $pornStarAnalAddictID = 0>>
<<set $pornStarAttentionWhoreID = 0>>
<<set $pornStarBreastGrowthID = 0>>
<<set $pornStarAbusiveID = 0>>
<<set $pornStarMaliciousID = 0>>
<<set $pornStarSelfHatingID = 0>>
<<set $pornStarBreederID = 0>>
<<set $pornStarSubID = 0>>
<<set $pornStarCumSlutID = 0>>
<<set $pornStarAnalID = 0>>
<<set $pornStarHumiliationID = 0>>
<<set $pornStarBoobsID = 0>>
<<set $pornStarDomID = 0>>
<<set $pornStarSadistID = 0>>
<<set $pornStarMasochistID = 0>>
<<set $pornStarPregnancyID = 0>>

<<set $pregInventor = 0>>
<<set $pregInventorID = 0>>
<<set $pregInventions = 0>>

<<set $legendaryWhoreID = 0>>
<<set $legendaryEntertainerID = 0>>
<<set $legendaryCowID = 0>>
<<set $legendaryBallsID = 0>>
<<set $legendaryWombID = 0>>
<<set $legendaryAbolitionistID = 0>>

<<set $FSAnnounced = 0>>
<<set $FSCredits = 0>>
<<set $FSGotRepCredits = 0>>
<<set $FSSingleSlaveRep = 10>>
<<set $FSSpending = 0>>
<<set $FSLockinLevel = 100>>
<<set $applyLaw = 0>>
<<set $FSPromenade = {Subjugationist: 0, Supremacist: 0, GenderRadicalist: 0, GenderFundamentalist: 0, Paternalist: 0, Degradationist: 0, BodyPurist: 0, TransformationFetishist: 0, YouthPreferentialist: 0, MaturityPreferentialist: 0, SlimnessEnthusiast: 0, AssetExpansionist: 0, Pastoralist: 0, PhysicalIdealist: 0, ChattelReligionist: 0, AztecRevivalist: 0, RomanRevivalist: 0, EgyptianRevivalist: 0, EdoRevivalist: 0, ArabianRevivalist: 0, ChineseRevivalist: 0, Repopulationist: 0, Eugenics: 0, Hedonism: 0}>>

<<set $corpAnnounced = 0>>
<<set $corpIncorporated = 0>>
<<set $corpMarket = 0>>
<<set $corpPeopleEnslaved = 0>>
<<set $sharePrice = 0>>
<<set $personalShares = 0>>
<<set $publicShares = 0>>
<<set $corpCash = 0>>
<<set $corpProfit = 0>>
<<set $generalAssets = 0>>
<<set $slaveAssets = 0>>
<<set $entrapmentAssets = 0>>
<<set $captureAssets = 0>>
<<set $trainingAssets = 0>>
<<set $surgicalAssets = 0>>
<<set $drugAssets = 0>>
<<set $generalAssetPrice = 10>>
<<set $slaveAssetPrice = 10>>
<<set $entrapmentAssetPrice = 10>>
<<set $captureAssetPrice = 10>>
<<set $trainingAssetPrice = 10>>
<<set $surgicalAssetPrice = 10>>
<<set $drugAssetPrice = 10>>
<<set $generalUpgradeBreaking = "unselected">>
<<set $generalUpgradeWeight = "unselected">>
<<set $generalUpgradeMuscle = "unselected">>
<<set $entrapmentUpgradeDevotionOne = "unselected">>
<<set $entrapmentUpgradeDevotionTwo = "unselected">>
<<set $entrapmentUpgradeIntelligence = "unselected">>
<<set $captureUpgradeGender = "unselected">>
<<set $captureUpgradeAge = "unselected">>
<<set $captureUpgradeRace = "unselected">>
<<set $trainingUpgradeAccent = "unselected">>
<<set $trainingUpgradeEducation = "unselected">>
<<set $trainingUpgradeSexEd = "unselected">>
<<set $surgicalUpgradeCosmetics = "unselected">>
<<set $surgicalUpgradeImplants = "unselected">>
<<set $surgicalUpgradeGenitalia = "unselected">>
<<set $drugUpgradeHormones = "unselected">>
<<set $drugUpgradeInjectionOne = "unselected">>
<<set $drugUpgradeInjectionTwo = "unselected">>
<<set $corpValue = 0>>

<<set $shelterSlave = 0>>
<<set $shelterSlaveBought = 0>>
<<set $shelterAbuse = 0>>
<<set $shelterSlaveGeneratedWeek = 0>>

/* alternate clothing access variables */
<<set $clothesBoughtBunny = 0>>
<<set $clothesBoughtConservative = 0>>
<<set $clothesBoughtChains = 0>>
<<set $clothesBoughtWestern = 0>>
<<set $clothesBoughtOil = 0>>
<<set $clothesBoughtHabit = 0>>
<<set $clothesBoughtToga = 0>>
<<set $clothesBoughtHuipil = 0>>
<<set $clothesBoughtKimono = 0>>
<<set $clothesBoughtHarem = 0>>
<<set $clothesBoughtQipao = 0>>
<<set $clothesBoughtEgypt = 0>>
<<set $clothesBoughtBelly = 0>>
<<set $clothesBoughtMaternityDress = 0>>
<<set $clothesBoughtMaternityLingerie = 0>>
<<set $clothesBoughtLazyClothes = 0>>
<<set $clothesBoughtMilitary = 0>>
<<set $clothesBoughtCultural = 0>>
<<set $clothesBoughtMiddleEastern = 0>>
<<set $clothesBoughtPol = 0>>
<<set $clothesBoughtPantsu = 0>>
<<set $toysBoughtDildos = 0>>
<<set $toysBoughtGags = 0>>
<<set $toysBoughtButtPlugs = 0>>
<<set $toysBoughtButtPlugTails = 0>>
<<set $buckets = 0>>
/* assistant FS appearance variable */
<<set $assistantFSAppearance = "default">>

<<set $assistantPronouns = {pronoun: "she", possessivePronoun: "hers", possessive: "her", object: "her", objectReflexive: "herself", noun: "girl"}>>

/*pregmod variables */
<<set $specialSlavesPriceOverride = 0>>
<<set $pregAccessibility = 0>>
<<set $dickAccessibility = 0>>
<<set $ballsAccessibility = 0>>
<<set $buttAccessibility = 0>>
<<set $ageMode = 0>>
<<set $enema = 0>>
<<set $medicalEnema = 0>>
<<set $dairyPiping = 0>>
<<set $inflatedSlavesMilk = 0>>
<<set $inflatedSlavesCum = 0>>
<<set $milkPipeline = 0>>
<<set $cumPipeline = 0>>
<<set $burstee = 0>>
<<set $slaveDeath = 0>>
<<set $clinicInflateBelly = 0>>
<<set $playerBred = 0>>
<<set $propOutcome = 0>>
<<set $EliteSires = ["moves", "quick", "crazy", "virgin", "futa", "preggo"]>>
<<set $startingPoint = -1>>
<<set $PhysicalRetirementAgePolicy = 0>>
<<set $raped = -1>>
<<set $children = []>>
<<set $missingParentID = -10000>>
<<set $startingSlaveRelative = 0>>
<<set $mom = 0>>
<<set $animalParts = 0>>
<<set $originOveride = 0>>
<<set $playerAging = 2>>
<<set $pregSpeedControl = 0>>
<<set $clinicSpeedGestation = 0>>
<<set $playerSurgery = 0>>
<<set $bodyswapAnnounced = 0>>
<<set $surnamesForbidden = 0>>
<<set $menstruation = 0>>
<<set $FCTVcount = 0>>
<<set $FCTVrate = 4>>
<<set $FCTVreceiver = 0>>
<<set $receiverAvailable = 0>>
<<set $FCTVshow = 0>>
<<set $lastShow = 0>>
<<set $randShow = 0>>
<<set $MercenariesMessageSent = 0>>
<<set $SpecialForcesMessageSent = 0>>
<<set $BodyguardHasSucessfullyRecivedSignal = 0>>
<<set $finalChoice = "none">>
<<set $eliteTotal = 12>>
<<set $eliteDead = 0>>
<<set $eliteVegetable = 0>>
<<set $eliteFate = 0>>
<<set $swanSong = 0>>
<<set $failedElite = 0>>
<<set $eugenicsFullControl = 0>>
<<set $badC = 0, $badB = 0>>

<<set $schoolSuggestion = 0>>
<<set $TSS = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $GRI = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $SCP = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $LDE = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $TGA = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $TCR = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<<set $TFS = {farmUpgrade: 0, schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0, compromiseWeek: 0}>>
<<set $futaAddiction = 0>>
<<set $HA = {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>

<<set $IDNumber = 1>>

<<set $week = 1>>
<<set $month = "January">>
<<set $day = 19>>
<<set $year = 2037>>

<<set $weddingPlanned = 0>>
<<set $weddingSlaveID = 0>>
<<set $personalAttention = "sex">>
<<set $HeadGirl = 0>>
<<set $HGTimeInGrade = 0>>
<<set $HGEnergy = 0>>
<<set $HGCum = 0>>
<<set $Recruiter = 0>>
<<set $recruiterTarget = "desperate whores">>
<<set $recruiterProgress = 0>>
<<set $recruiterIdleRule = "number">>
<<set $recruiterIdleNumber = 20>>
<<set $bodyguardTrains = 1>>
<<set $Bodyguard = 0>>
<<set $Madam = 0>>
<<set $DJ = 0>>
<<set $Milkmaid = 0>>
<<set $milkmaidImpregnates = 0>>
<<set $Collectrix = 0>>
<<set $Stewardess = 0>>
<<set $stewardessImpregnates = 0>>
<<set $Schoolteacher = 0>>
<<set $Attendant = 0>>
<<set $Matron = 0>>
<<set $Nurse = 0>>
<<set $Wardeness = 0>>
<<set $Concubine = 0>>
<<set $Matron = 0>>
<<set $assistant = 0>>
<<set $assistantPower = 0>>
<<set $economicUncertainty = 10>>
<<set $assistantAppearance = "normal">>
<<set $assistantExtra1 = 0>>
<<set $assistantExtra2 = 0>>
<<set $assistantOptions = 0>>
<<set $assistantFSOptions = 0>>
<<set $assistantName = "your personal assistant">>
<<set $assistantNameAnnounced = 0>>
<<set $assistantBodyDesire = 0>>
<<set $marketAssistantAnnounced = 0>>
<<set $marketAssistantRelationship = "cute">>
<<set $marketAssistantLimit = 0>>
<<set $marketAssistantAggressiveness = 0>>

<<set $justiceEvents = ["slave deal", "slave training", "majority deal", "indenture deal", "virginity deal", "breeding deal"]>> /* not in setupVars because we remove events from this array as they occur */
<<set $prisonCircuit = ["low tier criminals", "gangs and smugglers", "white collar", "military prison"]>>
<<set $prisonCircuitIndex = random(0,$prisonCircuit.length-1)>>

<<set $fixedNationality = 0>>
<<set $fixedRace = 0>>
<<set $ui = "start">>

<<set $brandTarget = "buttock">>
<<set $brandDesign = "your initials">>

<<set $oralTotal = 0>>
<<set $vaginalTotal = 0>>
<<set $analTotal = 0>>
<<set $mammaryTotal = 0>>
<<set $penetrativeTotal = 0>>
<<set $milkTotal = 0>>
<<set $cumTotal = 0>>
<<set $birthsTotal = 0>>
<<set $pitKillsTotal = 0>>

<<set $collaboration = 0>>
<<set $traitor = 0>>
<<set $hackerSupport = 0>>
<<set $hostage = 0>>
<<set $hostageAnnounced = 0>>
<<set $hostageCost = 0>>
<<set $hostageRescued = 0>>
<<set $hostageGiveIn = 0>>
<<set $rivalSet = 0>>
<<set $rivalryFS = 0>>
<<set $rivalryFSAdopted = 0>>
<<set $rivalryFSRace = 0>>
<<set $rivalOwner = 0>>
<<set $rivalOwnerEnslaved = 0>>
<<set $rivalryPower = 0>>
<<set $rivalryDuration = 0>>
<<set $nationHate = 0>>
<<set $slaveMedic = 0>>
<<set $PShoot = 0>>
<<set $PSnatch = 0>>
<<set $PRaid = 0>>
<<set $PAid = 0>>
<<set $PPit = 0>>

<<set $dispensary = 0>>
<<set $dispensaryUpgrade = 0>>
<<set $organFarmUpgrade = 0>>
<<set $completedOrgans = []>>
<<set $limbsCompleted = 0>>
<<set $limbs = []>>
<<set $ImplantProductionUpgrade = 0>>
<<set $permaPregImplant = 0>>
<<set $injectionUpgrade = 0>>
<<set $hormoneUpgradeMood = 0>>
<<set $hormoneUpgradeShrinkage = 0>>
<<set $hormoneUpgradePower = 0>>
<<set $pubertyHormones = 0>>
<<set $dietXXY = 0>>
<<set $dietCleanse = 0>>
<<set $cumProDiet = 0>>
<<set $dietFertility = 0>>
<<set $curativeUpgrade = 0>>
<<set $growthStim = 0>>
<<set $reproductionFormula = 0>>
<<set $aphrodisiacUpgrade = 0>>
<<set $aphrodisiacUpgradeRefine = 0>>
<<set $healthyDrugsUpgrade = 0>>
<<set $superFertilityDrugs = 0>>
<<set $bellyImplants = 0>>
<<set $cervixImplants = 0>>
<<set $meshImplants = 0>>
<<set $prostateImplants = 0>>
<<set $youngerOvaries = 0>>
<<set $prostheticsUpgrade = 0>>

<<set $surgeryUpgrade = 0>>

<<set $barracks = 0>>
<<set $mercenaries = 0>>
<<set $mercenariesHelpCorp = 0>>
<<set $personalArms = 0>>

<<set $saleDescription = 0>>
<<set $gingering = 0>>
<<set $beforeGingering = 0>>
<<set $gingeringDetected = 0>>
<<set $gingeringDetection = 0>>
<<set $surgeryDescription = 0>>
<<set $encyclopedia = "How to Play">>
<<set $showEncyclopedia = 1>>

<<set $trinkets = []>>
<<set $SPcost = 1000>>
<<set $preOwnedViewed = 0>>
<<set $debtWarned = 0>>
<<set $internationalTrade = 1>>
<<set $internationalVariety = 0>>
<<set $slaveCostFactor = 0.95>>
<<set $menialDemandFactor = 0>>
<<set $minimumSlaveCost = 2500>>
<<set $facilityCost = 100>>
<<set $enduringRep = 1000>>
<<set $rep = 1000>>
<<set $repGain = 0>>
<<set $repLoss = 0>>
<<set $cashLastWeek = 0>>

<<set $arcologyUpgrade = {drones: 0, hydro: 0, apron: 0, grid: 0, spire: 0}>>

<<set $AGrowth = 2>>
<<set $ACitizens = 4000>>
<<set $ACitizenLimit = 4800>>
<<set $ASlaves = 1000>>
<<set $ASlaveLimit = 12000>>
<<set $AProsperityCap = 120>>

<<set $sectors = [
	{type: "Penthouse", ownership: 1},
	{type: "Empty", ownership: 0},
	{type: "Empty", ownership: 0},
	{type: "Empty", ownership: 0},
	{type: "Empty", ownership: 0},
	{type: "Shops", ownership: 1},
	{type: "Shops", ownership: 1},
	{type: "Shops", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Apartments", ownership: 1},
	{type: "Markets", ownership: 1},
	{type: "Markets", ownership: 1},
	{type: "Markets", ownership: 1},
	{type: "Markets", ownership: 1},
	{type: "Markets", ownership: 1},
	{type: "Manufacturing", ownership: 1},
	{type: "Manufacturing", ownership: 1},
	{type: "Manufacturing", ownership: 1},
	{type: "Manufacturing", ownership: 1},
	{type: "Manufacturing", ownership: 1}
]>>

<<for _i = 0; _i < 12; _i++>>
	<<set _j = random(5,28)>>
	<<if $sectors[_j].ownership == 1>>
		<<set $sectors[_j].ownership = 0>>
	<<else>>
		<<set _i-->>
	<</if>>
<</for>>

<<set $helots = 0>>
<<set $fuckdolls = 0>>
<<set $menialBioreactors = 0>>
<<set $prestigeAuctioned = 0>>
<<set $slaveMarketLimit = 20>>
<<set $slavesSeen = 0>>

<<set $slaveOrphanageTotal = 0>>
<<set $citizenOrphanageTotal = 0>>
<<set $privateOrphanageTotal = 0>>
<<set $breederOrphanageTotal = 0>>

<<set $alwaysSubsidizeRep = 0>>
<<set $alwaysSubsidizeGrowth = 0>>
<<set $ProImmigrationCash = 0>>
<<set $ProImmigrationRep = 0>>
<<set $AntiImmigrationCash = 0>>
<<set $AntiImmigrationRep = 0>>
<<set $ProEnslavementCash = 0>>
<<set $ProEnslavementRep = 0>>
<<set $AntiEnslavementCash = 0>>
<<set $AntiEnslavementRep = 0>>
<<set $BasicSMR = 1>>
<<set $HealthInspectionSMR = 0>>
<<set $EducationSMR = 0>>
<<set $FrigiditySMR = 0>>
<<set $BasicBeautySMR = 0>>
<<set $QualityBeautySMR = 0>>
<<set $BasicWeightSMR = 0>>
<<set $BasicIntelligenceSMR = 0>>
<<set $QualityIntelligenceSMR = 0>>
<<set $BasicHeightSMR = 0>>
<<set $AdvancedHeightSMR = 0>>
<<set $IntelligenceEugenicsSMR = 0>>
<<set $HeightEugenicsSMR = 0>>
<<set $FaceEugenicsSMR = 0>>
<<set $HonestySMR = 0>>
<<set $ProRefugees = 0>>
<<set $ProRecruitment = 0>>
<<set $OralEncouragement = 0>>
<<set $VaginalEncouragement = 0>>
<<set $AnalEncouragement = 0>>
<<set $OralDiscouragement = 0>>
<<set $VaginalDiscouragement = 0>>
<<set $AnalDiscouragement = 0>>
<<set $CashForRep = 0>>
<<set $RepForCash = 0>>
<<set $Cash4Babies = 0>>
<<set $RegularParties = 0>>
<<set $PAPublic = 0>>
<<set $CoursingAssociation = 0>>
	<<set $Lurcher = 0>>
	<<set $coursed = 0>>
<<set $RaidingMercenaries = 0>>
	<<set $raided = 0>>
<<set $MixedMarriage = 0>>
<<set $CulturalOpenness = 0>>
<<set $goodImageCampaign = 0>>
<<set $sexualOpeness = 0>>

<<set $policyCost = 5000>>
<<set $expiree = 0>>
<<set $retiree = 0>>
<<set $birthee = 0>>
<<set $CustomRetirementAgePolicy = 0>>
<<set $BioreactorRetirement = 0>>
<<set $ArcadeRetirement = 0>>
<<set $CitizenRetirement = 0>>
<<set $SexMilestoneRetirement = 0>>
<<set $MilkMilestoneRetirement = 0>>
<<set $CumMilestoneRetirement = 0>>
<<set $BirthsMilestoneRetirement = 0>>
<<set $KillsMilestoneRetirement = 0>>
<<set $retirementSex = 10000>>
<<set $retirementMilk = 50000>>
<<set $retirementCum = 500000>>
<<set $retirementBirths = 5>>
<<set $retirementKills = 3>>
<<set $nicaea = 0>>
<<set $nicaeaAnnounceable = 0>>
<<set $nicaeaAnnounced = 0>>
<<set $nicaeaPreparation = 0>>
<<set $nicaeaInvolvement = -2>>
<<set $nicaeaPower = 0>>
<<set $nicaeaHeld = 0>>
<<set $peacekeepers = 0>>
<<set $peacekeepersFate = 0>>
<<set $mercRomeo = 0>>

<<set $oralUseWeight = 5>>
<<set $vaginalUseWeight = 5>>
<<set $analUseWeight = 5>>

<<set $niceWeather = [
	{name: "Sunny", severity: 1},
	{name: "Cloudy", severity: 1},
	{name: "Partly Cloudy", severity: 1},
	{name: "Overcast", severity: 1},
	{name: "Light Wind", severity: 1},
	{name: "Clear and Calm", severity: 1},
	{name: "Light Rain", severity: 1},
	{name: "Heavy Rain", severity: 1},
	{name: "Smoke warning", severity: 1},
]>>

<<set $lightWeather = [
	{name: "High Winds", severity: 2},
	{name: "Acid Rain", severity: 2},
	{name: "T-Storm Warning", severity: 2},
	{name: "Flood Warning", severity: 2},
	{name: "Tornado Warning", severity: 2},
	{name: "Light Sandstorm", severity: 2},
	{name: "High Heat", severity: 2},
	{name: "Smoky", severity: 2},
]>>

<<set $heavyWeather = [
	{name: "Extreme Winds", severity: 3},
	{name: "Heavy Acid Rain", severity: 3},
	{name: "Extreme T-storm", severity: 3},
	{name: "Flooding", severity: 3},
	{name: "Tornadoes", severity: 3},
	{name: "Sandstorm", severity: 3},
	{name: "Extreme Heat", severity: 3},
	{name: "Dense Smoke", severity: 3},
]>>

<<set $extremeWeather = [
	{name: "Solar Flare", severity: 4},
	{name: "Ion Storm", severity: 4},
	{name: "Cataclysmic Rains", severity: 4},
	{name: "Cat 6 Hurricane", severity: 4},
	{name: "Abrasive Sandstorm", severity: 4},
	{name: "Radiological Warning", severity: 4},
]>>

<<set $weatherToday = $niceWeather.random()>>

<<set $customSlaveOrdered = 0>>
<<set $customSlave = {age: 19, health: 0, muscles: 0, lips: 15, heightMod: "normal", weight: 0, face: 0, race: "white", skin: "left natural", boobs: 500, butt: 3, sex: 1, virgin: 0, dick: 2, balls: 2, clit: 0, labia: 0, vaginaLube: 1, analVirgin: 0, skills: 15, whoreSkills: 15, combatSkills: 0, intelligence: 0, intelligenceImplant: 0, nationality: "Stateless", amp: 0, eyes: 1, hears: 0}>>

<<set $huskSlaveOrdered = 0>>
<<set $huskSlave = {age: 18, nationality: "Stateless", race: "white", sex: 1, virgin: 0}>>

/*non-vanilla shit*/

<<set $one_time_age_overrides_pedo_mode = 0>>
<<set $activeSlaveOneTimeMinAge = 0>>
<<set $activeSlaveOneTimeMaxAge = 999>>
<<set $oneTimeDisableDisability = 0>>
<<set $targetAge = $minimumSlaveAge>>
<<set $pubertyLength = 5>>
<<set $maxGrowthAge = 24>>

/* Job Fulfillment Center */
<<set $JFCOrder = 0, $Role = "">>

<<set $cheatMode = 0>>
<<set $cheatModeM = 1>>
<<set $NaNArray = []>>

<<set $fcnn = []>>
<<set $fcnn.push("...coming up at the top of the hour: Catgirl slaves, science fact or science fiction...")>>
<<set $fcnn.push("...coming up at the top of the hour: Malnockestivi Smith, Free Cities' first MtFtMtFtH transgendered person...")>>
<<set $fcnn.push("...new arcology construction up 23% worldwide this year, according to...")>>
<<set $fcnn.push("...United States Congress spends 1,264th consecutive day gridlocked over post office...")>>
<<set $fcnn.push("...coming up at the top of the hour: Arcology owners: oversexed oligarchs or attractive, oversexed oligarchs?...")>>
<<set $fcnn.push("...coming up at the top of the hour: Anal sex: not just for sex any more...")>>
<<set $fcnn.push("...coming up at the top of the hour: Oral sex: the new hello...")>>
<<set $fcnn.push("...new book by prominent feminist suggests that women should not be used as sexual appliances...")>>
<<set $fcnn.push("...just ahead, interview with Desha Moore, prominent advocate for compulsory female enslavement...")>>
<<set $fcnn.push("...just ahead, Slave Market Trends: will the pierced anus be in again this year...")>>
<<set $fcnn.push("...just ahead, Slave Market Trends: upstart slave trainers avoid implants...")>>
<<set $fcnn.push("...implant technology firm BusTech notches successful initial public offering...")>>
<<set $fcnn.push("...the upcoming shortage of authentic leather and what it means for the whip industry...")>>
<<set $fcnn.push("...dairy conglomerate Creem Inc. denies allegations of adulterating breast milk with...")>>
<<set $fcnn.push("...two-time award-winning actress Linda Loveless debuted new implants on the red carpet this...")>>
<<set $fcnn.push("...dick size: are your slaves lying to you when they tell you you're too big...")>>
<<set $fcnn.push("...just ahead, slave expert's opinion on best shemale slaves to use for double penetration...")>>
<<set $fcnn.push("...Free Cities social conservatives criticize marriage, say your slaves should be enough...")>>
<<set $fcnn.push("...councilman Taggart suggested in a public address that involuntary enslavement...")>>
<<set $fcnn.push("...councilman Taggart denies allegations that he has remained faithful to his wife...")>>
<<set $fcnn.push("...councilman Taggart presented evidence that regulation of the sex slave market would...")>>
<<set $fcnn.push("...after a word from our sponsors. Creem Inc.: for all your dairy needs...")>>
<<set $fcnn.push("...after a word from our sponsors. Horstmann Ltd, Free Cities' finest whipmakers...")>>
<<set $fcnn.push("...after a word from our sponsors. Coming soon to theaters, Quintuple, the musical...")>>
<<set $fcnn.push("...critical of low-end slave training corporation Wallerson & Sons for practices that they say...")>>
<<set $fcnn.push("...training corporation Wallerson & Sons called a study on slave illness rates 'ludicrous,' but...")>>
<<set $fcnn.push("...our tech correspondent: the possibilities of virally-administered gene therapy...")>>
<<set $fcnn.push("...our tech correspondent: breakthrough in in-vitro drug treatments that promise to...")>>
<<set $fcnn.push("...our tech correspondent: next year to see release of two competing aphrodisiacs...")>>
<<set $fcnn.push("...our tech correspondent: the coming permanent aphrodisiac implants, and what they mean...")>>
<<set $fcnn.push("...Sex Slaves in Space: what it takes to keep a mining crew happy for an 18-month contract...")>>
<<set $fcnn.push("...the implant-drug balance: how much tissue growth is necessary to support larger...")>>
<<set $fcnn.push("...the actress stated that the cut to full nudity in the script violated contractual...")>>
<<set $fcnn.push("...doping scandal as Slave Games watchdog alleges champion used internal reservoir of lube...")>>
<<set $fcnn.push("...next on Extreme Surgery: the mouthpussy experimenters and what they...")>>
<<set $fcnn.push("...'A hole's a hole,' said CEO of upstart budget glory hole franchise...")>>
<<set $fcnn.push("...underground slave pit fights step into the light this evening as...")>>
<<set $fcnn.push("...underground slave pit fight champion, freed yesterday, sells herself back into...")>>
<<set $fcnn.push("...with the lead designer of the MP17, the new machine pistol marketed specifically for bodyguards...")>>
<<set $fcnn.push("...the new Aegis drone series: because your arcology's security is your most important possession...")>>
<<set $fcnn.push("...the BAe Goshawk: because you deserve to travel at twice the speed of sound in the finest style...")>>
<<set $fcnn.push("...this year's Goat.cx award for outstanding orifice innovation goes to...")>>
<<set $fcnn.push("...public controversy over cannibalism. Decadence taken too far or an acceptable next step...")>>
<<set $fcnn.push("...sixth day of street cleaners' strike. Spokesman for the strikers: 'It's getting too nasty...")>>
<<set $fcnn.push("...debuts new book, 'So Long, And Thanks For All The Dicks', in which the recently retired sex slaves tell-all about...")>>

/* HACKY EVENT WORKAROUNDS */
<<set $eventID = -1>>

/* INCORPORATED MODS */

/*SFVAR*/ <<set $SF = Object.assign({}, $SF, {Toggle:0, Active: -1}), $SF.Facility = Object.assign({}, $SF.Facility, {Toggle:0, Active:0})>>

/* Misc mod variables */
<<set $recruiterEugenics = 0>>
<<set $cyberMod = 0>>
<<set $stockpile = {
basicPLimbInterface: 0,
advPLimbInterface: 0,
basicPLimb: 0,
advSexPLimb: 0,
advGracePLimb: 0,
advCombatPLimb: 0,
cyberneticPLimb: 0,
ocularImplant: 0,
cochlearImplant: 0,
electrolarynx: 0,
erectileImplant: 0
} >>

<<if ndef $AgeEffectOnTrainerPricingPC>>
	<<set $AgeEffectOnTrainerPricingPC = 1>>
<</if>>
<<if ndef $AgeEffectOnTrainerEffectivenessPC>>
	<<set $AgeEffectOnTrainerEffectivenessPC = 1>>
<</if>>
<<if ndef $AgeTrainingUpperBoundPC>>
	<<set $AgeTrainingUpperBoundPC = 14>>
<</if>>
<<if ndef $AgeTrainingLowerBoundPC>>
	<<set $AgeTrainingLowerBoundPC = 12>>
<</if>>
<<if ndef $IsInPrimePC>>
	<<set $IsInPrimePC = 3>>
<</if>>
<<if ndef $IsPastPrimePC>>
	<<set $IsPastPrimePC = 5000>>
<</if>>

<<set $researchLab = {
built: "false",
aiModule: 1,
productionTime: 0,
research: "none",
manufacture: "none",
maxSpace: 0,
hired: 0,
menials: 0,
basicPLimbInterface: 0,
advPLimbInterface: 0,
basicPLimb: 0,
advSexPLimb: 0,
advGracePLimb: 0,
advCombatPLimb: 0,
cyberneticPLimb: 0,
ocularImplant: 0,
cochlearImplant: 0,
electrolarynx: 0,
erectileImplant: 0
} >>

<<set $merchantFSWares = ["GenderRadicalistResearch", "TransformationFetishistResearch", "AssetExpansionistResearch", "SlimnessEnthusiastResearch", "YouthPreferentialistResearch", "HedonisticDecadenceResearch"]>>
<<set $merchantIllegalWares = ["childhoodFertilityInducedNCS"]>>

<<if ndef $PC.hacking>>
	<<set $PC.hacking = 0>>
<</if>>

/* Security Expansion */
<<set $secExp = 0>>
<<set $showSecExp = 0>>
<<set $wasToggledBefore = 0>>

/* Career-skill gain */
<<set $masteredXP = 200>>

<<include "secInit">>

<<goto "Alpha disclaimer">>
