code:
:: Mod_Backwards Compatibility [nobr]

<<set $nextButton to "Continue", $nextLink to "Main", $returnTo to "Main">>

<<if ndef $summaryStats>>
	<<set $summaryStats = 0>>
<</if>>
<<if ndef $positionMainLinks>>
	<<set $positionMainLinks to -1>>
<</if>>
<<if ndef $seeImages>>
	<<set $seeImages = 0>>
<</if>>
<<if ndef $imageChoice>>
	<<set $imageChoice = 0>>
<</if>>
<<if ndef $seeMainFetishes>>
	<<set $seeMainFetishes = 0>>
<</if>>
<<if ndef $seeSummaryImages>>
	<<set $seeSummaryImages to 1>>
<</if>>
<<if ndef $universalRulesBirthing>>
	<<set $universalRulesBirthing = 0>>
<</if>>
<<if ndef $HGSeverity>>
	<<set $HGSeverity = 0>>
<</if>>
<<if def $recruiters>>
	<<unset $recruiters>>
<</if>>

<<if ndef $RulesID>>
	<<set $RulesID to 3>>
	<<include "Init Rules">>
<<else>>
	<<for _i to 0; _i < $defaultRules.length; _i++>>
		<<if ndef $defaultRules[_i].standardReward>>
			<<set $defaultRules[_i].standardReward to "no default setting">>
		<</if>>
		<<if ndef $defaultRules[_i].standardPunishment>>
			<<set $defaultRules[_i].standardPunishment to "no default setting">>
		<</if>>
		<<if ndef $defaultRules[_i].aVirginAccessory>>
			<<set $defaultRules[_i].aVirginAccessory to "no default setting">>
		<</if>>
		<<if ndef $defaultRules[_i].aVirginDickAccessory>>
			<<set $defaultRules[_i].aVirginDickAccessory to "no default setting">>
		<</if>>
		<<if ndef $defaultRules[_i].aVirginButtplug>>
			<<set $defaultRules[_i].aVirginButtplug to "no default setting">>
		<</if>>
		<<if ndef $defaultRules[_i].surgery>>
			<<set $defaultRules[_i].surgery to {lactation: "no default setting", cosmetic: 0, accent: "no default setting", shoulders: "no default setting", shouldersImplant: "no default setting", boobs: "no default setting", hips: "no default setting", hipsImplant: "no default setting", butt: "no default setting", faceShape: "no default setting", lips: "no default setting", holes: 0}>>
		<</if>>
		<<if ndef $defaultRules[_i].dietMilk>>
			<<set $defaultRules[_i].dietMilk = 0>>
		<</if>>
		<<if ndef $defaultRules[_i].dietCum>>
			<<set $defaultRules[_i].dietCum = 0>>
		<</if>>
	<</for>>
<</if>>

<<if ndef $month>>
<<set $month to either("January","February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")>>
<</if>>
<<if ndef $day>>
<<set $day to random(1,28)>>
<</if>>
<<if ndef $year>>
	<<set $year to (2037+Math.floor($week/52))>>
<</if>>

<<if ndef $arcologies>>
<<set $arcologies to []>>

<<set $arcologies[0] to {name: "Arcology X-", direction: 0, government: 1, honeymoon: 0, prosperity: 50, FSSupremacist: "unset", FSSupremacistRace: 0, FSSubjugationist: "unset", FSSubjugationistRace: 0, FSGenderRadicalist: "unset", FSGenderFundamentalist: "unset", FSPaternalist: "unset", FSDegradationist: "unset", FSBodyPurist: "unset", FSTransformationFetishist: "unset", FSYouthPreferentialist: "unset", FSMaturityPreferentialist: "unset", FSSlimnessEnthusiast: "unset", FSAssetExpansionist: "unset", FSPastoralist: "unset", FSPhysicalIdealist: "unset", FSChattelReligionist: "unset", FSRomanRevivalist: "unset", FSEgyptianRevivalist: "unset", FSEdoRevivalist: "unset", FSArabianRevivalist: "unset", FSChineseRevivalist: "unset", FSNull: "unset", embargo: 1, embargoTarget: -1, influenceTarget: -1, influenceBonus: 0, rival: 0}>>
<</if>>

<<if def $arcologyName>>
	<<set $arcologies[0].name to $arcologyName>>
	<<unset $arcologyName>>
<<elseif ndef $arcologies[0].name>>
	<<set $arcologies[0].name = "Arcology X-4">>
<</if>>

<<if ndef $arcologies[0].ownership>>
	<<set $arcologies[0].ownership to 50>>
<</if>>
<<if ndef $arcologies[0].minority>>
	<<set $arcologies[0].minority to 20>>
<</if>>
<<if ndef $arcologies[0].embargo>>
	<<set $arcologies[0].embargo to 1>>
<</if>>
<<if ndef $arcologies[0].embargoTarget>>
	<<set $arcologies[0].embargoTarget to -1>>
<</if>>
<<if ndef $arcologies[0].influenceTarget>>
	<<set $arcologies[0].influenceTarget to -1>>
<</if>>
<<if ndef $arcologies[0].influenceBonus>>
	<<set $arcologies[0].influenceBonus to -1>>
<</if>>
<<if ndef $arcologies[0].rival>>
	<<set $arcologies[0].rival to 0>>
<</if>>
<<if ndef $arcologies[0].FSNull>>
	<<set $arcologies[0].FSNull to "unset">>
<</if>>
<<if ndef $arcologies[0].PCminority>>
	<<set $arcologies[0].PCminority to 0>>
<</if>>
<<if ndef $arcologies[0].demandFactor>>
	<<set $arcologies[0].demandFactor to 250>>
<</if>>
<<if ndef $arcologies[0].leaderID>>
	<<set $arcologies[0].leaderID to 0>>
<</if>>

<<if def $FSSupremacist and $FSSupremacist != "unset">>
	<<set $arcologies[0].FSSupremacist to $FSSupremacist>>
	<<set $arcologies[0].FSSupremacistRace to $FSSupremacistRace>>
	<<unset $FSSupremacist>>
	<<unset $FSSupremacistRace>>
<<elseif ndef $arcologies[0].FSSupremacist>>
	<<set $arcologies[0].FSSupremacist to "unset">>
<</if>>

<<if def $FSSupremacistLawME and $FSSupremacistLawME != 0>>
	<<set $arcologies[0].FSSupremacistLawME to $FSSupremacistLawME>>
	<<unset $FSSupremacistLawME>>
<<elseif ndef $arcologies[0].FSSupremacistLawME>>
	<<set $arcologies[0].FSSupremacistLawME to 0>>
<</if>>

<<if def $FSSubjugationist and $FSSubjugationist != "unset">>
	<<set $arcologies[0].FSSubjugationist to $FSSubjugationist>>
	<<set $arcologies[0].FSSubjugationistRace to $FSSubjugationistRace>>
	<<unset $FSSubjugationist>>
	<<unset $FSSubjugationistRace>>
<<elseif ndef $arcologies[0].FSSubjugationist>>
	<<set $arcologies[0].FSSubjugationist to "unset">>
<</if>>

<<if def $FSSubjugationistLawME and $FSSubjugationistLawME != 0>>
	<<set $arcologies[0].FSSubjugationistLawME to $FSSubjugationistLawME>>
	<<unset $FSSubjugationistLawME>>
<<elseif ndef $arcologies[0].FSSubjugationistLawME>>
	<<set $arcologies[0].FSSubjugationistLawME to 0>>
<</if>>

<<if def $FSDegradationist and $FSDegradationist != "unset">>
	<<set $arcologies[0].FSDegradationist to $FSDegradationist>>
	<<unset $FSDegradationist>>
<<elseif ndef $arcologies[0].FSDegradationist>>
	<<set $arcologies[0].FSDegradationist to "unset">>
<</if>>

<<if def $FSDegradationistLaw and $FSDegradationistLaw != 0>>
	<<set $arcologies[0].FSDegradationistLaw to $FSDegradationistLaw>>
	<<unset $FSDegradationistLaw>>
<<elseif ndef $arcologies[0].FSDegradationistLaw>>
	<<set $arcologies[0].FSDegradationistLaw to 0>>
<</if>>

<<if def $FSPaternalist and $FSPaternalist != "unset">>
	<<set $arcologies[0].FSPaternalist to $FSPaternalist>>
	<<unset $FSPaternalist>>
<<elseif ndef $arcologies[0].FSPaternalist>>
	<<set $arcologies[0].FSPaternalist to "unset">>
<</if>>

<<if def $FSPaternalistLaw and $FSPaternalistLaw != 0>>
	<<set $arcologies[0].FSPaternalistLaw to $FSPaternalistLaw>>
	<<unset $FSPaternalistLaw>>
<<elseif ndef $arcologies[0].FSPaternalistLaw>>
	<<set $arcologies[0].FSPaternalistLaw to 0>>
<</if>>

<<if def $FSGenderFundamentalist and $FSGenderFundamentalist != "unset">>
	<<set $arcologies[0].FSGenderFundamentalist to $FSGenderFundamentalist>>
	<<unset $FSGenderFundamentalist>>
<<elseif ndef $arcologies[0].FSGenderFundamentalist>>
	<<set $arcologies[0].FSGenderFundamentalist to "unset">>
<</if>>

<<if def $FSGenderFundamentalistSMR and $FSGenderFundamentalistSMR != 0>>
	<<set $arcologies[0].FSGenderFundamentalistSMR to $FSGenderFundamentalistSMR>>
	<<unset $FSGenderFundamentalistSMR>>
<<elseif ndef $arcologies[0].FSGenderFundamentalistSMR>>
	<<set $arcologies[0].FSGenderFundamentalistSMR to 0>>
<</if>>

<<if def $FSGenderRadicalist and $FSGenderRadicalist != "unset">>
	<<set $arcologies[0].FSGenderRadicalist to $FSGenderRadicalist>>
	<<unset $FSGenderRadicalist>>
<<elseif ndef $arcologies[0].FSGenderRadicalist>>
	<<set $arcologies[0].FSGenderRadicalist to "unset">>
<</if>>

<<if def $FSGenderRadicalistLaw and $FSGenderRadicalistLaw != 0>>
	<<set $arcologies[0].FSGenderRadicalistLaw to $FSGenderRadicalistLaw>>
	<<unset $FSGenderRadicalistLaw>>
<<elseif ndef $arcologies[0].FSGenderRadicalistLaw>>
	<<set $arcologies[0].FSGenderRadicalistLaw to 0>>
<</if>>

<<if def $FSBodyPurist and $FSBodyPurist != "unset">>
	<<set $arcologies[0].FSBodyPurist to $FSBodyPurist>>
	<<unset $FSBodyPurist>>
<<elseif ndef $arcologies[0].FSBodyPurist>>
	<<set $arcologies[0].FSBodyPurist to "unset">>
<</if>>

<<if def $FSBodyPuristLaw and $FSBodyPuristLaw != 0>>
	<<set $arcologies[0].FSBodyPuristLaw to $FSBodyPuristLaw>>
	<<unset $FSBodyPuristLaw>>
<<elseif ndef $arcologies[0].FSBodyPuristLaw>>
	<<set $arcologies[0].FSBodyPuristLaw to 0>>
<</if>>

<<if def $FSPhysicalIdealist and $FSPhysicalIdealist != "unset">>
	<<set $arcologies[0].FSPhysicalIdealist to $FSPhysicalIdealist>>
	<<unset $FSPhysicalIdealist>>
<<elseif ndef $arcologies[0].FSPhysicalIdealist>>
	<<set $arcologies[0].FSPhysicalIdealist to "unset">>
<</if>>

<<if def $FSPhysicalIdealistSMR and $FSPhysicalIdealistSMR != 0>>
	<<set $arcologies[0].FSPhysicalIdealistSMR to $FSPhysicalIdealistSMR>>
	<<unset $FSPhysicalIdealistSMR>>
<<elseif ndef $arcologies[0].FSPhysicalIdealistSMR>>
	<<set $arcologies[0].FSPhysicalIdealistSMR to 0>>
<</if>>

<<if def $FSTransformationFetishist and $FSTransformationFetishist != "unset">>
	<<set $arcologies[0].FSTransformationFetishist to $FSTransformationFetishist>>
	<<unset $FSTransformationFetishist>>
<<elseif ndef $arcologies[0].FSTransformationFetishist>>
	<<set $arcologies[0].FSTransformationFetishist to "unset">>
<</if>>

<<if def $FSTransformationFetishistLaw and $FSTransformationFetishistLaw != 0>>
	<<set $arcologies[0].FSTransformationFetishistLaw to $FSTransformationFetishistLaw>>
	<<unset $FSTransformationFetishistLaw>>
<<elseif ndef $arcologies[0].FSTransformationFetishistLaw>>
	<<set $arcologies[0].FSTransformationFetishistLaw to 0>>
<</if>>

<<if def $FSAssetExpansionist and $FSAssetExpansionist != "unset">>
	<<set $arcologies[0].FSAssetExpansionist to $FSAssetExpansionist>>
	<<unset $FSAssetExpansionist>>
<<elseif ndef $arcologies[0].FSAssetExpansionist>>
	<<set $arcologies[0].FSAssetExpansionist to "unset">>
<</if>>

<<if def $FSAssetExpansionistSMR and $FSAssetExpansionistSMR != 0>>
	<<set $arcologies[0].FSAssetExpansionistSMR to $FSAssetExpansionistSMR>>
	<<unset $FSAssetExpansionistSMR>>
<<elseif ndef $arcologies[0].FSAssetExpansionistSMR>>
	<<set $arcologies[0].FSAssetExpansionistSMR to 0>>
