code:
:: Free Range Dairy Assignment Scene [nobr]

/* This scene wants $dairyRestraintsSetting == 0 && $activeSlave.devotion > 0 && $activeSlave.fetish != "mindbroken" */

<<set $nextButton = "Continue", $nextLink = $returnTo>>
<<setLocalPronouns $activeSlave>>

$activeSlave.slaveName reports to the dairy.
<<if $activeSlave.energy > 90 >>
	$He rejoices since $he is actually eager to be milked.
<</if>>
/* AROUSAL WHEN ENTERING */
<<set _aroused = false >>
<<if $dairySlaves > 1 && canSee($activeSlave)>>

While <<if canWalk($activeSlave) >>walking<<else>>being carried<</if>> to $his designated stall, $he passes the other cows currently at their milking machines. Not being hurried, $he occasionally watches a cow in detail.
	<<if $activeSlave.fetish == "boobs">>
		/* TODO: check if there actually are lactating cows at the dairy */
		<<set _aroused = true>>

 $He cannot help but to feel aroused at the view of all those udders being thoroughly milked.
		<<if $activeSlave.sexualFlaw == "breast growth">>
			$He is already fantasizing of having $his breasts expanded to ridiculous proportions<<if $activeSlave.lactation > 0>> so $he can produce even more milk<</if>>.
		<</if>>
	<<elseif $activeSlave.fetish == "pregnancy" && $dairyPregSetting == 1>>
		<<set _aroused = true >>

 The automatic impregnators are currently active. They are not running on an industrial setting, but on a gentler one. Every fertile cow's pussy is filled with a dildo attached on a mechanical arm. There is a wide range of sizes. Some dildos are small and provide expert stimulation for the sensitive areas. Other cows seem to prefer forearm-length horse-cocks for more intense stimulation. The automatic thrusting speeds vary, too, but all of them fill the slave completely so not a drop of sperm can leak out. Some cows are currently asleep. Their respective stimulators are comfortably resting deeply buried in their vaginas, keeping the loads right where they belong. Whenever a cow reaches climax, the sodomizers can thrust at ridiculous speeds to encourage fertilization.
		The sight of all those lovely baby bumps arouses $activeSlave.slaveName.
		<<if $activeSlave.sexualFlaw == "breeder" && isFertile($activeSlave)>>
			$He cannot wait to get impregnated too.
		<</if>>
	<<elseif $activeSlave.fetish == "buttslut" && $dairyStimulatorsSetting == 1>>
		<<set _aroused = true >>

 The automatic sodomizers are currently active. They are not running on an industrial setting, but on a gentler one. Every cow's anus is filled with a dildo attached on a mechanical arm. There is a wide range of sizes. Some dildos are small and provide expert stimulation for the sensitive areas. Other cows seem to prefer forearm-length horse-cocks for more intense stimulation. The automatic thrusting speeds vary, too. Some cows are currently asleep. Their respective stimulators are comfortably resting deeply buried in their behinds. Whenever a cow reaches climax, the sodomizers can thrust at ridiculous speeds. Good thing they provide not only nutrition, but lubrication, too.
		The sight of all those lovely rear-ends relentlessly reamed arouses $activeSlave.slaveName.
		<<if $activeSlave.sexualFlaw == "anal addict">>
			$He cannot wait to be sodomized, too.
		<</if>>
	<</if>>

	<<for _frdas = 0; _frdas < $slaves.length; _frdas++>>
		<<if $slaves[_frdas].assignment == "work in the dairy" && $slaves[_frdas].ID != $activeSlave.ID && $slaves[_frdas].balls >= 10 && $slaves[_frdas].dick > 0>>
			<<setLocalPronouns $slaves[_frdas] 2>>
			<<set _aroused = true>>

 The hyper-endowed cum-cow $slaves[_frdas].slaveName is the pride of $dairyName. _He2 is limply hanging on _his2 milking chair, panting heavily because of the constant suction on _his2 dick. _He2 is obviously nearing climax. Soon, _his2 eyes bulge and _his2 muscles tense.
			<<if $dairyStimulatorsSetting == 1>>
				<<if $slaves[_frdas].prostate != 0>>
					_His2 anus clenches around the dildo in _his2 rear. The automatic sodomizer speeds up to give _his2 prostate a helpful pounding.
				<<else>>
					_He2 lacks a prostate, so the automatic sodomizer is forced to pound _him2 mercilessly to make _him2 cum.
				<</if>>
			<<elseif ($Milkmaid.dick > 4) && (canPenetrate($Milkmaid))>>
				$Milkmaid.slaveName quickly steps in and penetrates _his2 rear to push _him2 powerfully over the edge.
			<<else>>
				_His2 butthole opens and closes.
			<</if>>
			_His2 cock twitches as it begins to unload. Inhumanly large amounts of semen spurt into the receptacle which encases _his2 dick. _His2 orgasm does not seem to end for minutes. The milking machine keeps _him2 cumming longer than naturally possible. Only primal moans escape _his2 throat.
			As _his2 orgasm finally subsides, _he2 slumps back, grinning in post-orgasmic bliss.
			All things considered, $slaves[_frdas].slaveName seems to be very happy with being a cow.
			<<if $slaves[_frdas].dickTat == "bovine patterns" >>Even _his2 dick is tattooed to look like a bull's.<</if>>

"Moo", _he2 moans lustily, imitating a cow.
			<<break>>
		<</if>>
	<</for>>
/* TODO: watch a specific cow, e.g. lover or relative or huge-titted */
<</if>>

<<if _aroused>>

	All this lewd display turns $activeSlave.slaveName on and $he is almost overcome by lust. $He realizes, $he probably should not have taken so much interest in the other cows.
	<<if $activeSlave.dick > 0>>
		$He feels $his blood rush into $his <<if $activeSlave.dick > 8>>gargantuan<<elseif $activeSlave.dick > 6>>huge<<elseif $activeSlave.dick > 2>>fair-sized<<else>>small<</if>> dick.
	<</if>>
	<<if $activeSlave.vagina > -1 >>
		$His pussy moistens.
	<</if>>
	<<if $activeSlave.lactation > 0>>
		<<if $activeSlave.nipples == "fuckable">>
			Milk begins to leak out of $his nipplecunts.
		<<else>>
			$His milk-dripping nipples stiffen.
		<</if>>
	<</if>>
<</if>>
/* AROUSAL WHEN ENTERING END*/

/* GETTING IN */
Eventually, $activeSlave.slaveName arrives at $his designated milking stall.
<<set _assayedSlaveAvailable = 0>>
<<if $familyTesting == 1>>
	<<if totalRelatives($activeSlave) > 0>>
		<<set _relativeCattle = $slaves.filter(function(s) { return (areRelated(s, $activeSlave) && s.assignment == "work in the dairy") ; })>>
		<<if _relativeCattle.length > 0>>
			<<set _assayedSlave = _relativeCattle.random()>>
			<<set _assayedSlaveAvailable = 1>>
			<<if $activeSlave.mother == _assayedSlave.ID>>
				<<set _assayType = "mother">>
			<<elseif _assayedSlave.mother == $activeSlave.ID || _assayedSlave.father == $activeSlave.ID>>
				<<set _assayType = "daughter">>
			<<elseif $activeSlave.father == _assayedSlave.ID>>
				<<set _assayType = "father">>
			<<else>>
				<<switch areSisters($activeSlave, _assayedSlave)>>
				<<case 1>>
					<<set _assayType = "twin">>
				<<case 2>>
					<<set _assayType = "sister">>
				<<case 3>>
					<<set _assayType = "half-sister">>
				<</switch>>
			<</if>>
		<</if>>
	<</if>>
<<else>>
	<<if ($activeSlave.relation != 0)>>
		<<set _assayedSlave = getSlave($activeSlave.relationTarget)>>
		<<if (def _assayedSlave) && _assayedSlave.assignment == "work in the dairy">>
			<<set _assayedSlaveAvailable = 1>>
			<<set _assayType = $activeSlave.relation>>
		<</if>>
	<</if>>
<</if>> /*closes extended family mode */
<<if _assayedSlaveAvailable == 0 && $activeSlave.relationship > 0>>
	<<set _assayedSlave = getSlave($activeSlave.relationshipTarget)>>
	<<if (def _assayedSlave) && _assayedSlave.assignment == "work in the dairy">>
		<<set _assayedSlaveAvailable = 1>>
		<<switch $activeSlave.relationship>>
		<<case 1>>
			<<set _assayType = "friend">>
		<<case 2>>
			<<set _assayType = "best friend">>
		<<case 3>>
			<<set _assayType = "fuckbuddy">>
		<<case 4>>
			<<set _assayType = "lover">>
		<<case 5>>
			<<set _assayType = "slave wife">>
		<</switch>>
	<</if>>
<</if>>
<<if _assayedSlaveAvailable == 1>>
	<<setLocalPronouns _assayedSlave 2>>
	$His _assayType _assayedSlave.slaveName is at the dairy, too. _He2 is in the adjacent stall. The two of them are going to be milked right next to each other.
<</if>>

