code:
:: Matchmaking [nobr]

<<set $nextButton to "Back", $nextLink to "Main">>

<<if $subSlave == 0>>

<<SlaveTitle $eventSlave>>

/* 000-250-006 */
/* <<if $seeImages == 1>><<SlaveArt $eventSlave 2 0>><</if>> */
<<if $seeImages == 1>>

    <<SlaveArt $eventSlave 2 0>>

<</if>>
/* 000-250-006 */

You order $eventSlave.slaveName to come to your office. The <<if $eventSlave.relationship == -2>>worshipful<<else>>slutty<</if>> $desc arrives promptly, greets you correctly, and waits <<if $eventSlave.relationship == -2>>adoringly for a command<<else>>eagerly for you to fuck her<</if>>. You consider the situation carefully.
<<if $eventSlave.relationship == -2>>
	She's emotionally bonded to you, and loves you with all her heart. She would probably do anything you command and love you all the more for it. If you were to decide that you were tired of her adoration, you could probably set her up with another similarly broken slave. If you ordered them to love each other like they love you, they'd obey.
<<else>>
	She's an emotional slut, and worships you and values herself primarily in terms of sex. She's such a perfect sex slave that she'd probably fuck anyone or anything you told her to, and love you all the more for giving her the chance. If you were to decide that even a sex slave like her needs a little more structure than constant omnisexual lust, you could probably set her up with another universal slut.
<</if>>
Their relationship would probably be somewhat artificial at first, and they'd have to struggle at it, but after a period of adjustment, you'd have two worshipful slaves again, except that they'd be together. It'd definitely help if they had compatible behavioral quirks and sexual fetishes.

<<if ($MixedMarriage == 1)>>
<<if $eventSlave.relationship == -2>>

<<if ($weddingPlanned != 0)>>
You could marry her yourself, but that would have to wait, since you already have a wedding planned this week.
<<else>>
Of course, you could marry her yourself, since you've decide to enable marriage between slaves and owners in your domain. Marriage with her wouldn't be binding, of course, since she'd still be a slave. She'd probably be pleased, however.
<<link "Marry her">>
<<replace "#result">>

<<set $weddingSlaveID to $eventSlave.ID>>

You tell $eventSlave.slaveName that you're going to marry her. (A proposal, of course, would be inappropriate, even in so enlightened a place as your arcology.) You're not exactly lacking in ways to make <<if $eventSlave.actualAge > 30>>women<<else>>girls<</if>> burst into tears, but this one is unusually effective. When she's gotten herself under control again, <<if $eventSlave.amp == 1>>looking somewhat embarrassed that she can't wipe her own tears<<else>>distractedly cuffing away her tears<</if>> and consciously breathing deeply,
<<if canTalk($eventSlave)>>
	she says, "Thank you, <<if $PC.title == 0>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mithtreth<<else>>Mistress<</if>><<else>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mathter<<else>>Master<</if>><</if>>. I am going to do my <<if SlaveStatsChecker.checkForLisp($eventSlave)>>betht<<else>>best<</if>> to be a
	<<if ($eventSlave.fetishKnown == 1) && ($eventSlave.fetishStrength > 60)>>
		<<if ($eventSlave.fetish is "submissive")>>
		perfect submissive wife to you,
		<<elseif ($eventSlave.fetish is "cumslut")>>
		perfect oral wifey,
		<<elseif ($eventSlave.fetish is "humiliation")>>
		hot wife for you,
		<<elseif ($eventSlave.fetish is "buttslut")>>
		perfect little anal wifey,
		<<elseif ($eventSlave.fetish is "boobs")>>
		<<if $eventSlave.boobs > 800>>perfect big-boobed<<else>>perfect-boobed<</if>> wife
		<<elseif ($eventSlave.fetish is "pregnancy")>>
		perfect barefoot breeding wife,
		<<elseif ($eventSlave.fetish is "dom")>>
		perfect, you know, sharing wife with other <<if SlaveStatsChecker.checkForLisp($eventSlave)>>thlaveth<<else>>slaves<</if>>,
		<<elseif ($eventSlave.fetish is "sadist")>>
		perfect wife to <<if SlaveStatsChecker.checkForLisp($eventSlave)>>uthe on other thlaveth<<else>>use on other slaves<</if>>,
		<<elseif ($eventSlave.fetish is "masochist")>>
		good, beaten wife,
		<<else>>
		good wife,
		<</if>>
	<<else>>
		good wife,
	<</if>>
	<<if $PC.title == 0>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mithtreth<<else>>Mistress<</if>><<else>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mathter<<else>>Master<</if>><</if>>. Oh, thank you, M-<<if $PC.title == 0>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mithtreth<<else>>Mistress<</if>><<else>><<if SlaveStatsChecker.checkForLisp($eventSlave)>>Mathter<<else>>Master<</if>><</if>>," she blubbers, and starts crying again.
<<elseif canTalk($eventSlave)>>
	she shakily signs her thanks twice in a row before breaking down again.
<<else>>
	she painstakingly mouths her thanks, since she cannot speak or use hands to sign.