<</if>>

<<if def $FSSlimnessEnthusiast and $FSSlimnessEnthusiast != "unset">>
	<<set $arcologies[0].FSSlimnessEnthusiast to $FSSlimnessEnthusiast>>
	<<unset $FSSlimnessEnthusiast>>
<<elseif ndef $arcologies[0].FSSlimnessEnthusiast>>
	<<set $arcologies[0].FSSlimnessEnthusiast to "unset">>
<</if>>

<<if def $FSSlimnessEnthusiastSMR and $FSSlimnessEnthusiastSMR != 0>>
	<<set $arcologies[0].FSSlimnessEnthusiastSMR to $FSSlimnessEnthusiastSMR>>
	<<unset $FSSlimnessEnthusiastSMR>>
<<elseif ndef $arcologies[0].FSSlimnessEnthusiastSMR>>
	<<set $arcologies[0].FSSlimnessEnthusiastSMR to 0>>
<</if>>

<<if def $FSMaturityPreferentialist and $FSMaturityPreferentialist != "unset">>
	<<set $arcologies[0].FSMaturityPreferentialist to $FSMaturityPreferentialist>>
	<<unset $FSMaturityPreferentialist>>
<<elseif ndef $arcologies[0].FSMaturityPreferentialist>>
	<<set $arcologies[0].FSMaturityPreferentialist to "unset">>
<</if>>

<<if def $FSMaturityPreferentialistLaw and $FSMaturityPreferentialistLaw != 0>>
	<<set $arcologies[0].FSMaturityPreferentialistLaw to $FSMaturityPreferentialistLaw>>
	<<unset $FSMaturityPreferentialistLaw>>
<<elseif ndef $arcologies[0].FSMaturityPreferentialistLaw>>
	<<set $arcologies[0].FSMaturityPreferentialistLaw to 0>>
<</if>>

<<if def $FSYouthPreferentialist and $FSYouthPreferentialist != "unset">>
	<<set $arcologies[0].FSYouthPreferentialist to $FSYouthPreferentialist>>
	<<unset $FSYouthPreferentialist>>
<<elseif ndef $arcologies[0].FSYouthPreferentialist>>
	<<set $arcologies[0].FSYouthPreferentialist to "unset">>
<</if>>

<<if def $FSYouthPreferentialistLaw and $FSYouthPreferentialistLaw != 0>>
	<<set $arcologies[0].FSYouthPreferentialistLaw to $FSYouthPreferentialistLaw>>
	<<unset $FSYouthPreferentialistLaw>>
<<elseif ndef $arcologies[0].FSYouthPreferentialistLaw>>
	<<set $arcologies[0].FSYouthPreferentialistLaw to 0>>
<</if>>

<<if def $FSPastoralist and $FSPastoralist != "unset">>
	<<set $arcologies[0].FSPastoralist to $FSPastoralist>>
	<<unset $FSPastoralist>>
<<elseif ndef $arcologies[0].FSPastoralist>>
	<<set $arcologies[0].FSPastoralist to "unset">>
<</if>>

<<if def $FSPastoralistLaw and $FSPastoralistLaw != 0>>
	<<set $arcologies[0].FSPastoralistLaw to $FSPastoralistLaw>>
	<<unset $FSPastoralistLaw>>
<<elseif ndef $arcologies[0].FSPastoralistLaw>>
	<<set $arcologies[0].FSPastoralistLaw to 0>>
<</if>>

<<if def $FSChattelReligionist and $FSChattelReligionist != "unset">>
	<<set $arcologies[0].FSChattelReligionist to $FSChattelReligionist>>
	<<unset $FSChattelReligionist>>
<<elseif ndef $arcologies[0].FSChattelReligionist>>
	<<set $arcologies[0].FSChattelReligionist to "unset">>
<</if>>

<<if def $FSChattelReligionistLaw and $FSChattelReligionistLaw != 0>>
	<<set $arcologies[0].FSChattelReligionistLaw to $FSChattelReligionistLaw>>
	<<unset $FSChattelReligionistLaw>>
<<elseif ndef $arcologies[0].FSChattelReligionistLaw>>
	<<set $arcologies[0].FSChattelReligionistLaw to 0>>
<</if>>

<<if def $FSRomanRevivalist and $FSRomanRevivalist != "unset">>
	<<set $arcologies[0].FSRomanRevivalist to $FSRomanRevivalist>>
	<<unset $FSRomanRevivalist>>
<<elseif ndef $arcologies[0].FSRomanRevivalist>>
	<<set $arcologies[0].FSRomanRevivalist to "unset">>
<</if>>

<<if def $FSRomanRevivalistLaw and $FSRomanRevivalistLaw != 0>>
	<<set $arcologies[0].FSRomanRevivalistLaw to $FSRomanRevivalistLaw>>
	<<unset $FSRomanRevivalistLaw>>
<<elseif ndef $arcologies[0].FSRomanRevivalistLaw>>
	<<set $arcologies[0].FSRomanRevivalistLaw to 0>>
<</if>>

<<if def $FSEgyptianRevivalist and $FSEgyptianRevivalist != "unset">>
	<<set $arcologies[0].FSEgyptianRevivalist to $FSEgyptianRevivalist>>
	<<unset $FSEgyptianRevivalist>>
<<elseif ndef $arcologies[0].FSEgyptianRevivalist>>
	<<set $arcologies[0].FSEgyptianRevivalist to "unset">>
<</if>>

<<if def $FSEgyptianRevivalistLaw and $FSEgyptianRevivalistLaw != 0>>
	<<set $arcologies[0].FSEgyptianRevivalistLaw to $FSEgyptianRevivalistLaw>>
	<<unset $FSEgyptianRevivalistLaw>>
<<elseif ndef $arcologies[0].FSEgyptianRevivalistLaw>>
	<<set $arcologies[0].FSEgyptianRevivalistLaw to 0>>
<</if>>

<<if def $FSEdoRevivalist and $FSEdoRevivalist != "unset">>
	<<set $arcologies[0].FSEdoRevivalist to $FSEdoRevivalist>>
	<<unset $FSEdoRevivalist>>
<<elseif ndef $arcologies[0].FSEdoRevivalist>>
	<<set $arcologies[0].FSEdoRevivalist to "unset">>
<</if>>

<<if def $FSEdoRevivalistLaw and $FSEdoRevivalistLaw != 0>>
	<<set $arcologies[0].FSEdoRevivalistLaw to $FSEdoRevivalistLaw>>
	<<unset $FSEdoRevivalistLaw>>
<<elseif ndef $arcologies[0].FSEdoRevivalistLaw>>
	<<set $arcologies[0].FSEdoRevivalistLaw to 0>>
<</if>>

<<if def $FSArabianRevivalist and $FSArabianRevivalist != "unset">>
	<<set $arcologies[0].FSArabianRevivalist to $FSArabianRevivalist>>
	<<unset $FSArabianRevivalist>>
<<elseif ndef $arcologies[0].FSArabianRevivalist>>
	<<set $arcologies[0].FSArabianRevivalist to "unset">>
<</if>>

<<if def $FSArabianRevivalistLaw and $FSArabianRevivalistLaw != 0>>
	<<set $arcologies[0].FSArabianRevivalistLaw to $FSArabianRevivalistLaw>>
	<<unset $FSArabianRevivalistLaw>>
<<elseif ndef $arcologies[0].FSArabianRevivalistLaw>>
	<<set $arcologies[0].FSArabianRevivalistLaw to 0>>
<</if>>

<<if def $FSChineseRevivalist and $FSChineseRevivalist != "unset">>
	<<set $arcologies[0].FSChineseRevivalist to $FSChineseRevivalist>>
	<<unset $FSChineseRevivalist>>
<<elseif ndef $arcologies[0].FSChineseRevivalist>>
	<<set $arcologies[0].FSChineseRevivalist to "unset">>
<</if>>

<<if def $FSChineseRevivalistLaw and $FSChineseRevivalistLaw != 0>>
	<<set $arcologies[0].FSChineseRevivalistLaw to $FSChineseRevivalistLaw>>
	<<unset $FSChineseRevivalistLaw>>
<<elseif ndef $arcologies[0].FSChineseRevivalistLaw>>
	<<set $arcologies[0].FSChineseRevivalistLaw to 0>>
<</if>>

<<for _i to 1; _i < $arcologies.length; _i++>>
	<<if ndef $arcologies[_i].FSNull>>
		<<set $arcologies[_i].FSNull to "unset">>
	<</if>>
<</for>>

Setting missing global variables:
<<if ndef $assistantPower>>
	<<set $assistantPower to 0>>
<</if>>

<<if ndef $CulturalOpenness>>
	<<set $CulturalOpenness to 0>>
<</if>>

<<if ndef $displayAssignments>>
	<<set $displayAssignments to 1>>
<</if>>

<<if ndef $universalRulesImpregnation>>
	<<set $universalRulesImpregnation to "none">>
<</if>>

<<if ndef $abbreviateNationality>>
	<<set $abbreviateNationality to 0>>
<</if>>

<<if ndef $language>>
	<<set $language to "English">>
<</if>>

<<if ndef $terrain>>
	<<set $terrain to "rural">>
<</if>>

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

<<if ndef $AProsperityCap>>
	<<set $AProsperityCap to 60>>
<</if>>
<<if ndef $ACitizens>>
	<<set $ACitizens to ($AProsperityCap+200)*16>>
<</if>>
<<if ndef $ASlaves>>
	<<set $ASlaves to ($AProsperityCap+200)*4>>
<</if>>
<<if ndef $AHelots>>
	<<set $AHelots to $ASlaves*2>>
<</if>>
<<if ndef $helots>>
	<<set $helots to 0>>
<</if>>

<<if ndef $facilityCost>>
<<set $facilityCost to 500>>
<</if>>
<<if ndef $policyCost>>
	<<set $policyCost to 5000>>
<</if>>

<<if ndef $REFeminizationCheckinIDs>>
	<<set $REFeminizationCheckinIDs to []>>
<</if>>
<<if ndef $REMILFCheckinIDs>>
	<<set $REMILFCheckinIDs to []>>
<</if>>
<<if ndef $REOrientationCheckinIDs>>
	<<set $REOrientationCheckinIDs to []>>
<</if>>
<<if ndef $REUglyCheckinIDs>>
	<<set $REUglyCheckinIDs to []>>
<</if>>
<<if ndef $REButtholeCheckinIDs>>
	<<set $REButtholeCheckinIDs to []>>
<</if>>
<<if ndef $REFutaSisterCheckinIDs>>
	<<set $REFutaSisterCheckinIDs to []>>
<</if>>
<<if ndef $REReductionCheckinIDs>>
	<<set $REReductionCheckinIDs to []>>
<</if>>
<<if ndef $dormitory>>
	<<set $dormitory = 20>>
<</if>>
<<if ndef $dormitoryPopulation>>
	<<set $dormitoryPopulation = 0>>
<</if>>
<<if ndef $rooms>>
	<<set $rooms = 5>>
<</if>>
<<if ndef $roomsPopulation>>
	<<set $roomsPopulation = 0>>
<</if>>

<<if ndef $brothelName>>
	<<set $brothelName = "the Brothel">>
<</if>>
<<if ndef $brothelNameCaps>>
	<<set $brothelNameCaps = "The Brothel">>
<</if>>
<<if ndef $brothelDecoration>>
	<<set $brothelDecoration = "standard">>
<</if>>

<<if ndef $dairyName>>
	<<set $dairyName = "the Dairy">>
<</if>>
<<if ndef $dairyNameCaps>>
	<<set $dairyNameCaps = "The Dairy">>
<</if>>
<<if ndef $dairyDecoration>>
	<<set $dairyDecoration = "standard">>
<</if>>
<<if ndef $dairyFeedersUpgrade>>
	<<set $dairyFeedersUpgrade to 0>>
<</if>>
<<if ndef $dairyStimulatorsUpgrade>>
	<<set $dairyStimulatorsUpgrade to 0>>
<</if>>
<<if ndef $dairyPregUpgrade>>
	<<set $dairyPregUpgrade to 0>>
<</if>>

<<if ndef $createBioreactors>>
	<<set $createBioreactors = 0>>
<</if>>
<<if ndef $bioreactorsAnnounced>>
	<<set $bioreactorsAnnounced = 0>>
<</if>>
<<if ndef $bioreactorsHerm>>
	<<set $bioreactorsHerm = 0>>
<</if>>
<<if ndef $bioreactorsXX>>
	<<set $bioreactorsXX = 0>>
<</if>>
<<if ndef $bioreactorsXY>>
	<<set $bioreactorsXY = 0>>
<</if>>
<<if ndef $bioreactorsBarren>>
	<<set $bioreactorsBarren = 0>>
<</if>>

<<if ndef $clubName>>
	<<set $clubName = "the Club">>
<</if>>
<<if ndef $clubNameCaps>>
	<<set $clubNameCaps = "The Club">>
<</if>>
<<if ndef $clubDecoration>>
	<<set $clubDecoration = "standard">>
<</if>>

<<if ndef $servantsQuartersName>>
	<<set $servantsQuartersName = "the Servants' Quarters">>
<</if>>
<<if ndef $servantsQuartersNameCaps>>
	<<set $servantsQuartersNameCaps = "The Servants' Quarters">>
<</if>>
<<if ndef $servantsQuartersDecoration >>
	<<set $servantsQuartersDecoration = "standard">>
<</if>>

<<if ndef $schoolroomName>>
	<<set $schoolroomName = "the Schoolroom">>