The only "furniture" in the stall looks like a dentist's chair. It looks very medical, but it turns out to be quite comfortable actually. $He <<if $activeSlave.devotion > 90>>eagerly<<elseif $activeSlave.slaveName < 40>>hesitantly<</if>> gets into the chair.
<<if $Milkmaid == 0 >>
Automated machinery springs to life, preparing $him for milking.
<<else>>
Your appointed milkmaid $Milkmaid.slaveName helps $activeSlave.slaveName with installing the milking devices.
<</if>>
<<if $activeSlave.lactation > 0 >>
Suction cups are attached <<if $activeSlave.nipples == "fuckable">>over<<else>>to<</if>> $his nipples.
<</if>>
<<if $activeSlave.balls > 0>>
	<<if $activeSlave.dick > 8>>
		A huge receptacle is attached to $his over-sized member.
	<<elseif $activeSlave.dick > 6>>
		A large cock-milker is attached to $his huge dick.
	<<elseif $activeSlave.dick > 2>>
		A special cock-milker is attached to $his dick.
	<<elseif $activeSlave.dick > 0>>
		A suction cup is attached to $his small dicklet. Due to the embarrassingly small size of $his penis, the very kind of cup is used that normally goes on nipples.
	<<else>>
		A suction cup is attached over $his hidden cumhole.
	<</if>>
<</if>>

<<if $dairyFeedersSetting == 1>>
	Near the headrest of the chair, an artificial phallus is installed. The cow can easily reach it with $his mouth. The phallus provides hydration and nutrition when sucked. The supplement consists of excess or low-quality milk and cum from the dairy itself as well as aphrodisiacs and hormones enhancing lactation and semen production.
	<<if $activeSlave.sexualFlaw == "cum addict" || $activeSlave.fetish == "cumslut">>
		$activeSlave.slaveName eagerly shoves the artificial phallus into $his mouth. $He gives it an experimental suckle. To $his joy, $he soon is rewarded with a fresh spurt of semen-like nutrition supplement. Then $he readjusts the holder to keep the phallus lodged in $his mouth, effectively forcing $himself to keep sucking the artificial dick.
	<</if>>
<</if>>

The milking chair comes with a small screen, providing mental stimulation for the cow. It is highly pornographic, of course. It also includes live-streams of close-ups from the cows being milked or their orifices being penetrated. $activeSlave.slaveName selects $his favorite program<<if canSee($activeSlave)>> to watch<<elseif canHear($activeSlave)>> to listen to<<else>> to feel the vibrations from<</if>>. It features
<<if $activeSlave.attrXY > $activeSlave.attrXX || $activeSlave.behavioralQuirk == "adores men">>
	men
<<else>>
	women
<</if>>
<<if ($activeSlave.fetish == "submissive")>>
	submitting to their sexual partners.
<<elseif ($activeSlave.fetish == "cumslut")>>
	<<if $activeSlave.attrXY > $activeSlave.attrXX || $activeSlave.behavioralQuirk == "adores men">>
		jacking off directly into the camera.
	<<else>>
		sucking dick for all it's worth.
	<</if>>
	<<if $dairyFeedersSetting == 1 >>
		The dairy feeders ejaculations are synced with the events in the video. $activeSlave.slaveName receives a load of cum-like nutrition every time a dick shoots. It really draws $him into the pornography.
	<</if>>
<<elseif ($activeSlave.fetish == "humiliation")>>
	being humiliated.
<<elseif ($activeSlave.fetish == "buttslut")>>
	being fucked in the ass.
	<<if $dairyStimulatorsSetting == 1>>
		The dairy stimulators are synced to the videos. The automatic sodomizers thrust in exactly the same way as the dicks or dildos in the video. $activeSlave.slaveName is amazed by this advanced pornography. It feels like it was $him being fucked in the videos all over.
	<</if>>
<<elseif ($activeSlave.fetish == "dom")>>
	dominating their sexual partners.
<<elseif ($activeSlave.fetish == "masochist")>>
	being flogged.
<<elseif ($activeSlave.fetish == "sadist")>>
	abusing their sexual partners.
<<elseif ($activeSlave.fetish == "pregnancy")>>
	<<if $activeSlave.attrXY > $activeSlave.attrXX || $activeSlave.behavioralQuirk == "adores men">>
		fucking pregnant women.
	<<else>>
		being fucked while pregnant.
		<<if $dairyPregSetting > 0>>
			The dairy stimulators are synced to the videos. The impregnating dildo thrusts in exactly the same way as the dicks or dildos in the video. $activeSlave.slaveName is amazed by this advanced pornography. It feels like it was $him being fucked and cummed inside in the videos all over.
		<</if>>
	<</if>>
<<else>>
	engaging in vanilla intercourse.
<</if>>

Sexual stimulation increases product output.
<<if $Milkmaid == 0 && $dairyStimulatorsSetting == 0>>
	Unfortunately, there is neither a milkmaid providing personal assistance nor automatic sodomizers installed in your dairy.

<<else>>
	<<if $Milkmaid != 0>>
		<<setLocalPronouns $Milkmaid 2>>
		Your milkmaid $Milkmaid.slaveName is working in the dairy. Whenever a cow needs _his2 assistance, _he2 is happy to help.
		<<if $Milkmaid.dick > 1 && canPenetrate($Milkmaid)>>
			Most often, _he2 uses _his2 cock to penetrate the cows.
		<<else>>
			Lacking penile equipment of appropriate size, _he2 relies on _his2 tongue to stimulate the cow's sexual organs.
		<</if>>
		_He2 is quite skilled in giving mammary massages and handjobs, too.
		<<if $milkmaidImpregnates == 1 && canPenetrate($Milkmaid) && $Milkmaid.pubertyXY == 1 && $Milkmaid.ballType == "human">>
			If at all possible, it is _his2 duty to thoroughly knock up _his2 charges.
		<</if>>

	<</if>>
	<<if $dairyStimulatorsSetting > 0>>
		Automated sodomizers help the cows produce by penetrating their anuses. The milking chairs built-in sensors measure $activeSlave.slaveName's anal capacity.
		<<if $activeSlave.anus == 0 >>
			The machine detects an unused rear-end. In order to protect the $his anal virginity, the automatic sodomizer stays inactive.
		<<else>>
			In order to provide adequate stimulation for $his
			<<if $activeSlave.anus > 3>>
				gaping anus, the automatic sodomizer is equipped with a gigantic horse-like phallus. It wobbles menacingly.
			<<elseif $activeSlave.anus > 2>>
				well-used rear-end, the automatic sodomizer is equipped with a large phallus. It is nicely ribbed for extra stimulation.
			<<else>>
				anus, the automatic sodomizer is equipped with a fair-sized silicone phallus.
			<</if>>
			Lubrication spurts from a hole at the tip, giving the artificial phallus a very lifelike pre-dripping look. Gently, the mechanical arm pushes the phallus into $activeSlave.slaveName's behind.
			<<if $activeSlave.fetish == "buttslut" || $activeSlave.sexualFlaw == "anal addict">>
				$He shudders with joy.
			<</if>>
			Soon, the automatic sodomizer pumps the dildo in and out of $his butt-hole.
			<<if ($activeSlave.balls > 0) && ($activeSlave.scrotum > 0)>>
				$His<<if $activeSlave.balls > 5 >> massive<</if>> balls swing back and forth.
			<</if>>
			<<if $activeSlave.dick > 0 >>
				<<if $activeSlave.prostate != 0>>
					The dildo stimulates $his prostate perfectly. Pre-cum begins to leak from $his cock.
				<</if>>
				/* TODO: the next lines feel non-canon */
				The milking machine remains at this setting for longer than normal. Pre-cum is considered a delicacy and is harvested as much as possible before having a negative impact on cum production.
			<</if>>
		<</if>>

	<</if>>
	<<if $dairyPregSetting > 0>>
		Ejaculate squirting dildos keep the slave's wombs stuffed with seed until they are confirmed pregnant and aid in preparing them for childbirth.
		<<if isFertile($activeSlave)>>
			Since $he is quite fertile, it springs to life.
			<<if $activeSlave.vagina == 0>>
				The machine detects a virgin pussy. In order to protect the $his virginity, the automatic dildo returns to its housing.
			<<else>>
				In order to provide adequate stimulation for $his
				<<if $activeSlave.vagina > 3>>
					gaping vagina, the automatic dildo is equipped with a gigantic horse-like phallus. It wobbles menacingly.
				<<elseif $activeSlave.vagina > 2>>
					well-used rear-end, the automatic dildo is equipped with a large phallus. It is nicely ribbed for extra stimulation.
				<<else>>
					vagina, the automatic dildo is equipped with a fair-sized silicone phallus.
				<</if>>
				Lubrication spurts from a hole at the tip, giving the artificial phallus a very lifelike pre-dripping look. Gently, the mechanical arm pushes the phallus into $activeSlave.slaveName's pussy.
				<<if $activeSlave.fetish == "pregnancy" || $activeSlave.sexualFlaw == "breeder">>
					$He shudders with joy.
				<</if>>
				Soon, the automatic impregnator pumps the dildo in and out of $his body, frequently releasing large loads of potent cum directly into $his womb.
			<</if>>
		<</if>>
	<</if>>
<</if>>
/* GETTING IN END */

/* MILKING ROUTINE */
<<if $activeSlave.lactation > 0>>
	The milking cups <<if $activeSlave.nipples == "fuckable">>over<<else>>on<</if>> $his nipples begin to pulse rhythmically. Soon, a steady flow of breast-milk is sucked away into the storage tanks.
<</if>>
<<if $activeSlave.dick > 0>>
	The milking machine uses suction to draw $his dick into the receptacle.
	<<if $activeSlave.dick > 10>>
		$His dick is too large to even consider getting hard again, so it just attaches firmly to the tip.
	<<elseif $activeSlave.dick > 8>>
		$He is on the verge of passing out as most of $his blood volume rushes into $his dick. $He cannot possibly reach a full erection without the machine's help. $He fights to stay awake so $he can enjoy $his inhuman cock at throbbing hardness.
	<<elseif $activeSlave.dick > 6>>
		$He feels dizzy as most of $his blood volume rushes into $his dick. It is not easy for $his body to maintain an erection. But with the machine's help, $he can produce a full throbbing hard-on.
	<<else>>
		It brings $him to a full, throbbing erection within seconds.
	<</if>>
	The machine strokes $his dick mechanically, but very pleasurably.