<</if>>
Despite her devotion and trust, she is still a slave, and probably knows that her position could always change. This brings her one step closer to true permanence, and she knows it.

<<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> prompts you for wedding
<<if $assistant == 0>>
	instructions.
<<else>>
	instructions, her
	<<if $assistantAppearance is "monstergirl">>
		monstergirl avatar appearing in a surprisingly conventional surplice that covers her up decently. All except for her horns, which protrude from under the headpiece.
	<<elseif $assistantAppearance is "shemale">>
		shemale avatar appears in a collar patterned to look like a minister's, and absolutely nothing else, stroking herself with anticipation.
	<<elseif $assistantAppearance is "amazon">>
		amazon avatar wearing a tribal shaman's cape and carrying a medicine stick adorned with all sorts of little charms and baubles.
	<<elseif $assistantAppearance is "businesswoman">>
		businesswoman avatar looking rather severe in a minister's collar.
	<<elseif $assistantAppearance is "fairy">>
		fairy avatar looking incredibly silly, dressed in an oversized, disheveled preist's robes and looking rather smug about it.
	<<elseif $assistantAppearance is "pregnant fairy">>
		fairy avatar looking incredibly silly, dressed in an oversized, disheveled preist's robes stretched tight by her pregnant belly and looking rather smug about it.
	<<elseif $assistantAppearance is "goddess">>
		goddess avatar completely unchanged, since she considers her usual form perfectly appropriate for a marriage.
	<<elseif $assistantAppearance is "hypergoddess">>
		goddess avatar completely unchanged, since she considers her usual form perfectly appropriate for a marriage.
	<<elseif $assistantAppearance is "loli">>
		loli avatar looking surpisingly mature in a minister's collar. Though, she would rather be the flower girl in this wedding.
	<<elseif $assistantAppearance is "preggololi">>
		loli avatar looking surpisingly mature in a minister's collar. Though, she would rather be the flower girl in this wedding.
	<<elseif $assistantAppearance is "schoolgirl">>
		schoolgirl avatar looking willfully absurd in a minister's collar and her usual short plaid skirt.
	<<else>>
		symbol appearing in white.
	<</if>>
<</if>>

<<link "Just redesignate her as your slave wife">>
	<<replace "#result2">>
	You order $assistantName to simply redesignate $eventSlave.slaveName as your slave wife.
	<<if $assistant == 0>>
		"Slave redesignated," it responds immediately. The thing is done.
	<<else>>
		<<if $assistantAppearance is "monstergirl">>
			Her avatar snaps its fingers and shrugs off its surplice, revealing her tentacle hair, pale skin, and cocks once more.
		<<elseif $assistantAppearance is "shemale">>
			Her avatar snaps its fingers and starts to masturbate more energetically.
		<<elseif $assistantAppearance is "amazon">>
			Her avatar gives its medicine stick a shake.
		<<elseif $assistantAppearance is "businesswoman">>
			Her avatar snaps its fingers.
		<<elseif ($assistantAppearance is "fairy") or ($assistantAppearance is "pregnant fairy")>>
			Her avatar claps its hands twice, looking a bit disappointed at the lack of celebration.
		<<elseif $assistantAppearance is "goddess">>
			Her avatar makes a complex hand gesture, looking beatific.
		<<elseif $assistantAppearance is "hypergoddess">>
			Her avatar makes a complex hand gesture, looking beatific.
		<<elseif $assistantAppearance is "loli">>
			Her avatar claps its hands together.
		<<elseif $assistantAppearance is "preggololi">>
			Her avatar claps its hands together.
		<<elseif $assistantAppearance is "schoolgirl">>
			Her avatar snaps its fingers and gives a little twirl.
		<<else>>
			Her symbol flashes.
		<</if>>
		"Done," she says.
	<</if>>
	<<set $eventSlave.relationship to -3>>
	<<for _i to 0; _i < $slaves.length; _i++>>
		<<if $slaves[_i].ID == $eventSlave.ID>>
			<<set $slaves[_i] = $eventSlave>>
		<</if>>
	<</for>>
	<</replace>>
<</link>>