<</if>>
<<if ndef $schoolroomNameCaps>>
	<<set $schoolroomNameCaps = "The Schoolroom">>
<</if>>
<<if ndef $schoolroomUpgradeSkills>>
	<<set $schoolroomUpgradeSkills = 0>>
<</if>>
<<if ndef $schoolroomUpgradeLanguage>>
	<<set $schoolroomUpgradeLanguage = 0>>
<</if>>
<<if ndef $schoolroomDecoration>>
	<<set $schoolroomDecoration = "standard">>
<</if>>

<<if ndef $spaName>>
	<<set $spaName = "the Spa">>
<</if>>
<<if ndef $spaNameCaps>>
	<<set $spaNameCaps = "The Spa">>
<</if>>
<<if ndef $spaDecoration>>
	<<set $spaDecoration = "standard">>
<</if>>

<<if ndef $clinicName>>
	<<set $clinicName = "the Clinic">>
<</if>>
<<if ndef $clinicNameCaps>>
	<<set $clinicNameCaps = "The Clinic">>
<</if>>
<<if ndef $clinicSlaves>>
	<<set $clinicSlaves = 0>>
<</if>>
<<if ndef $clinic>>
	<<set $clinic = 0>>
<</if>>
<<if ndef $clinicUpgradeFilters>>
	<<set $clinicUpgradeFilters = 0>>
<</if>>
<<if ndef $clinicUpgradeScanner>>
	<<set $clinicUpgradeScanner = 0>>
<</if>>
<<if ndef $clinicDecoration>>
	<<set $clinicDecoration = "standard">>
<</if>>

<<if ndef $arcadeName>>
	<<set $arcadeName = "the Arcade">>
<</if>>
<<if ndef $arcadeNameCaps>>
	<<set $arcadeNameCaps = "The Arcade">>
<</if>>
<<if ndef $arcadeDecoration>>
	<<set $arcadeDecoration = "standard">>
<</if>>

<<if ndef $cellblockName>>
	<<set $cellblockName = "the Cellblock">>
<</if>>
<<if ndef $cellblockNameCaps>>
	<<set $cellblockNameCaps = "The Cellblock">>
<</if>>
<<if ndef $cellblockDecoration>>
	<<set $cellblockDecoration = "standard">>
<</if>>

<<if ndef $masterSuiteName>>
	<<set $masterSuiteName = "the Master Suite">>
<</if>>
<<if ndef $masterSuiteNameCaps>>
	<<set $masterSuiteNameCaps = "The Master Suite">>
<</if>>
<<if ndef $masterSuiteUpgradePregnancy>>
	<<set $masterSuiteUpgradePregnancy to 0>>
<</if>>
<<if ndef $masterSuitePregnancyFertilityDrugs>>
	<<set $masterSuitePregnancyFertilityDrugs to 0>>
<</if>>
<<if ndef $masterSuitePregnancyFertilitySupplements>>
	<<set $masterSuitePregnancyFertilitySupplements to 0>>
<</if>>
<<if ndef $masterSuitePregnancySlaveLuxuries>>
	<<set $masterSuitePregnancySlaveLuxuries to 0>>
<</if>>
<<if ndef $universalHGImpregnateMasterSuiteToggle>>
	<<set $universalHGImpregnateMasterSuiteToggle to 0>>
<</if>>
<<if ndef $masterSuiteDecoration>>
	<<set $masterSuiteDecoration = "standard">>
<</if>>

<<if ndef $HGSuiteName>>
	<<set $HGSuiteName = "the Head Girl Suite">>
<</if>>
<<if ndef $HGSuiteNameCaps>>
	<<set $HGSuiteNameCaps = "The Head Girl Suite">>
<</if>>
<<if ndef $HGSuiteSurgery>>
	<<set $HGSuiteSurgery = 1>>
<</if>>
<<if ndef $HGSuiteDrugs>>
	<<set $HGSuiteDrugs = 1>>
<</if>>
<<if ndef $HGSuiteHormones>>
	<<set $HGSuiteHormones = 1>>
<</if>>
<<if ndef $HGSuiteEquality>>
	<<set $HGSuiteEquality = 0>>
<</if>>

<<if ndef $pitName>>
	<<set $pitName = "the Pit">>
<</if>>
<<if ndef $pitNameCaps>>
	<<set $pitNameCaps = "The Pit">>
<</if>>
<<if ndef $fighterIDs>>
	<<set $fighterIDs = []>>
<</if>>
<<if ndef $pitBG>>
	<<set $pitBG = 0>>
<</if>>

<<if ndef $verboseDescriptions>>
	<<set $verboseDescriptions to 0>>
<</if>>
<<if ndef $clothesBoughtBunny>>
	<<set $clothesBoughtBunny to 0>>
<</if>>
<<if ndef $clothesBoughtConservative>>
	<<set $clothesBoughtConservative to 0>>
<</if>>
<<if ndef $clothesBoughtChains>>
	<<set $clothesBoughtChains to 0>>
<</if>>
<<if ndef $clothesBoughtWestern>>
	<<set $clothesBoughtWestern to 0>>
<</if>>
<<if ndef $clothesBoughtOil>>
	<<set $clothesBoughtOil to 0>>
<</if>>
<<if ndef $clothesBoughtHabit>>
	<<set $clothesBoughtHabit to 0>>
<</if>>
<<if ndef $clothesBoughtToga>>
	<<set $clothesBoughtToga to 0>>
<</if>>
<<if ndef $clothesBoughtKimono>>
	<<set $clothesBoughtKimono to 0>>
<</if>>
<<if ndef $clothesBoughtHarem>>
	<<set $clothesBoughtHarem to 0>>
<</if>>
<<if ndef $clothesBoughtQipao>>
	<<set $clothesBoughtQipao to 0>>
<</if>>
<<if ndef $clothesBoughtEgypt>>
	<<set $clothesBoughtEgypt to 0>>
<</if>>

<<if ndef $assistantFSAppearance>>
	<<set $assistantFSAppearance to "default">>
<</if>>

<<if ndef $universalRulesRest>>
	<<set $universalRulesRest to 0>>
<</if>>

<<if ndef $universalRulesNewSlavesRA>>
	<<set $universalRulesNewSlavesRA to 1>>
<</if>>

<<if ndef $hormoneUpgradeMood>>
	<<set $hormoneUpgradeMood to 0>>
<</if>>

<<if ndef $hormoneUpgradeShrinkage>>
	<<set $hormoneUpgradeShrinkage to 0>>
<</if>>

<<if ndef $hormoneUpgradePower>>
	<<set $hormoneUpgradePower to 0>>
<</if>>

<<if ndef $schoolSuggestion>>
	<<set $schoolSuggestion to 0>>
<</if>>

<<if ndef $prostheticsUpgrade>>
	<<set $prostheticsUpgrade to 0>>
<</if>>
<<if ndef $limbs>>
	<<set $limbs = []>>
<</if>>
<<if ndef $limbsCompleted>>
	<<set $limbsCompleted to 0>>
<</if>>

<<if ndef $trinkets>>
	<<set $trinkets to []>>

	<<set $upgradeMultiplierArcology to 1>>
	<<set $upgradeMultiplierMedicine to 1>>
	<<if $PC.career is "wealth">>
		<<set $trinkets.push("a collection of diplomas from expensive schools")>>
	<<elseif $PC.career is "capitalist">>
		<<set $trinkets.push("a framed low denomination piece of paper money from your native country")>>
	<<elseif $PC.career is "mercenary">>
		<<set $trinkets.push("a battered old assault rifle")>>
	<<elseif $PC.career is "slaver">>
		<<set $trinkets.push("a framed picture of a slave with her sale price scrawled across the bottom")>>
	<<elseif $PC.career is "engineer">>
		<<set $trinkets.push("an artist's impression of an early arcology design")>>
		<<set $upgradeMultiplierArcology to 0.6>>
	<<elseif $PC.career is "medicine">>
		<<set $trinkets.push("a framed postsurgical x-ray")>>
		<<set $upgradeMultiplierMedicine to 0.8>>
	<<elseif $PC.career is "celebrity">>
		<<set $trinkets.push("a framed copy of the first news story featuring yourself")>>
	<<elseif $PC.career is "arcology owner">>
		<<set $trinkets.push("a miniature model of your first arcology")>>
	<</if>>
<</if>>

<<if ndef $TSS>>
	<<set $TSS to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>
<<if ndef $GRI>>
	<<set $GRI to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>
<<if ndef $SCP>>
	<<set $SCP to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>
<<if ndef $LDE>>
	<<set $LDE to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>
<<if ndef $TGA>>
	<<set $TGA to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>
<<if ndef $TFS>>
	<<set $TFS to {schoolUpgrade: 0, schoolPresent: 0, schoolProsperity: 0, subsidize: 0, schoolAnnexed: 0, studentsBought: 0, schoolSale: 0}>>
<</if>>

<<if ndef $assistantName>>
	<<set $assistantName to "your personal assistant">>
<</if>>

<<if ndef $expiree>>
	<<set $expiree to 0>>
<</if>>
<<if ndef $retiree>>
	<<set $retiree to 0>>
<</if>>
<<if ndef $birthee>>
	<<set $birthee to 0>>
<</if>>

<<if ndef $assistantNameAnnounced>>
	<<set $assistantNameAnnounced to 0>>
<</if>>

<<if ndef $alwaysSubsidizeRep>>
<<set $alwaysSubsidizeRep to 0>>
<</if>>
<<if ndef $alwaysSubsidizeGrowth>>
<<set $alwaysSubsidizeGrowth to 0>>
<</if>>
<<if ndef $ProImmigrationCash>>
<<set $ProImmigrationCash to 0>>
<</if>>
<<if ndef $ProImmigrationRep>>
<<set $ProImmigrationRep to 0>>
<</if>>
<<if ndef $AntiImmigrationCash>>
<<set $AntiImmigrationCash to 0>>
<</if>>
<<if ndef $AntiImmigrationRep>>
<<set $AntiImmigrationRep to 0>>
<</if>>
<<if ndef $ProEnslavementCash>>
<<set $ProEnslavementCash to 0>>
<</if>>
<<if ndef $ProEnslavementRep>>
<<set $ProEnslavementRep to 0>>
<</if>>
<<if ndef $AntiEnslavementCash>>
<<set $AntiEnslavementCash to 0>>
<</if>>
<<if ndef $AntiEnslavementRep>>
<<set $AntiEnslavementRep to 0>>
<</if>>
<<if ndef $BasicSMR>>
<<set $BasicSMR to 1>>
<</if>>
<<if ndef $HealthInspectionSMR>>
<<set $HealthInspectionSMR to 0>>
<</if>>
<<if ndef $EducationSMR>>
<<set $EducationSMR to 0>>
<</if>>
<<if ndef $IntelligenceEugenicsSMR>>
<<set $IntelligenceEugenicsSMR to 0>>
<</if>>
<<if ndef $HeightEugenicsSMR>>
<<set $HeightEugenicsSMR to 0>>
<</if>>
<<if ndef $FaceEugenicsSMR>>
<<set $FaceEugenicsSMR to 0>>
<</if>>
<<if ndef $HonestySMR>>
<<set $HonestySMR to 0>>
<</if>>
<<if ndef $ProRefugees>>
<<set $ProRefugees to 0>>
<</if>>
<<if ndef $ProRecruitment>>
<<set $ProRecruitment to 0>>
<</if>>
<<if ndef $OralEncouragement>>
<<set $OralEncouragement to 0>>
<</if>>
<<if ndef $VaginalEncouragement>>
<<set $VaginalEncouragement to 0>>
<</if>>
<<if ndef $AnalEncouragement>>
<<set $AnalEncouragement to 0>>
<</if>>
<<if ndef $OralDiscouragement>>
<<set $OralDiscouragement to 0>>
<</if>>
<<if ndef $VaginalDiscouragement>>
<<set $VaginalDiscouragement to 0>>
<</if>>
<<if ndef $AnalDiscouragement>>
<<set $AnalDiscouragement to 0>>
<</if>>
<<if ndef $CashForRep>>
<<set $CashForRep to 0>>
<</if>>
<<if ndef $RepForCash>>
<<set $RepForCash to 0>>
<</if>>
<<if ndef $PAPublic>>
<<set $PAPublic to 0>>
<</if>>
<<if ndef $CoursingAssociation>>
<<set $CoursingAssociation to 0>>
<</if>>
<<if ndef $Lurcher>>
<<set $Lurcher = 0>>
<</if>>
<<if ndef $coursed>>
<<set $coursed = 0>>
<</if>>
<<if ndef $MixedMarriage>>
<<set $MixedMarriage to 0>>
<</if>>

<<if ndef $expiree>>
<<set $expiree to 0>>
<</if>>
<<if ndef $retiree>>
<<set $retiree to 0>>
<</if>>
<<if ndef $retirementAge>>
<<set $retirementAge to 45>>
<</if>>
<<if ndef $customRetirementAge>>
<<set $customRetirementAge to 45>>
<</if>>
<<if ndef $CustomRetirementAgePolicy>>
<<set $CustomRetirementAgePolicy to 0>>
<</if>>
<<if ndef $BioreactorRetirement>>
<<set $BioreactorRetirement to 0>>
<</if>>
<<if ndef $ArcadeRetirement>>
<<set $ArcadeRetirement to 0>>
<</if>>
<<if ndef $CitizenRetirement>>
<<set $CitizenRetirement to 0>>
<</if>>

<<if ndef $justiceEvents>>
	<<set $justiceEvents to ["slave deal", "slave training", "majority deal", "indenture deal", "virginity deal"]>>
<</if>>