<</if>>
It does not take long for $activeSlave.slaveName to reach $his first orgasm of many. $His muscles tense.
	<<if $activeSlave.dick > 0>>
		$His <<if $activeSlave.balls > 5 >>cum-engorged<</if>> balls draw up.
		$His <<if $activeSlave.dick > 8 >>gargantuan member<<elseif $activeSlave.dick > 6 >>huge cock<<else>>dick<</if>> twitches and flexes within its receptacle.
		<<if $activeSlave.balls >= 50>>
			A special tank beneath $him holds $his monolithic balls' endless ejaculate while the machine struggles to suck it away.
		<<elseif $activeSlave.balls >= 37>>
			A special tank attached to the hose holds $his titanic balls' near endless ejaculate while the machine struggles to suck it away.
		<<elseif $activeSlave.balls >= 25>>
			A special reservoir attached to the hose holds $his massive balls' ridiculous ejaculate while the machine struggles to suck it away.
		<<elseif $activeSlave.balls >= 10>>
			The machine strains to suck down the giant load from $his huge balls.
		<<elseif $activeSlave.balls > 5>>
			The copious ejaculation from $his over-sized balls give the machine something to work on.
		<<elseif $activeSlave.balls > 0>>
			$His ejaculate is quickly sucked away.
		<<else>>
			$His ballslessness impedes cum-production, but ejaculating feels nice, anyway.
		<</if>>
	<</if>>
<<if ($activeSlave.dick < 1) && ($activeSlave.balls > 0) && ($activeSlave.prostate > 0)>>
	Cum splashes from $his urethra and is quickly sucked away.
<</if>>
<<if $activeSlave.lactation > 0>>

The milking cups <<if $activeSlave.nipples == "fuckable">>over<<else>>on<</if>> $his nipples switch from rhythmic pulsing into intense suction. Aided by $his orgasm, milk spurts from $his nipples
	<<if $activeSlave.boobs > 20000>>
		in obscenely massive amounts. $His immense breasts seem to never empty.
	<<elseif $activeSlave.boobs > 10000>>
		in absurdly large amounts. $His gargantuan breasts do not seem to get less milk-laden for a long time.
	<<elseif $activeSlave.boobs > 5000>>
		in powerful jets. $His huge breasts can provide multiple liters of milk.
	<<elseif $activeSlave.boobs > 1000>>
		for quite some time. $His large breasts can store an impressive volume of milk.
	<<elseif $activeSlave.boobs > 700>>
		until there is enough for whitening a cup of coffee. $His average breasts cannot store much more milk.
	<<elseif ($arcologies[0].FSSlimnessEnthusiast > 80)>>
		for a surprisingly long time. Your arcology succeeded in optimized the milking process for small breasts.
	<<else>>
		for a short time. $His small tits cannot dispense much milk at once.
	<</if>>
<</if>>
<<if $activeSlave.prostate != 0 && $activeSlave.dick == 0 && $activeSlave.balls == 0>>

$activeSlave.slaveName has no cock, but a functional prostate gland. It's attached to $his urethra, so $he squirts <<if $activeSlave.prostate > 2>>massively<<else>>copiously<</if>> while $he orgasms. The exotic fluid is caught by a basin positioned under $his <<if $activeSlave.vagina >= 0 >>dripping pussy<<else>>featureless crotch<</if>>.
<</if>>

With the first milking cycle being over, $activeSlave.slaveName drifts into a relaxing slumber.
<<if $dairyFeedersSetting == 1 && ($activeSlave.sexualFlaw == "cum addict" || $activeSlave.fetish == "cumslut")>>
$He grins madly around the phallus $he stuffed in $his mouth.
<</if>>
<<if $dairyPregSetting > 0 && isFertile($activeSlave) && $activeSlave.vagina > 0>>
	$He gets comfortable around $his cum-bloated belly as the impregnator continues its task.
<</if>>
<<if $activeSlave.lactation > 0>>
	The milking cups <<if $activeSlave.nipples == "fuckable">>over<<else>>on<</if>> $his nipples pulse slower and with less vigor. The lactation never fully subsides. The steady but gentle suction helps increasing milk production without actually draining the breasts.
	<<set $activeSlave.lactationDuration = 2>>
	<<set $activeSlave.boobs -= $activeSlave.boobsMilk, $activeSlave.boobsMilk = 0>>
<</if>>
<<if $activeSlave.dick > 0>>
The suction on $his dick stops, allowing $his abused member to go soft and have some rest.
<</if>>
<<if $activeSlave.balls > 0 && $activeSlave.scrotum > 0>>
$His balls rest, dangling down and relieved. They already started to produce more cum. They seem to wait for their next chance to unload.
<</if>>

The next milking cycle will start soon.
/* MILKING ROUTINE END */


code:
:: FS Developments [nobr]

<<if $useTabs == 0>>__Society__<</if>>

<<set _FSRepCreditsRep = [[7000,11000,15000],
					[6000,9000,12000,15000],
					[6000,9000,12000,14000,16000],
					[6000,9000,11000,13000,15000,17000]]>>
<<set _FSRepDescriptors = ["solid", "high", "remarkable", "great", "excellent", "unparalleled"]>>
<<set _ordinalNames = ["second", "third", "fourth", "fifth", "sixth", "seventh"]>>
<<if $FSCredits > 0>>
	@@.yellow;$arcologies[0].name's society is ready to begin accepting a new societal direction.@@
<</if>>

<<if $FSAnnounced == 1 && $FSGotRepCredits < $FSCreditCount && $rep >= _FSRepCreditsRep[$FSCreditCount-4][$FSGotRepCredits-1]>>
	<<set _descriptor = "">>
	<<if $FSGotRepCredits == 1>>
		<<set _descriptor = _FSRepDescriptors[0]>>
	<<else>>
		<<set _descriptor = _FSRepDescriptors[Math.trunc($FSGotRepCredits/($FSCreditCount-1)*_FSRepDescriptors.length-1)]>>
	<</if>>
	<<set _ordinalName = _ordinalNames[$FSGotRepCredits-1]>>
	<<if $FSGotRepCredits == $FSCreditCount-1>>
		<<set _ordinalName += " and final">>
	<</if>>
	@@.yellow;Your reputation is so _descriptor that $arcologies[0].name's society is ready to begin accepting a _ordinalName societal direction.@@
	<<set $FSGotRepCredits += 1>>
	<<set $FSCredits += 1>>
<</if>>

/* Count adopted FS */
<<set _societies = 0>>
<<if $arcologies[0].FSSupremacist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSSubjugationist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSPaternalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSDegradationist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSBodyPurist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSTransformationFetishist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSAssetExpansionist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSPastoralist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSPhysicalIdealist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSHedonisticDecadence != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSYouthPreferentialist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSChattelReligionist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSRomanRevivalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSAztecRevivalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSEgyptianRevivalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSEdoRevivalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSArabianRevivalist != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSChineseRevivalist != "unset">>
	<<set _societies++>>
<</if>>
<<if $arcologies[0].FSRepopulationFocus != "unset">>
	<<set _societies++>>
<<elseif $arcologies[0].FSRestart != "unset">>
	<<set _societies++>>
<</if>>

/* Spending, terrain, rep effects */
<<set _broadProgress = 0>>
<<if $SF.Toggle && $SF.Active >= 1 && $SF.UC.Assign > 0 && $SF.UC.num > 0>>
	Assigning a <<if $SF.UC.Assign === 1>>small<<else>>large<</if>> portion of $SF.Lower to undercover work helps forward your goals for your arcology's future.
	<<set _broadProgress += $SF.UC.num/100>>

<</if>>
<<if $FSSpending > 1>>
	Your @@.yellowgreen;societal spending@@ helps forward your goals for the arcology's future.
	<<set _broadProgress += Math.trunc($FSSpending/(1000-(500*$arcologies[0].FSEdoRevivalistLaw)-(250*$arcologies[0].FSArabianRevivalistLaw)))>>
<</if>>
<<if $FCTVreceiver == 3>>
	Your customized @@.yellowgreen;FCTV programming@@ strongly influences your citizens, greatly helping define your arcology's culture.
	<<if ($week - $receiverAvailable) > 29>>
		<<set _broadProgress += 3>>
	<<elseif ($week - $receiverAvailable) > 19>>
		<<set _broadProgress += 2>>
	<<elseif ($week - $receiverAvailable) > 4>>
		<<set _broadProgress += 1>>
	<</if>>
<<elseif $FCTVreceiver == 2>>
	Your customized @@.yellowgreen;FCTV programming@@ influences your citizens, helping define your arcology's culture.
	<<if ($week - $receiverAvailable) > 34>>
		<<set _broadProgress += 3>>
	<<elseif ($week - $receiverAvailable) > 23>>
		<<set _broadProgress += 2>>
	<<elseif ($week - $receiverAvailable) > 8>>
		<<set _broadProgress += 1>>
	<</if>>
<<elseif $FCTVreceiver == 1>>
	Your customized @@.yellowgreen;FCTV programming@@ influences a small number of your citizens, slightly helping define your arcology's culture.
	<<if ($week - $receiverAvailable) > 39>>
		<<set _broadProgress += 2>>
	<<elseif ($week - $receiverAvailable) > 24>>
		<<set _broadProgress += 1>>
	<</if>>
