code:
:: Salon [nobr jump-from-safe]

<<set $nextButton = "Confirm changes", $nextLink = "Slave Interact", $encyclopedia = "The Auto Salon">>
<<run App.Utils.setLocalPronouns(getSlave($AS))>>

<<if $showInches == 2>>
	<<set _oldHLength = Math.round(getSlave($AS).hLength/2.54), _newHLength = 0>>
<<else>>
	<<set _oldHLength = getSlave($AS).hLength, _newHLength = 0>>
<</if>>

The Auto Salon

	<<= getSlave($AS).slaveName>> is seated in the auto salon. $He is awaiting your artistic pleasure.

/* 000-250-006 */

	<<if $seeImages == 1>>
		<<if $imageChoice == 1>>

<<= SlaveArt(getSlave($AS), 3, 0)>>

		<<else>>

<<= SlaveArt(getSlave($AS), 3, 0)>>

		<</if>>
	<</if>>

/* 000-250-006 */

/* EYES */

Eyewear

<<if getBestVision(getSlave($AS)) === 0>>
	$He is blind, and
	<<if getSlave($AS).eyewear == "none">>
		has no eyewear.
	<<else>>
		is wearing <<= getSlave($AS).eyewear>>. [[Remove|Salon][getSlave($AS).eyewear = "none"]]
	<</if>>

		Give $him: [[Cosmetic glasses|Salon][getSlave($AS).eyewear = "glasses",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

<<elseif anyVisionEquals(getSlave($AS), 1)>>
	$He is nearsighted, and $he
	<<if getSlave($AS).eyewear == "none">>
		has no eyewear.
	<<else>>
		is wearing <<= getSlave($AS).eyewear>>. [[Remove|Salon][getSlave($AS).eyewear = "none"]]
	<</if>>

		Give $him: [[Cosmetic glasses|Salon][getSlave($AS).eyewear = "glasses",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Corrective glasses|Salon][getSlave($AS).eyewear = "corrective glasses",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Corrective contacts|Salon][getSlave($AS).eyewear = "corrective contacts",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		Nearsightedness will impede performance on some assignments.

<<else>>
	$His vision is normal, and $he
	<<if getSlave($AS).eyewear == "none">>
		has no eyewear.
	<<else>>
		is wearing <<= getSlave($AS).eyewear>>. [[Remove|Salon][getSlave($AS).eyewear = "none"]]
	<</if>>

		Give $him: [[Cosmetic glasses|Salon][getSlave($AS).eyewear = "glasses",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Blurring glasses|Salon][getSlave($AS).eyewear = "blurring glasses",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Blurring contacts|Salon][getSlave($AS).eyewear = "blurring contacts",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		Blurring options are annoying and impede performance on some assignments.

<</if>>

<<includeDOM App.Medicine.Modification.eyeSelector(getSlave($AS))>>

/* EARS */

Ears

	<<if getSlave($AS).earImplant == 1>>
		$He has artificial inner ear implants,
		<<if getSlave($AS).earwear == "none">>
			which are unobstructed.
		<<else>>
			and is wearing <<= getSlave($AS).earwear>>. [[Remove|Salon][getSlave($AS).earwear = "none"]]
		<</if>>
	<<elseif getSlave($AS).hears < -1>>
		$He is deaf, and
		<<if getSlave($AS).earwear == "none">>
			is wearing nothing on $his ears.
		<<else>>
			is wearing <<= getSlave($AS).earwear>>. [[Remove|Salon][getSlave($AS).earwear = "none"]]
		<</if>>
	<<elseif getSlave($AS).hears > -1>>
		$His hearing is normal, and $he
		<<if getSlave($AS).earwear == "none">>
			has nothing in $his ears.
		<<else>>
			is wearing <<= getSlave($AS).earwear>>. [[Remove|Salon][getSlave($AS).earwear = "none"]]
		<</if>>
	<<else>>
		$He is hearing impaired, and
		<<if getSlave($AS).earwear == "none">>
			wears nothing to correct or worsen this.
		<<else>>
			is wearing <<= getSlave($AS).earwear>>. [[Remove|Salon][getSlave($AS).earwear = "none"]]
		<</if>>
	<</if>>

		Give $him:
		[[Hearing aids|Salon][getSlave($AS).earwear = "hearing aids",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Muffling ear plugs|Salon][getSlave($AS).earwear = "muffling ear plugs",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Deafening ear plugs|Salon][getSlave($AS).earwear = "deafening ear plugs",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		Muffling options are annoying and impede performance on some assignments.

/*End ear check */

	<<if getSlave($AS).horn != "none">>
		$His <<= getSlave($AS).horn>> are <<= getSlave($AS).hornColor>>

			Set horn color:
				[[Black|Salon][getSlave($AS).hornColor = "black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Blazing Red|Salon][getSlave($AS).hornColor = "blazing red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Blue-Violet|Salon][getSlave($AS).hornColor = "blue-violet",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Blue|Salon][getSlave($AS).hornColor = "blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Brown|Salon][getSlave($AS).hornColor = "brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Burgundy|Salon][getSlave($AS).hornColor = "burgundy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Copper|Salon][getSlave($AS).hornColor = "copper",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Dark Blue|Salon][getSlave($AS).hornColor = "dark blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Dark Brown|Salon][getSlave($AS).hornColor = "dark brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Dark Orchid|Salon][getSlave($AS).hornColor = "dark orchid",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Deep Red|Salon][getSlave($AS).hornColor = "deep red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Golden|Salon][getSlave($AS).hornColor = "golden",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Green-yellow|Salon][getSlave($AS).hornColor = "green-yellow",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Green|Salon][getSlave($AS).hornColor = "green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Grey|Salon][getSlave($AS).hornColor = "grey",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Jet Black|Salon][getSlave($AS).hornColor = "jet black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Neon Blue|Salon][getSlave($AS).hornColor = "neon blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Neon Green|Salon][getSlave($AS).hornColor = "neon green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Neon Pink|Salon][getSlave($AS).hornColor = "neon pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Pink|Salon][getSlave($AS).hornColor = "pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Ivory|Salon][getSlave($AS).hornColor = "ivory",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Purple|Salon][getSlave($AS).hornColor = "purple",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Red|Salon][getSlave($AS).hornColor = "red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Sea Green|Salon][getSlave($AS).hornColor = "sea green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[Silver|Salon][getSlave($AS).hornColor = "silver",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				| [[White|Salon][getSlave($AS).hornColor = "white",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

	<</if>>

/* HAIR */

Hair

/* MAKEUP */

Makeup

	<<= App.Desc.makeup(getSlave($AS))>>
	<<if getSlave($AS).makeup > 0>>
		[[Remove|Salon][getSlave($AS).makeup = 0,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	<</if>>

	Apply makeup:
		[[Nice|Salon][getSlave($AS).makeup = 1,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Gorgeous|Salon][getSlave($AS).makeup = 2,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Slutty|Salon][getSlave($AS).makeup = 4,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Color-coordinate with hair|Salon][getSlave($AS).makeup = 3,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		[[Neon|Salon][getSlave($AS).makeup = 5,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Neon, color-coordinate with hair|Salon][getSlave($AS).makeup = 6,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		[[Metallic|Salon][getSlave($AS).makeup = 7,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		| [[Metallic, color-coordinate with hair|Salon][getSlave($AS).makeup = 8,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

/* NAILS */

	<<= App.Desc.nails(getSlave($AS))>>

	<<if hasAnyArms(getSlave($AS))>>

			Treat nails:
			[[Clip|Salon][getSlave($AS).nails = 0,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Extend|Salon][getSlave($AS).nails = 1,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Sharp, claw-like|Salon][getSlave($AS).nails = 3,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Bright, glittery|Salon][getSlave($AS).nails = 4,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Streetwalker-style|Salon][getSlave($AS).nails = 5,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Color-coordinate with hair|Salon][getSlave($AS).nails = 2,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

			[[Neon|Salon][getSlave($AS).nails = 6,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon, color-coordinate with hair|Salon][getSlave($AS).nails = 7,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

			[[Metallic|Salon][getSlave($AS).nails = 8,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Metallic, color-coordinate with hair|Salon][getSlave($AS).nails = 9,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

	<</if>>

/* SKIN */

Skin

	$His skin is <<= getSlave($AS).skin>>.

	<<if (setup.dyedSkins.includes(getSlave($AS).skin))>>
		[[Remove coloring|Salon][getSlave($AS).skin = getSlave($AS).origSkin,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	<<elseif ((getSlave($AS).skin == "sun tanned") || (getSlave($AS).skin == "spray tanned"))>>
		[[Remove tanning|Salon][getSlave($AS).skin = getSlave($AS).origSkin,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	<</if>>

<<if (!setup.dyedSkins.includes(getSlave($AS).skin))>>

		<<if (getSlave($AS).skin == "sun tanned" || getSlave($AS).skin == "spray tanned")>>
			$His skin tanning must be removed before any advanced procedure to change $his skin color.
		<<else>>
			Change skin tone:
			<<set _needsSpacers = 0>>
			<<if (skinToneLevel(getSlave($AS).skin) > 1)>>
				<<if _needsSpacers == 1>> | <</if>>
				[[Bleach|Salon][getSlave($AS).skin = changeSkinTone(getSlave($AS).skin, -2), cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				<<set _needsSpacers = 1>>
			<</if>>
			<<if (skinToneLevel(getSlave($AS).skin) > 8)>>
				<<if _needsSpacers == 1>> | <</if>>
				[[Lighten|Salon][getSlave($AS).skin = changeSkinTone(getSlave($AS).skin, -1), cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				<<set _needsSpacers = 1>>
			<</if>>
			<<if (skinToneLevel(getSlave($AS).skin) < 18)>>
				<<if _needsSpacers == 1>> | <</if>>
				[[Darken|Salon][getSlave($AS).skin = changeSkinTone(getSlave($AS).skin, 1), cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				<<set _needsSpacers = 1>>
			<</if>>
			<<if (skinToneLevel(getSlave($AS).skin) < 25)>>
				<<if _needsSpacers == 1>> | <</if>>
				[[Blacken|Salon][getSlave($AS).skin = changeSkinTone(getSlave($AS).skin, 2), cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				<<set _needsSpacers = 1>>
			<</if>>
		<</if>>

		<<set _needsSpacers = 0>>
		<<if (getSlave($AS).skin != "sun tanned")>>
			<<if (skinToneLevel(getSlave($AS).skin) < 6)>>
				$His skin is so light in color that any attempt at natural tanning is more likely to damage $his skin.
			<<elseif (skinToneLevel(getSlave($AS).skin) > 20)>>
				$His skin is so dark in color that any attempt at natural tanning is not likely to appear on $his skin.
			<<else>>
				[["Sun tan " + $his + " skin"|Salon][getSlave($AS).skin = "sun tanned", cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
				<<set _needsSpacers = 1>>
			<</if>>
		<</if>>
		<<if (getSlave($AS).skin != "spray tanned")>>
			<<if _needsSpacers == 1>> | <</if>>
			[["Spray tan " + $his + " skin"|Salon][getSlave($AS).skin = "spray tanned", cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		<</if>>

<</if>>

	Dye or paint:
	[[Blue|Salon][getSlave($AS).skin = "dyed blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Camouflage|Salon][getSlave($AS).skin = "camouflage patterned",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Gray|Salon][getSlave($AS).skin = "dyed gray",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Green|Salon][getSlave($AS).skin = "dyed green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Pink|Salon][getSlave($AS).skin = "dyed pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Red|Salon][getSlave($AS).skin = "dyed red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	| [[Tiger Stripes|Salon][getSlave($AS).skin = "tiger striped",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

/* MARKS */

	<<if (getSlave($AS).markings == "beauty mark")>>
		$He has a prominent mole on $his face, which
		<<if getSlave($AS).face > 40>>
			qualifies as a beauty mark and enhances $his attractiveness due to $his facial beauty.
		<<elseif getSlave($AS).face < -10>>
			makes $him even less attractive.
		<<else>>
			qualifies as a beauty mark since $he's pretty, having no significant impact on $his beauty.
		<</if>>
		[[Remove it|Salon][getSlave($AS).markings = "none",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	<</if>>

	<<if (getSlave($AS).markings == "birthmark")>>
		$He has a large birthmark, which
		<<if getSlave($AS).prestige > 0 || getSlave($AS).porn.prestige > 1>>
			enhances $his attractiveness due to $his prestige.
		<<else>>
			detracts from $his attractiveness.
		<</if>>
		[[Bleach it|Salon][getSlave($AS).markings = "none",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
	<</if>>

Body hair

/* EYEBROW HAIR */

<<if getSlave($AS).eyebrowHStyle != "bald">>

		$His <<if getSlave($AS).eyebrowFullness != "natural">><<= getSlave($AS).eyebrowFullness>><<if getSlave($AS).eyebrowHStyle != "natural">>,<</if>> <</if>><<if getSlave($AS).eyebrowHStyle != "natural">><<= getSlave($AS).eyebrowHStyle>> <</if>> eyebrows
		<<if getSlave($AS).eyebrowHStyle == "shaved">>
			would be <<= getSlave($AS).eyebrowHColor>> if present.
		<<else>>
			are <<= getSlave($AS).eyebrowHColor>>.
		<</if>>
		<<if getSlave($AS).eyebrowHColor != getSlave($AS).hColor>>
			[[Match the hair?|Salon][getSlave($AS).eyebrowHColor = getSlave($AS).hColor,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		<</if>>

		Dye $his eyebrow hair:
			[[Auburn|Salon][getSlave($AS).eyebrowHColor = "auburn",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Black|Salon][getSlave($AS).eyebrowHColor = "black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blazing Red|Salon][getSlave($AS).eyebrowHColor = "blazing red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blonde|Salon][getSlave($AS).eyebrowHColor = "blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue-Violet|Salon][getSlave($AS).eyebrowHColor = "blue-violet",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue|Salon][getSlave($AS).eyebrowHColor = "blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Brown|Salon][getSlave($AS).eyebrowHColor = "brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Burgundy|Salon][getSlave($AS).eyebrowHColor = "burgundy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chestnut|Salon][getSlave($AS).eyebrowHColor = "chestnut",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chocolate|Salon][getSlave($AS).eyebrowHColor = "chocolate brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Copper|Salon][getSlave($AS).eyebrowHColor = "copper",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Blue|Salon][getSlave($AS).eyebrowHColor = "dark blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Brown|Salon][getSlave($AS).eyebrowHColor = "dark brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Orchid|Salon][getSlave($AS).eyebrowHColor = "dark orchid",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Deep Red|Salon][getSlave($AS).eyebrowHColor = "deep red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Ginger|Salon][getSlave($AS).eyebrowHColor = "ginger",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Golden|Salon][getSlave($AS).eyebrowHColor = "golden",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green-yellow|Salon][getSlave($AS).eyebrowHColor = "green-yellow",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green|Salon][getSlave($AS).eyebrowHColor = "green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Grey|Salon][getSlave($AS).eyebrowHColor = "grey",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Hazel|Salon][getSlave($AS).eyebrowHColor = "hazel",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Jet Black|Salon][getSlave($AS).eyebrowHColor = "jet black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Blue|Salon][getSlave($AS).eyebrowHColor = "neon blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Green|Salon][getSlave($AS).eyebrowHColor = "neon green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Pink|Salon][getSlave($AS).eyebrowHColor = "neon pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Pink|Salon][getSlave($AS).eyebrowHColor = "pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Platinum Blonde|Salon][getSlave($AS).eyebrowHColor = "platinum blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Purple|Salon][getSlave($AS).eyebrowHColor = "purple",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Red|Salon][getSlave($AS).eyebrowHColor = "red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Sea Green|Salon][getSlave($AS).eyebrowHColor = "sea green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Silver|Salon][getSlave($AS).eyebrowHColor = "silver",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Strawberry-Blonde|Salon][getSlave($AS).eyebrowHColor = "strawberry-blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[White|Salon][getSlave($AS).eyebrowHColor = "white",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		Style $his eyebrow hair:
			[[Natural|Salon][getSlave($AS).eyebrowHStyle = "natural",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Curved|Salon][getSlave($AS).eyebrowHStyle = "curved",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Elongated|Salon][getSlave($AS).eyebrowHStyle = "elongated",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[High-Arched|Salon][getSlave($AS).eyebrowHStyle = "high-arched",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Rounded|Salon][getSlave($AS).eyebrowHStyle = "rounded",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Shaved|Salon][getSlave($AS).eyebrowHStyle = "shaved",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Shortened|Salon][getSlave($AS).eyebrowHStyle = "shortened",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Slanted Inwards|Salon][getSlave($AS).eyebrowHStyle = "slanted inwards",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Slanted Outwards|Salon][getSlave($AS).eyebrowHStyle = "slanted outwards",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Straight|Salon][getSlave($AS).eyebrowHStyle = "straight",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		Shape $his eyebrow hair:
			[[Natural|Salon][getSlave($AS).eyebrowFullness = "natural",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Bushy|Salon][getSlave($AS).eyebrowFullness = "bushy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Thick|Salon][getSlave($AS).eyebrowFullness = "thick",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Tapered|Salon][getSlave($AS).eyebrowFullness = "tapered",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Threaded|Salon][getSlave($AS).eyebrowFullness = "threaded",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Thin|Salon][getSlave($AS).eyebrowFullness = "thin",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Pencil-Thin|Salon][getSlave($AS).eyebrowFullness = "pencil-thin",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

<<else>>

		$His eyebrows are completely hairless.

<</if>>

/* PUBIC HAIR */

<<set _pubertyAge = Math.min(getSlave($AS).pubertyAgeXX, getSlave($AS).pubertyAgeXY)>>
<<if getSlave($AS).pubicHStyle != "bald" && getSlave($AS).pubicHStyle != "hairless" && getSlave($AS).physicalAge >= _pubertyAge-1>>

		$His
		<<if getSlave($AS).physicalAge < _pubertyAge>>
			wispy pubic hair, which is just starting to grow in,
		<<elseif getSlave($AS).pubicHStyle == "in a strip">>
			pubic hair, which is shaved into a strip,
		<<else>>
			<<= getSlave($AS).pubicHStyle>> pubic hair
		<</if>>
		<<if getSlave($AS).pubicHStyle == "waxed">>
			would be <<= getSlave($AS).pubicHColor>> if present.
		<<else>>
			is <<= getSlave($AS).pubicHColor>>.
		<</if>>
		<<if getSlave($AS).pubicHColor != getSlave($AS).hColor>>
			[[Match the curtains?|Salon][getSlave($AS).pubicHColor = getSlave($AS).hColor,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		<</if>>

		Dye $his pubic hair:
			[[Auburn|Salon][getSlave($AS).pubicHColor = "auburn",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Black|Salon][getSlave($AS).pubicHColor = "black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blazing Red|Salon][getSlave($AS).pubicHColor = "blazing red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blonde|Salon][getSlave($AS).pubicHColor = "blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue-Violet|Salon][getSlave($AS).pubicHColor = "blue-violet",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue|Salon][getSlave($AS).pubicHColor = "blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Brown|Salon][getSlave($AS).pubicHColor = "brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Burgundy|Salon][getSlave($AS).pubicHColor = "burgundy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chestnut|Salon][getSlave($AS).pubicHColor = "chestnut",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chocolate|Salon][getSlave($AS).pubicHColor = "chocolate brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Copper|Salon][getSlave($AS).pubicHColor = "copper",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Blue|Salon][getSlave($AS).pubicHColor = "dark blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Brown|Salon][getSlave($AS).pubicHColor = "dark brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Orchid|Salon][getSlave($AS).pubicHColor = "dark orchid",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Deep Red|Salon][getSlave($AS).pubicHColor = "deep red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Ginger|Salon][getSlave($AS).pubicHColor = "ginger",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Golden|Salon][getSlave($AS).pubicHColor = "golden",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green-yellow|Salon][getSlave($AS).pubicHColor = "green-yellow",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green|Salon][getSlave($AS).pubicHColor = "green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Grey|Salon][getSlave($AS).pubicHColor = "grey",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Hazel|Salon][getSlave($AS).pubicHColor = "hazel",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Jet Black|Salon][getSlave($AS).pubicHColor = "jet black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Blue|Salon][getSlave($AS).pubicHColor = "neon blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Green|Salon][getSlave($AS).pubicHColor = "neon green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Pink|Salon][getSlave($AS).pubicHColor = "neon pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Pink|Salon][getSlave($AS).pubicHColor = "pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Platinum Blonde|Salon][getSlave($AS).pubicHColor = "platinum blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Purple|Salon][getSlave($AS).pubicHColor = "purple",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Red|Salon][getSlave($AS).pubicHColor = "red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Sea Green|Salon][getSlave($AS).pubicHColor = "sea green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Silver|Salon][getSlave($AS).pubicHColor = "silver",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Strawberry-Blonde|Salon][getSlave($AS).pubicHColor = "strawberry-blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[White|Salon][getSlave($AS).pubicHColor = "white",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		Style $his pubic hair:
			[[Waxed|Salon][getSlave($AS).pubicHStyle = "waxed",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Landing strip|Salon][getSlave($AS).pubicHStyle = "in a strip",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neat|Salon][getSlave($AS).pubicHStyle = "neat",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Bushy in the front|Salon][getSlave($AS).pubicHStyle = "bushy in the front and neat in the rear",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Bushy|Salon][getSlave($AS).pubicHStyle = "bushy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Very Bushy|Salon][getSlave($AS).pubicHStyle = "very bushy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

<<else>>

		$His groin is completely hairless.

<</if>>

/* UNDERARM HAIR */

<<if getSlave($AS).underArmHStyle != "bald" && getSlave($AS).underArmHStyle != "hairless" && getSlave($AS).physicalAge >= _pubertyAge-1>>

		$His
		<<if getSlave($AS).physicalAge < _pubertyAge>>
			wispy underarm hair
		<<else>>
			<<= getSlave($AS).underArmHStyle>> underarm hair
		<</if>>
		<<if getSlave($AS).underArmHStyle == "waxed">>
			would be <<= getSlave($AS).underArmHColor>> if present.
		<<else>>
			is <<= getSlave($AS).underArmHColor>>.
		<</if>>
		<<if getSlave($AS).underArmHColor != getSlave($AS).hColor>>
			[[Match the hair?|Salon][getSlave($AS).underArmHColor = getSlave($AS).hColor,cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
		<</if>>

		Dye $his armpit hair:
			[[Auburn|Salon][getSlave($AS).underArmHColor = "auburn",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Black|Salon][getSlave($AS).underArmHColor = "black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blazing Red|Salon][getSlave($AS).underArmHColor = "blazing red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blonde|Salon][getSlave($AS).underArmHColor = "blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue-Violet|Salon][getSlave($AS).underArmHColor = "blue-violet",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Blue|Salon][getSlave($AS).underArmHColor = "blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Brown|Salon][getSlave($AS).underArmHColor = "brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Burgundy|Salon][getSlave($AS).underArmHColor = "burgundy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chestnut|Salon][getSlave($AS).underArmHColor = "chestnut",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Chocolate|Salon][getSlave($AS).underArmHColor = "chocolate brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Copper|Salon][getSlave($AS).underArmHColor = "copper",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Blue|Salon][getSlave($AS).underArmHColor = "dark blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Brown|Salon][getSlave($AS).underArmHColor = "dark brown",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Dark Orchid|Salon][getSlave($AS).underArmHColor = "dark orchid",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Deep Red|Salon][getSlave($AS).underArmHColor = "deep red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Ginger|Salon][getSlave($AS).underArmHColor = "ginger",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Golden|Salon][getSlave($AS).underArmHColor = "golden",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green-yellow|Salon][getSlave($AS).underArmHColor = "green-yellow",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Green|Salon][getSlave($AS).underArmHColor = "green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Grey|Salon][getSlave($AS).underArmHColor = "grey",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Hazel|Salon][getSlave($AS).underArmHColor = "hazel",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Jet Black|Salon][getSlave($AS).underArmHColor = "jet black",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Blue|Salon][getSlave($AS).underArmHColor = "neon blue",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Green|Salon][getSlave($AS).underArmHColor = "neon green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neon Pink|Salon][getSlave($AS).underArmHColor = "neon pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Pink|Salon][getSlave($AS).underArmHColor = "pink",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Platinum Blonde|Salon][getSlave($AS).underArmHColor = "platinum blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Purple|Salon][getSlave($AS).underArmHColor = "purple",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Red|Salon][getSlave($AS).underArmHColor = "red",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Sea Green|Salon][getSlave($AS).underArmHColor = "sea green",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Silver|Salon][getSlave($AS).underArmHColor = "silver",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Strawberry-Blonde|Salon][getSlave($AS).underArmHColor = "strawberry-blonde",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[White|Salon][getSlave($AS).underArmHColor = "white",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

		Style $his armpit hair:
			[[Waxed|Salon][getSlave($AS).underArmHStyle = "waxed",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Shaved|Salon][getSlave($AS).underArmHStyle = "shaved",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Neat|Salon][getSlave($AS).underArmHStyle = "neat",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]
			| [[Bushy|Salon][getSlave($AS).underArmHStyle = "bushy",cashX(forceNeg($modCost), "slaveMod", getSlave($AS))]]

<<else>>

		$His underarms are completely hairless.

<</if>>


code:
:: Scheduled Event

<<if $expired == 1>>
	<<= removeSlave(getSlave($expiree))>>
	<<set $expiree = 0>>
	<<set _expireSlave = $slaves.find((s) => s.indenture === 0)>>
	<<if def _expireSlave>>
		<<set $expiree = _expireSlave.ID>>
	<</if>>
<</if>>
<<set $expired = 0>>
<<set _schoolFail = App.Utils.schoolFailure()>>

<<if $retired == 1>>
	<<= removeSlave(getSlave($retiree))>>
	<<set $retiree = 0>>
	<<set _retireSlave = $slaves.find((s) => retirementReady(s))>>
	<<if def _retireSlave>>
		<<set $retiree = _retireSlave.ID>>
	<</if>>
<</if>>
<<set $retired = 0>>

<<if $TFS.schoolUpgrade == 3 && $TFS.compromiseWeek == $week-1>>
	<<set $fcnn.push("...Ladies: Do you want dick so much that you want to HAVE a dick? If yes, join the Futanari Sisters today! Learn more at...")>>
<</if>>
<<if $week == 30>>
	<<set $fcnn.push("...is where I'll be when the bombs hit. Survival is my first...")>>
	<<set $fcnn.push("...time to prepare for major shortages is now, since there's no likelihood...")>>
	<<set $fcnn.push("...construction of shelters accelerated last quarter, due to fears...")>>
	<<set $fcnn.push("...major drought across the entire hemisphere shows no signs of...")>>
	<<set $fcnn.push("...medical organization offered no explanation, stating that...")>>
	<<set $fcnn.push("...just ahead, an FCNN Special Report: Immortality and You — Breakthroughs in 'Bodyswapping' technology and what they mean for...")>>
	<<set $fcnn.push("...wildfires have now cost an estimated...")>>
	<<set $fcnn.push("...widespread demonstrations against the government's friendly relations with the Free Cities...")>>
	<<set $fcnn.push("...of the small island nation, declared that his homeland may be completely underwater by...")>>
	<<set $fcnn.push("...claimed the sanctions constituted an act of war...")>>
	<<set $fcnn.push("...nuclear weapons development program, drawing harsh criticism from international observers...")>>
	<<set $fcnn.push("...simply don't have the money to adequately respond to a natural disaster of this...")>>
	<<set $fcnn.push("...representatives announced their withdrawal from the international organization...")>>
	<<set $fcnn.push("...special report on the depopulation and abandonment of rural areas worldwide, as natural...")>>
<<elseif $week == 50>>
	<<set $fcnn.push("...tested a thermonuclear device of some five megatons last night...")>>
	<<set $fcnn.push("...heavy fighting for the third week in the capital city of...")>>
	<<set $fcnn.push("...economic recovery looking increasingly unlikely in the event of...")>>
	<<set $fcnn.push("...complete exhaustion of safe water reserves across...")>>
	<<set $fcnn.push("...climate refugees streamed across the border despite...")>>
	<<set $fcnn.push("...released a statement today, explaining their refusal to intervene against the pillaging of several Free Cities in northern...")>>
	<<set $fcnn.push("...denies allegations of ordering last week's combined arms assault on the arcology known as...")>>
	<<set $fcnn.push("...Coming up, an FCNN Special Report: Ghost Cities — The truth about recent surge of depopulated metropolitan areas in...")>>
	<<set $fcnn.push("...was assassinated in his home in the nation's capital, alongside his entire...")>>
	<<set $fcnn.push("...forces opened fire on crowds of protesters, killing and wounding...")>>
	<<set $fcnn.push("...declared the insurgency officially defeated, despite reports of widespread violence...")>>
	<<set $fcnn.push("...suspended national elections until further notice, in a move that is seen as yet another authoritarian...")>>
<<elseif $week == 70>>
	<<set $fcnn.push("...second low-order nuclear detonation in the city of...")>>
	<<set $fcnn.push("...total societal collapse induced by rising sea levels declared today in...")>>
	<<set $fcnn.push("...likelihood of containing Influenza-M was downgraded to a lower...")>>
	<<set $fcnn.push("...threatened immediate use of chemical weapons should those forces not withdraw...")>>
	<<set $fcnn.push("...relief organizations unable to deal with casualties from nuclear exchange between...")>>
	<<set $fcnn.push("...guerrilla fighting intensifies in escalating proxy war between 'Paternalist' and 'Degradationist' Free Cities in the region of...")>>
	<<set $fcnn.push("...Coming up, an FCNN Special Report about the unprecedented scale of slave insurrections across...")>>
	<<set $fcnn.push("...invasive plant growth epidemic contested by persistent droughts in eastern...")>>
	<<set $fcnn.push("...Daughters of Liberty claimed responsibility for the attack...")>>
	<<set $fcnn.push("...mass suicide of the cult members, who believed that current events were prophesied...")>>
	<<set $fcnn.push("...genocide is a strong term, but there's simply no other way to describe...")>>
<<elseif $week == 90>>
	<<set $fcnn.push("...have enslaved the entire legislature, their leader personally sexually assaulting...")>>
	<<set $fcnn.push("...confirmed that the arcologies were subject to a nuclear detonation, but...")>>
	<<set $fcnn.push("...conflict can now be said to encompass the entire continent...")>>
	<<set $fcnn.push("...government has effectively fallen, with much of the capital destroyed...")>>
	<<set $fcnn.push("...deadliest in the nation's history, was allegedly committed by the Daughters of Liberty...")>>
	<<set $fcnn.push("...famine so devastating that confirmed reports of cannibalism are now...")>>
	<<set $fcnn.push("...dozens upon dozens of mass graves in what were once city parks...")>>
	<<set $fcnn.push("...evidence of a planned slave uprising, executed all of their arcology's several thousand...")>>
<</if>>

<<if $secExpEnabled > 0 && $SecExp.settings.battle.enabled > 0>>
	<<include "attackGenerator">>
<</if>>

<<if $rivalOwner == -1>>
	<<goto "P rival initiation">>
<<elseif ($slaveRebellion === 1 || $citizenRebellion === 1) && $secExpEnabled > 0>>
	<<goto "rebellionOptions">>
<<elseif $attackThisWeek == 1 && $secExpEnabled > 0>>
	<<goto "attackOptions">>
<<elseif $PC.labor == 1>>
	<<goto "SE Player Birth">>
<<elseif App.Events.pcBirthday.eventCanTrigger() && $tempEventToggle>>
	<<goto "SE pc birthday">>
<<elseif ($independenceDay == 1) && (Math.trunc(($week-23)/52) == ($week-23)/52)>>
	<<goto "SE independence day">>
<<elseif ($weddingPlanned > 0)>>
	<<set _wedding = 0>>
	<<if ($weddingPlanned > 0)>>
		<<set _wedding = 1>>
		<<goto "SE wedding">>
	<</if>>
	<<if _wedding == 0>>
		<<set $weddingPlanned = 0, $marrying = []>>
		<<run cashX(10000, "event")>>
		<<goto "Scheduled Event">>
	<</if>>
<<elseif $playerBred == 1 && ($PC.preg == 0 || $PC.preg == -1) && $PC.pregWeek == 0 && $PC.vagina >= 1>>
	<<goto "P insemination">>
<<elseif ($retiree != 0)>>
	<<goto "SE retirement">>
<<elseif ($expiree != 0)>>
	<<goto "SE expiration">>
<<elseif ($burstee != 0)>>
	<<set $burst = 0>>
	<<goto "SE Burst">>
<<elseif ($slaveDeath != 0)>>
	<<set $slaveDeath = 0>>
	<<goto "SE Death">>
<<elseif ($birthee != 0)>>
	<<goto "SE Birth">>
<<elseif $FCTV.receiver > 0 && $FCTV.pcViewership.frequency != -1 && $FCTV.pcViewership.count == 0>>
	<<if $week > 50 && $FCTV.remote < 2>>
		<<goto "SE FCTV Remote">>
	<<else>>
		<<goto "SE FCTV Watch">>
	<</if>>
<<elseif $RecruiterID !== 0 && $recruiterProgress >= (13 + ($recruiterEugenics === 1 ? policies.countEugenicsSMRs() * 6 : 0))>>
	<<goto "SE recruiter success">>
<<elseif ($customSlaveOrdered == 1 && $customSlaveOrderedReorder != 1)>>
	<<goto "SE custom slave delivery">>
<<elseif ($JFC.order == 1 && $JFC.reorder != 1)>>
	<<goto "JobFulfillmentCenterDelivery">>
<<elseif ($huskSlaveOrdered == 1)>>
	<<goto "SE husk slave delivery">>
<<elseif $LurcherID != 0 && $policies.coursingAssociation == 1 && (Math.trunc($week/4) == ($week/4)) && $coursed == 0>>
	<<goto "SE coursing">>
<<elseif $policies.raidingMercenaries == 1 && ($week > ($raided + 6))>>
	<<goto "SE raiding">>
<<elseif $pit && !$pit.fought &&
		(($pit.fighterIDs.length > 1 && !$pit.bodyguardFights)
		|| ($pit.fighterIDs.length > 0 && ($BodyguardID !== 0 && $pit.bodyguardFights) || $pit.animal)
		|| $pit.slaveFightingBodyguard)>>
	<<if $pit.lethal>>
		<<goto "SE lethal pit">>
	<<else>>
		<<goto "SE nonlethal pit">>
	<</if>>
<<elseif ($bioreactorPerfectedID != 0) && ($bioreactorsAnnounced != 1)>>
	<<goto "P bioreactor perfected">>
<<elseif _schoolFail>>
	<<goto "RES Failure">>
<<elseif ($TFS.schoolPresent == 1) && ($organFarmUpgrade != 0) && ($TFS.farmUpgrade == 0)>>
	<<goto "TFS Farm Upgrade">>
<<elseif ($nicaea.held != 1) && ($arcologies[0].FSChattelReligionist != "unset") && ($nicaea.announceable == 1) && ($nicaea.announced != 1)>>
	<<goto "SE nicaea announcement">>
<<elseif ($nicaea.held != 1) && ($arcologies[0].FSChattelReligionist != "unset") && ($nicaea.preparation == 1)>>
	<<if $nicaea.involvement != 0>>
		<<goto "SE nicaea preparation">>
	<<else>>
		<<set $nicaea.preparation = 0>>
		<<if $plot == 1>><<goto "Nonrandom Event">><<else>><<goto "Random Nonindividual Event">><</if>>
	<</if>>
<<elseif ($nicaea.held != 1) && ($arcologies[0].FSChattelReligionist != "unset") && ($nicaea.involvement >= 0)>>
	<<set $nicaea.focus = either("owners", "slaves")>>
	<<set $nicaea.assignment = either("please you", "serve the public", "whore")>>
	<<set $nicaea.achievement = either("devotion", "slaves", "trust")>>
	<<goto "SE nicaea council">>
<<else>>
	<<set $JFC.reorder = 0>>
	<<run delete $customSlaveOrderedReorder>>
	<<goto "Nonrandom Event">>
<</if>>

repo_name: Welptard/fc

license: mit


code:
:: Schoolroom [nobr jump-to-safe jump-from-safe]

<<set _DL = App.Entity.facilities.schoolroom.employeesIDs().size, $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Schoolroom", $encyclopedia = "Schoolroom">>

<<set _schoolroomNameCaps = capFirstChar($schoolroomName)>>

	_schoolroomNameCaps is well-equipped, with wallscreens to display lessons. These are currently
	<<switch $schoolroomDecoration>>
		<<case "Roman Revivalist">>
			showing the story of a famous Roman slave who sacrificed her life for the life of her <<= properMaster()>>.
		<<case "Neo Imperialist">>
			showing the work of many serfs building a great monument to their Imperial <<= properMaster()>>, and emphasising the beauty of the society they built together.
		<<case "Aztec Revivalist">>
			showing the reenactment of a legendary story of a slave who ascended by offering her blood to the gods, and was granted eternal life.
		<<case "Egyptian Revivalist">>
			showing an interpretation of Egyptian history that attributes many great monuments to the enlightened use slave labor.
		<<case "Edo Revivalist">>
			showing an interpretation of Japanese cultural history that emphasizes a serf's duty to her social superiors.
		<<case "Arabian Revivalist">>
			showing an interpretation of Arabian cultural history that focuses on thriving slave markets and vibrant harems.
		<<case "Chinese Revivalist">>
			showing an interpretation of Chinese cultural history that focuses on concubinage, palace etiquette, and social order.
		<<case "Chattel Religionist">>
			displaying a passage from the holy book that supports slavery.
		<<case "Degradationist">>
			displaying a rote recitation of a slave's proper acceptance of her subhuman status.
		<<case "Repopulation Focus">>
			reviewing a number of sexual positions to accommodate a heavily pregnant girl.
		<<case "Eugenics">>
			reviewing ways to better your owner's standing intermixed with exaggerated pregnancy horror stories focused on slave pregnancy.
		<<case "Asset Expansionist">>
			reviewing techniques that allow two slaves with huge breasts to inspect and moisturize each others' hard to reach areas.
		<<case "Transformation Fetishist">>
			offering a brief primer on surgical recovery, with practical techniques to make it quicker.
		<<case "Gender Radicalist">>
			going over how to keep one's asspussy ready for intercourse at any time, including how to schedule regular enemata and pre-lubrication.
		<<case "Gender Fundamentalist">>
			going over the trifecta that is the standard approach of sex slaves: a blowjob, followed by vaginal, finished with anal.
		<<case "Physical Idealist">>
			offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own protein intake.
		<<case "Supremacist">>
			reviewing the scientific evidence for $arcologies[0].FSSupremacistRace superiority.
		<<case "Subjugationist">>
			reviewing the scientific evidence for $arcologies[0].FSSubjugationistRace inferiority.
		<<case "Paternalist">>
			reviewing a lesson on time-management skills, and the students are taking notes on their own tablets.
		<<case "Pastoralist">>
			reviewing how to help fellow slaves with huge, lactating breasts.
		<<case "Maturity Preferentialist">>
			going over daily sets of exercises designed to keep mature slaves' holes as tight as possible.
		<<case "Youth Preferentialist">>
			reviewing social cues that young slaves who have been enslaved through their entire adulthood might not understand.
		<<case "Body Purist">>
			offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own caloric intake.
		<<case "Slimness Enthusiast">>
			offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own caloric intake.
		<<case "Hedonistic">>
			exposing slaves to new, fascinating forms of pleasure; both for others and for themselves.
		<<case "Intellectual Dependency">>
			reviewing various sexual positions, and the students are practicing with each other.
		<<case "Slave Professionalism">>
			reviewing a complex lesson on social cues and when to act on them to better shift things in <<= properTitle()>>'s favor.
		<<case "Petite Admiration">>
			exploring methods to pleasure a partner far taller than oneself.
		<<case "Statuesque Glorification">>
			reviewing the reasons why tall individuals are widely considered more attractive.
		<<default>>
			reviewing the often complex subject of how to address citizens other that one's owner.
	<</switch>>

	<<if _DL > 2>>
		_schoolroomNameCaps is busy with slaves, repeating their lessons out loud to drill the instruction home. A few students are maintaining uncomfortable positions in the corner as punishment for poor work.
	<<elseif _DL > 0>>
		_schoolroomNameCaps is sparsely populated, the few students repeating their lessons out loud to drill the instruction home. One slave is maintaining an uncomfortable position in the corner as punishment for poor work.
	<<elseif _S.Schoolteacher>>
		<<setLocalPronouns _S.Schoolteacher>>
		_S.Schoolteacher.slaveName is alone in $schoolroomName, and has nothing to do but work on $his lesson plans.
	<<else>>
		None of your slaves are learning in $schoolroomName.

			[[Decommission the schoolroom|Main][$schoolroom = 0, $schoolroomUpgradeSkills = 0, $schoolroomUpgradeLanguage = 0, $schoolroomUpgradeRemedial = 0, $schoolroomRemodelBimbo = 0, $schoolroomDecoration = "standard"]]

	<</if>>

	<<set _Tmult0 = Math.trunc($schoolroom*1000*$upgradeMultiplierArcology)>>
	_schoolroomNameCaps has room to house $schoolroom slaves while they learn. There <<if _DL == 1>>is<<else>>are<</if>> currently _DL slave<<if _DL != 1>>s<</if>> learning in $schoolroomName.

		[[Expand the schoolroom|Schoolroom][cashX(forceNeg(_Tmult0), "capEx"), $schoolroom += 5, $PC.skill.engineering += .1]]

			Costs <<print cashFormat(_Tmult0)>>

		<<if _DL > 0>>
			<<includeDOM removeFacilityWorkers("schoolroom", "rest", "take classes")>>
		<</if>>

	<<if $schoolroomUpgradeSkills == 1>>
		_schoolroomNameCaps provides slaves with some intermediate skills, including a solid foundation in sex, efficient and safe prostitution, and the rudiments of courtesanship.
	<<else>>
		<<set _Tmult1 = Math.trunc(10000*$upgradeMultiplierArcology)>>
		_schoolroomNameCaps inculcates the basic skills necessary to a sex slave.

			[[Upgrade the curriculum to cover some intermediate skills|Schoolroom][cashX(forceNeg(_Tmult1), "capEx"), $schoolroomUpgradeSkills = 1]]

				Costs <<print cashFormat(_Tmult1)>>

	<</if>>

	<<set _Tmult2 = Math.trunc(5000*$upgradeMultiplierArcology*$HackingSkillMultiplier)>>
	<<if $schoolroomUpgradeLanguage == 1>>
		_schoolroomNameCaps boasts state of the art linguistic interfaces that allow it to teach the basics of the arcology's lingua franca with increased success.
	<<else>>
		_schoolroomNameCaps includes only basic language classes in its curriculum.

			[[Install advanced linguistic interfaces to efficiently teach the arcology's lingua franca|Schoolroom][cashX(forceNeg(_Tmult2), "capEx"), $schoolroomUpgradeLanguage = 1, $PC.skill.hacking += 0.1]]

				Costs <<print cashFormat(_Tmult2)>>

	<</if>>

	<<if $schoolroomRemodelBimbo == 1>>
		<<set _Tmult3 = Math.trunc(7500*$upgradeMultiplierArcology*$HackingSkillMultiplier)>>

			_schoolroomNameCaps is designed with moronic slaves in mind and seeks to dumb down slaves by providing them a confusing, contradictory education that retards decision making skills and undoes existing schooling. [[Restore the curriculum to the standard|Schoolroom][cashX(forceNeg(_Tmult3), "capEx"), $schoolroomRemodelBimbo = 0]]

				Costs <<print cashFormat(_Tmult3)>>

			<<if $schoolroomUpgradeRemedial == 1>>
				_schoolroomNameCaps has been upgraded with advanced teaching tools to help even the smartest slave learn at an acceptable pace. Dumb slaves won't learn much faster as a result, but smarties will benefit a great deal.
			<<else>>
				_schoolroomNameCaps teaches woefully smart slaves using its modified methods. [[Purchase specialized materials to help smart slaves get on the right track|Schoolroom][cashX(forceNeg(_Tmult2), "capEx"), $schoolroomUpgradeRemedial = 1]]

					Costs <<print cashFormat(_Tmult2)>>

			<</if>>

	<<else>>

			<<if $arcologies[0].FSIntellectualDependency > 80>>
				<<set _Tmult3 = Math.trunc(7500*$upgradeMultiplierArcology*$HackingSkillMultiplier)>>
				_schoolroomNameCaps is designed with intelligent slaves in mind and seeks to smarten slaves by providing them with an education.

					[[Redesign the curriculum to undo pesky educations and retard slaves while benefiting the most simple of minds|Schoolroom][cashX(forceNeg(_Tmult3), "capEx"), $schoolroomRemodelBimbo = 1]]

						Costs <<print cashFormat(_Tmult3)>>

			<</if>>

			<<if $schoolroomUpgradeRemedial == 1>>
				_schoolroomNameCaps has been upgraded with advanced teaching tools to help even the stupidest slave learn at an acceptable pace. Intelligent slaves won't learn much faster as a result, but idiots will benefit a great deal.
			<<else>>
				_schoolroomNameCaps teaches idiots using standard methods.

					[[Purchase specialized materials to help stupid slaves learn good|Schoolroom][cashX(forceNeg(_Tmult2), "capEx"), $schoolroomUpgradeRemedial = 1]]

						Costs <<print cashFormat(_Tmult2)>>

			<</if>>

	<</if>>

	<<includeDOM App.UI.SlaveList.stdFacilityPage(App.Entity.facilities.schoolroom, true)>>

	Rename $schoolroomName: <<textbox "$schoolroomName" $schoolroomName "Schoolroom">>

		Use a noun or similar short phrase

<<run App.UI.SlaveList.ScrollPosition.restore()>>


code:
:: Schoolroom Report [nobr]

/* This passage probably isn't really necessary but it helps organize the profiler output.
 * TODO: Once all the facility reports look like this, we should probably get rid of these intermediate passages. */
<<includeDOM App.EndWeek.schoolroomReport()>>


code:
:: Schoolteacher Select [nobr jump-to-safe jump-hidden jump-from-safe]

<<set $nextButton = "Back", $nextLink = "Schoolroom", $encyclopedia = "Schoolteacher">>
<<if _S.Schoolteacher>>
	<<setLocalPronouns _S.Schoolteacher>>
	<<= SlaveFullName(_S.Schoolteacher)>> is serving as your Schoolteacher.

$He will help teach your slaves.
<<else>>
	You have not selected a Schoolteacher.
<</if>>

''Appoint a Schoolteacher from your devoted slaves:''

[[None|Schoolroom][removeJob(_S.Schoolteacher, "be the Schoolteacher")]]

<<includeDOM App.UI.SlaveList.facilityManagerSelection(App.Entity.facilities.schoolroom, "Schoolroom")>>


code:
:: SE Birth [nobr]

<<set $nextButton = "Continue">>
<<set $nextLink = "Scheduled Event">>

<<includeDOM allBirths()>>


code:
:: SE coursing [nobr]

<<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $coursed = 1, _seed = 0>>

<<set _activeLurcher = getSlave($LurcherID)>>
<<setLocalPronouns _activeLurcher>>

/* 000-250-006 */
<<if $seeImages == 1>>
	<<set _clothesTemp = _activeLurcher.clothes, _activeLurcher.clothes = "no clothing">>
	<<if $imageChoice == 1>>

<<= SlaveArt(_activeLurcher, 2, 0)>>

	<<else>>

<<= SlaveArt(_activeLurcher, 2, 0)>>

	<</if>>
	<<set _activeLurcher.clothes = _clothesTemp>>
<</if>>
/* 000-250-006 */

It's time to go coursing. You meet with fellow members of the Coursing Association while the automated maintenance drones clear the plaza and lay down the green, sharing a refined discussion of recent events over <<if $PC.refreshmentType == 0>>a $PC.refreshment<<elseif $PC.refreshmentType == 1>>glasses of $PC.refreshment<<elseif $PC.refreshmentType == 2>>plates of $PC.refreshment<<elseif $PC.refreshmentType == 3>>hits of $PC.refreshment<<elseif $PC.refreshmentType == 4>>shots of $PC.refreshment<<elseif $PC.refreshmentType == 5>>handfuls of $PC.refreshment<<elseif $PC.refreshmentType == 6>>tabs of $PC.refreshment<</if>>. Once the field is ready, the day's hares are led out and chained in a row along one side of the plaza, naked. You and the other members watch this process intently, since you won't get any more information on them than what you can learn by looking.

The rules have been explained to the hares: they're to be freed if they can reach the other side of the plaza without being caught and raped by the lurchers who will be released to chase them.

You lead your lurcher _activeLurcher.slaveName out on a leash, naked just like the hares.

<<if (_activeLurcher.dick > 0)>>
	<<if canPenetrate(_activeLurcher) && (_activeLurcher.energy > 60) && (_activeLurcher.devotion > 20)>>
		<<if (_activeLurcher.dick > 4)>>
			$He's sporting an enormous half-erection, which has already been heavily lubricated to prevent permanent damage to the hares' holes. As you bring $him up to the mark, $he grabs its base and begins to slap it against $his thigh, hard. The hares look around to see what the wet smacking noise is, and are understandably frightened; one of them begins to beg openly. Your fellow competitors @@.green;think this is hilarious.@@
			<<run repX(250, "event", _activeLurcher)>>
			<<set $phallus = "huge dick">>
		<<else>>
			$He's ready to do $his best. Since $he's concentrating on the immediate challenge of catching rather than the secondary challenge of raping, $he isn't hard yet, but $he's not indifferent to the prospect of getting $his dick wet. There's a bead of precum forming at $his tip.
			<<set $phallus = "dick">>
		<</if>>
	<<elseif _activeLurcher.tail == "sex">>
		Although $his dick isn't really up to performing a sexual assault today, $his spade-tipped pleasure tail is sweeping back and forth and dripping lube. It's an unusual instrument for a lurcher, and one that @@.green;fascinates@@ the watching crowd of spectators.
		<<run repX(250, "event", _activeLurcher)>>
		<<set $phallus = "tail">>
	<<elseif !canAchieveErection(_activeLurcher)>>
		There's no way $he's going to be able to achieve an erection, so $he's holding a lubricated dildo in one hand. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@.red;consider it poor form.@@
		<<run repX(-50, "event", _activeLurcher)>>
		<<set $phallus = "dildo">>
	<<elseif (_activeLurcher.energy <= 60) || (_activeLurcher.devotion <= 20)>>
		$He looks nervous, and obviously doesn't find the situation arousing. $He knows $he's to catch and then rape a slave, but may not be able to get hard enough to do the deed properly. Your fellow competitors and the crowd gathering to spectate @@.red;are unimpressed@@ by $his lack of spirit.
		<<run repX(-50, "event", _activeLurcher)>>
		<<set $phallus = "fingers">>
	<<else>>
		$His dick is not a fit instrument for sexual assault, so $he's holding a lubricated dildo in one hand. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@.red;consider it poor form.@@
		<<run repX(-50, "event", _activeLurcher)>>
		<<set $phallus = "dildo">>
	<</if>>
<<elseif (_activeLurcher.clit > 1) && (_activeLurcher.energy > 60) && (_activeLurcher.devotion > 20)>>
	$He's gently masturbating as you bring $him up to the mark, $his enormous clit becoming engorged and stiff. Your fellow competitors and the gathering crowd of spectators @@.green;are fascinated,@@ realizing that $he intends to attempt rape with it.
	<<run repX(250, "event", _activeLurcher)>>
	<<set $phallus = "clit">>
<<elseif _activeLurcher.tail == "sex">>
	$His spade-tipped pleasure tail is sweeping back and forth and dripping lube, as if $he's already seeking a target for it. It's an unusual instrument for a lurcher, and one that @@.green;fascinates@@ the watching crowd of spectators.
	<<run repX(250, "event", _activeLurcher)>>
	<<set $phallus = "tail">>
<<elseif $seeDicks != 0>>
	$He's holding a lubricated dildo in one hand, since $he's missing a natural phallus of $his own. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@.red;consider it poor form.@@
	<<run repX(-50, "event", _activeLurcher)>>
	<<set $phallus = "dildo">>
<<else>>
	$He's holding a lubricated dildo in one hand. As you bring $him up to the mark, $he begins to slap it against $his thigh out of nervousness and eagerness to begin. The hares look around to see what the wet smacking noise is, and are understandably frightened; one of them begins to cry openly.
	<<set $phallus = "dildo">>
<</if>>

<<if canSee(_activeLurcher)>>_activeLurcher.slaveName looks at you questioningly, wondering which of the hares $he should try to chase down and molest<<else>>_activeLurcher.slaveName looks at you questioningly, wondering which of the dinging bells $he should try to chase down and molest<</if>>.

<<set $hare1 = 0, $hare2 = 0, $hare3 = 0>>

<<set _possibleOrigins = []>>
<<if $seeDicks != 100>>
	<<set _possibleOrigins.push("housewife")>>
	<<if $seePreg != 0>>
		<<set _possibleOrigins.push("heavily pregnant")>>
	<</if>>
	<<set _possibleOrigins.push("virgin")>>
	<<set _possibleOrigins.push("disobedient young")>>
<</if>>
<<if $seeDicks != 0>>
	<<set _possibleOrigins.push("huge balled")>>
	<<set _possibleOrigins.push("feminized")>>
	<<set _possibleOrigins.push("disobedient young dickgirl")>>
<</if>>

<<for _sec = 0; _sec < 3; _sec++>>

<<set $hareSpeed = 10>>
<<set $origin = _possibleOrigins.pluck()>> /* select random origin and remove from list to avoid using same origin multiple times */
<<if $origin == "virgin">>
	<<set $activeSlaveOneTimeMaxAge = 20>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XX")>>
	<<run generateSalonModifications($activeSlave)>>
	<<set $activeSlave.anus = 1>>
	<<set $activeSlave.vagina = 0>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<if $activeSlave.pubertyXX > 0>>
		<<set $activeSlave.preg = -1>>
	<</if>>
	<<set $activeSlave.ovaries = 1>>
	<<set $activeSlave.skill.vaginal = 0>>
	<<set $activeSlave.skill.oral = 0>>
	<<set $activeSlave.skill.anal = 0>>
	<<set $activeSlave.skill.whoring = 0>>
	<<set $activeSlave.weight = random(-50,50)>>
<<elseif $origin == "heavily pregnant">>
	<<set $activeSlaveOneTimeMinAge = $fertilityAge>>
	<<set $activeSlaveOneTimeMaxAge = 20>>
	<<set $one_time_age_overrides_pedo_mode = 1>> /% Old enough to be pregnant. %/
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XX")>>
	<<set $activeSlave.anus = 1>>
	<<set $activeSlave.vagina = 1>>
	<<set $activeSlave.counter.vaginal += 1, $vaginalTotal += 1>>
	<<set $activeSlave.preg = random(30,40)>>
	<<set $activeSlave.pregKnown = 1, $activeSlave.pregType = 1, $activeSlave.pregWeek = $activeSlave.preg>>
	<<run SetBellySize($activeSlave)>>
	<<set $activeSlave.ovaries = 1>>
	<<set $activeSlave.skill.vaginal = 0>>
	<<set $activeSlave.skill.oral = 0>>
	<<set $activeSlave.skill.anal = 0>>
	<<set $activeSlave.skill.whoring = 0>>
	<<set $activeSlave.weight = random(-20,100)>>
	<<set $activeSlave.career = setup.youngCareers.random()>>
<<elseif $origin == "housewife">>
	<<set $activeSlaveOneTimeMinAge = 35>>
	<<set $activeSlaveOneTimeMaxAge = 39>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XX")>>
	<<set $activeSlave.boobs += 800>>
	<<set $activeSlave.boobsImplant += 800>>
	<<set $activeSlave.boobsImplantType = "normal">>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.buttImplantType = "normal">>
	<<set $activeSlave.face = 55>>
	<<set $activeSlave.faceImplant += 20>>
	<<set $activeSlave.anus = 1>>
	<<set $activeSlave.vagina = 1>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<set $activeSlave.preg = -1>>
	<<set $activeSlave.ovaries = 1>>
	<<set $activeSlave.skill.vaginal = 35>>
	<<set $activeSlave.skill.oral = 100>>
	<<set $activeSlave.skill.anal = 15>>
	<<set $activeSlave.skill.whoring = 35>>
	<<set $activeSlave.career = either("a housewife", "a trophy wife")>>
	<<set $activeSlave.weight = random(-50,100)>>
<<elseif $origin == "disobedient young">>
	<<set $activeSlaveOneTimeMaxAge = 25>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XX")>>
	<<run generateSalonModifications($activeSlave)>>
	<<set $activeSlave.anus = 1>>
	<<set $activeSlave.vagina = 1>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<if $activeSlave.pubertyXX > 0>>
		<<set $activeSlave.preg = -1>>
	<</if>>
	<<set $activeSlave.ovaries = 1>>
	<<set $activeSlave.skill.vaginal = 15>>
	<<set $activeSlave.skill.oral = 15>>
	<<set $activeSlave.skill.anal = 15>>
	<<set $activeSlave.skill.whoring = 15>>
	<<set $activeSlave.sexualFlaw = either("hates anal", "hates oral", "hates penetration", "idealistic")>>
	<<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy", "hates men")>>
	<<set $activeSlave.energy = 10>>
	<<set $activeSlave.fetish = "none">>
	<<set $activeSlave.muscles = random(20,50)>>
	<<set $activeSlave.weight = random(-20,20)>>
<<elseif $origin == "disobedient young dickgirl">>
	<<set $activeSlaveOneTimeMaxAge = 25>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XY")>>
	<<run generateSalonModifications($activeSlave)>>
	<<set $activeSlave.anus = 2>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<set $activeSlave.dick = random(2,4)>>
	<<set $activeSlave.balls = random(2,4)>>
	<<set $activeSlave.skill.oral = 0>>
	<<set $activeSlave.skill.anal = 0>>
	<<set $activeSlave.skill.whoring = 0>>
	<<set $activeSlave.sexualFlaw = either("hates oral", "hates anal", "hates penetration")>>
	<<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy", "hates men")>>
	<<set $activeSlave.attrXY = 0>>
	<<set $activeSlave.attrXX = 70>>
	<<set $activeSlave.fetish = "none">>
	<<set $activeSlave.muscles = random(20,50)>>
	<<set $activeSlave.weight = random(-20,50)>>
<<elseif $origin == "huge balled">>
	<<set $activeSlaveOneTimeMaxAge = 25>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XY")>>
	<<run generateSalonModifications($activeSlave)>>
	<<set $activeSlave.anus = 1>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<set $activeSlave.balls = 5>>
	<<set $activeSlave.scrotum = 5>>
	<<set $activeSlave.dick = random(3,5)>>
	<<set $activeSlave.skill.oral = 0>>
	<<set $activeSlave.skill.anal = 0>>
	<<set $activeSlave.skill.whoring = 0>>
	<<set $activeSlave.weight = random(-50,100)>>
<<elseif $origin == "feminized">>
	<<set $activeSlaveOneTimeMaxAge = 25>>
	<<set $oneTimeDisableDisability = 1>>
	<<set $activeSlave = GenerateNewSlave("XY")>>
	<<run generateSalonModifications($activeSlave)>>
	<<set $activeSlave.boobs += 800>>
	<<set $activeSlave.boobsImplant += 800>>
	<<set $activeSlave.boobsImplantType = "fillable">>
	<<set $activeSlave.butt += 1>>
	<<set $activeSlave.buttImplant += 1>>
	<<set $activeSlave.buttImplantType = "normal">>
	<<set $activeSlave.face = Math.clamp($activeSlave.face+20,-100,100)>>
	<<set $activeSlave.faceImplant += 20>>
	<<set $activeSlave.anus = 3>>
	<<set $activeSlave.counter.anal += 1, $analTotal += 1>>
	<<set $activeSlave.balls = random(0,1)>>
	<<set $activeSlave.dick = random(1,2)>>
	<<set $activeSlave.skill.oral = 15>>
	<<set $activeSlave.skill.anal = 35>>
	<<set $activeSlave.skill.whoring = 15>>
	<<set $activeSlave.attrXY = 100>>
	<<set $activeSlave.attrXX = 0>>
	<<set $activeSlave.weight = random(-100,200)>>
<</if>>
<<setLocalPronouns $activeSlave 2>>
/* 000-250-006 */
<<if $seeImages && $seeReportImages>>

	<<= SlaveArt($activeSlave, 0, 0)>>

<</if>>
/* 000-250-006 */
<<if _sec == 0>>
	<<link "The first hare">>
		<<replace "#result">>
			<<set $activeSlave = clone($hare1), $origin = $origin1, $hareSpeed = $hareSpeed1>>
			<<include "SE coursing race">>
		<</replace>>
		<<replace "#art-frame">>
			<<set _clothesTemp = _activeLurcher.clothes, _activeLurcher.clothes = "no clothing">>
			<<if $activeSlave != 0>>
				<<set _clothesTemp2 = $activeSlave.clothes, $activeSlave.clothes = "no clothing">>
			<</if>>
			/* 000-250-006 */
			<<if $seeImages == 1>>

						<<= SlaveArt(_activeLurcher, 2, 0)>>

					<<if $activeSlave != 0>>

							<<= SlaveArt($activeSlave, 2, 0)>>

					<</if>>

			<</if>>
			/* 000-250-006 */
			<<set _activeLurcher.clothes = _clothesTemp>>
			<<if $activeSlave != 0>>
				<<set $activeSlave.clothes = _clothesTemp2>>
			<</if>>
			<<unset _activeLurcher>>
		<</replace>>
	<</link>>
<<elseif _sec == 1>>
	<<link "The second hare">>
		<<replace "#result">>
			<<set $activeSlave = clone($hare2), $origin = $origin2, $hareSpeed = $hareSpeed2>>
			<<set $hare2 = clone($hare1), $origin2 = $origin1, $hareSpeed2 = $hareSpeed1>>
			<<include "SE coursing race">>
		<</replace>>
		<<replace "#art-frame">>
			<<set _clothesTemp = _activeLurcher.clothes, _activeLurcher.clothes = "no clothing">>
			<<if $activeSlave != 0>>
				<<set _clothesTemp2 = $activeSlave.clothes, $activeSlave.clothes = "no clothing">>
			<</if>>
			/* 000-250-006 */
			<<if $seeImages == 1>>

						<<= SlaveArt(_activeLurcher, 2, 0)>>

					<<if $activeSlave != 0>>

							<<= SlaveArt($activeSlave, 2, 0)>>

					<</if>>

			<</if>>
			/* 000-250-006 */
			<<set _activeLurcher.clothes = _clothesTemp>>
			<<if $activeSlave != 0>>
				<<set $activeSlave.clothes = _clothesTemp2>>
			<</if>>
			<<unset _activeLurcher>>
		<</replace>>
	<</link>>
<<else>>
	<<link "The third and final hare">>
		<<replace "#result">>
			<<set $activeSlave = clone($hare3), $origin = $origin3, $hareSpeed = $hareSpeed3>>
			<<set $hare3 = clone($hare1), $origin3 = $origin1, $hareSpeed3 = $hareSpeed1>>
			<<include "SE coursing race">>
		<</replace>>
		<<replace "#art-frame">>
			<<set _clothesTemp = _activeLurcher.clothes, _activeLurcher.clothes = "no clothing">>
			<<if $activeSlave != 0>>
				<<set _clothesTemp2 = $activeSlave.clothes, $activeSlave.clothes = "no clothing">>
			<</if>>
			/* 000-250-006 */
			<<if $seeImages == 1>>

						<<= SlaveArt(_activeLurcher, 2, 0)>>

					<<if $activeSlave != 0>>

							<<= SlaveArt($activeSlave, 2, 0)>>

					<</if>>

			<</if>>
			/* 000-250-006 */
			<<set _activeLurcher.clothes = _clothesTemp>>
			<<if $activeSlave != 0>>
				<<set $activeSlave.clothes = _clothesTemp2>>
			<</if>>
			<<unset _activeLurcher>>
		<</replace>>
	<</link>>
<</if>>
<<if $origin == "virgin">>
	is an appealingly young $activeSlave.race _girl2, and has V symbols drawn over _his2 cunt and on _his2 lower back, in the interests of fairness. _He2's a @@.pink;double virgin. @@<<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 neck.<</if>>
<<elseif $origin == "heavily pregnant">>
	is <<= addA($activeSlave.race)>> _girl2, young and healthy but @@.pink;heavily pregnant.@@ _He2's probably been selected to be a hare as a joke, or because someone hates _him2. <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is attached to _his2 popped navel.<</if>>
<<elseif $origin == "housewife">>
	is <<= addA($activeSlave.race)>> _woman2, no longer young, but attractive enough in a fake sort of way. _He2 has obviously been crying, and has probably been recently enslaved from a comfortable life, like that of a @@.pink;house<<= $wife>> or a trophy $wife.@@ <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 neck.<</if>>
<<elseif $origin == "disobedient young">>
	is a fit young $activeSlave.race _girl2, and is far more watchful and alert than _his2 fellow hares. _He2 may be a @@.pink;disobedient slave@@ here because _he2 was difficult to train. <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 neck.<</if>>
<<elseif $origin == "disobedient young dickgirl">>
	is a strong young $activeSlave.race slave who retains _his2 cock and balls, and looks determined. Perhaps _he2's a @@.pink;resistant dickgirl@@ who's been difficult to turn into a good girl. <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 cock.<</if>>
<<elseif $origin == "huge balled">>
	is <<= addA($activeSlave.race)>> slave whose distinguishing characteristic is a dangling scrotum and a pair of @@.pink;huge balls.@@ This impediment bumps against _his2 thighs as _he2's made ready. <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 hefty testicles.<</if>>
<<elseif $origin == "feminized">>
	is <<= addA($activeSlave.race)>> bitch with a tiny dick who has been @@.pink;heavily feminized,@@ yet seems terrified and very new to slavery. _His2 fake tits and girly behavior must be from _his2 life before _he2 was a slave. <<if !canSee(_activeLurcher)>>To accommodate your blind lurcher, a bell is fastened around _his2 neck.<</if>>
<</if>>

<<set $activeSlave.origin = "Your lurcher " + _activeLurcher.slaveName + " caught $him coursing; $he was a " + $origin + " hare.">>
<<run setHealth($activeSlave, jsRandom(30,50))>>
<<set $activeSlave.devotion = random(-45,-25)>>
<<set $activeSlave.trust = random(-60,-75)>>
<<set $activeSlave.oldDevotion = $activeSlave.devotion>>

<<if ($activeSlave.physicalAge >= 100)>>
	_He2 is really, really old and won't stand a chance of shuffling off, though tackling _him2 seems like it may be a bad idea.
	<<set $hareSpeed -= 5>>
<<elseif ($activeSlave.physicalAge >= 85)>>
	_He2 is very old and should be an easy catch.
	<<set $hareSpeed -= 4>>
<<elseif ($activeSlave.physicalAge >= 70)>>
	_He2 is old and slow.
	<<set $hareSpeed -= 3>>
<</if>>
<<if $activeSlave.weight > 190>>
	_He2's practically all fat and no slave; _he2's half-expected to roll _his2 way to the finish like an overfed slutty bowling ball.
	<<set $hareSpeed -= 5>>
<<elseif $activeSlave.weight > 160>>
	_He2's a catastrophically fat slut of a slave, and may stand a better chance of getting away rolling than running.
	<<set $hareSpeed -= 3>>
<<elseif $activeSlave.weight > 95>>
	_He2's a ridiculously fat slut of a slave with plenty of flesh to grab on to; _his2 constant jiggling will be a sight to behold, however.
	<<set $hareSpeed -= 2>>
<<elseif $activeSlave.weight > 30>>
	_He2's chubby enough that _his2 weight will reduce _his2 speed.
	<<set $hareSpeed -= 1>>
<<elseif $activeSlave.weight < -95>>
	_He2's so skinny that it's not likely _he2's physically fit enough to be quick.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.muscles > 50>>
	_He2's so heavily muscled that _he2's probably slower than _he2 would be if _he2 were merely fit.
	<<set $hareSpeed -= 1>>
<<elseif $activeSlave.muscles > 30>>
	_He2's quite toned, which will give _him2 an edge once _he2's up to speed.
	<<set $hareSpeed += 1>>
<<elseif $activeSlave.muscles <= 5>>
	_He2's soft, and _his2 legs show no sign of tone at all.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.height >= 185>>
	_He2's tall enough that _his2 height will probably slow _him2 down.
	<<set $hareSpeed -= 1>>
<<elseif $activeSlave.height < 150>>
	_He2's short enough that _his2 short legs will probably slow _him2 down.
	<<set $hareSpeed -= 2>>
<</if>>
<<if $activeSlave.boobs >= 2000>>
	_He2 has absurd tits that will destroy any chance _he2 has of getting away.
	<<set $hareSpeed -= 1>>
<<elseif $activeSlave.boobs >= 800>>
	_He2 has huge boobs that will make it painful for _him2 to run hard.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.butt >= 6>>
	_He2 has a monstrous bottom that won't help _his2 gait.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.dick >= 5>>
	_His2 big cock is going to bounce around cruelly.
	<<set $hareSpeed -= 1>>
<</if>>
<<if ($activeSlave.balls >= 5) && ($activeSlave.scrotum > 0)>>
	_His2 balls are likely to hurt badly enough, running naked, to slow _him2 down.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.belly >= 60000>>
	_He2's so massively pregnant it'll be lucky if _he2 even makes it anywhere.
	<<set $hareSpeed -= 10>>
<<elseif $activeSlave.belly >= 10000>>
	_He2 pregnant belly will probably stop _him2 from running at all.
	<<set $hareSpeed -= 5>>
<<elseif $activeSlave.belly >= 5000>>
	_He2's visibly pregnant and likely to be cautious and unsure about running.
	<<set $hareSpeed -= 3>>
<<elseif $activeSlave.belly >= 1500>>
	There is a slight roundness to _his2 middle, likely an early pregnancy that will distract _him2.
	<<set $hareSpeed -= 1>>
<</if>>
<<if $activeSlave.health.tired > 90>>
	_He2 is obviously tired and will likely be a quick catch.
	<<set $hareSpeed -= 5>>
<<elseif $activeSlave.health.tired > 60>>
	_He2 seems to be rather tired, which will slow _him2 out of the gate.
	<<set $hareSpeed -= 2>>
<<elseif $activeSlave.health.tired > 30>>
	_He2 seems a little tired, which will slow _his2 acceleration.
	<<set $hareSpeed -= 1>>
<</if>>

<<if _sec == 0>>
	<<set $hare1 = $activeSlave>>
	<<set $origin1 = $origin>>
	<<set $hareSpeed1 = $hareSpeed>>
<<elseif _sec == 1>>
	<<set $hare2 = $activeSlave>>
	<<set $origin2 = $origin>>
	<<set $hareSpeed2 = $hareSpeed>>
<<else>>
	<<set $hare3 = $activeSlave>>
	<<set $origin3 = $origin>>
	<<set $hareSpeed3 = $hareSpeed>>
<</if>>

<</for>>


code:
:: SE coursing race [nobr]

<<set _activeLurcher = getSlave($LurcherID)>>
<<setLocalPronouns _activeLurcher>>
<<setLocalPronouns $activeSlave 2>>

You place your hand on the leash's quick release and <<if canHear(_activeLurcher)>>whisper your direction into $his ear without letting the other competitors or their lurchers hear<<else>>gently point $him towards the target hare without letting the other competitors or their lurchers see<</if>>. Then, you gently push $him down into $his starting crouch. The umpire trips the hares' releases, a few <<if $showInches == 2>>yards<<else>>meters<</if>> in front of you and _activeLurcher.slaveName, and you instantly let your lurcher off $his leash.

<<set _LurcherSpeed = 10>>
<<if _activeLurcher.devotion > 50>>
	$He's eager to do well for you, and immediately takes off.
	<<set _LurcherSpeed += 2>>
<<elseif _activeLurcher.trust < -20>>
	$He's frightened of failing you, and immediately takes off.
	<<set _LurcherSpeed += 1>>
<<elseif _activeLurcher.devotion < -20>>
	$He's disgusted by this, and is slow to start.
	<<set _LurcherSpeed -= 1>>
<<else>>
	$He's a bit hesitant about this, but gets off reasonably well.
<</if>>
<<if $AgePenalty != 0>>
	<<if (_activeLurcher.physicalAge >= 100)>>
		The crowd bursts into raucous laughter as $he shuffles full speed ahead.
		<<set _LurcherSpeed -= 5>>
	<<elseif (_activeLurcher.physicalAge >= 85)>>
		The crowd bursts into laughter at the old $woman completely out of $his element.
		<<set _LurcherSpeed -= 3>>
	<<elseif (_activeLurcher.physicalAge >= 70)>>
		$He isn't as young as $he used to be.
		<<set _LurcherSpeed -= 1>>
	<</if>>
<</if>>
<<if _activeLurcher.health.condition > 60>>
	$His shining health allows $him to pour it on.
	<<set _LurcherSpeed += 1>>
<<elseif _activeLurcher.health.condition < 0>>
	$His poor health slows $him down.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.health.tired > 90>>
	$He is exhausted and can barely stay awake; side bets are starting up on how far $he'll make it around the track.
	<<set _LurcherSpeed -= 5>>
<<elseif _activeLurcher.health.tired > 60>>
	$He is fatigued, sapping the strength $he'll need to reach $his top speed.
	<<set _LurcherSpeed -= 2>>
<<elseif _activeLurcher.health.tired > 30>>
	$He is tired and liable to be a slow start.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if !canSee(_activeLurcher)>>
	$His inability to see causes $him to be cautious of $his footing, making $his first several strides slow and uncertain.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.weight > 190>>
	$He's so fat that $his run is nothing more than an out of breath waddle.
	<<set _LurcherSpeed -= 5>>
<<elseif _activeLurcher.weight > 160>>
	It takes $him a while to get $his fat ass up to $his (rather pathetic) top speed, such as it is.
	<<set _LurcherSpeed -= 3>>
<<elseif _activeLurcher.weight > 95>>
	It takes $him a while to get $his fat ass up to $his top speed, such as it is.
	<<set _LurcherSpeed -= 2>>
<<elseif _activeLurcher.weight > 30>>
	It takes $him a while to get $his chubby body up to speed.
	<<set _LurcherSpeed -= 1>>
<<elseif _activeLurcher.weight < -95>>
	$He's so thin that $he lacks the vigor to run really well.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.muscles > 50>>
	$He's muscle-bound, without the range of motion to move freely.
	<<set _LurcherSpeed -= 1>>
<<elseif _activeLurcher.muscles > 30>>
	$He's fit, and is able to maintain $his speed quite well once $he reaches it.
	<<set _LurcherSpeed += 1>>
<<elseif _activeLurcher.muscles <= 5>>
	$He's soft, and is panting desperately within a few short strides.
	<<set _LurcherSpeed -= 1>>
<<elseif _activeLurcher.muscles <= -30>>
	$He's very weak, and is panting desperately from just walking to the starting line.
	<<set _LurcherSpeed -= 4>>
<<elseif _activeLurcher.muscles <= -95>>
	$He's physically frail, barely capable of walking let alone running.
	<<set _LurcherSpeed -= 20>>
<</if>>
<<if _activeLurcher.height >= 185>>
	$His steps are long — too long, in fact: $his long legs slow $his gait.
	<<set _LurcherSpeed -= 1>>
<<elseif _activeLurcher.height < 150>>
	$His stride is too short, but it's the best $his little legs can manage.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.boobs >= 2000>>
	$His naked breasts slosh around wildly, ruining $his attempt at running.
	<<set _LurcherSpeed -= 2>>
<<elseif _activeLurcher.boobs >= 800>>
	$His big tits bounce energetically, looking quite nice but hurting $his speed.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.butt >= 6>>
	$He does $his best to stay light on $his feet despite $his inconveniently huge buttocks.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.dick >= 5>>
	$His cock bounces up and down wildly; $he does $his best to ignore it, but it does get in the way.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.balls >= 5>>
	As you watch $him go, $his testicles smack into $his thigh, and $he gasps with pain.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.preg >= _activeLurcher.pregData.normalBirth>>
	$He seems terrified that $his water might break if $he tried to move too fast.
	<<set _LurcherSpeed -= 10>>
<<elseif _activeLurcher.belly >= 120000>>
	$He can barely move $himself, let alone consider chasing something with $his titanic <<if _activeLurcher.bellyImplant > 100>>belly implant<<else>>pregnant belly<</if>> in the way.
	<<set _LurcherSpeed -= 20>>
<<elseif _activeLurcher.belly >= 60000>>
	$He can barely waddle with $his <<if _activeLurcher.bellyImplant > 100>>enormous belly implant<<else>>enormously pregnant belly<</if>>.
	<<set _LurcherSpeed -= 10>>
<<elseif _activeLurcher.belly >= 10000 && _activeLurcher.bellyFluid < 2000>>
	$He can barely waddle along with $his huge <<if _activeLurcher.bellyImplant > 100>>belly implant<<else>>pregnant belly<</if>>.
	<<set _LurcherSpeed -= 5>>
<<elseif _activeLurcher.bellyPreg >= 5000>>
	$He seems unwilling to really run while pregnant.
	<<set _LurcherSpeed -= 3>>
<<elseif _activeLurcher.bellyImplant >= 5000>>
	$His big belly implant hinders $his ability to run
	<<set _LurcherSpeed -= 2>>
<<elseif _activeLurcher.belly >= 1500>>
	$He keeps one hand on $his slightly swollen middle as $he runs.
	<<set _LurcherSpeed -= 1>>
<</if>>
<<if _activeLurcher.bellyFluid >= 10000>>
	$His hugely bloated, <<print _activeLurcher.inflationType>>-filled belly is taut and painful, forcing $him to a slow waddle.
	<<set _LurcherSpeed -= 5>>
<<elseif _activeLurcher.bellyFluid >= 5000>>
	$His bloated, <<print _activeLurcher.inflationType>>-stuffed belly is constantly jiggling and moving, making it extremely difficult to run.
	<<set _LurcherSpeed -= 4>>
<<elseif _activeLurcher.bellyFluid >= 2000>>
	$His distended, <<print _activeLurcher.inflationType>>-belly is uncomfortable and heavy, slowing $him down.
	<<set _LurcherSpeed -= 2>>
<</if>>

<<if _LurcherSpeed > 10>>
	$His turn of speed is impressive.
<<elseif _LurcherSpeed > 8>>
	$He runs reasonably fast.
<<elseif _LurcherSpeed > 6>>
	In all, $he runs slowly.
<<elseif _LurcherSpeed > 4>>
	In all, $he barely manages a quick jog.
<<else>>
	In all, $he can barely do more than stumble after the hares.
<</if>>

<<if $hareSpeed >= _LurcherSpeed>>
	<<if $origin == "virgin">>
		The virgin, however,
	<<elseif $origin == "heavily pregnant">>
		Despite _his2 pregnancy, the hare
	<<elseif $origin == "housewife">>
		Despite _his2 fake boobs, the hare
	<<elseif $origin == "disobedient young">>
		The fit young slave, however,
	<<elseif $origin == "disobedient young dickgirl">>
		The strong young slave, however,
	<<elseif $origin == "huge balled">>
		Despite _his2 ridiculous ballsack, the hare
	<<else>>
		Despite _his2 fake boobs and exaggeratedly feminine gait, the hare
	<</if>>
	<<if $hareSpeed > _LurcherSpeed>>immediately pulls away<<else>>manages to maintain _his2 narrow head start<</if>>. Realizing that $he stands no chance of catching $his assigned target, _activeLurcher.slaveName <<if canSee(_activeLurcher)>>looks around for a slower hare<<else>>listens for a nearby bell<</if>>.
	<<if $hareSpeed2 < $hareSpeed3>>
		<<set $activeSlave = $hare2>>
		<<set $origin = $origin2>>
		<<set $hareSpeed = $hareSpeed2>>
	<<else>>
		<<set $activeSlave = $hare3>>
		<<set $origin = $origin3>>
		<<set $hareSpeed = $hareSpeed3>>
	<</if>>
	<<setLocalPronouns $activeSlave 2>>
	<<if canSee(_activeLurcher)>>Seeing that the $origin hare is slower<<else>>hearing the $origin hare's bell nearby<</if>>, $he angles after _him2 instead.
	<<if $hareSpeed >= _LurcherSpeed>>
		$He does no better with $his new target; $his course is over.
	<<elseif random(1,2) == 1>>
		One of $his rival lurchers has the same idea, however, and tries to trip $him up.
		<<if !canSee(_activeLurcher)>>
			Unable to see it coming, $he goes down with a crash; $his course is over.
		<<elseif _activeLurcher.skill.combat == 1>>
			$He parries the attempt with contemptuous ease and catches up to $his new target.
			<<set _seed = 1>>
		<<elseif _activeLurcher.tail == "combat">>
			$He lashes out at $his competitor with $his combat tail; $his rival stumbles in surprise, and $he easily catches up to $his new target.
			<<set _seed = 1>>
		<<elseif _activeLurcher.muscles > 30>>
			$He muscles through the attempt and catches up to $his new target.
			<<set _seed = 1>>
		<<else>>
			$He goes down with a crash; $his course is over.
		<</if>>
	<<else>>
		$He manages to overtake $his new target.
		<<set _seed = 1>>
	<</if>>
<<else>>
	$He rapidly overtakes the $origin hare.
	<<set _seed = 1>>
<</if>>

<<if _seed == 1>>
	<<if $origin == "heavily pregnant">>
		$His quarry is unwilling to be tackled, probably out of fear for _his2 baby, and flings _himself2 down as soon as _activeLurcher.slaveName gets near.<<if !canSee(_activeLurcher)>> _He2 screams as _he2 sees _activeLurcher.slaveName preparing to dive on _him2, alerting the blind lurcher that $his prey has already surrendered.<</if>>
	<<elseif !canSee(_activeLurcher) && random(1,3) == 1>>
		$His prey takes advantage of $his lack of eyesight, baiting _activeLurcher.slaveName to dive in the wrong direction. As $he rises to $his feet, the slave is too far gone to make another lunge. _activeLurcher.slaveName's course is over.
		<<set _seed = 0>>
	<<elseif _activeLurcher.skill.combat == 1>>
		$His tackle is expert: $he wraps $his quarry up and pulls _him2 down, falling on top of the struggling body.
	<<elseif _activeLurcher.muscles > 30>>
		$He's burly enough that $he tackles $his quarry by simple force, an approach no less effective for its inelegance.
	<<elseif $origin == "virgin">>
		<<if random(1,3) == 1>>
			The young slave manages to evade $his inexpert tackle, however, and there is no space for another before $he crosses the plaza. _activeLurcher.slaveName's course is over.
			<<set _seed = 0>>
		<<else>>
			$His tackle is inexpert, but the young slave stumbles and falls anyway.
		<</if>>
	<<elseif $origin == "housewife">>
		<<if random(1,4) == 1>>
			The spoiled slave shows surprising agility, however, and evades _activeLurcher.slaveName's inexpert attempts to tackle all the way across the plaza. $His course is over.
			<<set _seed = 0>>
		<<else>>
			$His tackle is inexpert, but the top-heavy bimbo goes down anyway.
		<</if>>
	<<elseif $origin == "feminized">>
		<<if random(1,4) == 1>>
			The sissy bitch shows surprising agility, however, and evades _activeLurcher.slaveName's inexpert attempts to tackle all the way across the plaza. $His course is over.
			<<set _seed = 0>>
		<<else>>
			$His tackle is inexpert, but the sissy bitch goes down with a wail.
		<</if>>
	<<elseif $origin == "huge balled">>
		<<if random(1,4) == 1>>
			The slave shows surprising agility despite _his2 flopping ballsack, and evades _activeLurcher.slaveName's inexpert attempts to tackle all the way across the plaza. $His course is over.
			<<set _seed = 0>>
		<<else>>
			$His tackle is inexpert, but the slave goes down, screaming with pain when _his2 balls get trapped under their combined weight.
		<</if>>
	<<else>>
		<<if random(1,2) == 1>>
			The determined young slave evades $his inexpert attempts to tackle all the way across the plaza, however. _activeLurcher.slaveName's course is over.
			<<set _seed = 0>>
		<<else>>
			$His tackle is inexpert, but the determined slave is unlucky, stumbling and going down anyway.
		<</if>>
	<</if>>
<</if>>

<<if _seed == 1>>
	The hare knows that once _his2 knees touched the field, _his2 chance at freedom was gone. _He2 begins to cry
	<<if $phallus == "huge dick">>
		and then scream as _activeLurcher.slaveName
		<<if $origin == "virgin">>
			rapes _his2 virgin ass. The lurcher has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud. $He has to be very careful, since $his cock is big enough to seriously hurt an anal virgin, but despite $his care the racket is appallingly loud.
		<<elseif $origin == "heavily pregnant">>
			fucks _his2 cunt. As _his2 belly attests, _he2's no virgin, but the lurcher's dick is big enough to reach _his2 cervix. _His2 screams crescendo into shrieks as _he2 experiences this internal torment.
		<<elseif $origin == "housewife">>
			fucks _him2 in the ass. A kept _woman2 like _him2 is probably no stranger to giving up _his2 butthole to please a cock, but _he2 apparently isn't used to dick quite this formidable. The lurcher leaves _him2 sobbing disconsolately with a fresh load of cum leaking out of _his2 backdoor.
		<<elseif $origin == "feminized">>
			fucks _him2 in the ass. The high-pitched shrieking produces some discussion in the crowd. If the slave didn't want huge cock up _his2 girly anus, why did _he2 feminize _himself2 so thoroughly? A mystery.
		<<elseif $origin == "huge balled">>
			fucks _him2 in the ass. The lurcher pounds _him2 doggy style, taking nice long strokes that slide $his formidable shaft almost all the way out of $his victim's poor butthole before shoving it back in again. The slave's balls brush the field with each thrust.
		<<else>>
			fucks _him2 in the ass. _He2 never stops struggling, though this isn't much proof of undiminished resistance. After all, the lurcher's dick is so big that _he2'd probably fight to get it out of _his2 butthole even if _he2 weren't in need of breaking.
		<</if>>
	<<elseif $phallus == "dick">>
		as _activeLurcher.slaveName
		<<if $origin == "virgin">>
			penetrates _his2 virgin ass. The lurcher has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud. You see $his back stiffen with overstimulation as $he experiences the rare delight of raping an anal virgin.
		<<elseif $origin == "heavily pregnant">>
			uses _his2 cunt. The lurcher pulls the slave upright so $he can cradle _his2 pregnant belly while $he fucks _him2. When _he2 climaxes, $he thrusts as deeply as $he can manage, though more cum won't make the slave any more pregnant.
		<<elseif $origin == "housewife">>
			fucks _him2 in the ass. _His2 tears seem to come more from disappointment than anal pain; a kept _woman2 like _him2 has probably put up with more than one buttfuck _he2 didn't want.
		<<elseif $origin == "feminized">>
			fucks _him2 in the ass. The whining produces some discussion in the crowd. If the slave didn't want cock up _his2 girly anus, why did _he2 feminize _himself2 so thoroughly? A mystery.
		<<elseif $origin == "huge balled">>
			uses _his2 anus. With them facing away from you, the coupling takes the usual stacked symmetry of a dickgirl fucking a dickgirl, though the bottom's generous balls sway eye-catchingly back and forth with the rhythm of the assrape.
		<<else>>
			fucks _him2 in the ass. _He2 never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist _his2 lot in life. _He2's probably been assraped more than once before today, but _he2 fights this like it's the first time.
		<</if>>
	<<elseif $phallus == "clit">>
		as _activeLurcher.slaveName
		<<if $origin == "virgin">>
			grinds $himself against the hare to get $his pseudophallic clit into $his victim's virgin ass. The lurcher has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud. You see $his back stiffen with overstimulation as $his enormous bitch button slips up the slave's asshole.
		<<elseif $origin == "heavily pregnant">>
			grinds $himself against the hare to get $his pseudophallic clit inside $his victim's cunt. The lurcher has to force the hare down, legs spread, in order to work $his enormous clit inside the slave, but $he manages it and you see $his back stiffen as $his pseudophallus, small by the standards of penises but much more sensitive, slides inside.
		<<elseif $origin == "housewife">>
			grinds $himself against the hare to get $his pseudophallic clit inside $his victim's cunt. The slave doesn't seem to know what to make of this. Being raped by a huge clit is very probably a novel experience for _him2, but it isn't really painful. _He2 closes _his2 eyes and visibly tries to pretend it's a small penis.
		<<elseif $origin == "feminized">>
			grinds $himself against the hare to get $his pseudophallic clit inside $his victim's experienced anus. The slave stiffens with shock. _He2's obviously had quite a variety of things pushed up _his2 girly butthole, but apparently this is _his2 first time being fucked by a clit.
		<<elseif $origin == "huge balled">>
			grinds $himself against the hare to get $his pseudophallic clit inside $his victim's asshole. The slave stiffens with shock. Though it's huge by the standards of clitorises, the pseudophallus isn't big enough to make assrape painful, but the extreme inversion of gender roles makes up for it, to go by the slave's horror.
		<<else>>
			grinds $himself against the hare to get $his pseudophallic clit inside $his victim's asshole. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist _his2 lot in life. _He2's probably been assraped by much larger phalli, but _he2 fights it anyway.
		<</if>>
	<<elseif $phallus == "dildo">>
		as _activeLurcher.slaveName
		<<if $origin == "virgin">>
			inserts $his dildo into the slave's virgin ass. The lurcher has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud. The dildo is reasonably sized and well lubricated, but the poor slave shrieks with anal pain anyway.
		<<elseif $origin == "heavily pregnant">>
			pushes $his dildo inside the slave's fertile cunt. Desperate to preserve _his2 baby, the slave complies as best _he2 can. Taking the cue, your lurcher caresses _him2, producing a grotesque parody of loving pregnant sex that holds the crowd's attention.
		<<elseif $origin == "housewife">>
			pushes $his dildo up the slave's ass. A kept _woman2 like _him2 is not likely to be any stranger to sex toys, but to go by _his2 reaction, _he2 probably prefers to put them in _his2 cunt.
		<<elseif $origin == "feminized">>
			pushes $his dildo up the slave's sissy ass. The whining produces some discussion in the crowd. Why would a _girl2 who feminized _himself2 so thoroughly have any problem with something being shoved inside _his2 rear pussy? A mystery.
		<<elseif $origin == "huge balled">>
			pushes $his dildo up the slave's ass. Knowing that $he should do $his best to create a spectacle, $he takes the slave's dangling balls in one hand, squeezing them to force $his bottom to be a good little butthole bitch, and then stimulating them until the slave achieves a shameful anal orgasm.
		<<else>>
			pushes $his dildo up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist _his2 lot in life. _He2's probably had several dildos pushed up _his2 disobedient asshole, but it seems _he2's determined to learn nothing.
		<</if>>
	<<elseif $phallus == "tail">>
		as _activeLurcher.slaveName
		<<if $origin == "virgin">>
			pushes the well-lubricated tip of $his pleasure tail into the slave's virgin ass. The lurcher has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud. $His tail is not too thick and $he uses the lubrication function generously, but the poor slave shrieks with anal pain anyway.
		<<elseif $origin == "heavily pregnant">>
			pushes the tip of $his pleasure tail inside the slave's fertile cunt. Desperate to preserve _his2 baby, the slave complies as best _he2 can. Taking the cue, your lurcher caresses _him2 gently as $his flexible tail seeks _his2 g-spot to make _him2 cum.
		<<elseif $origin == "housewife">>
			pushes the tip of $his pleasure tail up the slave's ass. A kept _woman2 like _him2 is not likely to be any stranger to sex toys, but being assfucked by a tail is likely a completely novel experience for _him2.
		<<elseif $origin == "feminized">>
			pushes the tip of $his pleasure tail up the slave's sissy ass. The slave stiffens with shock. _He2's obviously had quite a variety of things pushed up _his2 girly butthole, but apparently this is _his2 first time being fucked by a tail.
		<<elseif $origin == "huge balled">>
			pushes the tip of $his pleasure tail up the slave's ass. The slave stiffens with shock. Regardless of how much experience _he2's had with anal toys, a tail squirming through _his2 bowels and pushing on _his2 prostate must be a novel experience. Playing up the spectacle, _activeLurcher.slaveName massages _his2 balls with both hands, stimulating them until the hare achieves a shameful anal orgasm.
		<<else>>
			pushes the tip of $his pleasure tail up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist _his2 lot in life. _He2's probably had things pushed up _his2 ass before, but a tail worming its way uninvited into _his2 bowels is not going to be easily forgotten.
		<</if>>
	<<else>>
		as _activeLurcher.slaveName hesitates over _him2. The lurcher realizes that $he won't be able to get hard. Desperate to avoid failure, $he
		<<if $origin == "virgin">>
			shoves a couple of fingers into the slave's virgin ass. $He has to fuck the slave to claim _him2 for you, and $he knows that a virgin pussy is more valuable than a virgin rosebud.
		<<elseif $origin == "heavily pregnant">>
			gives up and fingerfucks the pregnant _girl2. Desperate to preserve _his2 baby, the slave complies as best _he2 can, producing a contest between _his2 attempts to go along and the lurcher's attempts to make it unpleasant. This degenerates into a sobbing cunt fisting session.
		<<elseif $origin == "housewife">>
			shoves a couple of fingers up the slave's ass. A kept _woman2 like _him2 is not likely to be any stranger to a little anal play, but _he2 doesn't seem to be much of a fan. _He2 does _his2 best to relax, but it's obvious that _he2 doesn't appreciate having _his2 asshole fingered.
		<<elseif $origin == "feminized">>
			shoves $his fingers up the slave's sissy ass. It's so loose that this fails to have the desired effect. Afraid that $he has to produce some sort of reaction, the lurcher shoves $his entire fist up there, producing a wail of anal anguish.
		<<elseif $origin == "huge balled">>
			shoves a couple of fingers up the slave's ass. Casting about for something to do to distract from $his inadequacy, the lurcher seizes the slave's dangling balls and shoves one of them up _his2 loosened butt. This produces a shriek of pain and surprise, followed by a long fight to get the other one up there.
		<<else>>
			shoves a couple of fingers up the slave's ass. The slave never stops struggling, producing nothing more interesting than an extended wrestling match in which one of the parties has some fingers inside the other's butthole.
		<</if>>
		The crowd is unimpressed by this disappointing display.
	<</if>>
	<<if _activeLurcher.fetishKnown == 1 && _activeLurcher.fetishStrength > 60>>
		<<if (_activeLurcher.fetish == "sadist")>>
			@@.hotpink;What is finest in life,@@ in the mind of your sadistic lurcher?
			<<if $origin == "virgin">>
				To sodomize a virgin asshole, and to <<if canHear(_activeLurcher)>>hear<<else>>feel<</if>> screams of anal pain.
			<<elseif $origin == "heavily pregnant">>
				To molest a pregnant slut, and <<if canHear(_activeLurcher)>>hear<<else>>see<</if>> _him2 sob with fear.
			<<elseif $origin == "housewife">>
				To rape a stuck-up bitch, and <<if canHear(_activeLurcher)>>hear<<else>>see<</if>> _him2 cry with anal pain.
			<<elseif $origin == "feminized">>
				To rape a sissy's asspussy, and <<if canHear(_activeLurcher)>>hear<<else>>see<</if>> _him2 squeal.
			<<elseif $origin == "huge balled">>
				To abuse defenseless testicles, and make their owner scream.
			<<else>>
				To rape a struggling victim, and <<if canTaste(_activeLurcher)>>taste<<else>>drink<</if>> _his2 tears of defeat.
			<</if>>
			<<set _activeLurcher.devotion += 5>>
		<<elseif _activeLurcher.fetish == "pregnancy" && $origin == "heavily pregnant">>
			You lurcher is @@.hotpink;thrilled@@ to have had the privilege of chasing down and raping a pregnant _woman2.
			<<set _activeLurcher.devotion += 5>>
		<</if>>
	<</if>>
	<<set _activeLurcher.counter.penetrative += 1, $penetrativeTotal += 1>>
	<<run newSlave($activeSlave)>> /* skip New Slave Intro */
<<else>>
	<<if _activeLurcher.devotion > 50>>
		$He makes $his way back to you dejectedly, hanging $his head.
	<<else>>
		$He makes $his way back to you slowly, doing $his best to look contrite.
	<</if>>
	<<setNonlocalPronouns $seeDicks>>
	On the other side of the plaza, there is a scream of triumph followed by tears of joy as one of the hares successfully wins _hisU freedom. This cheerful noise mixes strangely with screams of a very different sort and the slap of flesh on flesh as a more successful lurcher rapes _hisU capture.
	<<set $activeSlave = 0>>
<</if>>

<<unset $origin, $origin1, $origin2, $origin3, $hareSpeed, $hareSpeed1, $hareSpeed2, $hareSpeed3, $hare1, $hare2, $hare3>>