<<if ndef $youngCareers>>
	<<set $youngCareers to ["a refugee", "a maid", "a truck driver", "a factory worker", "an office worker", "a farm laborer", "a secretary", "a cook", "a service worker", "a housewife", "a stripper", "a prostitute", "a saleswoman", "a criminal", "a student", "a student", "a camgirl", "a student", "a soldier", "a security guard", "unemployed", "unemployed", "unemployed", "unemployed", "unemployed"]>>
<</if>>

<<if ndef $educatedCareers>>
	<<set $educatedCareers to ["a principal", "a procuress", "a refugee", "a doctor", "a private detective", "a journalist", "a journalist", "a lawyer", "a teacher", "a business owner", "a classical dancer", "a classical musician", "an investor", "a writer", "a programmer", "a counselor", "a nun", "a scientist", "an actress", "a criminal", "a politician", "a military officer", "a professor"]>>
<</if>>

<<if ndef $uneducatedCareers>>
	<<set $uneducatedCareers to ["a masseuse", "a refugee", "a masseuse", "a model", "a pimp", "a maid", "a mail carrier", "a fisherwoman", "a truck driver", "an athlete", "a trophy wife", "a teacher", "a factory worker", "a dancer", "a musician", "an office worker", "a farm laborer", "a secretary", "a cook", "a nurse", "a service worker", "a housewife", "a camgirl", "a stripper", "a prostitute", "a saleswoman", "a criminal", "a student", "a soldier", "a security guard", "an actress", "a party girl", "a law enforcement officer", "a bouncer", "a bodyguard", "unemployed", "unemployed", "unemployed", "unemployed", "unemployed"]>>
<</if>>

<<if ndef $gratefulCareers>>
	<<set $gratefulCareers to ["unemployed", "a refugee"]>>
<</if>>

<<if ndef $menialCareers>>
	<<set $menialCareers to ["an athlete", "a mail carrier", "a fisherwoman", "a truck driver", "a factory worker", "a farm laborer", "a cook", "a service worker", "a maid", "a housewife", "a student", "a programmer", "a nun"]>>
<</if>>

<<if ndef $entertainmentCareers>>
	<<set $entertainmentCareers to ["a party girl", "a camgirl", "an actress", "a journalist", "a writer"]>>
<</if>>

<<if ndef $whoreCareers>>
	<<set $whoreCareers to ["a prostitute", "a stripper", "a saleswoman", "a criminal", "a porn star", "a trophy wife", "a Futanari Sister", "a model"]>>
<</if>>

<<if ndef $HGCareers>>
	<<set $HGCareers to ["a lawyer", "a military officer", "a politician"]>>
<</if>>

<<if ndef $madamCareers>>
	<<set $madamCareers to ["a procuress", "a pimp", "a business owner"]>>
<</if>>

<<if ndef $DJCareers>>
	<<set $DJCareers to ["a dancer", "a musician", "a classical dancer", "a classical musician"]>>
<</if>>

<<if ndef $bodyguardCareers>>
	<<set $bodyguardCareers to ["a soldier", "a bodyguard", "a law enforcement officer"]>>
<</if>>

<<if ndef $wardenessCareers>>
	<<set $wardenessCareers to ["a security guard", "a private detective", "a bouncer"]>>
<</if>>

<<if ndef $nurseCareers>>
	<<set $nurseCareers to ["a nurse", "a doctor"]>>
<</if>>

<<if ndef $attendantCareers>>
	<<set $attendantCareers to ["a masseuse", "a counselor"]>>
<</if>>

<<if ndef $milkmaidCareers>>
	<<set $milkmaidCareers to ["a dairy worker", "a rancher", "a veterinarian", "a farmer's daughter"]>>
<</if>>

<<if ndef $stewardessCareers>>
	<<set $stewardessCareers to ["a secretary", "an office worker", "an investor", "a charity worker"]>>
<</if>>

<<if ndef $schoolteacherCareers>>
	<<set $schoolteacherCareers to ["a principal", "a teacher", "a scientist", "a professor"]>>
<</if>>

<<if ndef $fakeBellies>>
<<set $fakeBellies to ["a small empathy belly", "a medium empathy belly", "a large empathy belly", "a huge empathy belly"]>> /* lets fake bellies be seperated from other .bellyAccessory */
<</if>>

<<if ($ver.includes("0.9") != true) || ($ver == "0.9")>>
	<<if $seeDicks == 2>>
		<<set $seeDicks = 100>>
	<<elseif $seeDicks == 1>>
		<<set $seeDicks = 25>>
	<</if>>
<</if>>
<<if ($ver.includes("0.9.4") != true) && ($ver.includes("0.9.5") != true) && ($ver.includes("0.9.6") != true) && ($ver.includes("0.9.7") != true) && ($ver.includes("0.9.8") != true) && ($ver.includes("0.9.9") != true) && ($ver.includes("0.9.10") != true)>>
	<<for _r to 0; _r < $defaultRules.length; _r++>>
		<<if ndef $defaultRules[_r].aphrodisiacs>>
			<<set $defaultRules[_r].aphrodisiacs = 0>>
		<</if>>
		<<if $defaultRules[_r].curatives == "applied">>
			<<set $defaultRules[_r].curatives = 2>>
		<<else>>
			<<set $defaultRules[_r].curatives = 0>>
		<</if>>
		<<if $defaultRules[_r].drugs == "curatives">>
			<<set $defaultRules[_r].curatives = 2>>
			<<set $defaultRules[_r].drugs = "no drugs">>
		<<elseif $defaultRules[_r].drugs == "preventatives">>
			<<set $defaultRules[_r].curatives = 1>>
			<<set $defaultRules[_r].drugs = "no drugs">>
		<<elseif $defaultRules[_r].drugs == "aphrodisiacs">>
			<<set $defaultRules[_r].aphrodisiacs = 1>>
			<<set $defaultRules[_r].drugs = "no drugs">>
		<<elseif $defaultRules[_r].drugs == "extreme aphrodisiacs">>
			<<set $defaultRules[_r].aphrodisiacs = 2>>
			<<set $defaultRules[_r].drugs = "no drugs">>
		<</if>>
		<<if $defaultRules[_r].muscles >= 3>>
			<<set $defaultRules[_r].muscles = 100>>
		<<elseif $defaultRules[_r].muscles >= 2>>
			<<set $defaultRules[_r].muscles = 50>>
		<<elseif $defaultRules[_r].muscles >= 1>>
			<<set $defaultRules[_r].muscles = 20>>
		<</if>>
	<</for>>
	<<if $PC.refreshment == "cigar">>
		<<set $PC.refreshmentType = 0>>
	<<else>>
		<<set $PC.refreshmentType = 1>>
	<</if>>
<</if>>
<</if>>

Done!

<br><br>
Setting missing slave variables:
<<for _i to 0; _i < $slaves.length; _i++>>
<<set _Slave to $slaves[_i]>>

<<if ndef _Slave.aphrodisiacs>>
	<<set _Slave.aphrodisiacs = 0>>
<</if>>
<<if ndef _Slave.curatives>>
	<<set _Slave.curatives = 0>>
<</if>>
<<if ndef _Slave.lactationAdaptation>>
	<<set _Slave.lactationAdaptation = 0>>
<</if>>
<<if ndef _Slave.dietCum>>
	<<set _Slave.dietCum = 0>>
<</if>>
<<if ndef _Slave.dietMilk>>
	<<set _Slave.dietMilk = 0>>
<</if>>
<<if ndef _Slave.fuckdoll>>
	<<set _Slave.fuckdoll = 0>>
<</if>>
<<if ndef _Slave.customImage>>
	<<set _Slave.customImage = 0>>
<</if>>
<<if ndef _Slave.nationality>>
	<<set _Slave.nationality = "slave">>
<</if>>

<<if ndef _Slave.faceShape>>
	<<set _Slave.faceShape to "normal">>
<</if>>

<<if _Slave.teeth == 0>>
	<<set _Slave.teeth to "normal">>
<</if>>

<<if ndef _Slave.boobShape>>
	<<set _Slave.boobShape to "perky">>
<</if>>

<<if ndef _Slave.vaginaLube>>
	<<set _Slave.vaginaLube to 0>>
<</if>>

<<if ndef _Slave.hips>>
	<<set _Slave.hips to 0>>
<</if>>

<<if ndef _Slave.hipsImplant>>
	<<set _Slave.hipsImplant to 0>>
<</if>>

<<if ndef _Slave.shoulders>>
	<<set _Slave.shoulders to 0>>
<</if>>

<<if ndef _Slave.shouldersImplant>>
	<<set _Slave.shouldersImplant to 0>>
<</if>>

<<if ndef _Slave.voiceImplant>>
	<<set _Slave.voiceImplant to 0>>
<</if>>

<<if ndef _Slave.backTat>>
	<<set _Slave.backTat to 0>>
<</if>>

<<if ndef _Slave.hStyle>>
	<<set _Slave.hColor to either("black", "blonde", "red", "brown")>>
<</if>>

<<if ndef _Slave.hStyle>>
	<<set _Slave.hStyle to either("ass-length", "long", "shoulder-length")>>
<</if>>

<<if ndef _Slave.eyeColor>>
	<<set _Slave.eyeColor to _Slave.eyes>>
	<<set _Slave.eyes to 1>>
	<<if ndef _Slave.eyeColor>>
		<<set _Slave.eyeColor to "brown">>
	<</if>>
<</if>>

<<if ndef _Slave.eyewear>>
  <<set _Slave.eyewear to "none">>
<</if>>

<<if ndef _Slave.indenture>>
	<<set _Slave.indenture to -1>>
<</if>>
<<if ndef _Slave.indentureRestrictions>>
	<<set _Slave.indentureRestrictions to 0>>
<</if>>
<<if ndef _Slave.birthWeek>>
	<<set _Slave.birthWeek to random(0,51)>>
<</if>>
<<if ndef _Slave.csec>>
	<<set _Slave.csec = 0>>
<</if>>
<<if ndef _Slave.labor>>
	<<set _Slave.labor = 0>>
<</if>>
<<if ndef _Slave.induce>>
	<<set _Slave.induce = 0>>
<</if>>
<<if ndef _Slave.pregSource>>
	<<set _Slave.pregSource = 0>>
<</if>>

<<if ndef _Slave.training>>
	<<set _Slave.training = 0>>
<</if>>

<<if ($ver.includes("0.8.9") != true) && ($ver.includes("0.8.10") != true) && ($ver.includes("0.8.11") != true) && ($ver.includes("0.8.12") != true)>>
<<if $ver.includes("0.9") != true>>
	<<if _Slave.attrXX == 2>>
		<<set _Slave.attrXX = 90>>
	<<elseif _Slave.attrXX == 1>>
		<<set _Slave.attrXX = 70>>
	<<elseif _Slave.attrXX == 0>>
		<<set _Slave.attrXX = 50>>
	<<elseif _Slave.attrXX == -1>>
		<<set _Slave.attrXX = 30>>
	<<else>>
		<<set _Slave.attrXX = 10>>
	<</if>>
	<<if _Slave.attrXY == 2>>
		<<set _Slave.attrXY = 90>>
	<<elseif _Slave.attrXY == 1>>
		<<set _Slave.attrXY = 70>>
	<<elseif _Slave.attrXY == 0>>
		<<set _Slave.attrXY = 50>>
	<<elseif _Slave.attrXY == -1>>
		<<set _Slave.attrXY = 30>>
	<<else>>
		<<set _Slave.attrXY = 10>>
	<</if>>
<</if>>
<</if>>

<<if $ver.includes("0.9") != true>>
<<if $ver.includes("0.10") != true>>
	<<if _Slave.health <= -9>>
		<<set _Slave.health = -90>>
	<<elseif _Slave.health <= -7>>
		<<set _Slave.health = random(-89,-70)>>
	<<elseif _Slave.health <= -5>>
		<<set _Slave.health = random(-69,-50)>>
	<<elseif _Slave.health <= -3>>
		<<set _Slave.health = random(-49,-30)>>
	<<elseif _Slave.health <= -1>>
		<<set _Slave.health = random(-29,-10)>>
	<<elseif _Slave.health <= 1>>
		<<set _Slave.health = random(-9,10)>>
	<<elseif _Slave.health <= 3>>
		<<set _Slave.health = random(11,30)>>
	<<elseif _Slave.health <= 5>>
		<<set _Slave.health = random(31,50)>>
	<<elseif _Slave.health <= 7>>
		<<set _Slave.health = random(51,70)>>
	<<elseif _Slave.health <= 8>>
		<<set _Slave.health = random(71,80)>>
	<<elseif _Slave.health <= 9>>
		<<set _Slave.health = random(81,90)>>
	<<elseif _Slave.health <= 10>>
		<<set _Slave.health = random(91,100)>>
	<<elseif _Slave.health <= 15>>
		<<set _Slave.health = random(101,150)>>
	<<elseif _Slave.health <= 20>>
		<<set _Slave.health = random(151,200)>>
	<<elseif _Slave.health >= 50>>
		<<set _Slave.health = 500>>
	<<elseif _Slave.health > 20>>
		<<set _Slave.health = 205>>
	<</if>>

	<<set _Slave.devotion = (_Slave.devotion*5)>>
	<<set _Slave.trust = (_Slave.trust*5)>>

	<<if _Slave.fetishStrength == 0>>
		<<set _Slave.fetishStrength = random(0, 60)>>
	<<elseif _Slave.fetishStrength == 1>>
		<<set _Slave.fetishStrength = random(61,80)>>
	<<elseif _Slave.fetishStrength == 2>>
		<<set _Slave.fetishStrength = random(96, 100)>>
	<</if>>

	<<if _Slave.weight == -3>>
		<<set _Slave.weight = random(-110,-96)>>
	<<elseif _Slave.weight == -3>>
		<<set _Slave.weight = random(-95,-31)>>
	<<elseif _Slave.weight == -1>>
		<<set _Slave.weight = random(-30, -11)>>
	<<elseif _Slave.weight == 0>>
		<<set _Slave.weight = random(-11, 10)>>
	<<elseif _Slave.weight == 1>>
		<<set _Slave.weight = random(11, 30)>>
	<<elseif _Slave.weight == 2>>
		<<set _Slave.weight = random(31, 95)>>
	<<elseif _Slave.weight == 3>>
		<<set _Slave.weight = random(96, 110)>>
	<</if>>

	<<if _Slave.lips != 0>>
		<<if _Slave.lips == 3>>
			<<set _Slave.lips = 85>>
		<<elseif _Slave.lips == 2>>
			<<set _Slave.lips = 55>>
		<<elseif _Slave.lips == 1>>
			<<set _Slave.lips = 35>>
		<</if>>
	<</if>>