<</if>>
<<if $secExp == 1>>
	<<if $propCampaign >= 1 && $propFocus == "social engineering">>
		Your propaganda campaign helps further your societal engineering efforts.
		<<if $RecuriterOffice == 0 || $Recruiter == 0>>
			<<if $propCampaignBoost == 1>>
				<<set _broadProgress += 2>>
			<<else>>
				<<set _broadProgress += 1>>
			<</if>>
		<<else>>
			<<setLocalPronouns $Recruiter>>
			''__@@.pink;<<= SlaveFullName($Recruiter)>>@@__'' is able to further boost your societal engineering campaign from $his PR hub office.
			<<if $propCampaignBoost == 1>>
				<<set _broadProgress += $propCampaign + Math.floor(($Recruiter.intelligence+$Recruiter.intelligenceImplant)/32)>>
			<<else>>
				<<set _broadProgress += 1 + Math.floor(($Recruiter.intelligence+$Recruiter.intelligenceImplant)/32)>>
			<</if>>
		<</if>>
	<</if>>
<</if>>
<<if $terrain == "urban">>
	The @@.yellow;urban location@@ of the arcology naturally promotes cultural interchange, holding back $arcologies[0].name's cultural independence.
	<<set _broadProgress -= 3>>
<<elseif $terrain == "rural">>
	The @@.yellow;rural location@@ of the arcology naturally limits cultural interchange, allowing $arcologies[0].name to slowly develop its own culture.
	<<set _broadProgress -= 2>>
<<elseif $terrain == "marine">>
	The @@.yellow;marine location@@ of the arcology strongly limits cultural interchange, allowing $arcologies[0].name to quickly develop its own culture.
	<<set _broadProgress -= 1>>
<<elseif $terrain == "ravine">>
	The @@.yellow;near subterranean location@@ of the arcology almost eliminates cultural interchange, allowing $arcologies[0].name to independently develop its culture.
<<else>>
	The @@.yellow;oceanic location@@ of the arcology almost eliminates cultural interchange, allowing $arcologies[0].name to independently develop its culture.
<</if>>
<<if $rep < 3000>>
	@@.red;Your weak reputation@@ reflects badly on your social projects.
	<<set _broadProgress -= 2>>
<<elseif $rep < 6000>>
	@@.red;Your mediocre reputation@@ engenders skepticism towards your social development.
	<<set _broadProgress -= 1>>
<<elseif $rep < 9000>>
	@@.yellow;Your reputation@@ is neither weak enough or strong enough to affect social development.
<<elseif $rep < 12000>>
	@@.green;Your strong reputation@@ helps support social development.
	<<set _broadProgress += 1>>
<<elseif $rep < 16000>>
	@@.green;Your very strong reputation@@ increases acceptance of your social development.
	<<set _broadProgress += 2>>
<<else>>
	@@.green;Your incredible reputation@@ encourages automatic acceptance of your social development.
	<<set _broadProgress += 4>>
<</if>>
<<if $FSCreditCount == 4>>
	<<set _broadProgress += 1 - _societies>>
	<<switch _societies>>
	<<case 1>>Maintaining a single societal goal allows @@.green;very focused social engineering.@@
	<<case 2>>Maintaining two societal goals allows @@.green;focused social engineering.@@
	<<case 3>>Maintaining three societal goals requires @@.yellow;broad social engineering.@@
	<<case 4>>Maintaining four societal goals requires @@.red;unfocused social engineering.@@
	<</switch>>
<<elseif $FSCreditCount == 6>>
	<<set _broadProgress += 3 - _societies>>
	<<switch _societies>>
	<<case 1>>Maintaining a single societal goal allows @@.green;very focused social engineering.@@
	<<case 2>>Maintaining two societal goals allows @@.green;focused social engineering.@@
	<<case 3>>Maintaining three societal goals allows @@.yellow;barely focusable social engineering.@@
	<<case 4>>Maintaining four societal goals requires @@.yellow;broad social engineering.@@
	<<case 5>>Maintaining five societal goals requires @@.red;unfocused social engineering.@@
	<<case 6>>Maintaining six societal goals requires @@.red;very unfocused social engineering.@@
	<</switch>>
<<elseif $FSCreditCount == 7>>
	<<set _broadProgress += 3 - _societies>>
	<<switch _societies>>
	<<case 1>>Maintaining a single societal goal allows @@.green;very focused social engineering.@@
	<<case 2>>Maintaining two societal goals allows @@.green;focused social engineering.@@
	<<case 3>>Maintaining three societal goals allows @@.yellow;barely focusable social engineering.@@
	<<case 4>>Maintaining four societal goals requires @@.yellow;broad social engineering.@@
	<<case 5>>Maintaining five societal goals requires @@.red;unfocused social engineering.@@
	<<case 6>>Maintaining six societal goals requires @@.red;very unfocused social engineering.@@
	<<case 7>>Maintaining seven societal goals requires @@.red;extremely unfocused social engineering.@@
	<</switch>>
<<else>>
	<<set _broadProgress += 2 - _societies>>
	<<switch _societies>>
	<<case 1>>Maintaining a single societal goal allows @@.green;very focused social engineering.@@
	<<case 2>>Maintaining two societal goals allows @@.green;focused social engineering.@@
	<<case 3>>Maintaining three societal goals requires @@.yellow;broad social engineering.@@
	<<case 4>>Maintaining four societal goals requires @@.red;unfocused social engineering.@@
	<<case 5>>Maintaining five societal goals requires @@.red;very unfocused social engineering.@@
	<</switch>>
<</if>> /*closes FS count changes */
<<if _broadProgress != 0>>
	<<if $arcologies[0].FSSupremacist != "unset">>
		<<set $arcologies[0].FSSupremacist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSSubjugationist != "unset">>
		<<set $arcologies[0].FSSubjugationist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSGenderRadicalist != "unset">>
		<<set $arcologies[0].FSGenderRadicalist += _broadProgress>>
	<<elseif $arcologies[0].FSGenderFundamentalist != "unset">>
		<<set $arcologies[0].FSGenderFundamentalist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSPaternalist != "unset">>
		<<set $arcologies[0].FSPaternalist += _broadProgress>>
	<<elseif $arcologies[0].FSDegradationist != "unset">>
		<<set $arcologies[0].FSDegradationist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSBodyPurist != "unset">>
		<<set $arcologies[0].FSBodyPurist += _broadProgress>>
	<<elseif $arcologies[0].FSTransformationFetishist != "unset">>
		<<set $arcologies[0].FSTransformationFetishist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
		<<set $arcologies[0].FSSlimnessEnthusiast += _broadProgress>>
	<<elseif $arcologies[0].FSAssetExpansionist != "unset">>
		<<set $arcologies[0].FSAssetExpansionist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSPastoralist != "unset">>
		<<set $arcologies[0].FSPastoralist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSPhysicalIdealist != "unset">>
		<<set $arcologies[0].FSPhysicalIdealist += _broadProgress>>
	<<elseif $arcologies[0].FSHedonisticDecadence != "unset">>
		<<set $arcologies[0].FSHedonisticDecadence += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
		<<set $arcologies[0].FSMaturityPreferentialist += _broadProgress>>
	<<elseif $arcologies[0].FSYouthPreferentialist != "unset">>
		<<set $arcologies[0].FSYouthPreferentialist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSChattelReligionist != "unset">>
		<<set $arcologies[0].FSChattelReligionist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSRomanRevivalist != "unset">>
		<<set $arcologies[0].FSRomanRevivalist += _broadProgress>>
	<<elseif $arcologies[0].FSAztecRevivalist != "unset">>
		<<set $arcologies[0].FSAztecRevivalist += _broadProgress>>
	<<elseif $arcologies[0].FSEgyptianRevivalist != "unset">>
		<<set $arcologies[0].FSEgyptianRevivalist += _broadProgress>>
	<<elseif $arcologies[0].FSEdoRevivalist != "unset">>
		<<set $arcologies[0].FSEdoRevivalist += _broadProgress>>
	<<elseif $arcologies[0].FSArabianRevivalist != "unset">>
		<<set $arcologies[0].FSArabianRevivalist += _broadProgress>>
	<<elseif $arcologies[0].FSChineseRevivalist != "unset">>
		<<set $arcologies[0].FSChineseRevivalist += _broadProgress>>
	<</if>>
	<<if $arcologies[0].FSRepopulationFocus != "unset">>
		<<set $arcologies[0].FSRepopulationFocus += _broadProgress>>
	<<elseif $arcologies[0].FSRestart != "unset">>
		<<set $arcologies[0].FSRestart += _broadProgress>>
	<</if>>
<</if>>

<<if $secExp == 1>>
	<<if $slaveWatch == 1>>
		The Slave Mistreatment Watch helps many slaves, easing your citizens into the paternalist ideals it represents.
		<<= FSChange("Paternalist", 2)>>
	<</if>>

	<<if $noSubhumansInArmy == 1>>
		Your army is free of subhumans, further cementing their lower status in the eyes of your citizens.
		<<= FSChange("Subjugationist", 2)>>
	<</if>>

	<<if $pregExemption == 1>>
		Pregnant citizens are allowed and encouraged to avoid military service, making their value evident to all citizens.
		<<= FSChange("Repopulationist", 2)>>
	<</if>>

	<<if $eliteOfficers == 1>>
		Purity in leadership is fundamental in your army, helping eugenics ideals spread in the populace.
		<<= FSChange("Eugenics", 2)>>
	<</if>>

	<<if $liveTargets == 1>>
		Disobedient slaves are used in shooting ranges and military drills as live targets, furthering degradationist ideals.
		<<= FSChange("Degradationist", 2)>>
	<</if>>