<<link "Have your assistant marry her to you">>
	<<replace "#result2">>
	You order $eventSlave.slaveName to go change into bridal lingerie. She hurries off, still crying. When she returns, she's wearing
	<<if ($eventSlave.vagina == 0)>>
		white, since she's a virgin.
	<<elseif ($eventSlave.preg > 0)>>
		light pink, since she is pregnant.
	<<elseif ($eventSlave.vagina < 0) && ($eventSlave.anus == 0)>>
		white, since she's an anal virgin.
	<<elseif ($eventSlave.vagina < 0) && ($eventSlave.boobs > 500)>>
		electric blue, since she's a shemale.
	<<elseif ($eventSlave.vagina < 0)>>
		pale blue, since she's a sissy slave.
	<<elseif ($eventSlave.dick > 0)>>
		hot pink, since she's a futa slave.
	<<else>>
		light pink, since she's an experienced sex slave.
	<</if>>
	A flimsy veil covers her head and shoulders.
	<<if ($eventSlave.boobs > 4000)>>
		On such short notice, no bridal bra for boobs of her size was available, so she's topless. Not a tragedy.
	<<elseif ($eventSlave.boobs > 1200)>>
		Her lacy bridal bra just barely restrains her huge boobs, leaving the tops of her areolae visible.
	<<elseif ($eventSlave.boobs > 400)>>
		Her lacy bridal bra flatters her pretty breasts.
	<<else>>
		Her lacy bridal bra flatters her pretty chest.
	<</if>>
	<<if ($eventSlave.preg > 20) && ($eventSlave.pregType >= 10)>>
	  Her massive, squirming pregnant belly makes her bridal wear particulary obscene.
	<<elseif ($eventSlave.preg > 10)>>
	  Her pregnant belly protrudes out the front of her bridal wear.
	<<elseif ($eventSlave.inflation == 3)>>
	  Her hugely bloated, <<print $eventSlave.inflationType>>-filled belly protrudes out the front of her bridal wear.
	<<elseif ($eventSlave.inflation == 2)>>
	  Her bloated, <<print $eventSlave.inflationType>>-stuffed belly protrudes out the front of her bridal wear.
	<<elseif ($eventSlave.inflation == 1)>>
	  Her distended, <<print $eventSlave.inflationType>>-belly protrudes out the front of her bridal wear.
	<<elseif ($eventSlave.bellyImplant > 0)>>
	  Her <<print $eventSlave.bellyImplant>>cc belly implant protrudes her middle out the front of her bridal wear.
	<</if>>
	<<if $eventSlave.dickAccessory is ("chastity")>>
		Her slave dick is hidden by its chastity cage.
	<<elseif ($eventSlave.dick > 0) && canAchieveErection($eventSlave)>>
		<<if ($eventSlave.dick > 4) && ($eventSlave.preg > 10)>>
		She's hugely erect, with her lacy g-string only serving to hold her dick agonizingly pressed against the bottom of her pregnant belly.
		<<elseif $eventSlave.dick > 4>>
		She's hugely erect, with her lacy g-string only serving to hold her dick upright along her belly.
		<<else>>
		Her erection tents the front of her lacy g-string.
		<</if>>
	<<elseif ($eventSlave.dick > 0)>>
		<<if $eventSlave.dick > 4>>
		Her big soft cock forms a lewd mass, stuffed into her lacy g-string.
		<<else>>
		Her lacy g-string perfectly conceals her soft dick.
		<</if>>
	<<else>>
		<<if $eventSlave.clit > 1>>
		Her huge clit is quite hard, making her shift uncomfortably as her lacy g-string stimulates it.
		<<else>>
		Her lacy g-string is starting to look a bit moist in front.
		<</if>>
	<</if>>
	<<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> marries her to you in a brief ceremony adapted for slaves and their owners. You place a simple steel ring on her finger; she does not reciprocate, since this marriage does not bind you.
	<<if $assistant == 0>>
		"The marriage protocol now requires you to <<if $PC.dick == 1>>fellate<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>perform cunnilingus on<</if>> the <<if $PC.title == 1>>groom<<else>>the bride<</if>>," $assistantName orders her, and she hurries to obey.
	<<else>>
		<<if $assistantAppearance is "monstergirl">>
			"To consecrate the ceremony," $assistantName concludes, "$eventSlave.slaveName, you will now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s dick<<if $PC.vagina == 1>> and eat <<if $PC.title == 1>>his<<else>>her<</if>> pussy<</if>><<else>>eat the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s pussy<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar begins to play with her dicks.
		<<elseif $assistantAppearance is "shemale">>
			"To get this marriage started," $assistantName concludes, "$eventSlave.slaveName, you will now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s dick<<if $PC.vagina == 1>> and eat <<if $PC.title == 1>>his<<else>>her<</if>> pussy<</if>><<else>>eat the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s pussy<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar starts to jill off.
		<<elseif $assistantAppearance is "amazon">>
			"To complete this ritual," $assistantName concludes, "$eventSlave.slaveName, you will now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s dick<<if $PC.vagina == 1>> and eat <<if $PC.title == 1>>his<<else>>her<</if>> pussy<</if>><<else>>eat the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s pussy<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar starts to jill off.
		<<elseif $assistantAppearance is "businesswoman">>
			"To consecrate the marriage," $assistantName concludes, "$eventSlave.slaveName, you will now <<if $PC.dick == 1>>fellate<<else>>perform cunnilingus on<</if>> the <<if $PC.title == 1>>groom<<else>>the bride<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar sneaks a hand down her suit skirt, blushing furiously.
		<<elseif $assistantAppearance is "fairy">>
			"To seal the deal," $assistantName concludes, "$eventSlave.slaveName, you gotta drink the <<if $PC.title is 1>>groom's <<else>>bride's <</if>><<if $PC.dick is 1>>semen<<if $PC.vagina == 1>> and pussy juices<</if>><<else>>pussy juices<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar spreads her legs while still hovering in the air and masturbates eagerly through her half-worn robes.
		<<elseif $assistantAppearance is "pregnant fairy">>
			"To seal the deal," $assistantName concludes, "$eventSlave.slaveName, you gotta drink the <<if $PC.title is 1>>groom's <<else>>bride's <</if>><<if $PC.dick is 1>>semen<<if $PC.vagina == 1>> and pussy juices<</if>><<else>>pussy juices<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's pregnant avatar curls while still hovering in the air and masturbates eagerly around her large belly.
		<<elseif $assistantAppearance is "goddess">>
			"To consummate the marriage," $assistantName concludes, "$eventSlave.slaveName, you must now <<if $PC.dick == 1>>drink the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s seed<<else>>drink the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s female juices<</if>>." The slave complies eagerly. $assistantName's avatar looks on approvingly, cradling her perpetual pregnancy.
		<<elseif $assistantAppearance is "hypergoddess">>
			"To consummate the marriage," $assistantName concludes, "$eventSlave.slaveName, you must now <<if $PC.dick == 1>>drink the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s seed<<else>>drink the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s female juices<</if>>." The slave complies eagerly. $assistantName's avatar looks on approvingly, cradling her massive perpetual pregnancy.
		<<elseif $assistantAppearance is "loli">>
			"To consummate the marriage," $assistantName concludes, "$eventSlave.slaveName, you should now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s cock<<if $PC.vagina == 1>>and lick their cunny.<</if>><<else>>lick the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s cunny<</if>>." The slave complies eagerly. $assistantName's avatar sneaks a hand down her dress, blushing furiously.
		<<elseif $assistantAppearance is "preggololi">>
			"To consummate the marriage," $assistantName concludes, "$eventSlave.slaveName, you should now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s lovely cock<<if $PC.vagina == 1>>and eat out their cunt.<</if>><<else>>lick the <<if $PC.title == 1>>groom<<else>>the bride<</if>>'s cunt<</if>>." The slave complies eagerly. $assistantName's avatar attempts to sneak a hand down her dress, but is thwarted by her belly. She instead openly rubs her crotch through the front of her dress,  blushing furiously.
		<<elseif $assistantAppearance is "schoolgirl">>
			"To get this marriage started," $assistantName concludes, "$eventSlave.slaveName, the rules say you should now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s dick<<if $PC.vagina == 1>> and eat <<if $PC.title == 1>>his<<else>>her<</if>> pussy<</if>><<else>>eat the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s pussy<</if>>." The slave complies eagerly. Pleased by the sight, $assistantName's avatar starts to jill off.
		<<else>>
			"To get this marriage started," $assistantName concludes, "$eventSlave.slaveName, the rules say you should now <<if $PC.dick == 1>>suck the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s dick<<if $PC.vagina == 1>> and eat <<if $PC.title == 1>>his<<else>>her<</if>> pussy<</if>><<else>>eat the <<if $PC.title == 1>>groom<<else>>bride<</if>>'s pussy<</if>>." The slave complies eagerly. With only a symbol to express her approval, $assistantName is forced to content herself with spinning the symbol and making it glow in time with your new slave wife's efforts.
		<</if>>
		"Done," she says when you climax. "Enjoy your
		<<if ($eventSlave.fetishKnown == 1) && ($eventSlave.fetishStrength > 60)>>
			<<if ($eventSlave.fetish is "submissive")>>
			submissive slave wife!"
			<<elseif ($eventSlave.fetish is "cumslut")>>
			slave wife's mouth!"
			<<elseif ($eventSlave.fetish is "humiliation")>>
			exhibitionist slave wife!"
			<<elseif ($eventSlave.fetish is "buttslut")>>
			slave wife's butthole!"
			<<elseif ($eventSlave.fetish is "boobs")>>
			slave wife's boobs!"
			<<elseif ($eventSlave.fetish is "pregnancy")>>
			breeder wife!"
			<<elseif ($eventSlave.fetish is "dom")>>
			slave wife's aggression!"
			<<elseif ($eventSlave.fetish is "sadist")>>
			slave wife's sadistic tendencies!"
			<<elseif ($eventSlave.fetish is "masochist")>>
			slave wife's pain!"
			<<else>>
			slave wife!"
			<</if>>
		<<else>>
			slave wife!"
		<</if>>
	<</if>>
	<<set $eventSlave.relationship to -3>>
	<<for _i to 0; _i < $slaves.length; _i++>>
		<<if $slaves[_i].ID == $eventSlave.ID>>
			<<set $slaves[_i] = $eventSlave>>
		<</if>>
	<</for>>
	<</replace>>