<</if>>
<</if>>

<<if ($ver.includes("0.9.5") != true) && ($ver.includes("0.9.6") != true) && ($ver.includes("0.9.7") != true) && ($ver.includes("0.9.8") != true) && ($ver.includes("0.9.9") != true) && ($ver.includes("0.9.10") != true)>>
	<<if _Slave.oralSkill > 0>>
	<<if _Slave.oralSkill == 3>>
		<<set _Slave.oralSkill = 100>>
	<<elseif _Slave.oralSkill == 2>>
		<<set _Slave.oralSkill = 65>>
	<<else>>
		<<set _Slave.oralSkill = 35>>
	<</if>>
	<</if>>
	<<if _Slave.vaginalSkill > 0>>
	<<if _Slave.vaginalSkill == 3>>
		<<set _Slave.vaginalSkill = 100>>
	<<elseif _Slave.vaginalSkill == 2>>
		<<set _Slave.vaginalSkill = 65>>
	<<else>>
		<<set _Slave.vaginalSkill = 35>>
	<</if>>
	<</if>>
	<<if _Slave.analSkill > 0>>
	<<if _Slave.analSkill == 3>>
		<<set _Slave.analSkill = 100>>
	<<elseif _Slave.analSkill == 2>>
		<<set _Slave.analSkill = 65>>
	<<else>>
		<<set _Slave.analSkill = 35>>
	<</if>>
	<</if>>
	<<if _Slave.whoreSkill > 0>>
	<<if _Slave.whoreSkill == 3>>
		<<set _Slave.whoreSkill = 100>>
	<<elseif _Slave.whoreSkill == 2>>
		<<set _Slave.whoreSkill = 65>>
	<<else>>
		<<set _Slave.whoreSkill = 35>>
	<</if>>
	<</if>>
	<<if _Slave.entertainSkill > 0>>
	<<if _Slave.entertainSkill == 3>>
		<<set _Slave.entertainSkill = 100>>
	<<elseif _Slave.entertainSkill == 2>>
		<<set _Slave.entertainSkill = 65>>
	<<else>>
		<<set _Slave.entertainSkill = 35>>
	<</if>>
	<</if>>
	<<if ($ver != "0.9.4")>>
		<<set _Slave.aphrodisiacs = 0>>
		<<if _Slave.drugs == "curatives">>
			<<set _Slave.curatives = 2>>
			<<set _Slave.drugs = "no drugs">>
		<<elseif _Slave.drugs == "preventatives">>
			<<set _Slave.curatives = 1>>
			<<set _Slave.drugs = "no drugs">>
		<<elseif _Slave.drugs == "aphrodisiacs">>
			<<set _Slave.aphrodisiacs = 1>>
			<<set _Slave.drugs = "no drugs">>
		<<elseif _Slave.drugs == "extreme aphrodisiacs">>
			<<set _Slave.aphrodisiacs = 2>>
			<<set _Slave.drugs = "no drugs">>
		<</if>>
		<<if _Slave.muscles >= 3>>
			<<set _Slave.muscles = 100>>
		<<elseif _Slave.muscles >= 2>>
			<<set _Slave.muscles = 50>>
		<<elseif _Slave.muscles >= 1>>
			<<set _Slave.muscles = 20>>
		<<else>>
			<<set _Slave.muscles = 0>>
		<</if>>
	<</if>>
<</if>>
<<if ($ver.includes("0.9") != true) || ($ver == "0.9")>>
	<<if _Slave.lips != 0>>
	<<if _Slave.lips == 3>>
		<<set _Slave.lips = 85>>
	<<elseif _Slave.lips == 2>>
		<<set _Slave.lips = 55>>
	<<else>>
		<<set _Slave.lips = 35>>
	<</if>>
	<</if>>
<</if>>

<<switch _Slave.boobsTat>>
<<case "floral designs">>
	<<set _Slave.boobsTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.boobsTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.boobsTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.boobsTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.boobsTat to "advertisements">>
<</switch>>

<<switch _Slave.buttTat>>
<<case "floral designs">>
	<<set _Slave.buttTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.buttTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.buttTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.buttTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.buttTat to "advertisements">>
<</switch>>

<<switch _Slave.vaginaTat>>
<<case "floral designs">>
	<<set _Slave.vaginaTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.vaginaTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.vaginaTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.vaginaTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.vaginaTat to "advertisements">>
<</switch>>

<<switch _Slave.dickTat>>
<<case "floral designs">>
	<<set _Slave.dickTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.dickTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.dickTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.dickTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.dickTat to "advertisements">>
<</switch>>

<<switch _Slave.anusTat>>
<<case "floral designs">>
	<<set _Slave.anusTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.anusTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.anusTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.anusTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.anusTat to "advertisements">>
<</switch>>

<<switch _Slave.backTat>>
<<case "floral designs">>
	<<set _Slave.backTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.backTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.backTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.backTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.backTat to "advertisements">>
<</switch>>

<<switch _Slave.shouldersTat>>
<<case "floral designs">>
	<<set _Slave.shouldersTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.shouldersTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.shouldersTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.shouldersTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.shouldersTat to "advertisements">>
<</switch>>

<<switch _Slave.armsTat>>
<<case "floral designs">>
	<<set _Slave.armsTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.armsTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.armsTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.armsTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.armsTat to "advertisements">>
<</switch>>

<<switch _Slave.legsTat>>
<<case "floral designs">>
	<<set _Slave.legsTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.legsTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.legsTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.legsTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.legsTat to "advertisements">>
<</switch>>

<<switch _Slave.stampTat>>
<<case "floral designs">>
	<<set _Slave.stampTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.stampTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.stampTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.stampTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.stampTat to "advertisements">>
<</switch>>

<<switch _Slave.lipsTat>>
<<case "floral designs">>
	<<set _Slave.lipsTat to "flowers">>
<<case "demeaning inscriptions">>
	<<set _Slave.lipsTat to "rude words">>
<<case "lewd scenes">>
	<<set _Slave.lipsTat to "scenes">>
<<case "degrading language">>
	<<set _Slave.lipsTat to "degradation">>
<<case  "slutty advertisements">>
	<<set _Slave.lipsTat to "advertisements">>
<</switch>>

<<if ndef _Slave.areolaePiercing>>
	<<set _Slave.areolaePiercing to 0>>
<</if>>

<<if ndef _Slave.standardPunishment>>
	<<set _Slave.standardPunishment to "situational">>
<</if>>

<<if ndef _Slave.standardReward>>
	<<set _Slave.standardReward to "situational">>
<</if>>

<<if ndef _Slave.corsetPiercing>>
	<<set _Slave.corsetPiercing to 0>>
<</if>>

<<if ndef _Slave.dickAccessory>>
	<<set _Slave.dickAccessory to "none">>
<</if>>

<<if ndef _Slave.scrotum>>
  <<set _Slave.scrotum to _Slave.balls>>
<</if>>

<<if ndef _Slave.markings>>
	<<set _Slave.markings to "none">>
<</if>>

<<if ndef _Slave.accent>>
	<<set _Slave.accent to random(0,3)>>
<</if>>

<<if ndef _Slave.pornFame>>
	<<set _Slave.pornFame to 0>>
<</if>>
<<if ndef _Slave.pornFameSpending>>
	<<set _Slave.pornFameSpending to 0>>
<</if>>

<<if ndef _Slave.bellyAccessory>>
  <<set _Slave.bellyAccessory to "none">>
<</if>>
<<if (ndef _Slave.currentRules) || (_Slave.currentRules.length < 1)>>
	<<set _Slave.currentRules to []>>
<</if>>

<<if _Slave.nationality == 0>>
	<<set _Slave.indenture to "slave">>
<</if>>

<<if _Slave.height < -1>>
	<<set _Slave.height to random(140,149)>>
<<elseif _Slave.height < 0>>
	<<set _Slave.height to random(150,159)>>
<<elseif _Slave.height < 1>>
	<<set _Slave.height to random(160,169)>>
<<elseif _Slave.height < 2>>
	<<set _Slave.height to random(170,184)>>
<<elseif _Slave.height <= 3>>
	<<set _Slave.height to random(185,200)>>
<</if>>

<<if _Slave.customTat is " ">>
	<<set _Slave.customTat to "">>
<</if>>

<<if _Slave.customLabel is " ">>
	<<set _Slave.customLabel to "">>
<</if>>
<<if _Slave.lipsPiercing is "no default setting">>
	<<set _Slave.lipsPiercing to 0>>
<</if>>
<<if _Slave.tonguePiercing is "no default setting">>
	<<set _Slave.tonguePiercing to 0>>
<</if>>
<<if _Slave.nipplesPiercing is "no default setting">>
	<<set _Slave.nipplesPiercing to 0>>
<</if>>
<<if _Slave.areolaePiercing is "no default setting">>
	<<set _Slave.areolaePiercing to 0>>
<</if>>
<<if _Slave.dickPiercing is "no default setting">>
	<<set _Slave.dickPiercing to 0>>
<</if>>
<<if _Slave.vaginaPiercing is "no default setting">>
	<<set _Slave.vaginaPiercing to 0>>
<</if>>
<<if _Slave.clitPiercing is "no default setting">>
	<<set _Slave.clitPiercing to 0>>
<</if>>
<<if _Slave.anusPiercing is "no default setting">>
	<<set _Slave.anusPiercing to 0>>
<</if>>
<<if _Slave.earPiercing is "no default setting">>
	<<set _Slave.earPiercing to 0>>
<</if>>
<<if _Slave.eyebrowPiercing is "no default setting">>
	<<set _Slave.eyebrowPiercing to 0>>
<</if>>
<<if _Slave.nosePiercing is "no default setting">>
	<<set _Slave.nosePiercing to 0>>
<</if>>
<<if _Slave.navelPiercing is "no default setting">>
	<<set _Slave.navelPiercing to 0>>
<</if>>
<<if _Slave.corsetPiercing is "no default setting">>
	<<set _Slave.corsetPiercing to 0>>
<</if>>

<<if _Slave.customDesc is " " or _Slave.customDesc == 0>>
	<<set _Slave.customDesc to "">>
<</if>>

<<if ndef _Slave.aphrodisiacs>>
	<<set _Slave.aphrodisiacs to 0>>
<</if>>

<<if ndef _Slave.curatives>>
	<<set _Slave.curatives to 0>>
<</if>>

<<set $slaves[_i] to _Slave>>
<</for>>
Done!

<<set $ver = "0.10.0">>
<<set $releaseID = 1000>>


code:
:: Mother Daughter Workaround

Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence.

<<AddSlave $activeSlave>>

<<set _secondSlave = clone($activeSlave)>>
<<unset $activeSlave>>
<<NationalityToName _secondSlave>>
<<NationalityToAccent _secondSlave>>

<<set _secondSlave.ID = _secondSlave.ID + 1000>>
<<set _secondSlave.devotion -= random(1,3)>>
<<set _secondSlave.oldDevotion = _secondSlave.devotion>>
<<set _secondSlave.trust -= random(1,3)>>
<<set _secondSlave.oldTrust = _secondSlave.trust>>
<<set _secondSlave.health += 30>>
<<set _secondSlave.boobs -= 100>>
<<set _secondSlave.butt -= 1>>
<<if _secondSlave.vagina > -1>><<set _secondSlave.vagina -= 1>><</if>>

<<set $activeSlaveOneTimeMaxAge = Math.min(22, Math.max($minimumSlaveAge, _secondSlave.actualAge - 11))>>
<<set $activeSlaveOneTimeMinAge = Math.min(Math.max(8, $minimumSlaveAge), $activeSlaveOneTimeMaxAge)>>
<<if $pedo_mode == 1>><<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>><</if>>
<<set _secondSlave.actualAge = random($activeSlaveOneTimeMinAge, $activeSlaveOneTimeMaxAge)>>
<<set _secondSlave.visualAge = _secondSlave.actualAge>>
<<set _secondSlave.physicalAge = _secondSlave.actualAge>>

<<set _secondSlave.attrXX += random(-20,20)>>
<<set _secondSlave.attrXX = Math.clamp(_secondSlave.attrXX, 0, 100)>>
<<set _secondSlave.attrXY += random(-20,20)>>
<<set _secondSlave.attrXY = Math.clamp(_secondSlave.attrXY, 0, 100)>>
<<set _secondSlave.energy += random(-20,20)>>
<<set _secondSlave.fetishStrength = random(0,90)>>
<<set _secondSlave.fetish = either("none", "none", "none", "none", "none", "none", "submissive", "cumslut", "humiliation", "buttslut", "pregnancy", "sadist", "dom", "masochist")>>
<<set _secondSlave.behavioralFlaw = either("none", "none", "none", "arrogant", "bitchy", "odd", "hates men", "hates women", "hates women", "anorexic", "masochist", "gluttonous", "devout", "liberated")>>
<<if (_secondSlave.behavioralFlaw == "devout")>>
	<<set _secondSlave.sexualFlaw = either("none", "repressed",  "shamefast", "apathetic")>>