<</if>>

/* Promenade effects */
<<for _i = 5; _i <= 7; _i++>>
	<<if $sectors[_i].type != "Shops">>
		<<if $sectors[_i].type != "Brothel">>
			<<if $sectors[_i].type != "Club">>
				The $sectors[_i].type establishments on the Promenade help develop society.
				<<set _changed_fs = $sectors[_i].type.replace(" ","")>>
				<<= FSChange(_changed_fs, 4)>>
				<<continue>>
			<</if>>
		<</if>>
	<</if>>
<</for>>

/* PA FS bonuses */

<<if $PAPublic == 1 && $assistantAppearance != "normal">>
<<set _seed1 = 0, _seed2 = 0>>
<<if $arcologies[0].FSSupremacist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "monstergirl") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSSupremacist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "supremacist")>>
		<<set $arcologies[0].FSSupremacist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSSubjugationist != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "amazon") || ($assistantAppearance == "imp")>>
		<<set $arcologies[0].FSSubjugationist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "subjugationist")>>
		<<set $arcologies[0].FSSubjugationist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist != "unset">>
	<<if ($assistantAppearance == "monstergirl") || ($assistantAppearance == "shemale") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSGenderRadicalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "gender radicalist")>>
		<<set $arcologies[0].FSGenderRadicalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSRepopulationFocus != "unset">>
	<<if ($assistantAppearance == "goddess") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "pregnant fairy") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSRepopulationFocus += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "repopulation focus")>>
		<<set $arcologies[0].FSRepopulationFocus += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSRestart != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "goddess") || ($assistantAppearance == "loli") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch") || ($assistantAppearance == "incubus") || ($assistantAppearance == "angel")>>
		<<set $arcologies[0].FSRestart += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "eugenics")>>
		<<set $arcologies[0].FSRestart += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSGenderFundamentalist != "unset">>
	<<if ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "goddess") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "loli") || ($assistantAppearance == "fairy") || ($assistantAppearance == "pregnant fairy") || ($assistantAppearance == "angel") || ($assistantAppearance == "cherub") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSGenderFundamentalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "gender fundamentalist")>>
		<<set $arcologies[0].FSGenderFundamentalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSPaternalist != "unset">>
	<<if ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "goddess") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "loli") || ($assistantAppearance == "fairy") || ($assistantAppearance == "pregnant fairy") || ($assistantAppearance == "angel") || ($assistantAppearance == "cherub")>>
		<<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "paternalist")>>
		<<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSDegradationist != "unset">>
	<<if ($assistantAppearance == "monstergirl") || ($assistantAppearance == "businesswoman") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "succubus") || ($assistantAppearance == "incubus") || ($assistantAppearance == "imp")>>
		<<set $arcologies[0].FSDegradationist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "degradationist")>>
		<<set $arcologies[0].FSDegradationist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSBodyPurist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "goddess") || ($assistantAppearance == "loli") || ($assistantAppearance == "fairy") || ($assistantAppearance == "pregnant fairy") || ($assistantAppearance == "angel") || ($assistantAppearance == "succubus") || ($assistantAppearance == "incubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSBodyPurist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "body purist")>>
		<<set $arcologies[0].FSBodyPurist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSTransformationFetishist != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "shemale") || ($assistantAppearance == "succubus") || ($assistantAppearance == "incubus") || ($assistantAppearance == "witch") || ($assistantAppearance == "ERROR_1606_APPEARANCE_FILE_CORRUPT")>>
		<<set $arcologies[0].FSTransformationFetishist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "transformation fetishist")>>
		<<set $arcologies[0].FSTransformationFetishist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "goddess") || ($assistantAppearance == "succubus") || ($assistantAppearance == "incubus") || ($assistantAppearance == "witch") || ($assistantAppearance == "angel")>>
		<<set $arcologies[0].FSMaturityPreferentialist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "maturity preferentialist")>>
		<<set $arcologies[0].FSMaturityPreferentialist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSYouthPreferentialist != "unset">>
	<<if ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "shemale") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "loli") || ($assistantAppearance == "succubus") || ($assistantAppearance == "angel") || ($assistantAppearance == "cherub") || ($assistantAppearance == "imp") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSYouthPreferentialist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "youth preferentialist")>>
		<<set $arcologies[0].FSYouthPreferentialist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
	<<if ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "shemale") || ($assistantAppearance == "loli") || ($assistantAppearance == "cherub") || ($assistantAppearance == "imp") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSSlimnessEnthusiast += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "slimness enthusiast")>>
		<<set $arcologies[0].FSSlimnessEnthusiast += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSAssetExpansionist != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "shemale") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "succubus") || ($assistantAppearance == "incubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSAssetExpansionist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "asset expansionist")>>
		<<set $arcologies[0].FSAssetExpansionist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSPastoralist != "unset">>
	<<if ($assistantAppearance == "shemale") || ($assistantAppearance == "goddess") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSPastoralist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "pastoralist")>>
		<<set $arcologies[0].FSPastoralist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSPhysicalIdealist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "shemale") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSPhysicalIdealist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "physical idealist")>>
		<<set $arcologies[0].FSPhysicalIdealist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSHedonisticDecadence != "unset">>
	<<if ($assistantAppearance == "goddess") || ($assistantAppearance == "hypergoddess") || ($assistantAppearance == "preggololi") || ($assistantAppearance == "imp") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch")>>
		<<set $arcologies[0].FSHedonisticDecadence += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "hedonistic decadence")>>
		<<set $arcologies[0].FSHedonisticDecadence += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSChattelReligionist != "unset">>
	<<if ($assistantAppearance == "goddess") || ($assistantAppearance == "monstergirl") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus") || ($assistantAppearance == "witch") || ($assistantAppearance == "angel") || ($assistantAppearance == "cherub") || ($assistantAppearance == "imp")>>
		<<set $arcologies[0].FSChattelReligionist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "chattel religionist")>>
		<<set $arcologies[0].FSChattelReligionist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSRomanRevivalist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "businesswoman") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSRomanRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "roman revivalist")>>
		<<set $arcologies[0].FSRomanRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSAztecRevivalist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "businesswoman") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSAztecRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "aztec revivalist")>>
		<<set $arcologies[0].FSAztecRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSEgyptianRevivalist != "unset">>
	<<if ($assistantAppearance == "goddess") || ($assistantAppearance == "monstergirl") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "egyptian revivalist")>>
		<<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSEdoRevivalist != "unset">>
	<<if ($assistantAppearance == "amazon") || ($assistantAppearance == "monstergirl") || ($assistantAppearance == "loli") || ($assistantAppearance == "kitsune") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSEdoRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "edo revivalist")>>
		<<set $arcologies[0].FSEdoRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSArabianRevivalist != "unset">>
	<<if ($assistantAppearance == "businesswoman") || ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSArabianRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "arabian revivalist")>>
		<<set $arcologies[0].FSArabianRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if $arcologies[0].FSChineseRevivalist != "unset">>
	<<if ($assistantAppearance == "schoolgirl") || ($assistantAppearance == "monstergirl") || ($assistantAppearance == "incubus") || ($assistantAppearance == "succubus")>>
		<<set $arcologies[0].FSChineseRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed1 = 1>>
	<</if>>
	<<if ($assistantFSAppearance == "chinese revivalist")>>
		<<set $arcologies[0].FSChineseRevivalist += 0.1*$FSSingleSlaveRep>>
		<<set _seed2 = 2>>
	<</if>>
<</if>>
<<if _seed2 == 2>>
	With _hisA $assistantFSAppearance $assistantAppearance appearance, $assistantName's public visibility meshes very well with society.
<<elseif _seed1 == 1>>
	With _hisA $assistantAppearance appearance, $assistantName's public visibility meshes well with society.
<</if>>
<</if>>

/* Progress overflow into influence */
<<if $arcologies[0].FSSupremacist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSSupremacist - $FSLockinLevel>>
	<<set $arcologies[0].FSSupremacist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSSubjugationist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSSubjugationist - $FSLockinLevel>>
	<<set $arcologies[0].FSSubjugationist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSGenderRadicalist - $FSLockinLevel>>
	<<set $arcologies[0].FSGenderRadicalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSGenderFundamentalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSGenderFundamentalist - $FSLockinLevel>>
	<<set $arcologies[0].FSGenderFundamentalist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSPaternalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSPaternalist - $FSLockinLevel>>
	<<set $arcologies[0].FSPaternalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSPaternalist != "unset">>
<<set $arcologies[0].FSPaternalist += _broadProgress>>
<<elseif $arcologies[0].FSDegradationist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSDegradationist - $FSLockinLevel>>
	<<set $arcologies[0].FSDegradationist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSBodyPurist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSBodyPurist - $FSLockinLevel>>
	<<set $arcologies[0].FSBodyPurist = $FSLockinLevel>>
<<elseif $arcologies[0].FSTransformationFetishist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSTransformationFetishist - $FSLockinLevel>>
	<<set $arcologies[0].FSTransformationFetishist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSPastoralist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSPastoralist - $FSLockinLevel>>
	<<set $arcologies[0].FSPastoralist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSPhysicalIdealist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSPhysicalIdealist - $FSLockinLevel>>
	<<set $arcologies[0].FSPhysicalIdealist = $FSLockinLevel>>