<</link>>
<<if $cash > 10000>>

Invite prominent citizens to a wedding (This will cost ¤10000):

    <<link "Straightforward ceremony">>
	<<replace "#result2">>
	You order $assistantName to invite deserving citizens to a straightforward ceremony for a slave being married to a slaveowner, and to make the arrangement. The wedding will take place during the upcoming week.
	<<set $weddingPlanned to 1>>
	<<set $cash -= 10000>>
	<</replace>>
<</link>>
<<if ($eventSlave.vagina != 0) && ($eventSlave.anus != 0) && $eventSlave.breedingMark != 1>>

    <<link "Orgiastic ceremony">>
	<<replace "#result2">>
	You order $assistantName to invite deserving citizens to an orgiastic ceremony for a slave being married to a slaveowner, and to make the arrangements. The wedding orgy will take place during the upcoming week.
	<<set $weddingPlanned to 2>>
	<<set $cash -= 10000>>
	<</replace>>
<</link>> //This will involve the slave having sex with a very large number of citizens//
<</if>>
<<if isFertile($eventSlave) && ($PC.dick == 1)>>

    <<link "Impregnation ceremony">>
	<<replace "#result2">>
	You order $assistantName to invite deserving citizens to a ceremony for a fertile slave being married to a slaveowner, and to make the arrangements. The wedding will take place during the upcoming week.
	<<set $weddingPlanned to 3>>
	<<set $cash -= 10000>>
	<</replace>>