<<else>>
	<<set _secondSlave.sexualFlaw = either("none", "none", "none", "none", "hates oral", "hates anal", "hates penetration", "repressed", "idealistic", "shamefast", "apathetic", "crude", "judgemental")>>
<</if>>

<<if $familyTesting == 1>>
	<<set _secondSlave.daughters = 0>>
	<<set _secondSlave.mother = _secondSlave.ID - 1000>>
<<else>>
	<<set _secondSlave.relation = "daughter">>
	<<set _secondSlave.relationTarget = _secondSlave.ID - 1000>>
<</if>>

<<if _secondSlave.boobs > 200>>
	<<set _secondSlave.boobs += random(-1, 1)*100>>
<</if>>

<<if _secondSlave.butt > 1>>
	<<set _secondSlave.butt += random(-1, 1)>>
<</if>>

<<AddSlave _secondSlave>>

repo_name: nook/fc


code:
:: Multiple Organ Implant [nobr]

You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized remote surgery<<else>>remote surgery<</if>> and start having the slaves with <<if ($organsCompleted > 0) && ($limbsCompleted > 0)>>organs or limbs <<elseif ($organsCompleted > 1)>>organs <<elseif ($limbsCompleted > 1)>>sets of limbs <</if>>that are ready be sent down.

<<for _i = 0; _i < $slaves.length; _i++>>
	<<if ($organs.length == 0) && ($limbs.length == 0)>><<break>><</if>>
	<<for _o = 0; _o < $organs.length; _o++>>
		<<if ($organs[_o].ID == $slaves[_i].ID) && ($organs[_o].weeksToCompletion == 0)>>
			<<set $activeSlave = $slaves[_i]>>

			<<switch $organs[_o].type>>
			<<case "penis">>
				<<if $activeSlave.dick == 0>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.prostate = 1>>
					<<set $activeSlave.dick to 2>>
					<<set $activeSlave.clit to 0>>
					<<set $activeSlave.foreskin to $activeSlave.dick>>
					<<set $activeSlave.health -= 20>>
					<<set $surgeryType = "addDick">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "testicles">>
				<<if ($activeSlave.dick >= 0) && ($activeSlave.balls == 0)>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.prostate = 1>>
					<<set $activeSlave.balls to 2>>
					<<set $activeSlave.ballType = "human">>
					<<set $activeSlave.scrotum to 2>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXY == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXY = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $potencyAge>>
								<<set $activeSlave.pubertyXY = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "addBalls">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "scrotum">>
				<<if ($activeSlave.scrotum == 0) && ($activeSlave.balls >= 0)>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.scrotum to $activeSlave.balls>>
					<<set $activeSlave.health -= 10>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 10>>
					<</if>>
					<<set $surgeryType = "addScrotum">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "foreskin">>
				<<if ($activeSlave.foreskin == 0) && ($activeSlave.penis >= 0)>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.foreskin to $activeSlave.penis>>
					<<set $activeSlave.health -= 10>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 10>>
					<</if>>
					<<set $surgeryType = "addForeskin">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "ovaries">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina >= 0)>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.ovaries to 1>>
					<<set $activeSlave.eggType = "human">>
					<<set $activeSlave.preg to 0>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "addOvaries">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "prostate">>
				<<if ($activeSlave.prostate == 0)>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.prostate = 1>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<set $surgeryType = "addProstate">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "eyes">>
				<<if ($activeSlave.eyes == -2) && ($activeSlave.origEye != "implant")>>
					<<set $cash -= $surgeryCost>>
					<<set $activeSlave.eyes to 1>>
					<<set $activeSlave.eyeColor to $activeSlave.origEye>>
					/* no way to salvage original eye color */
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<set $surgeryType = "unblind">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "voicebox">>
				<<if ($activeSlave.voice == 0)>>
					<<set $cash -= $surgeryCost>>

					<<if ($activeSlave.ovaries + $activeSlave.hormones) > 1>>
						<<set $activeSlave.voice = 3>>
					<<elseif ($activeSlave.balls > 0) || ($activeSlave.hormones < 0)>>
						<<set $activeSlave.voice = 1>>
					<<else>>
						<<set $activeSlave.voice = 2>>
					<</if>>
					<<set $activeSlave.health -= 10>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 10>>
					<</if>>
					<<set $surgeryType = "restoreVoice">>

					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "pigTesticles">>
				<<if ($activeSlave.dick >= 0) && ($activeSlave.balls == 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.balls = 3>>
					<<set $activeSlave.scrotum = 3>>
					<<set $activeSlave.ballType = "pig">>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXY == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXY = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $potencyAge>>
								<<set $activeSlave.pubertyXY = 1>>
							<</if>>
						<</if>>
					<</if>>

					<<set $surgeryType = "addPigBalls">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "dogTesticles">>
				<<if ($activeSlave.dick >= 0) && ($activeSlave.balls == 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.balls = 2>>
					<<set $activeSlave.ballType = "dog">>
					<<set $activeSlave.scrotum = 2>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXY == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXY = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $potencyAge>>
								<<set $activeSlave.pubertyXY = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "addDogBalls">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "pigOvaries">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina >= 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.ovaries = 1>>
					<<set $activeSlave.eggType = "pig">>
					<<set $activeSlave.preg = 0>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "addPigOvaries">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "dogOvaries">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina >= 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.ovaries = 1>>
					<<set $activeSlave.eggType = "dog">>
					<<set $activeSlave.preg = 0>>
					<<set $activeSlave.health -= 20>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "addDogOvaries">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "mpreg">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina < 0) && ($activeSlave.mpreg == 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.mpreg = 1>>
					<<set $activeSlave.eggType = "human">>
					<<set $activeSlave.preg = 0>>
					<<set $activeSlave.health -= 40>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "mpreg">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "mpregPig">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina < 0) && ($activeSlave.mpreg == 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.mpreg = 1>>
					<<set $activeSlave.eggType = "pig">>
					<<set $activeSlave.preg = 0>>
					<<set $activeSlave.health -= 40>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "mpregPig">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<case "mpregDog">>
				<<if ($activeSlave.ovaries == 0) && ($activeSlave.vagina < 0) && ($activeSlave.mpreg == 0)>>
					<<set $cash -= $surgeryCost>>

					<<set $activeSlave.mpreg = 1>>
					<<set $activeSlave.eggType = "dog">>
					<<set $activeSlave.preg = 0>>
					<<set $activeSlave.health -= 40>>
					<<if $organFarmUpgrade == 2>>
						<<set $activeSlave.chem += 20>>
					<</if>>
					<<if $activeSlave.pubertyXX == 0>>
						<<if $precociousPuberty == 1>>
							<<set $activeSlave.pubertyXX = ($activeSlave.physicalAge+1)>>
						<<else>>
							<<if $activeSlave.physicalAge >= $fertilityAge>>
								<<set $activeSlave.pubertyXX = 1>>
							<</if>>
						<</if>>
					<</if>>
					<<set $surgeryType = "mpregDog">>
					<<include "Surgery Degradation">>

					<<set $dump = $organs.pluck([_o], [_o])>>
				<</if>>
			<<default>>
				Error: OrganType: $organs[_o].type not known.
			<</switch>>

			<<set $slaves[_i] = $activeSlave>>
			<<break>>
		<</if>>
	<</for>>
	<<if $slaves[_i].amp != 0>>
	<<for _l = 0; _l < $limbs.length; _l++>>
		<<if ($limbs[_l].ID == $slaves[_i].ID) && ($organs[_o].weeksToCompletion == 0)>>
			<<set $activeSlave = $slaves[_i]>>

			<<switch $limbs[_l].type>>
			<<case "simple">>
				<<set $activeSlave.amp = -1>>
				<<set $surgeryType = "basicPLimbs">>
			<<case "sex">>
				<<set $activeSlave.amp = -2>>
				<<set $surgeryType = "sexPLimbs">>
			<<case "beauty">>
				<<set $activeSlave.amp = -3>>
				<<set $surgeryType = "beautyPLimbs">>
			<<case "combat">>
				<<set $activeSlave.amp = -4>>
				<<set $surgeryType = "combatPLimbs">>
			<<case "cyber">>
				<<set $activeSlave.amp = -5>>
				<<set $surgeryType = "cyberPLimbs">>
			<</switch>>

			<<set $cash -= $surgeryCost>>
			<<set $activeSlave.health -= 10>>

			<<include "Surgery Degradation">>
			<<set $dump = $limbs.pluck([_l], [_l])>>

			<<set $slaves[_i] = $activeSlave>>
			<<break>>
		<</if>>
	<</for>>
	<</if>>

<</for>>

/* This needs to be down here to over-ride any Surgery Degredation calls */
<<set $nextButton = "Continue">>
<<set $nextLink = "Main">>

/* Clean-up */
<<set $organsCompleted = 0>>
<<for _i = 0; _i < $organs.length; _i++>>
	<<if $organs[_i].weeksToCompletion == 0>>
		<<set $organsCompleted++>>
	<</if>>
<</for>>

<<set $limbsCompleted = 0>>
<<for _i = 0; _i < $limbs.length; _i++>>
	<<if $limbs[_i].weeksToCompletion == 0>>
		<<set $limbsCompleted++>>
	<</if>>
<</for>>


code:
:: Neighbor Description [nobr]

<br>
''$arcologies[$i].name'' is located to the $arcologies[$i].direction of your arcology. It is governed by
<<switch $arcologies[$i].government>>
<<case "elected officials">>
	elected officials, periodically paralyzing its development.
<<case "a committee">>
	a committee, hindering its development.
<<case "an oligarchy">>
	a small group of leading citizens, making its development very unpredictable.
<<case "your trustees">>
	a small group of leading citizens who are serving as your trustees.
<<case "an individual">>
	an individual, making its development vibrant but unpredictable.
<<case "your agent">>
	your agent, who is directing the arcology in your stead.
<<case "a corporation">>
	a corporation, making its development steady and unspectacular.
<<default>>
	direct democracy, making its development dangerously unstable.
<</switch>>
<<if $arcologies[$i].direction == 0>>
  <<set $economicUncertainty = 5>>
<<else>>
  <<set $economicUncertainty = 10>>
<</if>>
<<if $arcologies[$i].government != "your trustees">>
<<if $arcologies[$i].government != "your agent">>
Its leadership has control of approximately <<print Math.trunc(($arcologies[$i].ownership*random(100-$economicUncertainty,100+$economicUncertainty))/100)>>% of the arcology<<if $arcologies[$i].minority > $arcologies[$i].ownership-10>>, a dangerously narrow margin over competition with a <<print Math.trunc(($arcologies[$i].minority*random(100-$economicUncertainty,100+$economicUncertainty))/100)>>% share<</if>>.
<</if>>
<</if>>
<<if $arcologies[$i].PCminority > 0>>You own $arcologies[$i].PCminority% of this arcology<</if>><<if ($arcologies[$i].government == "your trustees") || ($arcologies[$i].government == "your agent")>><<if $arcologies[$i].minority > $arcologies[$i].PCminority-10>>, a dangerously narrow margin over competition with a <<print Math.trunc(($arcologies[$i].minority*random(100-$economicUncertainty,100+$economicUncertainty))/100)>>% share<</if>><</if>>.
<<set $economicUncertainty -= 2*$assistantPower>>
The arcology has an estimated GSP of @@color:yellowgreen;¤<<print Math.trunc((0.1*$arcologies[$i].prosperity*random(100-$economicUncertainty,100+$economicUncertainty))/100)>>m,@@
<<if Math.abs($arcologies[$i].prosperity - $averageProsperity) < 5>>
	average among
<<elseif $arcologies[$i].prosperity > $averageProsperity>>
	ahead of
<<else>>
	behind
<</if>>
its neighbors.

<<set $desc = 0>>
<<set $seed = []>>
<<if $arcologies[$i].FSSubjugationist != "unset">>
	<<if $arcologies[$i].FSSubjugationist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSSubjugationist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "racial Subjugationism, and is ">>
	<<if $arcologies[$i].FSSubjugationist > 95>>
	<<set $desc = $desc + "the home of an advanced project to create a subservient race of ">>
	<<set $desc = $desc + $arcologies[$i].FSSubjugationistRace>>
	<<set $desc = $desc + " slaves.">>
	<<elseif $arcologies[$i].FSSubjugationist > 40>>
	<<set $desc = $desc + "working to refine ">>
	<<set $desc = $desc + $arcologies[$i].FSSubjugationistRace>>
	<<set $desc = $desc + " slavery.">>
	<<else>>
	<<set $desc = $desc + "an excellent dumping ground for low quality ">>
	<<set $desc = $desc + $arcologies[$i].FSSubjugationistRace>>
	<<set $desc = $desc + " slaves.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSSupremacist != "unset">>
	<<if $arcologies[$i].FSSubjugationist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSSubjugationist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "racial Supremacy, and is ">>
	<<if $arcologies[$i].FSSubjugationist > 95>>
	<<set $desc = $desc + "a global magnet for ">>
	<<set $desc = $desc + $arcologies[$i].FSSupremacistRace>>
	<<set $desc = $desc + " nationalists.">>
	<<elseif $arcologies[$i].FSSubjugationist > 40>>
	<<set $desc = $desc + "becoming increasingly free of ">>
	<<set $desc = $desc + $arcologies[$i].FSSupremacistRace>>
	<<set $desc = $desc + " slaves.">>
	<<else>>
	<<set $desc = $desc + "the site of a furious debate over existing ">>
	<<set $desc = $desc + $arcologies[$i].FSSupremacistRace>>
	<<set $desc = $desc + " slaves.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSRepopulationFocus != "unset">>
	<<if $arcologies[$i].FSRepopulationFocus > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSRepopulationFocus > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Repopulation, and is ">>
	<<if $arcologies[$i].FSRepopulationFocus > 95>>
	<<set $desc = $desc + "notorious for the size and number of pregnancies among its population.">>
	<<elseif $arcologies[$i].FSRepopulationFocus > 40>>
	<<set $desc = $desc + "known to be a good place to find slavegirls heavy with children.">>
	<<else>>
	<<set $desc = $desc + "actively importing fertile slave girls.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSRestart != "unset">>
	<<if $arcologies[$i].FSRestart > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSRestart > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Eugenics, and is ">>
	<<if $arcologies[$i].FSRestart > 95>>
	<<set $desc = $desc + "notorious for the number of powerful civilians inhabiting it.">>
	<<elseif $arcologies[$i].FSRestart > 40>>
	<<set $desc = $desc + "known to be a good place make connections.">>
	<<else>>
	<<set $desc = $desc + "actively importing sterilization supplies.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSGenderRadicalist != "unset">>
	<<if $arcologies[$i].FSGenderRadicalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSGenderRadicalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Gender Radicalism, and is ">>
	<<if $arcologies[$i].FSGenderRadicalist > 95>>
	<<set $desc = $desc + "notorious for the openness with which its citizens fuck its slavegirls in the ass until they cum.">>
	<<elseif $arcologies[$i].FSGenderRadicalist > 40>>
	<<set $desc = $desc + "known to be a good place to find slavegirls who cum when buttfucked.">>
	<<else>>
	<<set $desc = $desc + "actively importing a wider variety of slave girls.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSGenderFundamentalist != "unset">>
	<<if $arcologies[$i].FSGenderFundamentalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSGenderFundamentalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Gender Fundamentalism, and is ">>
	<<if $arcologies[$i].FSGenderFundamentalist > 95>>
	<<set $desc = $desc + "famous for its slave schools, crowded with a future generation of world class slaves.">>
	<<elseif $arcologies[$i].FSGenderFundamentalist > 40>>
	<<set $desc = $desc + "remarkable for its crowds of hugely pregnant slave women.">>
	<<else>>
	<<set $desc = $desc + "importing increasing numbers of fertile slaves.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSPaternalist != "unset">>
	<<if $arcologies[$i].FSPaternalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSPaternalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Paternalism, and is ">>
	<<if $arcologies[$i].FSPaternalist > 95>>
	<<set $desc = $desc + "the home of an educated, enlightened caste of slaves more productive than some arcologies' citizens.">>
	<<elseif $arcologies[$i].FSPaternalist > 40>>
	<<set $desc = $desc + "becoming known for its unusually cheerful atmosphere.">>
	<<else>>
	<<set $desc = $desc + "starting to demand abused slaves whose lives can be turned around.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSDegradationist != "unset">>
	<<if $arcologies[$i].FSDegradationist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSDegradationist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Degradationism, and is ">>
	<<if $arcologies[$i].FSDegradationist > 95>>
	<<set $desc = $desc + "renowned and feared by slaves worldwide, as a place of blood and steel from which few ever leave.">>
	<<elseif $arcologies[$i].FSDegradationist > 40>>
	<<set $desc = $desc + "becoming dreaded by slaves, since the few it exports are full of unbelievably awful stories.">>
	<<else>>
	<<set $desc = $desc + "importing a rapidly increasing number of slaves, for some reason.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSBodyPurist != "unset">>
	<<if $arcologies[$i].FSBodyPurist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSBodyPurist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Body Purism, and is ">>
	<<if $arcologies[$i].FSBodyPurist > 95>>
	<<set $desc = $desc + "a world leader in the drug industry due to its pharmaceutical research breakthroughs.">>
	<<elseif $arcologies[$i].FSBodyPurist > 40>>
	<<set $desc = $desc + "pouring an ever increasing amount of money into drug research.">>
	<<else>>
	<<set $desc = $desc + "setting up research programs to develop better slave drugs.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSTransformationFetishist != "unset">>
	<<if $arcologies[$i].FSTransformationFetishist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSTransformationFetishist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Transformation Fetishism, and is ">>
	<<if $arcologies[$i].FSTransformationFetishist > 95>>
	<<set $desc = $desc + "renowned as the source of some of the world's most unbelievable surgical transformations.">>
	<<elseif $arcologies[$i].FSTransformationFetishist > 40>>
	<<set $desc = $desc + "rapidly moving from mere breast expansion to more esoteric surgical fetishism.">>
	<<else>>
	<<set $desc = $desc + "receiving daily shipments of silicone and surgical necessities.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSYouthPreferentialist != "unset">>
	<<if $arcologies[$i].FSYouthPreferentialist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSYouthPreferentialist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Youth Preferentialism, and is ">>
	<<if $arcologies[$i].FSYouthPreferentialist > 95>>
	<<set $desc = $desc + "famous for the intense celebratory attention slaves receive there once reaching their majorities.">>
	<<elseif $arcologies[$i].FSYouthPreferentialist > 40>>
	<<set $desc = $desc + "moving virginity and the taking of virginity ever higher in the public estimation.">>
	<<else>>
	<<set $desc = $desc + "starting to get a reputation as an excellent place to get a good price for a virgin.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSMaturityPreferentialist != "unset">>
	<<if $arcologies[$i].FSMaturityPreferentialist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSMaturityPreferentialist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Maturity Preferentialism, and is ">>
	<<if $arcologies[$i].FSMaturityPreferentialist > 95>>
	<<set $desc = $desc + "world famous among mature slaves, who see it as a paradise in which MILFs are the most valuable girls around.">>
	<<elseif $arcologies[$i].FSMaturityPreferentialist > 40>>
	<<set $desc = $desc + "striking for the variety of well-preserved beauties that can be seen there.">>
	<<else>>
	<<set $desc = $desc + "displaying an increasing demand for enslaved housewives and professional women.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSSlimnessEnthusiast != "unset">>
	<<if $arcologies[$i].FSSlimnessEnthusiast > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSSlimnessEnthusiast > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Slimness Enthusiasm, and is ">>
	<<if $arcologies[$i].FSSlimnessEnthusiast > 95>>
	<<set $desc = $desc + "very well known for the wonderful variety of nubile bodies that can be seen there.">>
	<<elseif $arcologies[$i].FSSlimnessEnthusiast > 40>>
	<<set $desc = $desc + "becoming known as an arcology that slims slaves down rather than turning them into piles of tits and ass.">>
	<<else>>
	<<set $desc = $desc + "starting to display unusual fashions regarding breasts and butts.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSAssetExpansionist != "unset">>
	<<if $arcologies[$i].FSAssetExpansionist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSAssetExpansionist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Asset Expansionism, and is ">>
	<<if $arcologies[$i].FSAssetExpansionist > 95>>
	<<set $desc = $desc + "widely considered an interior design masterpiece for its adaptations to slaves with fifty kilos of tits.">>
	<<elseif $arcologies[$i].FSAssetExpansionist > 40>>
	<<set $desc = $desc + "a popular tourist destination just for the view, which features some truly spectacular bare boobs.">>
	<<else>>
	<<set $desc = $desc + "demanding fatter slaves, since its citizens are learning they absorb growth hormones better.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSPastoralist != "unset">>
	<<if $arcologies[$i].FSPastoralist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSPastoralist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Pastoralist, and is ">>
	<<if $arcologies[$i].FSPastoralist > 95>>
	<<set $desc = $desc + "a world-renowned producer of cowgirl dairy products of all kinds.">>
	<<elseif $arcologies[$i].FSPastoralist > 40>>
	<<set $desc = $desc + "devoting more and more of its slaves to work as cowgirls, or to the service and upkeep of cowgirls.">>
	<<else>>
	<<set $desc = $desc + "displaying an increasing public appetite for dairy, and yet imports almost no true cow's milk.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSPhysicalIdealist != "unset">>
	<<if $arcologies[$i].FSPhysicalIdealist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSPhysicalIdealist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Physical Idealism, and is ">>
	<<if $arcologies[$i].FSPhysicalIdealist > 95>>
	<<set $desc = $desc + "a constant standout at international athletic competitions, where both its citizens and slaves do very well.">>
	<<elseif $arcologies[$i].FSPhysicalIdealist > 40>>
	<<set $desc = $desc + "quite a sight, since its citizens and slaves all lift. Constantly.">>
	<<else>>
	<<set $desc = $desc + "the site of a musclegirl fetish community.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSChattelReligionist != "unset">>
	<<if $arcologies[$i].FSChattelReligionist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSChattelReligionist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Chattel Religionism, and is ">>
	<<if $arcologies[$i].FSChattelReligionist > 95>>
	<<set $desc = $desc + "a significant force in the global development of Chattel Religionist dogma.">>
	<<elseif $arcologies[$i].FSChattelReligionist > 40>>
	<<set $desc = $desc + "a popular destination for devout old world citizens engaging in sex tourism.">>
	<<else>>
	<<set $desc = $desc + "in the throes of public dissention over its religious laws.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSRomanRevivalist != "unset">>
	<<if $arcologies[$i].FSRomanRevivalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSRomanRevivalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Roman Revivalism, and is ">>
	<<if $arcologies[$i].FSRomanRevivalist > 95>>
	<<set $desc = $desc + "hugely famous for its broadcasts of gladiatorial combat, popular even in the old world.">>
	<<elseif $arcologies[$i].FSRomanRevivalist > 40>>
	<<set $desc = $desc + "almost obnoxiously aspirational, with citizens competing to serve the state best.">>
	<<else>>
	<<set $desc = $desc + "working its way through sword and sandals fashion towards proper historicity.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSEgyptianRevivalist != "unset">>
	<<if $arcologies[$i].FSEgyptianRevivalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSEgyptianRevivalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Egyptian Revivalism, and is ">>
	<<if $arcologies[$i].FSEgyptianRevivalist > 95>>
	<<set $desc = $desc + "a world famous tourist destination for the traditional festival in its plaza, which never stops.">>
	<<elseif $arcologies[$i].FSEgyptianRevivalist > 40>>
	<<set $desc = $desc + "very much under renovation, as vast blocks of stone are imported around the clock.">>
	<<else>>
	<<set $desc = $desc + "struggling with the fashion implications of so much white linen everywhere.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSEdoRevivalist != "unset">>
	<<if $arcologies[$i].FSEdoRevivalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSEdoRevivalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Edo Revivalism, and is ">>
	<<if $arcologies[$i].FSEdoRevivalist > 95>>
	<<set $desc = $desc + "visibly trailing cherry blossoms, blown off its balconies by the wind.">>
	<<elseif $arcologies[$i].FSEdoRevivalist > 40>>
	<<set $desc = $desc + "becoming a notable cultural center, even in the old world.">>
	<<else>>
	<<set $desc = $desc + "the object of considerable debate among socially awkward teenagers worldwide.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSArabianRevivalist != "unset">>
	<<if $arcologies[$i].FSArabianRevivalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSArabianRevivalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Arabian Revivalism, and is ">>
	<<if $arcologies[$i].FSArabianRevivalist > 95>>
	<<set $desc = $desc + "a famous center of Arabian romanticism, since it has the wisdom not to be historically perfect.">>
	<<elseif $arcologies[$i].FSArabianRevivalist > 40>>
	<<set $desc = $desc + "working through which parts of Arabian romanticism to adopt and which to discard.">>
	<<else>>
	<<set $desc = $desc + "eagerly revelling in the most romantic parts of superficial Arabian romanticism.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>
<<if $arcologies[$i].FSChineseRevivalist != "unset">>
	<<if $arcologies[$i].FSChineseRevivalist > 80>>
	<<set $desc = "committed to ">>
	<<elseif $arcologies[$i].FSChineseRevivalist > 20>>
	<<set $desc = "pursuing ">>
	<<else>>
	<<set $desc = "just establishing ">>
	<</if>>
	<<set $desc = $desc + "Chinese Revivalism, and is ">>
	<<if $arcologies[$i].FSChineseRevivalist > 95>>
	<<set $desc = $desc + "now confidently mature about its possession of the Mandate of Heaven.">>
	<<elseif $arcologies[$i].FSChineseRevivalist > 40>>
	<<set $desc = $desc + "often aggressive about its status as the middle kingdom to the point that it betrays uncertainty.">>
	<<else>>
	<<set $desc = $desc + "moving towards a stage of refinement that will allow it to present itself properly.">>
	<</if>>
	<<set $seed.push($desc)>>
<</if>>

<<if $seed.length > 0>>
<<if $seed.length > 2>>
	Its culture is complex. First, it is $seed[0]
	<<for $j = 1; $j < $seed.length; $j++>>
	<<if $j < $seed.length-1>>It is<<else>>Finally, the arcology is<</if>> $seed[$j]
	<</for>>
<<elseif $seed.length == 2>>
	Its culture is developing along two lines. First, it is $seed[0] Second, it is $seed[1]
<<else>>
	Its culture is diverging from the old world: it is $seed[0]
<</if>>
<</if>>


code:
:: Neighbor Interact [nobr]

<<set $nextLink = "Manage Arcology">>
<<set $nextButton = "Back">>

<<for $i = 0; $i < $arcologies.length; $i++>>
  <<if $arcologies[$i].direction == $activeArcology.direction>>
	<<set $arcologies[$i] = $activeArcology>><<break>>
  <</if>>
<</for>>

<<if $buyArcologyDirection != 0>>
<<for $i = 0; $i < $arcologies.length; $i++>>
  <<if $arcologies[$i].direction == $buyArcologyDirection>>
	<<set $cash -= $transaction*(500*Math.trunc($arcologies[$i].prosperity*(1+($arcologies[$i].demandFactor/100))))>>
	<<set $cash -= 10000>>
	<<set $arcologies[$i].PCminority += $transaction>>
	<<set $arcologies[$i].demandFactor += $transaction*5>>
	<<break>>
  <</if>>
<</for>>
<</if>>
<<set $buyArcologyDirection = 0>>
<<if $sellArcologyDirection != 0>>
<<for $i = 0; $i < $arcologies.length; $i++>>
  <<if $arcologies[$i].direction == $sellArcologyDirection>>
	<<set $cash += $transaction*(500*Math.trunc($arcologies[$i].prosperity*(1+($arcologies[$i].demandFactor/100))))>>
	<<set $arcologies[$i].PCminority -= $transaction>>
	<<set $arcologies[$i].demandFactor -= $transaction*2>>
	<<break>>
  <</if>>
<</for>>
<</if>>
<<set $sellArcologyDirection = 0>>
<<set $transaction = 0>>

<<if $arcologies[0].embargoTarget == -1>>
	You are not engaged in economic warfare against a neighboring arcology.
<<else>>
	<<for $i = 0; $i < $arcologies.length; $i++>>
	<<if $arcologies[$i].direction == $arcologies[0].embargoTarget>>
	You have targeted ''$arcologies[$i].name'' for economic warfare.
	<<break>>
	<</if>>
	<</for>>

    Its planned impacts will be
	<<if $arcologies[0].embargo == 3>>
	  ''widespread.'' [[Moderate|Neighbor Interact][$arcologies[0].embargo -= 1]]
	<<elseif $arcologies[0].embargo == 2>>
	  ''limited.'' [[Intensify|Neighbor Interact][$arcologies[0].embargo += 1]] | [[Moderate|Neighbor Interact][$arcologies[0].embargo -= 1]]
	<<else>>
	  ''nominal.'' [[Intensify|Neighbor Interact][$arcologies[0].embargo += 1]]
	<</if>>
<</if>>

<<if $arcologies[0].influenceTarget == -1>>
	You are not using your arcology's culture to attempt to influence neighboring arcologies' development.
<<else>>
	<<for $i = 0; $i < $arcologies.length; $i++>>
	<<if $arcologies[$i].direction == $arcologies[0].influenceTarget>>
	You have targeted ''$arcologies[$i].name'' for cultural influence.
	<<break>>
	<</if>>
	<</for>>
<</if>>

<<set $desc = []>>
<<if $arcologies[0].FSSubjugationist > 60>>
	<<set $desc.push("Racial Subjugation")>>
<</if>>
<<if $arcologies[0].FSSupremacist > 60>>
	<<set $desc.push("Racial Supremacy")>>
<</if>>
<<if $arcologies[0].FSRepopulationFocus > 60>>
	<<set $desc.push("Repopulation Focus")>>
<</if>>
<<if $arcologies[0].FSRestart > 60>>
	<<set $desc.push("Eugenics")>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist > 60>>
	<<set $desc.push("Gender Radicalism")>>
<</if>>
<<if $arcologies[0].FSGenderFundamentalist > 60>>
	<<set $desc.push("Gender Fundamentalism")>>
<</if>>
<<if $arcologies[0].FSPaternalist > 60>>
	<<set $desc.push("Paternalism")>>
<</if>>
<<if $arcologies[0].FSDegradationist > 60>>
	<<set $desc.push("Degradationism")>>
<</if>>
<<if $arcologies[0].FSBodyPurist > 60>>
	<<set $desc.push("Body Purism")>>
<</if>>
<<if $arcologies[0].FSTransformationFetishist > 60>>
	<<set $desc.push("Transformation Fetishism")>>
<</if>>
<<if $arcologies[0].FSYouthPreferentialist > 60>>
	<<set $desc.push("Youth Preferentialism")>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist > 60>>
	<<set $desc.push("Maturity Preferentialism")>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast > 60>>
	<<set $desc.push("Slimness Enthusiasm")>>
<</if>>
<<if $arcologies[0].FSAssetExpansionist > 60>>
	<<set $desc.push("Asset Expansionism")>>
<</if>>
<<if $arcologies[0].FSPastoralist > 60>>
	<<set $desc.push("Pastoralism")>>
<</if>>
<<if $arcologies[0].FSPhysicalIdealist > 60>>
	<<set $desc.push("Physical Idealism")>>
<</if>>
<<if $arcologies[0].FSChattelReligionist > 60>>
	<<set $desc.push("Chattel Religionism")>>
<</if>>
<<if $arcologies[0].FSRomanRevivalist > 60>>
	<<set $desc.push("Roman Revivalism")>>
<</if>>
<<if $arcologies[0].FSEgyptianRevivalist > 60>>
	<<set $desc.push("Egyptian Revivalism")>>
<</if>>
<<if $arcologies[0].FSEdoRevivalist > 60>>
	<<set $desc.push("Edo Revivalism")>>
<</if>>
<<if $arcologies[0].FSArabianRevivalist > 60>>
	<<set $desc.push("Arabian Revivalism")>>
<</if>>
<<if $arcologies[0].FSChineseRevivalist > 60>>
	<<set $desc.push("Chinese Revivalism")>>
<</if>>

<<if $desc.length == 0>>
	Your arcology's culture has not developed to the point where it can meaningfully influence other arcologies.
<<elseif $desc.length > 2>>
	Your arcology's mature culture is capable of exerting great cultural sway over other arcologies. It can readily project $desc[0],
	<<for $i = 1; $i < $desc.length; $i++>>
		<<if $i < $desc.length-1>>
		$desc[$i],
	<<else>>
		and $desc[$i].
	<</if>>
	<</for>>
<<elseif $desc.length == 2>>
	Your arcology's culture is capable of exerting some cultural sway over other arcologies. It can effectively project $desc[0] and $desc[1].
<<else>>
	Your arcology's culture is capable of starting to exert cultural sway over other arcologies. It can project $desc[0].
<</if>>

<<for $i = 0; $i < $arcologies.length; $i++>>
  <<if $arcologies[$i].direction == $activeArcology.direction>>
	<<include "Neighbor Description">>
  <</if>>
<</for>>

    [[Target for economic warfare|Neighbor Interact][$arcologies[0].embargoTarget = $activeArcology.direction]]
<<if $desc.length > 0>>
  | [[Set as influence target|Neighbor Interact][$arcologies[0].influenceTarget = $activeArcology.direction]]
<</if>>

    You own ''$activeArcology.PCminority%'' of $activeArcology.name.
<<set $seed = 500*Math.trunc($activeArcology.prosperity*(1+($activeArcology.demandFactor/100)))>>
A 1% interest in $activeArcology.name is worth ¤$seed and will require a transaction cost of ¤10000 to acquire.
<<if ($activeArcology.ownership + $activeArcology.PCminority + $activeArcology.minority < 100)>>
	[[Buy|Neighbor Interact][$buyArcologyDirection = $activeArcology.direction, $transaction = 1]]
	<<if ($activeArcology.ownership + $activeArcology.PCminority + $activeArcology.minority <= 90)>>
	<<if $cash > 10*($seed)>>
		[[Buy 10%|Neighbor Interact][$buyArcologyDirection = $activeArcology.direction, $transaction = 10]]
		//Transaction costs will only be paid once//
	<</if>>
	<</if>>
<</if>>
<<if ($activeArcology.ownership + $activeArcology.PCminority + $activeArcology.minority < 100) && ($activeArcology.PCminority > 0)>>|<</if>>
<<if $activeArcology.PCminority > 0>>
	[[Sell|Neighbor Interact][$sellArcologyDirection = $activeArcology.direction, $transaction = 1]]
	<<if $activeArcology.PCminority >= 10>>
		| [[Sell 10%|Neighbor Interact][$sellArcologyDirection = $activeArcology.direction, $transaction = 10]]
	<</if>>
<</if>>

<<if ($activeArcology.government == "your trustees") || ($activeArcology.government == "your agent")>>
<<if $activeArcology.government == "your trustees">>

	[[Appoint an agent|Agent Select]]
<<else>>

	<<for $j = 0; $j < $leaders.length; $j++>>
	<<if $activeArcology.leaderID == $leaders[$j].ID>>
		Your agent @@color:pink;$leaders[$j].slaveName@@ is running this arcology. Her <<if $leaders[$j].intelligence >= 3>>brilliance<<else>>intelligence<</if>> and education are the most important qualities for her.
		<<if $leaders[$j].actualAge > 35>>
			As with the Head Girl position, her age and experience lend her leadership weight.
		<</if>>
		<<if $leaders[$j].career == "an arcology owner">>
			Her career as an arcology owner herself is, obviously, useful to her.
		<<elseif $HGCareers.includes($leaders[$j].career)>>
			Her career in leadership helps her.
		<</if>>
		<<if $leaders[$j].fetishStrength > 95>>
		<<if ($leaders[$j].fetish == "dom") || ($leaders[$j].fetish == "sadist")>>
			Her sexually dominant fetish helps her fill a leadership role.
		<<elseif ($leaders[$j].fetish == "submissive") || ($leaders[$j].fetish == "masochist")>>
			Unfortunately, she has an inappropriate fetish for a leader.
		<</if>>
		<</if>>
		<<if $leaders[$j].energy > 95>>
			Finally, her sexual depravity lets her fit into arcology society naturally.
		<</if>>
	<</if>>
	<</for>>
	[[Recall and reenslave her|Agent Retrieve]]
<</if>>
<<if $activeArcology.FSSubjugationist !== "unset">>

<<link "Force Abandonment of Racial Subjugation">><<set $activeArcology.FSSubjugationist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSSupremacist !== "unset">>

<<link "Force Abandonment of Racial Supremacy">><<set $activeArcology.FSSupremacist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSRepopulationFocus !== "unset">>

<<link "Force Abandonment of Repopulationism">><<set $activeArcology.FSRepopulationFocus = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSRestart !== "unset">>

<<link "Force Abandonment of Eugenics">><<set $activeArcology.FSRestart = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSGenderRadicalist !== "unset">>

<<link "Force Abandonment of Gender Radicalism">><<set $activeArcology.FSGenderRadicalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSGenderFundamentalist !== "unset">>

<<link "Force Abandonment of Gender Fundamentalism">><<set $activeArcology.FSGenderFundamentalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSPaternalist !== "unset">>

<<link "Force Abandonment of Paternalism">><<set $activeArcology.FSPaternalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSDegradationist !== "unset">>

<<link "Force Abandonment of Degradationism">><<set $activeArcology.FSDegradationist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSBodyPurist !== "unset">>

<<link "Force Abandonment of Body Purism">><<set $activeArcology.FSBodyPurist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSTransformationFetishist !== "unset">>

<<link "Force Abandonment of Transformation Fetishism">><<set $activeArcology.FSTransformationFetishist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSYouthPreferentialist !== "unset">>

<<link "Force Abandonment of Youth Preferentialism">><<set $activeArcology.FSYouthPreferentialist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSMaturityPreferentialist !== "unset">>

<<link "Force Abandonment of Maturity Preferentialism">><<set $activeArcology.FSMaturityPreferentialist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSSlimnessEnthusiast !== "unset">>

<<link "Force Abandonment of Slimness Enthusiasm">><<set $activeArcology.FSSlimnessEnthusiast = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSAssetExpansionist !== "unset">>

<<link "Force Abandonment of Asset Expansionism">><<set $activeArcology.FSAssetExpansionist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSPastoralist !== "unset">>

<<link "Force Abandonment of Pastoralism">><<set $activeArcology.FSPastoralist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSPhysicalIdealist !== "unset">>

<<link "Force Abandonment of Physical Idealism">><<set $activeArcology.FSPhysicalIdealist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSChattelReligionist !== "unset">>

<<link "Force Abandonment of Chattel Religionism">><<set $activeArcology.FSChattelReligionist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSRomanRevivalist !== "unset">>

<<link "Force Abandonment of Roman Revivalism">><<set $activeArcology.FSRomanRevivalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSEgyptianRevivalist !== "unset">>

<<link "Force Abandonment of Egyptian Revivalism">><<set $activeArcology.FSEgyptianRevivalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSEdoRevivalist !== "unset">>

<<link "Force Abandonment of Edo Revivalism">><<set $activeArcology.FSEdoRevivalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSArabianRevivalist !== "unset">>

<<link "Force Abandonment of Arabian Revivalism">><<set $activeArcology.FSArabianRevivalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<<if $activeArcology.FSChineseRevivalist !== "unset">>

<<link "Force Abandonment of Chinese Revivalism">><<set $activeArcology.FSChineseRevivalist = "unset">><<goto "Neighbor Interact">><</link>>
<</if>>
<</if>>

<<if $arcologies[0].embargoTarget != -1>>

  [[Cancel economic warfare|Neighbor Interact][$arcologies[0].embargoTarget = -1]]
<</if>>
<<if $arcologies[0].influenceTarget != -1>>

  [[Stop trying to influence neighboring arcologies|Neighbor Interact][$arcologies[0].influenceTarget = -1]]
<</if>>