<<elseif $arcologies[0].FSHedonisticDecadence > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSHedonisticDecadence - $FSLockinLevel>>
	<<set $arcologies[0].FSHedonisticDecadence = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSMaturityPreferentialist - $FSLockinLevel>>
	<<set $arcologies[0].FSMaturityPreferentialist = $FSLockinLevel>>
<<elseif $arcologies[0].FSYouthPreferentialist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSYouthPreferentialist - $FSLockinLevel>>
	<<set $arcologies[0].FSYouthPreferentialist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSSlimnessEnthusiast - $FSLockinLevel>>
	<<set $arcologies[0].FSSlimnessEnthusiast = $FSLockinLevel>>
<<elseif $arcologies[0].FSAssetExpansionist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSAssetExpansionist - $FSLockinLevel>>
	<<set $arcologies[0].FSAssetExpansionist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSChattelReligionist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSChattelReligionist - $FSLockinLevel>>
	<<set $arcologies[0].FSChattelReligionist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSRomanRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSRomanRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSRomanRevivalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSAztecRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSAztecRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSAztecRevivalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSEgyptianRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSEgyptianRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSEgyptianRevivalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSEdoRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSEdoRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSEdoRevivalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSArabianRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSArabianRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSArabianRevivalist = $FSLockinLevel>>
<<elseif $arcologies[0].FSChineseRevivalist > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSChineseRevivalist - $FSLockinLevel>>
	<<set $arcologies[0].FSChineseRevivalist = $FSLockinLevel>>
<</if>>
<<if $arcologies[0].FSRepopulationFocus > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSRepopulationFocus - $FSLockinLevel>>
	<<set $arcologies[0].FSRepopulationFocus = $FSLockinLevel>>
<<elseif $arcologies[0].FSRestart > $FSLockinLevel>>
	<<set $arcologies[0].influenceBonus += $arcologies[0].FSRestart - $FSLockinLevel>>
	<<set $arcologies[0].FSRestart = $FSLockinLevel>>
<</if>>

/* warm up policy influence */
<<if $arcologies[0].FSEgyptianRevivalistIncestPolicy == 1 && $arcologies[0].FSEgyptianRevivalistInterest < 26>>
	<<set $arcologies[0].FSEgyptianRevivalistInterest += $arcologies[0].FSEgyptianRevivalistIncestPolicy>>
<<elseif $arcologies[0].FSEgyptianRevivalistIncestPolicy == 0 && $arcologies[0].FSEgyptianRevivalistInterest > 0>>
	<<set $arcologies[0].FSEgyptianRevivalistInterest-->>
<</if>>

<<if ($arcologies[0].FSRepopulationFocusPregPolicy == 1 || $arcologies[0].FSRepopulationFocusMilfPolicy == 1) && $arcologies[0].FSRepopulationFocusInterest < 26>>
	<<set $arcologies[0].FSRepopulationFocusInterest += $arcologies[0].FSRepopulationFocusPregPolicy+$arcologies[0].FSRepopulationFocusMilfPolicy>>
	<<if $arcologies[0].FSEugenicsInterest > 0>>
		<<set $arcologies[0].FSEugenicsInterest-->>
	<</if>>
<<elseif $arcologies[0].FSRepopulationFocusPregPolicy == 0 && $arcologies[0].FSRepopulationFocusMilfPolicy == 0 && $arcologies[0].FSRepopulationFocusInterest > 0>>
	<<set $arcologies[0].FSRepopulationFocusInterest-->>
<</if>>

<<if ($arcologies[0].FSSupremacistSMR + $arcologies[0].FSSubjugationistSMR + $arcologies[0].FSGenderRadicalistSMR + $arcologies[0].FSGenderFundamentalistSMR + $arcologies[0].FSPaternalistSMR + $arcologies[0].FSDegradationistSMR + $arcologies[0].FSBodyPuristSMR + $arcologies[0].FSTransformationFetishistSMR + $arcologies[0].FSYouthPreferentialistSMR + $arcologies[0].FSMaturityPreferentialistSMR + $arcologies[0].FSSlimnessEnthusiastSMR + $arcologies[0].FSAssetExpansionistSMR + $arcologies[0].FSPastoralistSMR + $arcologies[0].FSPhysicalIdealistSMR + $arcologies[0].FSChattelReligionistSMR + $arcologies[0].FSRomanRevivalistSMR + $arcologies[0].FSAztecRevivalistSMR + $arcologies[0].FSEgyptianRevivalistSMR + $arcologies[0].FSEdoRevivalistSMR + $arcologies[0].FSRepopulationFocusSMR + $arcologies[0].FSRestartSMR + $arcologies[0].FSHedonisticDecadenceSMR + $arcologies[0].FSArabianRevivalistSMR + $arcologies[0].FSChineseRevivalistSMR) > 0>>
	The slave market regulations help ensure the arcology's slaves fit within its society.
<</if>>