<</link>> //This will involve you impregnating the slave//
<</if>>
<<else>>

//You cannot afford an elaborate ceremony//
<</if>>

<</replace>>
<</link>>
<</if>>
<</if>>
<</if>>

/* 000-250-006 */
/* <<if $seeImages == 1>><<SlaveArt $eventSlave 2 0>><<SlaveArt $subSlave 2 0>><</if>> */
<<if $seeImages == 1>>

    <<SlaveArt $eventSlave 2 0>>

    <<SlaveArt $subSlave 2 0>>

<</if>>
/* 000-250-006 */

__Put her with another worshipful <<if $eventSlave.relationship == -2>>emotionally bonded emotionally slave<<else>>emotional slut<</if>>:__
<<set $Flag to 1>>
<<include "Slave Summary">>

<<else>>

<<if $seeImages == 1>><<SlaveArt $eventSlave 2 0>><<SlaveArt $subSlave 2 0>><</if>>

You decide to set $eventSlave.slaveName up with $subSlave.slaveName. Telling the former to wait, you have the latter hurry up to your office. When the <<if $eventSlave.relationship == -2>>slaves are waiting adoringly<<else>>sluts are waiting with barely concealed lust<</if>> in front of your desk together, you inform them of your decision.
<<if $eventSlave.relationship == -2>>
	You commend their love for you, and let them know that it's all right for it to continue, but command them to love each other, too. They look doubtful, but at your orders they obediently take each other by the hand, and share a kiss. It will do for now. You assign them to live together as much as possible for a few days, and inform them that you'll be limiting your personal contact with them during this period. They give you identical looks of horror, and fail to notice how much of a perfect couple they already are.
<<else>>
	You praise their total commitment to sexual slavery, and let them know they'll continue to be sex slaves, but tell them that it's time for them to settle down. They give you identical looks of horror, and fail to notice how much of a perfect couple they already are. Patiently, you explain that their sex lives will remain more or less unchanged; just because two slaves are together doesn't mean they can't and won't have sex with other people. They look doubtful, but cheer up when you inform them that they'll be spending a lot of alone time together for a few days.
<</if>>