<<if $arcologies[0].FSSupremacist != "unset">>
	<<if $arcologies[0].FSSupremacist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in $arcologies[0].FSSupremacistRace superiority.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with $arcologies[0].FSSupremacistRace superiority.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to $arcologies[0].FSSupremacistRace superiority.
	<<else>>
		$arcologies[0].name is unconvinced of $arcologies[0].FSSupremacistRace superiority.
	<</if>>
	<<if $arcologies[0].FSSupremacist < 0>>
		<<run FutureSocieties.remove("FSSupremacist")>>
		<<if $assistantFSAppearance == "supremacist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSSupremacist > $arcologies[0].FSSupremacistDecoration>>
		<<set $arcologies[0].FSSupremacist = $arcologies[0].FSSupremacistDecoration>>
	<</if>>
	<<if $arcologies[0].FSSupremacistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSSupremacist == $arcologies[0].FSSupremacistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSSupremacistSMR == 1>>
			<<set $arcologies[0].FSSupremacist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSSubjugationist != "unset">>
	<<if $arcologies[0].FSSubjugationist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in the inferiority of $arcologies[0].FSSubjugationistRace people.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the inferiority of $arcologies[0].FSSubjugationistRace people.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the inferiority of $arcologies[0].FSSubjugationistRace people.
	<<else>>
		$arcologies[0].name is unconvinced of the inferiority of $arcologies[0].FSSubjugationistRace people.
	<</if>>
	<<if $arcologies[0].FSSubjugationist < 0>>
		<<run FutureSocieties.remove("FSSubjugationist")>>
		<<if $assistantFSAppearance == "subjugationist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSSubjugationist > $arcologies[0].FSSubjugationistDecoration>>
		<<set $arcologies[0].FSSubjugationist = $arcologies[0].FSSubjugationistDecoration>>
	<</if>>
	<<if $arcologies[0].FSSubjugationistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSSubjugationist == $arcologies[0].FSSubjugationistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSSubjugationistSMR == 1>>
			<<set $arcologies[0].FSSubjugationist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSRepopulationFocus != "unset">>
	<<if $arcologies[0].FSRepopulationFocus >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that all women should be pregnant.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly that all women should be pregnant.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea that all women should be pregnant.
	<<else>>
		$arcologies[0].name is unconvinced that all women should be pregnant.
	<</if>>
	<<if $arcologies[0].FSRepopulationFocus < 0>>
		<<run FutureSocieties.remove("FSRepopulationFocus")>>
		<<if $assistantFSAppearance == "repopulation focus">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSRepopulationFocus > $arcologies[0].FSRepopulationFocusDecoration>>
		<<set $arcologies[0].FSRepopulationFocus = $arcologies[0].FSRepopulationFocusDecoration>>
	<</if>>
	<<if $arcologies[0].FSRepopulationFocusDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSRepopulationFocus == $arcologies[0].FSRepopulationFocusDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSRepopulationFocusSMR == 1>>
			<<set $arcologies[0].FSRepopulationFocus += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSRestart != "unset">>
	<<if $arcologies[0].FSRestart >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that only the elite should reproduce.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRestart >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly that only the elite should reproduce.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRestart >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea only the elite should reproduce.
	<<else>>
		$arcologies[0].name is unconvinced that only the elite should reproduce.
	<</if>>
	<<if $arcologies[0].FSRestart < 0 && $arcologies[0].FSRestartDecoration != 100>>
		<<run FutureSocieties.remove("FSRestart")>>
		<<if $assistantFSAppearance == "eugenics">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSRestart > $arcologies[0].FSRestartDecoration>>
		<<set $arcologies[0].FSRestart = $arcologies[0].FSRestartDecoration>>
	<</if>>
	<<if $arcologies[0].FSRestartDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSRestart == $arcologies[0].FSRestartDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSRestartSMR == 1>>
			<<set $arcologies[0].FSRestart += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSGenderRadicalist != "unset">>
	<<if $arcologies[0].FSGenderRadicalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in the need to redefine gender around power.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the need to redefine gender around power.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the need to redefine gender around power.
	<<else>>
		$arcologies[0].name is unconvinced of the need to redefine gender around power.
	<</if>>
	<<if $arcologies[0].FSGenderRadicalist < 0>>
		<<run FutureSocieties.remove("FSGenderRadicalist")>>
		<<if $assistantFSAppearance == "gender radicalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSGenderRadicalist > $arcologies[0].FSGenderRadicalistDecoration>>
		<<set $arcologies[0].FSGenderRadicalist = $arcologies[0].FSGenderRadicalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSGenderRadicalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSGenderRadicalist == $arcologies[0].FSGenderRadicalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSGenderRadicalistSMR == 1>>
			<<set $arcologies[0].FSGenderRadicalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSGenderFundamentalist != "unset">>
	<<if $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in the need to preserve traditional gender roles.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the need to preserve traditional gender roles.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the need to preserve traditional gender roles.
	<<else>>
		$arcologies[0].name is unconvinced of the need to preserve traditional gender roles.
	<</if>>
	<<if $arcologies[0].FSGenderFundamentalist < 0>>
		<<run FutureSocieties.remove("FSGenderFundamentalist")>>
		<<if $assistantFSAppearance == "gender fundamentalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSGenderFundamentalist > $arcologies[0].FSGenderFundamentalistDecoration>>
		<<set $arcologies[0].FSGenderFundamentalist = $arcologies[0].FSGenderFundamentalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSGenderFundamentalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSGenderFundamentalist == $arcologies[0].FSGenderFundamentalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSGenderFundamentalistSMR == 1>>
			<<set $arcologies[0].FSGenderFundamentalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSPaternalist != "unset">>
	<<if $arcologies[0].FSPaternalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in the vision of a well-bred race of slaves.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the vision of a well-bred race of slaves.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the vision of a well-bred race of slaves.
	<<else>>
		$arcologies[0].name is unconvinced of the vision of a well-bred race of slaves.
	<</if>>
	<<if $arcologies[0].FSPaternalist < 0>>
		<<run FutureSocieties.remove("FSPaternalist")>>
		<<if $assistantFSAppearance == "paternalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSPaternalist > $arcologies[0].FSPaternalistDecoration>>
		<<set $arcologies[0].FSPaternalist = $arcologies[0].FSPaternalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSPaternalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSPaternalist == $arcologies[0].FSPaternalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSPaternalistSMR == 1>>
			<<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSDegradationist != "unset">>
	<<if $arcologies[0].FSDegradationist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that slaves are not human and should be thoroughly degraded.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the idea that slaves are not human and should be thoroughly degraded.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the proposition that slaves are not human and should be thoroughly degraded.
	<<else>>
		$arcologies[0].name is unconvinced that slaves are not human and should be thoroughly degraded.
	<</if>>
	<<if $arcologies[0].FSDegradationist < 0>>
		<<run FutureSocieties.remove("FSDegradationist")>>
		<<if $assistantFSAppearance == "degradationist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSDegradationist > $arcologies[0].FSDegradationistDecoration>>
		<<set $arcologies[0].FSDegradationist = $arcologies[0].FSDegradationistDecoration>>
	<</if>>
	<<if $arcologies[0].FSDegradationistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSDegradationist == $arcologies[0].FSDegradationistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSDegradationistSMR == 1>>
			<<set $arcologies[0].FSDegradationist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSBodyPurist != "unset">>
	<<if $arcologies[0].FSBodyPurist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in the unattractive nature of implants.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.6>>
		$arcologies[0].name strongly believes in the unattractive nature of implants.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is beginning to believe in the unattractive nature of implants.
	<<else>>
		$arcologies[0].name is unconvinced of the unattractive nature of implants.
	<</if>>
	<<if $arcologies[0].FSBodyPurist < 0>>
		<<run FutureSocieties.remove("FSBodyPurist")>>
		<<if $assistantFSAppearance == "body purist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSBodyPurist > $arcologies[0].FSBodyPuristDecoration>>
		<<set $arcologies[0].FSBodyPurist = $arcologies[0].FSBodyPuristDecoration>>
	<</if>>
	<<if $arcologies[0].FSBodyPuristDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSBodyPurist == $arcologies[0].FSBodyPuristDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSBodyPuristSMR == 1>>
			<<set $arcologies[0].FSBodyPurist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSTransformationFetishist != "unset">>
	<<if $arcologies[0].FSTransformationFetishist >= $FSLockinLevel>>
		$arcologies[0].name passionately fetishizes implants.
	<<elseif $arcologies[0].FSTransformationFetishist >= $FSLockinLevel*0.6>>
		$arcologies[0].name strongly fetishizes implants.
	<<elseif $arcologies[0].FSTransformationFetishist >= $FSLockinLevel*0.3>>
		$arcologies[0].name beginning to fetishize implants.
	<<else>>
		$arcologies[0].name is unconvinced about the attractiveness of implants.
	<</if>>
	<<if $arcologies[0].FSTransformationFetishist < 0>>
		<<run FutureSocieties.remove("FSTransformationFetishist")>>
		<<if $assistantFSAppearance == "transformation fetishist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSTransformationFetishist > $arcologies[0].FSTransformationFetishistDecoration>>
		<<set $arcologies[0].FSTransformationFetishist = $arcologies[0].FSTransformationFetishistDecoration>>
	<</if>>
	<<if $arcologies[0].FSTransformationFetishistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSTransformationFetishist == $arcologies[0].FSTransformationFetishistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSTransformationFetishistSMR == 1>>
			<<set $arcologies[0].FSTransformationFetishist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSMaturityPreferentialist != "unset">>
	<<if $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel>>
		$arcologies[0].name is passionately enthusiastic about older ladies.
	<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.6>>
		$arcologies[0].name is enthusiastic about older ladies.
	<<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is beginning to be enthusiastic about older ladies.
	<<else>>
		$arcologies[0].name is unconvinced about your preference for older ladies.
	<</if>>
	<<if $arcologies[0].FSMaturityPreferentialist < 0>>
		<<run FutureSocieties.remove("FSMaturityPreferentialist")>>
		<<if $assistantFSAppearance == "maturity preferentialist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSMaturityPreferentialist > $arcologies[0].FSMaturityPreferentialistDecoration>>
		<<set $arcologies[0].FSMaturityPreferentialist = $arcologies[0].FSMaturityPreferentialistDecoration>>
	<</if>>
	<<if $arcologies[0].FSMaturityPreferentialistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSMaturityPreferentialist == $arcologies[0].FSMaturityPreferentialistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSMaturityPreferentialistSMR == 1>>
			<<set $arcologies[0].FSMaturityPreferentialist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSYouthPreferentialist != "unset">>
	<<if $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel>>
		$arcologies[0].name is passionately enthusiastic about young women.
	<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.6>>
		$arcologies[0].name is enthusiastic about young women.
	<<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is beginning to be enthusiastic about young women.
	<<else>>
		$arcologies[0].name is unconvinced about your preference for young women.
	<</if>>
	<<if $arcologies[0].FSYouthPreferentialist < 0>>
		<<run FutureSocieties.remove("FSYouthPreferentialist")>>
		<<if $assistantFSAppearance == "youth preferentialist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSYouthPreferentialist > $arcologies[0].FSYouthPreferentialistDecoration>>
		<<set $arcologies[0].FSYouthPreferentialist = $arcologies[0].FSYouthPreferentialistDecoration>>
	<</if>>
	<<if $arcologies[0].FSYouthPreferentialistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSYouthPreferentialist == $arcologies[0].FSYouthPreferentialistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSYouthPreferentialistSMR == 1>>
			<<set $arcologies[0].FSYouthPreferentialist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSSlimnessEnthusiast != "unset">>
	<<if $arcologies[0].FSSlimnessEnthusiast >= $FSLockinLevel>>
		$arcologies[0].name is passionately enthusiastic about slim slaves with girlish figures.
	<<elseif $arcologies[0].FSSlimnessEnthusiast >= $FSLockinLevel*0.6>>
		$arcologies[0].name is very enthusiastic about slim slaves with girlish figures.
	<<elseif $arcologies[0].FSSlimnessEnthusiast >= $FSLockinLevel*0.3>>
		$arcologies[0].name is enthusiastic about slim slaves with girlish figures.
	<<else>>
		$arcologies[0].name is unconvinced about your preference for slim slaves with girlish figures.
	<</if>>
	<<if $arcologies[0].FSSlimnessEnthusiast < 0>>
		<<run FutureSocieties.remove("FSSlimnessEnthusiast")>>
		<<if $assistantFSAppearance == "slimness enthusiast">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSSlimnessEnthusiast > $arcologies[0].FSSlimnessEnthusiastDecoration>>
		<<set $arcologies[0].FSSlimnessEnthusiast = $arcologies[0].FSSlimnessEnthusiastDecoration>>
	<</if>>
	<<if $arcologies[0].FSSlimnessEnthusiastDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSSlimnessEnthusiast == $arcologies[0].FSSlimnessEnthusiastDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSSlimnessEnthusiastSMR == 1>>
			<<set $arcologies[0].FSSlimnessEnthusiast += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSAssetExpansionist != "unset">>
	<<if $arcologies[0].FSAssetExpansionist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that all tits and asses should be bigger.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the idea that all tits and asses should be bigger.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea that all tits and asses should be bigger.
	<<else>>
		$arcologies[0].name is unconvinced that all tits and asses should be bigger.
	<</if>>
	<<if $arcologies[0].FSAssetExpansionist < 0>>
		<<run FutureSocieties.remove("FSAssetExpansionist")>>
		<<if $assistantFSAppearance == "asset expansionist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSAssetExpansionist > $arcologies[0].FSAssetExpansionistDecoration>>
		<<set $arcologies[0].FSAssetExpansionist = $arcologies[0].FSAssetExpansionistDecoration>>
	<</if>>
	<<if $arcologies[0].FSAssetExpansionistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSAssetExpansionist == $arcologies[0].FSAssetExpansionistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSAssetExpansionistSMR == 1>>
			<<set $arcologies[0].FSAssetExpansionist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSPastoralist != "unset">>
	<<if $arcologies[0].FSPastoralist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that slaves should be milked.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the idea that slaves should be milked.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea that slaves should be milked.
	<<else>>
		$arcologies[0].name is unconvinced that slaves should be milked.
	<</if>>
	<<if $arcologies[0].FSPastoralist < 0>>
		<<run FutureSocieties.remove("FSPastoralist")>>
		<<if $assistantFSAppearance == "pastoralist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSPastoralist > $arcologies[0].FSPastoralistDecoration>>
		<<set $arcologies[0].FSPastoralist = $arcologies[0].FSPastoralistDecoration>>
	<</if>>
	<<if $arcologies[0].FSPastoralistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSPastoralist == $arcologies[0].FSPastoralistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSPastoralistSMR == 1>>
			<<set $arcologies[0].FSPastoralist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSPhysicalIdealist != "unset">>
	<<if $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that all slaves should be tall and strong.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the idea that all slaves should be tall and strong.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea that all slaves should be tall and strong.
	<<else>>
		$arcologies[0].name is unconvinced that all slaves should be tall and strong.
	<</if>>
	<<if $arcologies[0].FSPhysicalIdealist < 0>>
		<<run FutureSocieties.remove("FSPhysicalIdealist")>>
		<<if $assistantFSAppearance == "physical idealist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSPhysicalIdealist > $arcologies[0].FSPhysicalIdealistDecoration>>
		<<set $arcologies[0].FSPhysicalIdealist = $arcologies[0].FSPhysicalIdealistDecoration>>
	<</if>>
	<<if $arcologies[0].FSPhysicalIdealistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSPhysicalIdealist == $arcologies[0].FSPhysicalIdealistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSPhysicalIdealistSMR == 1>>
			<<set $arcologies[0].FSPhysicalIdealist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSHedonisticDecadence != "unset">>
	<<if $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that all slaves should be soft and laid-back.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with the idea that all slaves should be soft and laid-back.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSHedonisticDecadence >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to the idea that all slaves should be soft and laid-back.
	<<else>>
		$arcologies[0].name is unconvinced that all slaves should be soft and laid-back.
	<</if>>
	<<if $arcologies[0].FSHedonisticDecadence < 0>>
		<<run FutureSocieties.remove("FSHedonisticDecadence")>>
		<<if $assistantFSAppearance == "hedonistic decadence">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSHedonisticDecadence > $arcologies[0].FSHedonisticDecadenceDecoration>>
		<<set $arcologies[0].FSHedonisticDecadence = $arcologies[0].FSHedonisticDecadenceDecoration>>
	<</if>>
	<<if $arcologies[0].FSHedonisticDecadenceDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSHedonisticDecadence == $arcologies[0].FSHedonisticDecadenceDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSHedonisticDecadenceSMR == 1>>
			<<set $arcologies[0].FSHedonisticDecadence += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSChattelReligionist != "unset">>
	<<if $arcologies[0].FSChattelReligionist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly in a version of religion that emphasizes slaveholding traditions.
		<<set $independenceDay = 1, $nicaeaAnnounceable = 1>>
	<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with a version of religion that emphasizes slaveholding traditions.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to a version of religion that emphasizes slaveholding traditions.
	<<else>>
		$arcologies[0].name is unconvinced of a version of religion that emphasizes slaveholding traditions.
	<</if>>
	<<if $arcologies[0].FSChattelReligionist < 0>>
		<<run FutureSocieties.remove("FSChattelReligionist")>>
		<<if $assistantFSAppearance == "chattel religionist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSChattelReligionist > $arcologies[0].FSChattelReligionistDecoration>>
		<<set $arcologies[0].FSChattelReligionist = $arcologies[0].FSChattelReligionistDecoration>>
	<</if>>
	<<if $arcologies[0].FSChattelReligionistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSChattelReligionist == $arcologies[0].FSChattelReligionistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSChattelReligionistSMR == 1>>
			<<set $arcologies[0].FSChattelReligionist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSRomanRevivalist != "unset">>
	<<if $arcologies[0].FSRomanRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that it is the new Rome.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your project to build a new Rome.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your project to build a new Rome.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your project to build a new Rome.
	<</if>>
	<<if $arcologies[0].FSRomanRevivalist < 0>>
		<<run FutureSocieties.remove("FSRomanRevivalist")>>
		<<if $assistantFSAppearance == "roman revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSRomanRevivalist > $arcologies[0].FSRomanRevivalistDecoration>>
		<<set $arcologies[0].FSRomanRevivalist = $arcologies[0].FSRomanRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSRomanRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSRomanRevivalist == $arcologies[0].FSRomanRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSRomanRevivalistSMR == 1>>
			<<set $arcologies[0].FSRomanRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSAztecRevivalist != "unset">>
	<<if $arcologies[0].FSAztecRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that it is the new Aztec Empire.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your project to build a new Aztec Empire.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSAztecRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your project to build a new Aztec Empire.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your project to build a new Aztec Empire.
	<</if>>
	<<if $arcologies[0].FSAztecRevivalist < 0>>
		<<run FutureSocieties.remove("FSAztecRevivalist")>>
		<<if $assistantFSAppearance == "aztec revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSAztecRevivalist > $arcologies[0].FSAztecRevivalistDecoration>>
		<<set $arcologies[0].FSAztecRevivalist = $arcologies[0].FSAztecRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSAztecRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSAztecRevivalist == $arcologies[0].FSAztecRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSAztecRevivalistSMR == 1>>
			<<set $arcologies[0].FSAztecRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSEgyptianRevivalist != "unset">>
	<<if $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that it is the land of the Pharaohs, reborn.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your project to build a new land of the Pharaohs.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your project to build a new land of the Pharaohs.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your project to build a new land of the Pharaohs.
	<</if>>
	<<if $arcologies[0].FSEgyptianRevivalist < 0>>
		<<run FutureSocieties.remove("FSEgyptianRevivalist")>>
		<<if $assistantFSAppearance == "egyptian revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSEgyptianRevivalist > $arcologies[0].FSEgyptianRevivalistDecoration>>
		<<set $arcologies[0].FSEgyptianRevivalist = $arcologies[0].FSEgyptianRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSEgyptianRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSEgyptianRevivalist == $arcologies[0].FSEgyptianRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSEgyptianRevivalistSMR == 1>>
			<<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSEdoRevivalist != "unset">>
	<<if $arcologies[0].FSEdoRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that it is the land of the Shogun, reborn.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your project to build a new Edo Japan.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your project to build a new Edo Japan.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your project to build a new Edo Japan.
	<</if>>
	<<if $arcologies[0].FSEdoRevivalist < 0>>
		<<run FutureSocieties.remove("FSEdoRevivalist")>>
		<<if $assistantFSAppearance == "edo revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSEdoRevivalist > $arcologies[0].FSEdoRevivalistDecoration>>
		<<set $arcologies[0].FSEdoRevivalist = $arcologies[0].FSEdoRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSEdoRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSEdoRevivalist == $arcologies[0].FSEdoRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSEdoRevivalistSMR == 1>>
			<<set $arcologies[0].FSEdoRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSArabianRevivalist != "unset">>
	<<if $arcologies[0].FSArabianRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that it is ancient Baghdad reborn.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your project to build a new Sultanate.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your project to build a new Sultanate.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your project to build a new Sultanate.
	<</if>>
	<<if $arcologies[0].FSArabianRevivalist < 0>>
		<<run FutureSocieties.remove("FSArabianRevivalist")>>
		<<if $assistantFSAppearance == "arabian revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSArabianRevivalist > $arcologies[0].FSArabianRevivalistDecoration>>
		<<set $arcologies[0].FSArabianRevivalist = $arcologies[0].FSArabianRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSArabianRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSArabianRevivalist == $arcologies[0].FSArabianRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSArabianRevivalistSMR == 1>>
			<<set $arcologies[0].FSArabianRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