Being ordered into a relationship would be difficult for anyone, but they're so obedient that @@color:lightgreen;they do their best and make it work.@@ You ensure that they do, and your determined efforts to do so @@color:mediumorchid;reduce their devotion to you,@@ though it's mostly by redirection towards each other. And in any case, they remain devoted enough, and will likely return to their earlier worshipfulness in a few weeks at most.
<<set _matched = 0>>
<<if ($eventSlave.fetish == "submissive") && ($subSlave.fetish == "dom")>>
	$subSlave.slaveName is a dom and $eventSlave.slaveName is a sub. It's a match out of bad fiction.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "submissive") && ($eventSlave.fetish == "dom")>>
	$eventSlave.slaveName is a dom and $subSlave.slaveName is a sub. It's a match out of bad fiction.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "masochist") && ($subSlave.fetish == "sadist")>>
	$subSlave.slaveName is a sadist and $eventSlave.slaveName is a masochist. They're a perfect ouroboros of agony.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "masochist") && ($eventSlave.fetish == "sadist")>>
	$eventSlave.slaveName is a sadist and $subSlave.slaveName is a masochist. They're a perfect ouroboros of agony.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "cumslut") && ($subSlave.balls > 0)>>
	$subSlave.slaveName has balls and $eventSlave.slaveName has the appetite to drain them of every drop of cum.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "cumslut") && ($eventSlave.balls > 0)>>
	$eventSlave.slaveName has balls and $subSlave.slaveName has the appetite to drain them of every drop of cum.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "humiliation") && ($subSlave.fetish == "sadist")>>
	$eventSlave.slaveName loves to be humiliated, and $subSlave.slaveName can definitely get off on another girl's shame.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "humiliation") && ($eventSlave.fetish == "sadist")>>
	$subSlave.slaveName loves to be humiliated, and $eventSlave.slaveName can definitely get off on another girl's shame.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "buttslut") && ($subSlave.fetish == "dom")>>
	$subSlave.slaveName likes fucking other girls, so once $eventSlave.slaveName asks her to just do it to her ass all the time, they're both happy.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "buttslut") && ($eventSlave.fetish == "dom")>>
	$eventSlave.slaveName likes fucking other girls, so once $subSlave.slaveName asks her to just do it to her ass all the time, they're both happy.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "boobs") && ($subSlave.boobs > 4000)>>
	$eventSlave.slaveName fetishized breasts so much that she thinks $subSlave.slaveName's udders are one of the sexiest things she's ever seen.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "boobs") && ($eventSlave.boobs > 4000)>>
	$subSlave.slaveName fetishized breasts so much that she thinks $eventSlave.slaveName's udders are one of the sexiest things she's ever seen.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && ($subSlave.fetish == "pregnancy") && $subSlave.preg > 20 && $subSlave.pregType > 10 && $eventSlave.preg > 20 && $eventSlave.pregType > 10>>
	$eventSlave.slaveName and $subSlave.slaveName are both bursting with children, much to the each other's delight. They can't wait to explore each other's baby strained middle.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && ($subSlave.fetish == "pregnancy") && $subSlave.preg > 20 && $eventSlave.preg > 20>>
	$activeSlave.slaveName and $subSlave.slaveName are both heavily pregnant, much to the each other's delight.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "pregnancy") && $eventSlave.preg > 20 && $eventSlave.pregType > 10>>
	$subSlave.slaveName fetishizes pregnant bellies so much that she is awestruck by $eventSlave.slaveName's bursting, baby filled middle.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && $subSlave.preg > 20 && $subSlave.pregType > 10>>
	$eventSlave.slaveName fetishizes pregnant bellies so much that she is awestruck by $subSlave.slaveName's bursting, baby filled middle.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "pregnancy") && $eventSlave.preg > 20>>
	$subSlave.slaveName fetishizes pregnant bellies so much that she thinks $eventSlave.slaveName gravid middle is one of the sexiest things she's ever seen.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && $subSlave.preg > 20>>
	$eventSlave.slaveName fetishizes pregnant bellies so much that she thinks $subSlave.slaveName's gravid middle is one of the sexiest things she's ever seen.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && ($subSlave.fetish == "pregnancy") && $subSlave.preg > 5 && $eventSlave.preg > 5>>
	$eventSlave.slaveName and $subSlave.slaveName are both pregnant and just beginning to show. They'll both be able to enjoy the other's swelling body.
	<<set _matched = 1>>
<<elseif ($eventSlave.fetish == "pregnancy") && canAchieveErection($subSlave)>>
	$eventSlave.slaveName can indulge the fantasy that she's getting pregnant each and every time $subSlave.slaveName cums inside her.
	<<set _matched = 1>>
<<elseif ($subSlave.fetish == "pregnancy") && canAchieveErection($eventSlave)>>
	$subSlave.slaveName can indulge the fantasy that she's getting pregnant each and every time $eventSlave.slaveName cums inside her.
	<<set _matched = 1>>
<</if>>
<<if _matched == 1>>
	Their sexual compatibility is excellent, and they @@color:mediumaquamarine;trust you more@@ for matching them so perfectly.
	<<set $eventSlave.trust += 10>>
	<<set $subSlave.trust += 10>>
<<elseif $eventSlave.fetish == $subSlave.fetish>>
	They're a couple of
	<<switch $eventSlave.fetish>>
	<<case "submissive">>
		cringing submissives,
	<<case "cumslut">>
		hungry oral fiends,
	<<case "humiliation">>
		public sex aficionados,
	<<case "buttslut">>
		shameless anal whores,
	<<case "boobs">>
		breast obsessives,
	<<case "pregnancy">>
		breeding bitches,
	<<case "dom">>
		dominating spirits,
	<<case "sadist">>
		inveterate sadists,
	<<case "masochist">>
		pain sluts,
	<<default>>
		vanilla girls,
	<</switch>>
	and they bond over their shared sexual tastes, easing their acclimation to having another slave play a major role in their sex lives. They're almost as happy sharing stories about their past sexual exploits as they are actually having sex.
<<else>>
	Their fetishes aren't very compatible, and though as a couple of inventive nymphos they do their absolute best to fuck each other senseless, they @@color:gold;trust you a less@@ out of doubt in the sexual match.
	<<set $eventSlave.trust -= 10>>
	<<set $subSlave.trust -= 10>>
<</if>>
<<if $eventSlave.behavioralQuirk == $subSlave.behavioralQuirk>>
	They're both
	<<switch $eventSlave.behavioralQuirk>>
	<<case "confident">>
		confident, and soon come to an understanding that they'll be able to <<if $eventSlave.relationship == -2>>serve you better together<<else>>fuck third parties better as a pair<</if>>.
	<<case "cutting">>
		witty, and each quickly discovers that her new partner can hold up her end of a battle of quips. Their loving snippiness develops rapidly, and it's pretty cute.
	<<case "funny">>
		a little weird. It takes a while for them to adjust to how funny her new partner is, but they learn to support each other soon enough.
	<<case "adores women">>
		pretty crazy about ladies. They're both slave girls themselves, which helps, and they've also got a never-ending parade of female bodies to discuss together.
	<<case "adores men">>
		guy crazy. They discuss nothing else together, and their discussions frequently turn into makeouts and then mutual masturbation.
	<<case "fitness">>
		fitness fanatics, and being together feels natural for them, since they've already worked out together often enough.
	<<case "insecure">>
		very insecure. Perhaps unsurprisingly, they soon grow to depend on each other, each relying on her partner to support her low self-esteem.
	<<case "sinful">>
		<<if $arcologies[0].FSChattelReligionist is "unset">>
			eagerly sinful, and they grow close by opening up and sharing their fraught histories of faith with each other.
		<<else>>
			fanatical about being slave acolytes of the new faith, and their partnership is strengthened by their belief that it's divinely ordained.
		<</if>>
	<<case "advocate">>
		advocates for slavery. Not only do they share this, but they believe that your orders are good for them, including your order that they be together.
	<</switch>>
<<else>>
	They approach life as slaves differently, and it's @@color:gold;tough for them to reconcile their differences over their values.@@
	<<set $eventSlave.trust -= 10>>
	<<set $subSlave.trust -= 10>>
<</if>>

<<set $subSlave.relationship = 4>>
<<set $subSlave.relationshipTarget = $eventSlave.ID>>
<<set $subSlave.devotion -= 20>>
<<set $eventSlave.relationship = 4>>
<<set $eventSlave.relationshipTarget = $subSlave.ID>>
<<set $eventSlave.devotion -= 20>>

<<for _i to 0; _i < $slaves.length; _i++>>
	<<if $slaves[_i].ID == $eventSlave.ID>>
		<<set $slaves[_i] = $eventSlave>>
	<<elseif $slaves[_i].ID == $subSlave.ID>>
		<<set $slaves[_i] = $subSlave>>
	<</if>>
<</for>>

<</if>>


code:
:: Milking Workaround

<<set $activeSlave.assignment to "get milked">>
<<set $activeSlave.choosesOwnAssignment to 0>>
<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.ID == $slaves[$i].ID>>
	<<set $slaves[$i] to $activeSlave>>
	<<break>>
	<</if>>
<</for>>

<<goto "Main">>

repo_name: azktaawc/fc


code:
:: Milkmaid Select

<<nobr>>
<<set $nextButton to "Back">>
<<set $nextLink to "Dairy">>
<<set $showEncyclopedia to 1>><<set $encyclopedia to "Milkmaids">>

<<for _i to 0; _i < $slaves.length; _i++>>
<<if $Milkmaid.ID == $slaves[_i].ID>>
	''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Milkmaid.
	<<set $slaves[_i].assignment to "be the Milkmaid">>
	<<set $slaves[_i].assignmentVisible to 0>>

She will look after your livestock, helping them give milk<<if $seeDicks > 0>> and semen<</if>>.
	<<break>>
<</if>>
<</for>>
<<if ($Milkmaid == 0)>>
	You have not selected a Milkmaid.
<</if>>

''Appoint a Milkmaid from your obedient slaves:''
<<include "Slave Summary">>

[[None|Milkmaid Workaround][$Milkmaid to 0]]
<</nobr>>


code:
:: Milkmaid Workaround [nobr]

<<for $i to 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].assignment is "be the Milkmaid") && ($slaves[$i].ID != $Milkmaid.ID)>>
		<<set $slaves[$i].assignment to "rest">>
		<<set $slaves[$i].assignmentVisible to 1>>
		<<break>>
	<</if>>
	<</for>>

	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $Milkmaid.ID == $slaves[$i].ID>>
		<<if $slaves[$i].ID is $personalAttention>>
		<<if $PC.career == "escort">>
		<<set $personalAttention to "whoring">>
		<<elseif $PC.career == "servant">>
		<<set $personalAttention to "upkeep">>
		<<else>>
		<<set $personalAttention to "business">>
		<</if>>
		<</if>>
		<<set $slaves[$i].assignment to "be the Milkmaid">>
		<<if $slaves[$i].choosesOwnClothes == 1>><<include "SA chooses own clothes">><</if>>
		<<set $slaves[$i].assignmentVisible to 0>>
		<<set $slaves[$i].sentence to 0>>
		<<set $slaves[$i].livingRules to "luxurious">>
		<<if $slaves[$i].ID is $HeadGirl.ID>>
			<<set $HeadGirl to 0>>
		<</if>>
		<<if $slaves[$i].ID is $Recruiter.ID>>
			<<set $Recruiter to 0>>
		<</if>>
		<<if $slaves[$i].ID is $Bodyguard.ID>>
			<<set $Bodyguard to 0>>
		<</if>>
		<<break>>
	<</if>>
	<</for>>

<<goto "Dairy">>


code:
:: minor injury response [nobr]

<<if $arcologies[0].FSDegradationist > 20>>

She carries on, knowing that in your degradationist arcology, this is accepted behavior.

<<elseif $arcologies[0].FSPaternalist > 20>>