<<if $arcologies[0].FSChineseRevivalist != "unset">>
	<<if $arcologies[0].FSChineseRevivalist >= $FSLockinLevel>>
		$arcologies[0].name believes implicitly that you possess the Mandate of Heaven.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>>
		$arcologies[0].name agrees strongly with your pursuit of the Mandate of Heaven.
		<<set $independenceDay = 1>>
	<<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.3>>
		$arcologies[0].name is sympathetic to your pursuit of the Mandate of Heaven.
	<<else>>
		$arcologies[0].name is unconvinced of the wisdom of your pursuit of the Mandate of Heaven.
	<</if>>
	<<if $arcologies[0].FSChineseRevivalist < 0>>
		<<run FutureSocieties.remove("FSChineseRevivalist")>>
		<<if $assistantFSAppearance == "chinese revivalist">><<set $assistantFSAppearance = "default">><</if>>
		@@.red;Your future society project has failed:@@ your citizens were repelled from your idea more than they were attracted to it. @@.yellow;You may select another option, or elect to try again.@@
	<<elseif $arcologies[0].FSChineseRevivalist > $arcologies[0].FSChineseRevivalistDecoration>>
		<<set $arcologies[0].FSChineseRevivalist = $arcologies[0].FSChineseRevivalistDecoration>>
	<</if>>
	<<if $arcologies[0].FSChineseRevivalistDecoration < $FSLockinLevel>>
		<<if $arcologies[0].FSChineseRevivalist == $arcologies[0].FSChineseRevivalistDecoration>>
			@@.yellow;Your societal development in this direction is being limited by $arcologies[0].name's lack of customization to support it.@@
			<<set $FSReminder = 1>>
		<<elseif $arcologies[0].FSChineseRevivalistSMR == 1>>
			<<set $arcologies[0].FSChineseRevivalist += 0.1*$FSSingleSlaveRep>>
		<</if>>
	<</if>>
<</if>>

repo_name: Littlefootlittleguy/fc