<<if ($AProsperityCap >= 60) && (random(1,100) > 50)>>
	The security drones successfully detain him and oblige him to pay significant @@color:yellowgreen;compensation,@@ since abusing slaves is discouraged here.
	<<set $cash += 50>>
<<elseif ($AProsperityCap >= 160) && (random(1,100) > 50)>>
	The computer systems successfully detain him and require him to pay significant @@color:yellowgreen;compensation,@@ since abusing slaves is discouraged here.
	<<set $cash += 50>>
<<elseif ($slaves[$i].whoreSkill > random(1,100))>>
	$slaves[$i].slaveName is used to this sort of thing, and convinces him to pay significant @@color:yellowgreen;compensation,@@ since abusing slaves is discouraged here.
	<<set $cash += 50>>
<<elseif ($slaves[$i].combatSkill > 0)>>
	$slaves[$i].slaveName can take care of herself, and she successfully forces him to pay significant @@color:yellowgreen;compensation,@@ since abusing slaves is discouraged here.
	<<set $cash += 50>>
<</if>>

<<else>>

<<if ($AProsperityCap >= 60) && (random(1,100) > 50)>>
	The security drones successfully detain him and oblige him to pay minor @@color:yellowgreen;compensation.@@
	<<set $cash += 10>>
<<elseif ($AProsperityCap >= 160) && (random(1,100) > 50)>>
	The computer systems successfully detain him and require him to pay minor @@color:yellowgreen;compensation.@@
	<<set $cash += 10>>
<<elseif ($slaves[$i].whoreSkill > random(1,100))>>
	$slaves[$i].slaveName is used to this sort of thing, and convinces him to pay minor @@color:yellowgreen;compensation.@@
	<<set $cash += 10>>
<<elseif ($slaves[$i].combatSkill > 0)>>
	$slaves[$i].slaveName can take care of herself, and she successfully forces him to pay minor @@color:yellowgreen;compensation.@@
	<<set $cash += 10>>
<</if>>

<</if>>


code:
:: Mod_Backwards Compatibility

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

	<<if ndef $RulesID>>
		<<set $RulesID to 3>>
		<<include "Init Rules">>
	<<else>>
		<<for _i to 0; _i < $defaultRules.length; _i++>>
			<<if ndef $defaultRules[_i].standardReward>>
				<<set $defaultRules[_i].standardReward to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].standardPunishment>>
				<<set $defaultRules[_i].standardPunishment to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].aVirginAccessory>>
				<<set $defaultRules[_i].aVirginAccessory to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].aVirginDickAccessory>>
				<<set $defaultRules[_i].aVirginDickAccessory to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].aVirginButtplug>>
				<<set $defaultRules[_i].aVirginButtplug to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].surgery>>
				<<set $defaultRules[_i].surgery to {lactation: "no default setting", cosmetic: 0, accent: "no default setting", shoulders: "no default setting", shouldersImplant: "no default setting", boobs: "no default setting", hips: "no default setting", hipsImplant: "no default setting", butt: "no default setting", faceShape: "no default setting", lips: "no default setting", holes: 0}>>
			<</if>>

			<<if ndef $defaultRules[_i].underArmHColor>>
				<<set $defaultRules[_i].underArmHColor to "no default setting">>
			<</if>>

			<<if ndef $defaultRules[_i].underArmHStyle>>
				<<set $defaultRules[_i].underArmHStyle to "no default setting">>
			<</if>>

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

	<<if ndef $month>>
	<<set $month to either("January","February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")>>
	<</if>>

	<<if ndef $day>>
	<<set $day to random(1,28)>>
	<</if>>

	<<if ndef $year>>
		<<set $year to (2037+Math.floor($week/52))>>
	<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	<<if ndef $universalRulesCSec>>
		<<set $universalRulesCSec to 0;>>
	<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Done!

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

	<<if ndef _Slave.pubertyAgeXX>>
		<<if ndef $fertilityAge>>
			<<set _Slave.pubertyAgeXX to 14>>
		<<else>>
			<<set _Slave.pubertyAgeXX to $fertilityAge>>
		<</if>>
	<</if>>
	<<if ndef _Slave.pubertyAgeXY>>
		<<if ndef $potencyAge>>
			<<set _Slave.pubertyAgeXY to 14>>
		<<else>>
			<<set _Slave.pubertyAgeXY to $potencyAge>>
		<</if>>
	<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	<<if ndef _Slave.scrotum>>
	  <<set _Slave.scrotum to _Slave.balls>>
	<</if>>
	<<if ndef _Slave.ballType>>
	  <<set _Slave.ballType to "human">>
	<</if>>

	<<if ndef _Slave.eggType>>
	  <<set _Slave.eggType to "human">>
	<</if>>

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

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

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

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

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

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

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

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

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

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

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

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

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

	<<if $ver.indexOf("0.9") == -1>>
		<<set $ver to "0.9">>
	<</if>>

	<br><br>
	[[Return to Main|Main]]
<</nobr>>


code:
:: Mother Daughter Workaround

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

<<AddSlave $activeSlave>>

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

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

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

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

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

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

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

<<AddSlave _secondSlave>>