:: pregmod widgets [nobr widget] 
 
<<widget "PMODinit">>
<<if ndef $args[0].actualAge>>
	<<set $args[0].actualAge = $args[0].age>>
<</if>>
<<if ndef $args[0].physicalAge>>
	<<set $args[0].physicalAge = $args[0].actualAge>>
<</if>>
<<if ndef $args[0].visualAge>>
	<<set $args[0].visualAge = $args[0].actualAge>>
<</if>>
<<if ndef $args[0].age>>
	<<set $args[0].age = $args[0].actualAge>>
<</if>>
<<if ndef $args[0].boobsImplantType>>
  <<set $args[0].boobsImplantType = 0>>
<</if>>
<<if ndef $args[0].buttImplantType>>
  <<set $args[0].buttImplantType = 0>>
<</if>>
<<if ndef $args[0].bellyTat>>
  <<set $args[0].bellyTat = 0>>
<</if>>
<<if ndef $args[0].cSec>>
  <<set $args[0].cSec = 0>>
<</if>>
<<if ndef $args[0].labor>>
  <<set $args[0].labor = 0>>
<</if>>
<<if ndef $args[0].induce>>
  <<set $args[0].induce = 0>>
<</if>>
<<if ndef $args[0].mpreg>>
  <<set $args[0].mpreg = 0>>
<</if>>
<<if ndef $args[0].inflation>>
  <<set $args[0].inflation = 0>>
<</if>>
<<if ndef $args[0].inflationType>>
  <<set $args[0].inflationType = "none">>
<</if>>
<<if ndef $args[0].inflationMethod>>
  <<set $args[0].inflationMethod = 0>>
<</if>>
<<if ndef $args[0].milkSource>>
  <<set $args[0].milkSource = 0>>
<</if>>
<<if ndef $args[0].cumSource>>
  <<set $args[0].cumSource = 0>>
<</if>>
<<if ndef $args[0].burst>>
  <<set $args[0].burst = 0>>
<</if>>
<<if ndef $args[0].bellyImplant>>
  <<set $args[0].bellyImplant = 0>>
<</if>>
<<if ndef $args[0].bellySag>>
  <<set $args[0].bellySag = 0>>
<</if>>
<<if ndef $args[0].birthsTotal>>
  <<set $args[0].birthsTotal = $args[0].births>>
<</if>>
<<if ndef $args[0].pubertyAgeXX>>
  <<set $args[0].pubertyAgeXX = $fertilityAge>>
<</if>>
<<if ndef $args[0].bellyPain>>
	<<set $args[0].bellyPain = 0>>
<</if>>
<<if ndef $args[0].scars>>
	<<set $args[0].scars = 0>>
<</if>>
<<if ndef $args[0].breedingMark>>
	<<set $args[0].breedingMark = 0>>
<</if>>
<<if ndef $args[0].underArmHColor>>
	<<set $args[0].underArmHColor = $args[0].hColor>>
<</if>>
<<if ndef $args[0].underArmHStyle>>
	<<set $args[0].underArmHStyle = "waxed">>
<</if>>
<<if ndef $args[0].prostateImplant>>
	<<set $args[0].prostateImplant = 0>>
<</if>>
<<if ndef $args[0].bodySwap>>
	<<set $args[0].bodySwap = 0>>
<</if>>
<<if ndef $args[0].father>>
	<<set $args[0].father = 0>>
<</if>>
<<if ndef $args[0].mother>>
	<<set $args[0].mother = 0>>
<</if>>
<<if ndef $args[0].daughters>>
	<<set $args[0].daughters = 0>>
<</if>>
<<if ndef $args[0].sisters>>
	<<set $args[0].sisters = 0>>
<</if>>
<<if ndef $args[0].canRecruit>>
	<<set $args[0].canRecruit = 0>>
<</if>>
<<if ndef $args[0].ballType>>
	<<set $args[0].ballType = "human">>
<</if>>
<<if ndef $args[0].eggType>>
	<<set $args[0].eggType = "human">>
<</if>>
<<if ndef $args[0].HGExclude>>
	<<set $args[0].HGExclude = 0>>
<</if>>
<<if ndef $args[0].reservedChildren>>
	<<set $args[0].reservedChildren = 0>>
<</if>>
<<if ndef $args[0].choosesOwnChastity>>
	<<set $args[0].choosesOwnChastity = 0>>
<</if>>
<<if ndef $args[0].pregControl>>
	<<set $args[0].pregControl = "none">>
<</if>>
<<if ndef $args[0].readyLimbs>>
	<<set $args[0].readyLimbs = []>>
<</if>>
<<if ndef $args[0].ageAdjust>>
	<<set $args[0].ageAdjust = 0>>
<</if>>
<<if ndef $args[0].bald>>
	<<set $args[0].bald = 0>>
<</if>>
<<if ndef $args[0].death>>
	<<set $args[0].death = "">>
<</if>>

<<if ndef $args[0].pubertyXX>>
	<<if $args[0].physicalAge >= $args[0].pubertyAgeXX>>
		<<set $args[0].pubertyXX = 1>>
	<<else>>
		<<set $args[0].pubertyXX = 0>>
	<</if>>
<</if>>
<<if ndef $args[0].pubertyAgeXY>>
  <<set $args[0].pubertyAgeXY to $potencyAge>>
<</if>>
<<if ndef $args[0].pubertyAgeXY>>
	<<if $args[0].physicalAge >= $args[0].pubertyAgeXY>>
		<<set $args[0].pubertyXY = 1>>
	<<else>>
		<<set $args[0].pubertyXY = 0>>
	<</if>>
<</if>>
<</widget>>

<<widget "AgeImplantAdjustment">>
	<<if $activeSlave.visualAge > 80>>
		<<set $activeSlave.visualAge -= 40>>
	<<elseif $activeSlave.visualAge >= 70>>
		<<set $activeSlave.visualAge -= 30>>
	<<elseif $activeSlave.visualAge > 50>>
		<<set $activeSlave.visualAge -= 20>>
	<<elseif $activeSlave.visualAge > 36>>
		<<set $activeSlave.visualAge -= 10>>
	<<else>>
		<<set $activeSlave.visualAge -= 5>>
	<</if>>
<</widget>>

<<widget "PCAgeImplantAdjustmentUp">>
	<<if $PC.visualAge < 35>>
		<<set $PC.visualAge += 15>>
	<<elseif $PC.visualAge <= 50>>
		<<set $PC.visualAge += 10>>
	<<elseif $PC.visualAge < 60>>
		<<set $PC.visualAge += 5>>
	<<elseif $PC.visualAge < 80>>
		<<set $PC.visualAge += 3>>
	<<else>>
		<<set $PC.visualAge += 1>>
	<</if>>
<</widget>>

<<widget "PCAgeImplantAdjustmentDown">>
	<<if $PC.visualAge > 80>>
		<<set $PC.visualAge -= 40>>
	<<elseif $PC.visualAge >= 70>>
		<<set $PC.visualAge -= 30>>
	<<elseif $PC.visualAge > 50>>
		<<set $PC.visualAge -= 20>>
	<<elseif $PC.visualAge > 36>>
		<<set $PC.visualAge -= 10>>
	<<else>>
		<<set $PC.visualAge -= 5>>
	<</if>>
<</widget>>

<<widget "ClearFacilityDecorations">>

<<if $brothel > 0>>
<<if $brothelDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($brothelDecoration == "Supremacist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($brothelDecoration == "Subjugationist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($brothelDecoration == "Gender Radicalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($brothelDecoration == "Gender Fundamentalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($brothelDecoration == "Paternalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($brothelDecoration == "Body Purist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($brothelDecoration == "Transformation Fetishist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($brothelDecoration == "Youth Preferentialist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($brothelDecoration == "Maturity Preferentialist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($brothelDecoration == "Slimness Enthusiast")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($brothelDecoration == "Asset Expansionist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($brothelDecoration == "Pastoralist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($brothelDecoration == "Physical Idealist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($brothelDecoration == "Chattel Religionist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($brothelDecoration == "Degradationist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($brothelDecoration == "Roman Revivalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($brothelDecoration == "Egyptian Revivalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($brothelDecoration == "Edo Revivalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($brothelDecoration == "Arabian Revivalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($brothelDecoration == "Chinese Revivalist")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($brothelDecoration == "Repoplation Focus")>>
	<<set $brothelDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($brothelDecoration == "Eugenics")>>
	<<set $brothelDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $club > 0>>
<<if $clubDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($clubDecoration == "Supremacist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($clubDecoration == "Subjugationist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($clubDecoration == "Gender Radicalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($clubDecoration == "Gender Fundamentalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($clubDecoration == "Paternalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($clubDecoration == "Body Purist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($clubDecoration == "Transformation Fetishist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($clubDecoration == "Youth Preferentialist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($clubDecoration == "Maturity Preferentialist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($clubDecoration == "Slimness Enthusiast")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($clubDecoration == "Asset Expansionist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($clubDecoration == "Pastoralist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($clubDecoration == "Physical Idealist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($clubDecoration == "Chattel Religionist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($clubDecoration == "Degradationist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($clubDecoration == "Roman Revivalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($clubDecoration == "Egyptian Revivalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($clubDecoration == "Edo Revivalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($clubDecoration == "Arabian Revivalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($clubDecoration == "Chinese Revivalist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($clubDecoration == "Repoplation Focus")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($clubDecoration == "Eugenics")>>
	<<set $clubDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $dairy > 0>>
<<if $dairyDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($dairyDecoration == "Supremacist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($dairyDecoration == "Subjugationist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($dairyDecoration == "Gender Radicalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($dairyDecoration == "Gender Fundamentalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($dairyDecoration == "Paternalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($dairyDecoration == "Body Purist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($dairyDecoration == "Transformation Fetishist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($dairyDecoration == "Youth Preferentialist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($dairyDecoration == "Maturity Preferentialist")>>
	<<set $clubDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($dairyDecoration == "Slimness Enthusiast")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($dairyDecoration == "Asset Expansionist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($dairyDecoration == "Pastoralist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($dairyDecoration == "Physical Idealist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($dairyDecoration == "Chattel Religionist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($dairyDecoration == "Degradationist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($dairyDecoration == "Roman Revivalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($dairyDecoration == "Egyptian Revivalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($dairyDecoration == "Edo Revivalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($dairyDecoration == "Arabian Revivalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($dairyDecoration == "Chinese Revivalist")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($dairyDecoration == "Repoplation Focus")>>
	<<set $dairyDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($dairyDecoration == "Eugenics")>>
	<<set $dairyDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $spa > 0>>
<<if $spaDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($spaDecoration == "Supremacist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($spaDecoration == "Subjugationist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($spaDecoration == "Gender Radicalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($spaDecoration == "Gender Fundamentalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($spaDecoration == "Paternalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($spaDecoration == "Body Purist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($spaDecoration == "Transformation Fetishist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($spaDecoration == "Youth Preferentialist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($spaDecoration == "Maturity Preferentialist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($spaDecoration == "Slimness Enthusiast")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($spaDecoration == "Asset Expansionist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($spaDecoration == "Pastoralist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($spaDecoration == "Physical Idealist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($spaDecoration == "Chattel Religionist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($spaDecoration == "Degradationist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($spaDecoration == "Roman Revivalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($spaDecoration == "Egyptian Revivalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($spaDecoration == "Edo Revivalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($spaDecoration == "Arabian Revivalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($spaDecoration == "Chinese Revivalist")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($spaDecoration == "Repoplation Focus")>>
	<<set $spaDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($spaDecoration == "Eugenics")>>
	<<set $spaDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $clinic > 0>>
<<if $clinicDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($clinicDecoration == "Supremacist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($clinicDecoration == "Subjugationist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($clinicDecoration == "Gender Radicalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($clinicDecoration == "Gender Fundamentalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($clinicDecoration == "Paternalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($clinicDecoration == "Body Purist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($clinicDecoration == "Transformation Fetishist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($clinicDecoration == "Youth Preferentialist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($clinicDecoration == "Maturity Preferentialist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($clinicDecoration == "Slimness Enthusiast")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($clinicDecoration == "Asset Expansionist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($clinicDecoration == "Pastoralist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($clinicDecoration == "Physical Idealist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($clinicDecoration == "Chattel Religionist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($clinicDecoration == "Degradationist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($clinicDecoration == "Roman Revivalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($clinicDecoration == "Egyptian Revivalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($clinicDecoration == "Edo Revivalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($clinicDecoration == "Arabian Revivalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($clinicDecoration == "Chinese Revivalist")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($clinicDecoration == "Repoplation Focus")>>
	<<set $clinicDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($clinicDecoration == "Eugenics")>>
	<<set $clinicDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $schoolroom > 0>>
<<if $schoolroomDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($schoolroomDecoration == "Supremacist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($schoolroomDecoration == "Subjugationist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($schoolroomDecoration == "Gender Radicalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($schoolroomDecoration == "Gender Fundamentalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($schoolroomDecoration == "Paternalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($schoolroomDecoration == "Body Purist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($schoolroomDecoration == "Transformation Fetishist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($schoolroomDecoration == "Youth Preferentialist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($schoolroomDecoration == "Maturity Preferentialist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($schoolroomDecoration == "Slimness Enthusiast")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($schoolroomDecoration == "Asset Expansionist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($schoolroomDecoration == "Pastoralist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($schoolroomDecoration == "Physical Idealist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($schoolroomDecoration == "Chattel Religionist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($schoolroomDecoration == "Degradationist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($schoolroomDecoration == "Roman Revivalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($schoolroomDecoration == "Egyptian Revivalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($schoolroomDecoration == "Edo Revivalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($schoolroomDecoration == "Arabian Revivalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($schoolroomDecoration == "Chinese Revivalist")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($schoolroomDecoration == "Repoplation Focus")>>
	<<set $schoolroomDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($schoolroomDecoration == "Eugenics")>>
	<<set $schoolroomDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $cellblock > 0>>
<<if $cellblockDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($cellblockDecoration == "Supremacist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($cellblockDecoration == "Subjugationist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($cellblockDecoration == "Gender Radicalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($cellblockDecoration == "Gender Fundamentalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($cellblockDecoration == "Paternalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($cellblockDecoration == "Body Purist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($cellblockDecoration == "Transformation Fetishist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($cellblockDecoration == "Youth Preferentialist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($cellblockDecoration == "Maturity Preferentialist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($cellblockDecoration == "Slimness Enthusiast")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($cellblockDecoration == "Asset Expansionist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($cellblockDecoration == "Pastoralist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($cellblockDecoration == "Physical Idealist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($cellblockDecoration == "Chattel Religionist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($cellblockDecoration == "Degradationist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($cellblockDecoration == "Roman Revivalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($cellblockDecoration == "Egyptian Revivalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($cellblockDecoration == "Edo Revivalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($cellblockDecoration == "Arabian Revivalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($cellblockDecoration == "Chinese Revivalist")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($cellblockDecoration == "Repoplation Focus")>>
	<<set $cellblockDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($cellblockDecoration == "Eugenics")>>
	<<set $cellblockDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $servantsQuarters > 0>>
<<if $servantsQuartersDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($servantsQuartersDecoration == "Supremacist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($servantsQuartersDecoration == "Subjugationist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($servantsQuartersDecoration == "Gender Radicalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($servantsQuartersDecoration == "Gender Fundamentalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($servantsQuartersDecoration == "Paternalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($servantsQuartersDecoration == "Body Purist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($servantsQuartersDecoration == "Transformation Fetishist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($servantsQuartersDecoration == "Youth Preferentialist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($servantsQuartersDecoration == "Maturity Preferentialist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($servantsQuartersDecoration == "Slimness Enthusiast")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($servantsQuartersDecoration == "Asset Expansionist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($servantsQuartersDecoration == "Pastoralist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($servantsQuartersDecoration == "Physical Idealist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($servantsQuartersDecoration == "Chattel Religionist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($servantsQuartersDecoration == "Degradationist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($servantsQuartersDecoration == "Roman Revivalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($servantsQuartersDecoration == "Egyptian Revivalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($servantsQuartersDecoration == "Edo Revivalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($servantsQuartersDecoration == "Arabian Revivalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($servantsQuartersDecoration == "Chinese Revivalist")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($servantsQuartersDecoration == "Repoplation Focus")>>
	<<set $servantsQuartersDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($servantsQuartersDecoration == "Eugenics")>>
	<<set $servantsQuartersDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $arcade > 0>>
<<if $arcadeDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($arcadeDecoration == "Supremacist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($arcadeDecoration == "Subjugationist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($arcadeDecoration == "Gender Radicalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($arcadeDecoration == "Gender Fundamentalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($arcadeDecoration == "Paternalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($arcadeDecoration == "Body Purist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($arcadeDecoration == "Transformation Fetishist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($arcadeDecoration == "Youth Preferentialist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($arcadeDecoration == "Maturity Preferentialist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($arcadeDecoration == "Slimness Enthusiast")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($arcadeDecoration == "Asset Expansionist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($arcadeDecoration == "Pastoralist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($arcadeDecoration == "Physical Idealist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($arcadeDecoration == "Chattel Religionist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($arcadeDecoration == "Degradationist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($arcadeDecoration == "Roman Revivalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($arcadeDecoration == "Egyptian Revivalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($arcadeDecoration == "Edo Revivalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($arcadeDecoration == "Arabian Revivalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($arcadeDecoration == "Chinese Revivalist")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($arcadeDecoration == "Repoplation Focus")>>
	<<set $arcadeDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($arcadeDecoration == "Eugenics")>>
	<<set $arcadeDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<<if $masterSuite > 0>>
<<if $masterSuiteDecoration != "standard">>
<<if ($arcologies[0].FSSupremacist == "unset") && ($masterSuiteDecoration == "Supremacist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSSubjugationist == "unset") && ($masterSuiteDecoration == "Subjugationist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderRadicalist == "unset") && ($masterSuiteDecoration == "Gender Radicalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSGenderFundamentalist == "unset") && ($masterSuiteDecoration == "Gender Fundamentalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSPaternalist == "unset") && ($masterSuiteDecoration == "Paternalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSBodyPurist == "unset") && ($masterSuiteDecoration == "Body Purist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSTransformationFetishist == "unset") && ($masterSuiteDecoration == "Transformation Fetishist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSYouthPreferentialist == "unset") && ($masterSuiteDecoration == "Youth Preferentialist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSMaturityPreferentialist == "unset") && ($masterSuiteDecoration == "Maturity Preferentialist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSSlimnessEnthusiast == "unset") && ($masterSuiteDecoration == "Slimness Enthusiast")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSAssetExpansionist == "unset") && ($masterSuiteDecoration == "Asset Expansionist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSPastoralist == "unset") && ($masterSuiteDecoration == "Pastoralist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSPhysicalIdealist == "unset") && ($masterSuiteDecoration == "Physical Idealist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSChattelReligionist == "unset") && ($masterSuiteDecoration == "Chattel Religionist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSDegradationist == "unset") && ($masterSuiteDecoration == "Degradationist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSRomanRevivalist == "unset") && ($masterSuiteDecoration == "Roman Revivalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSEgyptianRevivalist == "unset") && ($masterSuiteDecoration == "Egyptian Revivalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSEdoRevivalist == "unset") && ($masterSuiteDecoration == "Edo Revivalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSArabianRevivalist == "unset") && ($masterSuiteDecoration == "Arabian Revivalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSChineseRevivalist == "unset") && ($masterSuiteDecoration == "Chinese Revivalist")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSRepopulationFocus == "unset") && ($masterSuiteDecoration == "Repopulation Focus")>>
	<<set $masterSuiteDecoration = "standard">>
<<elseif ($arcologies[0].FSRestart == "unset") && ($masterSuiteDecoration == "Eugenics")>>
	<<set $masterSuiteDecoration = "standard">>
<</if>>
<</if>>
<</if>>

<</widget>>

<<widget "InitStandards">>

<<set $activeStandard to {age: 24, weight: 0, muscles: 0, raceSup: "white", raceSub: "white", boobs: 0, boobsImplant: 0, lactation: 0, hips: 0, hipsImplant: 0, butt: 0, buttImplant: 0, face: 0, faceImplant: 0, lips: 15, lipsImplant: 0, chem: 0, addict: 0, intelligence: 0, intelligenceImplant: 0, bellyImplant: 0, beauty: 0, dick: 0, balls: 0, health: 0}>>

<<UpdateStandards>>
<<BreedingStandards>>
<</widget>>

<<widget "UpdateStandards">>
<<if $failedElite > 100>>
	<<set $activeStandard.intelligence = 3>>
	<<set $activeStandard.beauty = 120>>
	<<set $activeStandard.face = 95>>
<<else>>
	<<set $activeStandard.intelligence = 2>>
	<<set $activeStandard.beauty = 100>>
	<<set $activeStandard.face = 55>>
<</if>>
<<set $activeStandard.chem = 20>>
<<set $activeStandard.addict = 0>>
<<if $arcologies[0].FSSupremacist > 20>>
	<<set $activeStandard.raceSup = $arcologies[0].FSSupremacistRace>>
<</if>>
<<if $arcologies[0].FSSubjugationist > 20>>
	<<set $activeStandard.raceSub = $arcologies[0].FSSubjugationistRace>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist > 20>>
	<<set $activeStandard.dick = 1>>
	<<set $activeStandard.balls = 1>>
<<elseif $arcologies[0].FSGenderFundamentalist > 20>>
	<<set $activeStandard.dick = 0>>
	<<set $activeStandard.balls = 0>>
<</if>>
<<if $arcologies[0].FSPaternalist > 20>>
	<<set $activeStandard.intelligenceImplant = 1>>
	<<set $activeStandard.health = 60>>
<<elseif $arcologies[0].FSDegradationist > 20>>
	<<set $activeStandard.intelligenceImplant = 0>>
	<<set $activeStandard.health = 0>>
<</if>>
<<if $arcologies[0].FSBodyPurist > 20>>
	<<set $activeStandard.chem = 0>>
	<<set $activeStandard.boobsImplant = 0>>
	<<set $activeStandard.buttImplant = 0>>
	<<set $activeStandard.lipsImplant = 0>>
	<<set $activeStandard.hipsImplant = 0>>
	<<set $activeStandard.shouldersImplant = 0>>
	<<set $activeStandard.faceImplant = 1>>
	<<set $activeStandard.bellyImplant = 0>>
<<elseif $arcologies[0].FSTransformationFetishist > 20>>
	<<set $activeStandard.chem = 20>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
	<<set $activeStandard.weight = 0>>
	<<set $activeStandard.butt = 2>>
	<<set $activeStandard.boobs = 400>>
<<elseif $arcologies[0].FSAssetExpansionist > 20>>
	<<set $activeStandard.butt = 6>>
	<<set $activeStandard.boobs = 1000>>
<</if>>
<<if $arcologies[0].FSPastoralist > 20>>
	<<set $activeStandard.lactation = 1>>
<<elseif $arcologies[0].FSPhysicalIdealist > 20>>
	<<set $activeStandard.muscles = 95>>
<</if>>
<</widget>>

<<widget "BreedingStandards">>
<br><br>
In order to be eligible to be bred, the potential breeding bitch must first satisfy the following conditions:
<<if $failedElite > 100>>
	<br>She must be of finest intelligence.
	<br>She must be unbelieveably beautiful.
	<br>Her face must be breathtaking.
<<else>>
	<br>She must be very smart.
	<br>She must be beautiful.
	<br>Her face must be gorgeous.
<</if>>
<br>Her health must not be overly impacted by drug use.
<br>She must not be addicted to drugs.
<<if $arcologies[0].FSSupremacist > 20>>
	<br>She must be $arcologies[0].FSSupremacistRace.
<</if>>
<<if $arcologies[0].FSSubjugationist > 20>>
	<br>She must not be $arcologies[0].FSSubjugationistRace.
<</if>>
<<if $arcologies[0].FSGenderRadicalist > 20>>
	<br>She must have a functional penis.
<<elseif $arcologies[0].FSGenderFundamentalist > 20>>
	<br>She must be physically female.
<</if>>
<<if $arcologies[0].FSPaternalist > 20>>
	<br>She must be educated.
	<br>She must be in good health.
<</if>>
<<if $arcologies[0].FSBodyPurist > 20>>
	<br>Her genome must be damage free.
	<br>She must be implant free.
<<elseif $arcologies[0].FSTransformationFetishist > 20>>
	<<set $activeStandard.chem = 20>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist > 20>>
	<br>She must be older than 24.
<<elseif $arcologies[0].FSYouthPreferentialist > 20>>
	<br>She must be younger than 24.
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
	<br>She must be thin.
	<br>She must have a trim rear.
	<br>She must have a sleek chest.
<<elseif $arcologies[0].FSAssetExpansionist > 20>>
	<br>She must have a naturally gigantic rear.
	<br>She must be naturally busty.
<</if>>
<<if $arcologies[0].FSPastoralist > 20>>
	<br>She must be lactating naturally.
<<elseif $arcologies[0].FSPhysicalIdealist > 20>>
	<br>She must be extremely muscular.
<</if>>
<br>For each slave examined, a fee of @@.yellowgreen;¤5000@@ will be deducted from your account.
<br>Failures will be sterilized. Please make sure your slave fits the criteria before submitting them for testing. We shall not be held responsible for time wasted.
<br>Updates will be posted periodically. It is your responsibility to keep up to date with current standards.
<</widget>>

<<widget "BreedingEligibility">>
<<set $passing = 0>>
<<set $useActiveSlave = 1>>
<br><br>
$activeSlave.slaveName is up for review:
<<if $activeSlave.intelligence >= $activeStandard.intelligence>>
	<br>She @@.lime;PASSED@@ the intelligence test.
<<else>>
	<br>She @@.red;FAILED@@ the intelligence test.
	<<set $passing-->>
<</if>>
<<if $beauty >= $activeStandard.beauty>>
	<br>She @@.lime;PASSED@@ the beauty test.
<<else>>
	<br>She @@.red;FAILED@@ the beauty test.
	<<set $passing-->>
<</if>>
<<if $activeSlave.face >= $activeStandard.face>>
	<br>She @@.lime;PASSED@@ the facial attractiveness test.
<<else>>
	<br>She @@.red;FAILED@@ the facial attractiveness test.
	<<set $passing-->>
<</if>>
<<if $activeSlave.chem <= $activeStandard.chem>>
	<br>She @@.lime;PASSED@@ the genome damage test.
<<else>>
	<br>She @@.red;FAILED@@ the genome damage test.
	<<set $passing-->>
<</if>>
<<if $activeSlave.addict >= $activeStandard.addict>>
	<br>She @@.lime;PASSED@@ the drug test.
<<else>>
	<br>She @@.red;FAILED@@ the drug test.
	<<set $passing-->>
<</if>>
<<if $arcologies[0].FSSupremacist > 20>>
	<<if $activeSlave.race == $activeStandard.raceSup>>
		<br>She @@.lime;PASSED@@ racial testing.
	<<else>>
		<br>She @@.red;FAILED@@ racial testing.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSSubjugationist > 20>>
	<<if $activeSlave.race != $activeStandard.raceSub>>
		<br>She @@.lime;PASSED@@ racial testing.
	<<else>>
		<br>She @@.red;FAILED@@ racial testing.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSGenderRadicalist > 20>>
	<<if $activeSlave.dick >= $activeStandard.dick && $activeSlave.balls >= $activeStandard.balls>>
		<br>She @@.lime;PASSED@@ penis inspection.
	<<else>>
		<br>She @@.red;FAILED@@ penis inspection.
		<<set $passing-->>
	<</if>>
<<elseif $arcologies[0].FSGenderFundamentalist > 20>>
	<<if $activeSlave.dick == $activeStandard.dick && $activeSlave.balls == $activeStandard.balls>>
		<br>She @@.lime;PASSED@@ genital inspection.
	<<else>>
		<br>She @@.red;FAILED@@ genital inspection.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSPaternalist > 20>>
	<<if $activeSlave.intelligenceImplant == $activeStandard.intelligenceImplant>>
		<br>She @@.lime;PASSED@@ educational trials.
	<<else>>
		<br>She @@.red;FAILED@@ educational trials.
		<<set $passing-->>
	<</if>>
	<<if $activeSlave.health >= $activeStandard.health>>
		<br>She @@.lime;PASSED@@ health examinations.
	<<else>>
		<br>She @@.red;FAILED@@ health examinations.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSBodyPurist > 20>>
	<<if $activeSlave.health >= $activeStandard.health>>
		<br>She @@.lime;PASSED@@ health examinations.
	<<else>>
		<br>She @@.red;FAILED@@ health examinations.
		<<set $passing-->>
	<</if>>
	<<if $activeSlave.boobsImplant == 0 && $activeSlave.buttImplant == 0 && $activeSlave.lipsImplant == 0 && $activeSlave.hipsImplant == 0 && $activeSlave.shouldersImplant == 0 && $activeSlave.faceImplant == 0 && $activeSlave.bellyImplant == 0>>
		<br>She @@.lime;PASSED@@ implant examinations.
	<<else>>
		<br>She @@.red;FAILED@@ implant examinations.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSMaturityPreferentialist > 20>>
	<<if $activeSlave.physicalAge > $activeStandard.age>>
		<br>She @@.lime;PASSED@@ age examinations.
	<<else>>
		<br>She @@.red;FAILED@@ age examinations.
		<<set $passing-->>
	<</if>>
<<elseif $arcologies[0].FSYouthPreferentialist > 20>>
	<<if $activeSlave.physicalAge < $activeStandard.age>>
		<br>She @@.lime;PASSED@@ age examinations.
	<<else>>
		<br>She @@.red;FAILED@@ age examinations.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSSlimnessEnthusiast > 20>>
	<<if $activeSlave.weight <= $activeStandard.weight>>
		<br>She @@.lime;MET@@ weight limits.
	<<else>>
		<br>She @@.red;EXCEEDED@@ weight mimits.
		<<set $passing-->>
	<</if>>
	<<if $activeSlave.butt  <= $activeStandard.butt>>
		<br>She @@.lime;MET@@ ass measurements.
	<<else>>
		<br>She @@.red;EXCEEDED@@ ass measurements.
		<<set $passing-->>
	<</if>>
	<<if $activeSlave.boobs <= $activeStandard.boobs>>
		<br>She @@.lime;MET@@ chest measurements.
	<<else>>
		<br>She @@.red;EXCEEDED@@ chest measurements.
		<<set $passing-->>
	<</if>>
<<elseif $arcologies[0].FSAssetExpansionist > 20>>
	<<if ($activeSlave.butt - $activeSlave.buttImplant) >= $activeStandard.butt>>
		<br>She @@.lime;MET@@ ass measurements.
	<<else>>
		<br>She @@.red;FAILED@@ to meet ass measurements.
		<<set $passing-->>
	<</if>>
	<<if ($activeSlave.boobs - $activeSlave.boobsImplant) >= $activeStandard.boobs>>
		<br>She @@.lime;MET@@ chest measurements.
	<<else>>
		<br>She @@.red;FAILED@@ to meet chest measurements.
		<<set $passing-->>
	<</if>>
<</if>>
<<if $arcologies[0].FSPastoralist > 20>>
	<<if $activeSlave.lactation == $activeStandard.lactation>>
		<br>She @@.lime;MET@@ milk production standards.
	<<elseif $activeSlave.lactation > $activeStandard.lactation>>
		<br>She @@.red;EXCEEDED@@ milk production standards.
		<<set $passing-->>
	<<else>>
		<br>She @@.red;FAILED@@ to meet milk production standards.
		<<set $passing-->>
	<</if>>
<<elseif $arcologies[0].FSPhysicalIdealist > 20>>
	<<if $activeSlave.muscles > $activeStandard.muscles>>
		<br>She @@.lime;MET@@ the required muscle mass.
	<<else>>
		<br>She @@.red;FAILED@@ to meet the required muscle mass.
		<<set $passing-->>
	<</if>>
<</if>>
<br><br>
<<if $passing != 0>>
	The slave known as "<<print $activeSlave.slaveName>>" has been deemed @@.red;unsuitable@@ for breeding and has been @@.green;sterilized@@ as per agreement.
	<<set $activeSlave.preg = -3>>
<<else>>
	The slave known as "<<print $activeSlave.slaveName>>" has been deemed @@.green;worthy@@ of being used for breeding and has been marked as such. Please note the increased restrictions on breeding slaves.
	<br>They are not permitted for public use or anything that may harm their growing child. The child within them is considered a member of the elite class and a such, any harm that comes to them will result in severe penalties to the breeder's owner. Development of the child will be closely monitored; should the fetus be identified as of not the owner's blood (or any other member of the Elite class), said owner shall face severe fines.
	<<set $activeSlave.breedingMark = 1, $activeSlave.pregControl = "none">>
<</if>>
<br>@@.yellowgreen;¤5000@@ has been deducted from your account as agreed.
<<removeJob $activeSlave $activeSlave.assignment>>
<</widget>>

<<widget "PlayerRace">>
	<<replace #ethnicity>>
		I'm $PC.race.
	<</replace>>
<</widget>>

<<widget "PlayerSkin">>
	<<replace #skin>>
		I have $PC.skin skin.
	<</replace>>
<</widget>>

<<widget "ResyncHeight">>

<<switch $activeSlave.actualAge>>
<<case 3>>
	<<set $activeSlave.height = random(91,96)>>
<<case 4>>
	<<set $activeSlave.height = random(97,104)>>
<<case 5>>
	<<set $activeSlave.height = random(104,111)>>
<<case 6>>
	<<set $activeSlave.height = random(112,119)>>
<<case 7>>
	<<set $activeSlave.height = random(118,126)>>
<<case 8>>
	<<set $activeSlave.height = random(124,132)>>
<<case 9>>
	<<set $activeSlave.height = random(129,137)>>
<<case 10>>
	<<set $activeSlave.height = random(133,142)>>
<<case 11>>
	<<set $activeSlave.height = random(140,149)>>
<<case 12>>
	<<set $activeSlave.height = random(147,156)>>
<<case 13>>
	<<set $activeSlave.height = random(152,162)>>
<<case 14>>
	<<set $activeSlave.height = random(156,165)>>
<<case 15>>
	<<set $activeSlave.height = random(157,166)>>
<<default>>
	<<set $activeSlave.height = random(159,167)>>
<</switch>>

<</widget>>

<<widget "BodyguardWeapon">>

<<if ($activeSlave.muscles+$activeSlave.height-100)/25 > 5>>
    She has a long ceramic sword strapped to her back,
	<<switch $activeSlave.nationality>>
	<<case "Uzbek" "Kazakh" "Belarusian" "Armenian" "Hungarian" "Cuban">>
		and, in keeping with her heritage, a PKM GPMG
	<<case "Russian">>
		and, in keeping with her heritage, a PKP Pecheneg GPMG
	<<case "Ukrainian">>
		and, in keeping with her heritage, a Fort-401 LMG
	<<case "American">>
		and, in keeping with her heritage, a US Ordnance Mk43 Mod.1 GPMG
	<<case "Canadian">>
		and, in keeping with her heritage, a Colt Canada 5.56-LSW LMG
	<<case "British" "Scottish">>
		and, in keeping with her heritage, an L7A2 GPMG
	<<case "Japanese">>
		and, in keeping with her heritage, a Sumitomo Type 62 GPMG
	<<case "Belgian">>
		and, in keeping with her heritage, a FN Minimi M3 LMG
	<<case "Israeli">>
		and, in keeping with her heritage, an IWI Negev NG7 GPMG
	<<case "German" "Chilean">>
		and, in keeping with her heritage, a Rheinmetall MG3 GPMG
	<<case "Mexican">>
		and, in keeping with her heritage, a SEDENA MG-21 GPMG
	<<case "Spanish">>
		and, in keeping with her heritage, a CETME MG 82 Ameli LMG
	<<case "Australian">>
		and, in keeping with her heritage, a Lithgow F89 Maximi GPMG
	<<case "Chinese">>
		and, in keeping with her heritage, a Norinco QJY-88 LMG
	<<case "French">>
		and, in keeping with her heritage, a MAS AAT-F1 GPMG
	<<case "Korean">>
		and, in keeping with her heritage, a S&T K12 GPMG 
	<<case "South African">>
		and, in keeping with her heritage, a Vektor SS-77 GPMG
	<<case "Finnish">>
		and, in keeping with her heritage, a Valmet KvKK 62 LMG
	<<case "Polish">>
		and, in keeping with her heritage, a ZMT UKM-2000 GPMG
	<<case "Swiss">>
		and, in keeping with her heritage, a W+F-Bern MG51 GPMG
	<<case "Austrian">>
		and, in keeping with her heritage, a Steyr MG 74 GPMG
	<<case "Zimbabwean">>
		<<if $activeSlave.race == "white">>
			and, in keeping with her heritage, a FN MAG-58 GPMG
		<<else>>
			and a FN MAG 60.20 GPMG
		<</if>>
	<<case "Czech" "Slovak">>
		and, in keeping with her heritage, a ZVI Uk vz.59 Rachot GPMG
	<<case "Indonesian">>
		and, in keeping with her heritage, a Pindad SM2 LMG
	<<case "Indian">>
		and, in keeping with her heritage, a OFB MG 2A1 GPMG
	<<case "Turkish">>
		and, in keeping with her heritage, a MKEK MG3 GPMG
	<<case "Iranian">>
		and, in keeping with her heritage, a DIO MGA3 GPMG
	<<case "Vietnamese">>
		and, in keeping with her heritage, a Z111 RPK LMG
	<<case "Filipina">>
		and, in keeping with her heritage, a Government Arsenal M60E4 GPMG
	<<case "Serbian">>
		and, in keeping with her heritage, a Zastava M09 LMG
	<<case "Romanian">>
		and, in keeping with her heritage, a FACSA PM md.93 LMG
	<<default>>
		and a FN MAG 60.20 GPMG
	<</switch>>
	slung crosswise on her chest.
<<elseif ($activeSlave.muscles+$activeSlave.height-100)/25 > 4>>
    She has a ceramic sword strapped to her back
	<<switch $activeSlave.nationality>>
	<<case "Uzbek" "Kazakh" "Belarusian" "Armenian">>
		and, in keeping with her heritage, a Kalashnikov AK-74M assault rifle
	<<<case "Russian">>
		and, in keeping with her heritage, a Izhmash AN-94 Abakan assault rifle
	<<case "Ukrainian">>
		and, in keeping with her heritage, a Fort-227 assault rifle
	<<case "American">>
		and, in keeping with her heritage, a Colt M16A4 assault rifle
	<<case "Canadian">>
		and, in keeping with her heritage, a Colt Canada MRR assault rifle
	<<case "Japanese">>
		and, in keeping with her heritage, a Howa Type 89 assault rifle
	<<case "British" "Scottish">>
		and, in keeping with her heritage, an L85A3 bullpup assault rifle
	<<case "Belgian">>
		and, in keeping with her heritage, a FN FNC M2 assault rifle
	<<case "Israeli">>
		and, in keeping with her heritage, an IWI MTAR-21 bullpup assault rifle
	<<case "German">>
		and, in keeping with her heritage, a H&K G36A2 assault rifle
	<<case "Mexican">>
		and, in keeping with her heritage, a DGIM FX-05 Xiuhcoatl assault rifle
	<<case "Spanish">>
		and, in keeping with her heritage, a CETME Model C battle rifle
	<<case "Cuban">>
		and, in keeping with her heritage, an AKM assault rifle
	<<case "Australian">>
		and, in keeping with her heritage, a Lithgow EF88 Austeyr bullpup assault rifle
	<<case "Chinese">>
		and, in keeping with her heritage, a Norinco QBZ-95-1 bullpup assault rifle
	<<case "French">>
		and, in keeping with her heritage, a Nexter FAMAS G2 bullpup assault rifle
	<<case "Italian">>
		and, in keeping with her heritage, a Beretta ARX-160 assault rifle
	<<case "Korean">>
		and, in keeping with her heritage, a Daewoo K2C1 assault rifle
	<<case "South African">>
		and, in keeping with her heritage, a Vektor R4 assault rifle
	<<case "Swedish">>
		and, in keeping with her heritage, a Bofors Ak-5C assault rifle
	<<case "Finnish">>
		and, in keeping with her heritage, a SAKO Rk 95 TP assault rifle
	<<case "Colombian">>
		and, in keeping with her heritage, a Indumil ACE 22 assault rifle
	<<case "Polish">>
		and, in keeping with her heritage, a FB MSBS assault rifle
	<<case "Swiss">>
		and, in keeping with her heritage, a SIG SG 550 assault rifle
	<<case "Austrian">>
		and, in keeping with her heritage, a Steyr AUG A3 bullpup assault rifle
	<<case "Zimbabwean">>
		<<if $activeSlave.race == "white">>
			and, in keeping with her heritage, a FN FAL battle rifle
		<<else>>
			and a FN F2000 bullpup assault rifle
		<</if>>
	<<case "Czech" "Slovak">>
		and, in keeping with her heritage, a CZUB CZ-806 BREN-2 assault rifle
	<<case "Indonesian">>
		and, in keeping with her heritage, a Pindad SS2 assault rifle
	<<case "Indian">>
		and, in keeping with her heritage, a OFB MCIWS assault rifle
	<<case "Turkish">>
		and, in keeping with her heritage, a MKEK MPT-76 assault rifle
	<<case "Iranian">>
		and, in keeping with her heritage, a DIO KH-2002 Khaybar bullpup assault rifle
	<<case "Vietnamese">>
		and, in keeping with her heritage, a Z111 AKM assault rifle
	<<case "Filipina">>
		and, in keeping with her heritage, a Elitool M653P carbine
	<<case "Thai">>
		and, in keeping with her heritage, a MND Type 11 assault rifle
	<<case "Brazilian">>
		and, in keeping with her heritage, a IMBEL IA2 assault rifle
	<<case "Argentinian">>
		and, in keeping with her heritage, a FMAP FARA-83 assault rifle
	<<case "Peruvian">>
		and, in keeping with her heritage, a SIMA FAD bullpup assault rifle
	<<case "Chilean">>
		and, in keeping with her heritage, a FAMAE ACE 22NC assault rifle
	<<case "Serbian">>
		and, in keeping with her heritage, a Zastava M21A assault rifle
	<<case "Croatian">>
		and, in keeping with her heritage, an HS Produkt VHS-2 bullpup assault rifle
	<<case "Hungarian">>
		and, in keeping with her heritage, a FEG AMD-65M assault rifle
	<<case "Romanian">>
		and, in keeping with her heritage, a ROMARM PA md.86 assault rifle
	<<default>>
		and a FN F2000 bullpup assault rifle
	<</switch>>
	slung across her chest.
<<elseif ($activeSlave.muscles+$activeSlave.height-100)/25 > 3>>
    She has a straight ceramic sword strapped to her back
	<<switch $activeSlave.nationality>>
	<<case "Uzbek" "Kazakh" "Belarusian" "Armenian">>
		and, in keeping with her heritage, an Kalashnikov AKS-74U PDW
	<<case "Russian">>
		and, in keeping with her heritage, a KBP PP-90M1 SMG
	<<case "Ukrainian">>
		and, in keeping with her heritage, a Fort-224 bullpup SMG
	<<case "American">>
		and, in keeping with her heritage, a KRISS Vector SMG
	<<case "British" "Scottish">>
		and, in keeping with her heritage, an L91A1 SMG
	<<case "Belgian">>
		and, in keeping with her heritage, a FN P90 bullpup PDW
	<<case "Israeli">>
		and, in keeping with her heritage, an IWI Uzi SMG
	<<case "German">>
		and, in keeping with her heritage, an H&K MP7A1 PDW
	<<case "Mexican">>
		and, in keeping with her heritage, a Mendoza Cobra SMG
	<<case "Spanish">>
		and, in keeping with her heritage, a Star Z84 SMG
	<<case "Chinese">>
		and, in keeping with her heritage, a Norinco QCQ-05 SMG
	<<case "Italian">>
		and, in keeping with her heritage, a Beretta MX4 SMG
	<<case "Korean">>
		and, in keeping with her heritage, a Daewoo K1A PDW
	<<case "South African">>
		and, in keeping with her heritage, a Milkor BXP SMG
	<<case "Swedish">>
		and, in keeping with her heritage, a Carl Gustav m/45 SMG
	<<case "Polish">>
		and, in keeping with her heritage, a FB PM-06 Glauberyt SMG
	<<case "Swiss">>
		and, in keeping with her heritage, a SIG MPX SMG
	<<case "Austrian">>
		and, in keeping with her heritage, a Steyr AUG A3 Para XS bullpup SMG
	<<case "Zimbabwean">>
		<<if $activeSlave.race == "white">>
			and, in keeping with her heritage, a Sterling Mk.IV SMG
		<<else>>
			and a H&K MP5 SMG
		<</if>>
	<<case "Indonesian">>
		and, in keeping with her heritage, a Pindad PM1A1 SMG
	<<case "Indian">>
		and, in keeping with her heritage, a OFB MSMC SMG
	<<case "Turkish">>
		and, in keeping with her heritage, a Sarsilmaz SAR 109 SMG
	<<case "Iranian">>
		and, in keeping with her heritage, a DIO MPT-9 Tondar SMG
	<<case "Vietnamese">>
		and, in keeping with her heritage, a Z111 K-50M LMG
	<<case "Filipina">>
		and, in keeping with her heritage, a Ferfrans SCW7 PDW
	<<case "Brazilian">>
		and, in keeping with her heritage, a Taurus MT40 G2 SMG
	<<case "Argentinian">>
		and, in keeping with her heritage, a Halcon ML-63 SMG
	<<case "Chilean">>
		and, in keeping with her heritage, a FAMAE SAF-200 SMG
	<<case "Serbian">>
		and, in keeping with her heritage, a Zastava Master FLG SMG
	<<case "Croatian">>
		and, in keeping with her heritage, a PM Agram 2000 SMG
	<<case "Romanian">>
		and, in keeping with her heritage, a UM Cugir LP7 SMG
	<<default>>
		and a H&K MP5 SMG
	<</switch>>
	slung across her chest.
<<else>>
    She has a short ceramic sword strapped to her back
	<<switch $activeSlave.nationality>>
	<<case "Uzbek" "Kazakh" "Belarusian" "Armenian" "Ukrainian" "Cuban">>
		and, in keeping with her heritage, a Molot Ordnance Stechkin APS machine pistol
	<<case "Russian">>
		and, in keeping with her heritage, a KBP OTs-33 Pernach machine pistol
	<<case "American">>
		and, in keeping with her heritage, a MAC-10 machine pistol
	<<case "Japanese">>
		and, in keeping with her heritage, a Minebea PM-9 machine pistol
	<<case "Belgian">>
		and, in keeping with her heritage, a VBR-Belgium PDW machine pistol
	<<case "Israeli">>
		and, in keeping with her heritage, an IWI Uzi Pro machine pistol
	<<case "German">>
		and, in keeping with her heritage, a H&K VP70 machine pistol
	<<case "Mexican">>
		and, in keeping with her heritage, a Trejo Modelo 2 Especial machine pistol
	<<case "Chinese">>
		and, in keeping with her heritage, a Chongqing Changfeng CF-05 machine pistol
	<<case "Italian">>
		and, in keeping with her heritage, a Beretta 93R machine pistol
	<<case "Swedish">>
		and, in keeping with her heritage, a Saab Bofors Dynamics CBJ-MS machine pistol
	<<case "Polish">>
		and, in keeping with her heritage, a WITU PMM machine pistol
	<<case "Czech" "Slovak">>
		and, in keeping with her heritage, a CZUB CZ 75 Automatic machine pistol
	<<case "Swiss">>
		and, in keeping with her heritage, a B+T MP9 machine pistol
	<<case "Austrian">>
		and, in keeping with her heritage, a Steyr TMP machine pistol
	<<case "Turkish">>
		and, in keeping with her heritage, a TiSAS Zigana F machine pistol
	<<case "Romanian">>
		and, in keeping with her heritage, a UMS Pistolul md.98 Dracula machine pistol
	<<case "Hungarian">>
		and, in keeping with her heritage, a FEG KGP-9 machine pistol
	<<case "Peruvian">>
		and, in keeping with her heritage, a SIMA MGP-87 machine pistol
	<<default>>
		and a Glock 18 machine pistol
	<</switch>>
	at her side.
<</if>>
	
<</widget>>

<<widget "GenSkinTone">>

/*
black 5
brown 4
dark 3
olive 2
light brown 1
null 0
light -1
white -2
fair -3
pale -4
extremely pale -5
*/

<<set _skin = 0>>
<<set _skin0 = 0>>
<<set _skin1 = 0>>

<<switch $args[0].skin>>
<<case "black">>
	<<set _skin0 = 10>>
<<case "brown">>
	<<set _skin0 = 9>>
<<case "dark">>
	<<set _skin0 = 8>>
<<case "olive">>
	<<set _skin0 = 7>>
<<case "light brown">>
	<<set _skin0 = 6>>
<<case "light">>
	<<set _skin0 = 4>>
<<case "white">>
	<<set _skin0 = 3>>
<<case "fair">>
	<<set _skin0 = 2>>
<<case "pale">>
	<<set _skin0 = 1>>
<<case "extremely pale">>
	<<set _skin0 = 0>>
<<default>>
	<<set _skin0 = 5>>
<</switch>>

<<switch $args[1].skin>>
<<case "black">>
	<<set _skin1 = 10>>
<<case "brown">>
	<<set _skin1 = 9>>
<<case "dark">>
	<<set _skin1 = 8>>
<<case "olive">>
	<<set _skin1 = 7>>
<<case "light brown">>
	<<set _skin1 = 6>>
<<case "light">>
	<<set _skin1 = 4>>
<<case "white">>
	<<set _skin1 = 3>>
<<case "fair">>
	<<set _skin1 = 2>>
<<case "pale">>
	<<set _skin1 = 1>>
<<case "extremely pale">>
	<<set _skin1 = 0>>
<<default>>
	<<set _skin1 = 5>>
<</switch>>

<<set _skin = Math.round((_skin1+_skin0)/2)>>

<<switch _skin>>
<<case 10>>
	<<set $activeSlave.skin = "black">>
<<case 9>>
	<<set $activeSlave.skin = "brown">>
<<case 8>>
	<<set $activeSlave.skin = "dark">>
<<case 7>>
	<<set $activeSlave.skin = "olive">>
<<case 6>>
	<<set $activeSlave.skin = "light brown">>
<<case 4>>
	<<set $activeSlave.skin = "light">>
<<case 3>>
	<<set $activeSlave.skin = "white">>
<<case 2>>
	<<set $activeSlave.skin = "fair">>
<<case 1>>
	<<set $activeSlave.skin = "pale">>
<<case 0>>
	<<set $activeSlave.skin = "extremely pale">>
<<default>>
	<<set $activeSlave.skin = either($args[0].skin, $args[1].skin)>>
<</switch>>

<</widget>>

/*
<<widget "GenSkinTone">>
<<script>>
(function() {
  var skinToMelanin = {black: 10, ebony: 9.5, brown: 9, dark: 8, olive: 7, 'light brown': 6, bronzed: 5.5, tanned: 5, light: 4, 'rosy white': 3.5, white: 3, fair: 2, 'very fair': 1.5, lightened: 1.5, pale: 1, 'pure white': 0.5, 'extremely pale': 0.001};
  var parents = State.variables.args;
  var skin0 = parents[0] ? (skinToMelanin[parents[0].skin] || 5) : 3;
  var skin1 = parents[1] ? (skinToMelanin[parents[1].skin] || 5) : 3;
  var skin = Math.round(Math.random() * (skin1 - skin0) + skin0);
  State.variables.activeSlave.skin = ['extremely pale', 'pale', 'fair', 'white', 'light', 'tanned', 'light brown', 'olive', 'dark', 'brown', 'black'][skin];
})();
<</script>>
<</widget>>
*/

<<widget "ParentNames">>

<<switch $args[0].nationality>>
<<case "American">>
	<<if $args[1].race == "black">>
		<<set $args[1].slaveName = $africanAmericanSlaveNames.random()>>
	<<elseif $args[1].race == "latina">>
		<<set $args[1].slaveName = $latinaSlaveNames.random()>>
	<<elseif $args[1].race == "asian">>
		<<set $args[1].slaveName = $asianAmericanSlaveNames.random()>>
	<<elseif $args[1].race == "middle eastern">>
		<<set $args[1].slaveName = $egyptianSlaveNames.random()>>
	<<else>>
		<<set $args[1].slaveName = $whiteAmericanSlaveNames.random()>>
	<</if>>
<<case "Canadian">>
	<<set $args[1].slaveName = $canadianSlaveNames.random()>>
<<case "Mexican">>
	<<set $args[1].slaveName = $mexicanSlaveNames.random()>>
<<case "Dominican">>
	<<set $args[1].slaveName = $dominicanSlaveNames.random()>>
<<case "Puerto Rican">>
	<<set $args[1].slaveName = $puertoRicanSlaveNames.random()>>
<<case "Haitian">>
	<<set $args[1].slaveName = $haitianSlaveNames.random()>>
<<case "Jamaican">>
	<<set $args[1].slaveName = $jamaicanSlaveNames.random()>>
<<case "Cuban">>
	<<set $args[1].slaveName = $cubanSlaveNames.random()>>
<<case "Guatemalan">>
	<<set $args[1].slaveName = $guatemalanSlaveNames.random()>>
<<case "Chilean">>
	<<set $args[1].slaveName = $chileanSlaveNames.random()>>
<<case "Peruvian">>
	<<set $args[1].slaveName = $peruvianSlaveNames.random()>>
<<case "Bolivian">>
	<<set $args[1].slaveName = $bolivianSlaveNames.random()>>
<<case "Venezuelan">>
	<<set $args[1].slaveName = $venezuelanSlaveNames.random()>>
<<case "Belarusian">>
	<<set $args[1].slaveName = $belarusianSlaveNames.random()>>
<<case "Russian">>
	<<set $args[1].slaveName = $russianSlaveNames.random()>>
<<case "Ukrainian">>
	<<set $args[1].slaveName = $ukrainianSlaveNames.random()>>
<<case "Italian">>
	<<set $args[1].slaveName = $italianSlaveNames.random()>>
<<case "Spanish">>
	<<set $args[1].slaveName = $spanishSlaveNames.random()>>
<<case "British">>
	<<set $args[1].slaveName = $britishSlaveNames.random()>>
<<case "Scottish">>
	<<set $args[1].slaveName = $scottishSlaveNames.random()>>
<<case "French">>
	<<set $args[1].slaveName = $frenchSlaveNames.random()>>
<<case "German">>
	<<set $args[1].slaveName = $germanSlaveNames.random()>>
<<case "Lithuanian">>
	<<set $args[1].slaveName = $lithuanianSlaveNames.random()>>
<<case "Norwegian">>
	<<set $args[1].slaveName = $norwegianSlaveNames.random()>>
<<case "Slovak">>
	<<set $args[1].slaveName = $slovakSlaveNames.random()>>
<<case "Danish">>
	<<set $args[1].slaveName = $danishSlaveNames.random()>>
<<case "Dutch">>
	<<set $args[1].slaveName = $dutchSlaveNames.random()>>
<<case "Austrian">>
	<<set $args[1].slaveName = $austrianSlaveNames.random()>>
<<case "Swiss">>
	<<set $args[1].slaveName = $swissSlaveNames.random()>>
<<case "Serbian">>
	<<set $args[1].slaveName = $serbianSlaveNames.random()>>
<<case "Belgian">>
	<<set $args[1].slaveName = $belgianSlaveNames.random()>>
<<case "Czech">>
	<<set $args[1].slaveName = $czechSlaveNames.random()>>
<<case "Portuguese">>
	<<set $args[1].slaveName = $portugueseSlaveNames.random()>>
<<case "Swedish">>
	<<set $args[1].slaveName = $swedishSlaveNames.random()>>
<<case "Romanian">>
	<<set $args[1].slaveName = $romanianSlaveNames.random()>>
<<case "Hungarian">>
	<<set $args[1].slaveName = $hungarianSlaveNames.random()>>
<<case "Estonian">>
	<<set $args[1].slaveName = $estonianSlaveNames.random()>>
<<case "Irish">>
	<<set $args[1].slaveName = $irishSlaveNames.random()>>
<<case "Icelandic">>
	<<set $args[1].slaveName = $icelandicSlaveNames.random()>>
<<case "Finnish">>
	<<set $args[1].slaveName = $finnishSlaveNames.random()>>
<<case "Greek">>
	<<set $args[1].slaveName = $greekSlaveNames.random()>>
<<case "Polish">>
	<<set $args[1].slaveName = $polishSlaveNames.random()>>
<<case "Brazilian">>
	<<set $args[1].slaveName = $brazilianSlaveNames.random()>>
<<case "Egyptian">>
	<<set $args[1].slaveName = $egyptianSlaveNames.random()>>
<<case "Colombian">>
	<<set $args[1].slaveName = $colombianSlaveNames.random()>>
<<case "Argentinian">>
	<<set $args[1].slaveName = $argentinianSlaveNames.random()>>
<<case "Turkish">>
	<<set $args[1].slaveName = $turkishSlaveNames.random()>>
<<case "Iranian">>
	<<set $args[1].slaveName = $iranianSlaveNames.random()>>
<<case "Armenian">>
	<<set $args[1].slaveName = $armenianSlaveNames.random()>>
<<case "Israeli">>
	<<set $args[1].slaveName = $israeliSlaveNames.random()>>
<<case "Saudi">>
	<<set $args[1].slaveName = $saudiSlaveNames.random()>>
<<case "South African">>
	<<if $args[1].race == "black">>
		<<set $args[1].slaveName = $blackSouthAfricanSlaveNames.random()>>
	<<else>>
		<<set $args[1].slaveName = $whiteSouthAfricanSlaveNames.random()>>
	<</if>>
<<case "Nigerian">>
	<<set $args[1].slaveName = $nigerianSlaveNames.random()>>
<<case "Congolese">>
	<<set $args[1].slaveName = $congoleseSlaveNames.random()>>
<<case "Kenyan">>
	<<set $args[1].slaveName = $kenyanSlaveNames.random()>>
<<case "Tanzanian">>
	<<set $args[1].slaveName = $tanzanianSlaveNames.random()>>
<<case "Zimbabwean">>
	<<if $args[1].race == "white">>
		<<set $args[1].slaveName = $britishSlaveNames.random()>>
	<<else>>
		<<set $args[1].slaveName = $zimbabweanSlaveNames.random()>>
	<</if>>
<<case "Ghanan">>
	<<set $args[1].slaveName = $ghananSlaveNames.random()>>
<<case "Ugandan">>
	<<set $args[1].slaveName = $ugandanSlaveNames.random()>>
<<case "Ethiopian">>
	<<set $args[1].slaveName = $ethiopianSlaveNames.random()>>
<<case "Moroccan">>
	<<set $args[1].slaveName = $moroccanSlaveNames.random()>>
<<case "Chinese">>
	<<set $args[1].slaveName = $chineseSlaveNames.random()>>
<<case "Korean">>
	<<set $args[1].slaveName = $koreanSlaveNames.random()>>
<<case "Thai">>
	<<set $args[1].slaveName = $thaiSlaveNames.random()>>
<<case "Vietnamese">>
	<<set $args[1].slaveName = $vietnameseSlaveNames.random()>>
<<case "Japanese">>
	<<set $args[1].slaveName = $japaneseSlaveNames.random()>>
<<case "Indonesian">>
	<<set $args[1].slaveName = $indonesianSlaveNames.random()>>
<<case "Filipina">>
	<<set $args[1].slaveName = $filipinaSlaveNames.random()>>
<<case "Bangladeshi">>
	<<set $args[1].slaveName = $bangladeshiSlaveNames.random()>>
<<case "Malaysian">>
	<<set $args[1].slaveName = $malaysianSlaveNames.random()>>
<<case "Uzbek">>
	<<set $args[1].slaveName = $uzbekSlaveNames.random()>>
<<case "Afghan">>
	<<set $args[1].slaveName = $afghanSlaveNames.random()>>
<<case "Nepalese">>
	<<set $args[1].slaveName = $nepaleseSlaveNames.random()>>
<<case "Burmese">>
	<<set $args[1].slaveName = $burmeseSlaveNames.random()>>
<<case "Iraqi">>
	<<set $args[1].slaveName = $iraqiSlaveNames.random()>>
<<case "Yemeni">>
	<<set $args[1].slaveName = $yemeniSlaveNames.random()>>
<<case "Sudanese">>
	<<set $args[1].slaveName = $sudaneseSlaveNames.random()>>
<<case "Algerian">>
	<<set $args[1].slaveName = $algerianSlaveNames.random()>>
<<case "Tunisian">>
	<<set $args[1].slaveName = $tunisianSlaveNames.random()>>
<<case "Libyan">>
	<<set $args[1].slaveName = $libyanSlaveNames.random()>>
<<case "Omani">>
	<<set $args[1].slaveName = $omaniSlaveNames.random()>>
<<case "Malian">>
	<<set $args[1].slaveName = $malianSlaveNames.random()>>
<<case "Jordanian">>
	<<set $args[1].slaveName = $jordanianSlaveNames.random()>>
<<case "Lebanese">>
	<<set $args[1].slaveName = $lebaneseSlaveNames.random()>>
<<case "Emirati">>
	<<set $args[1].slaveName = $emiratiSlaveNames.random()>>
<<case "Kazakh">>
	<<set $args[1].slaveName = $kazakhSlaveNames.random()>>
<<case "Pakistani">>
	<<set $args[1].slaveName = $pakistaniSlaveNames.random()>>
<<case "Indian">>
	<<set $args[1].slaveName = $indianSlaveNames.random()>>
<<case "Australian">>
	<<set $args[1].slaveName = $australianSlaveNames.random()>>
<<case "a New Zealander">>
	<<set $args[1].slaveName = $newZealanderSlaveNames.random()>>
<<default>>
	<<set $args[1].slaveName = $whiteAmericanSlaveNames.random()>>
<</switch>>

<</widget>>

<<widget "seBirthToIncubator">>

<<if $csec == 1>>

<<for $j = 0; $j < $slaves.length; $j++>>
	<<if $slaves[$i].pregSource == $slaves[$j].ID>>
	<<set $daddy = $slaves[$j].slaveName>>
	<<break>>
	<</if>>
<</for>>

<br>
<br>
$pronounCap was given @@.orange;a cesarean section@@ due to health concerns. From $possessive womb,
<<if $slaves[$i].pregType <= 1>>
  a single baby,
<<elseif $slaves[$i].pregType >= 20>>
  a brood of $slaves[$i].pregType babies,
<<elseif $slaves[$i].pregType >= 10>>
  a squirming pile of $slaves[$i].pregType babies,
<<elseif $slaves[$i].pregType == 5>>
  quintuplets,
<<elseif $slaves[$i].pregType == 4>>
  quadruplets,
<<elseif $slaves[$i].pregType == 3>>
  triplets,
<<else>>
  twins,
<</if>>
created by
<<if $slaves[$i].pregSource == -1>>
your magnificent dick,
<<elseif $slaves[$i].pregSource == -2>>
your arcology's eager citizens,
<<elseif $slaves[$i].pregSource == -3>>
the Societal Elite,
<<elseif $slaves[$i].pregSource == 0>>
an unknown father,
<<elseif $slaves[$i].ID == $daddy.ID>>
$possessive own curiosity over if $pronoun could fuck <<print $possessive>>self,
<<else>>
$daddy's virile cock and balls,
<</if>>
entered the world.

<<if $arcologies[0].FSRestart != "unset">>
<<if $slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1>>
<br><br>
	The Societal Elite @@.green;are pleased@@ at the new additions to their class.
	<<set $failedElite -= 2*$slaves[$i].pregType>>
<<else>>
<br>
<br>
	The Societal Elite @@.red;are disappointed@@ that you would allow subhuman filth to dirty society under your watch. Society @@.red;frowns@@ on the unwelcome addition of more subhumans into the world.
	<<set $failedElite += 5*$slaves[$i].pregType>>
	<<set $rep -= 10*$slaves[$i].pregType>>
<</if>>
<</if>>

<br>
<br>
Since $possessive <<if $slaves[$i].mpreg == 1>>ass<<else>>vagina<</if>> was spared from childbirth, @@.lime;it retained its tightness.@@

<<if $slaves[$i].fetish != "mindbroken">>
<<if $slaves[$i].fuckdoll == 0>>
<br>
<<if ($slaves[$i].devotion) < 20 && (($week-$slaves[$i].weekAcquired) >= $slaves[$i].weekAcquired) && ($slaves[$i].pregSource == -1)>>
<br>
	She @@.mediumorchid;despises@@ you for using her body to bear your children.
	<<set $slaves[$i].devotion -= 10>>
<<elseif ($slaves[$i].devotion) > 50 && ($slaves[$i].pregSource == -1)>>
<br>
	She's @@.hotpink;so proud@@ to have successfully carried children for you.
	<<set $slaves[$i].devotion += 3>>
<</if>>
<<if $slaves[$i].pregType-$slaves[$i].reservedChildren > 0>>
<<if $slaves[$i].trust <= 20 && (($week-$slaves[$i].weekAcquired) <= $slaves[$i].weekAcquired)>>
<br>
	Even though she knew her child<<if $slaves[$i].pregType > 1>>ren<</if>> would be sent to an orphanage when she became your slave, she can't help but @@.gold;worry@@ for their future.
	<<set $slaves[$i].trust -= 5>>
<<elseif $slaves[$i].trust <= 20>>
<br>
	She @@.gold;fears@@ for the future of her children.
	<<set $slaves[$i].trust -= 10>>
<</if>>
<</if>>
<</if>>
<</if>>

<<set $slaves[$i].births += $slaves[$i].pregType>>
<<set $slaves[$i].birthsTotal += $slaves[$i].pregType>>
<<set $birthsTotal += $slaves[$i].pregType>>

<<set $mom = $slaves[$i]>>

<br><br>
Of her $slaves[$i].pregType children; $slaves[$i].reservedChildren were taken to $incubatorName.
<<for _k = $slaves[$i].reservedChildren; _k != 0; _k-->>
	<<include "Generate Child">>
	<<include "Incubator Workaround">>
	<<set $slaves[$i].pregType-->>
<</for>>


<<set $seed = random(-12,12)>>
<<if ($Cash4Babies == 1 || ($slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1)) && $slaves[$i].pregType > 0>>
<br>
<br>
	<<if $slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1>>
		As for the rest; the Societal Elite collected them to be raised into upstanding members of the new society.
	<<elseif ($slaves[$i].relationship == -3)>>
		As for the rest; you make sure $possessive children are cared for, since she is your wife. $slaves[$i].slaveName is @@.mediumaquamarine;touched@@ by this act of kindness.
	<<set $slaves[$i].trust += 3>>
	<<elseif ($slaves[$i].assignment is "serve in the master suite" or $slaves[$i].assignment is "be your Concubine")>>
		As for the rest; $possessive children are guaranteed to be treated well despite the laws you've passed since she is a member of your harem. $slaves[$i].slaveName is @@.mediumaquamarine;touched@@ by this act of kindness.
	<<set $slaves[$i].trust += 3>>
	<<else>>
		<<if $slaves[$i].pregType == 50>>
	  	  As for the rest; $possessive babies sold for a total of @@.yellowgreen;¤<<print 12*(50+$seed)>>@@.
		  <<set $cash += 12*(50+$seed)>>
		<<else>>
		  As for the rest; $possessive babies sold for a total of @@.yellowgreen;¤<<print $slaves[$i].pregType*(50+$seed)>>@@.
		  <<set $cash += $slaves[$i].pregType*(50+$seed)>>
		<</if>>
	<</if>>
<</if>>

<<set _tmp = lastPregRule($slaves[$i], $defaultRules)>>
<<if ($slaves[$i].assignmentVisible == 0) && (_tmp != null)>>
	<<set $slaves[$i].preg = -1>>
<<else>>
	<<set $slaves[$i].preg = 0>>
<</if>>
<<set $slaves[$i].pregType = 0>>
<<set $slaves[$i].pregSource = 0>>
<<set $reservedChildren -= $slaves[$i].reservedChildren>>
<<set $slaves[$i].reservedChildren = 0>>
<<set $csec = 0>>

<<else>> /* normal birth */

<<for $j = 0; $j < $slaves.length; $j++>>
	<<if $slaves[$i].pregSource == $slaves[$j].ID>>
	<<set $daddy = $slaves[$j].slaveName>>
	<<break>>
	<</if>>
<</for>>

<<if $humiliation == 1>>
<br>
<br>
	Giving birth in such a manner was completely humiliating,
	<<if $slaves[$i].fetish == "humiliation">>
		and a complete turn on to $object. $possessiveCap humiliation fetish @@.lightcoral;strengthens@@ as $pronoun eagerly fantasizes about giving birth in public again.
		<<set $slaves[$i].fetishStrength += 4>>
	<<elseif $slaves[$i].fetish == "none" || $slaves[$i].fetishStrength <= 60>>
		and a curious experience to $object. <<if random(1,5) == 1>>@@.lightcoral;$possessiveCap has developed a humiliation fetish.@@<<set $slaves[$i].fetish to "humiliation">><<else>>$pronounCap hopes to never repeat it.<</if>>
	<<elseif $slaves[$i].devotion <= 20>>
		and completely devastating to $possessive image of herself. The experience @@.hotpink;habituates $object@@ to cruelties of slavery.
		<<set $slaves[$i].devotion += 5>>
	<<else>>
		and $pronoun hopes to never undergo it again.
	<</if>>
<</if>>

<br>
<br>
She @@.orange;gave birth@@<<if $slaves[$i].pregType >= 50>> but her overfilled womb barely lost any size. Her body gave life <</if>>
<<if $slaves[$i].pregType == 50>>
  to nearly a dozen babies throughout the week,
<<elseif $slaves[$i].pregType <= 1>>
  to a single baby,
<<elseif $slaves[$i].pregType >= 20>>
  to a brood of $slaves[$i].pregType babies,
<<elseif $slaves[$i].pregType >= 10>>
  to a squirming pile of $slaves[$i].pregType babies,
<<elseif $slaves[$i].pregType == 5>>
  to quintuplets,
<<elseif $slaves[$i].pregType == 4>>
  to quadruplets,
<<elseif $slaves[$i].pregType == 3>>
  to triplets,
<<else>>
  to twins,
<</if>>
created by
<<if $slaves[$i].pregSource == -1>>
your magnificent dick.
<<elseif $slaves[$i].pregSource == -2>>
your arcology's eager citizens.
<<elseif $slaves[$i].pregSource == -3>>
the Societal Elite.
<<elseif $slaves[$i].pregSource == 0>>
an unknown father.
<<elseif $slaves[$i].ID == $daddy.ID>>
$possessive own curiosity over if $pronoun could fuck <<print $possessive>>self.
<<else>>
$daddy's virile cock and balls.
<</if>>
<<if $slaves[$i].pregType >= 20>>
	After several hours of constant birthing, $possessive belly sags softly.
<</if>>

<<if $arcologies[0].FSRestart != "unset">>
<<if $slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1>>
<br><br>
	The Societal Elite @@.green;are pleased@@ at the new additions to their class.
	<<set $failedElite -= 2*$slaves[$i].pregType>>
<<else>>
<br>
<br>
	The Societal Elite @@.red;are disappointed@@ that you would allow subhuman filth to be born under your watch. Society @@.red;frowns@@ on the birth of more subhumans into the world.
	<<set $failedElite += 5*$slaves[$i].pregType>>
	<<set $failedElite -= 10*$slaves[$i].pregType>>
<</if>>
<</if>>

<<if ($slaves[$i].vagina == 0) || ($slaves[$i].mpreg == 1 && $slaves[$i].anus == 0)>>
<<if $slaves[$i].fetish != "mindbroken">>
<br>
<br>
<<if ($slaves[$i].fetish == "masochist")>>
	Since she was a virgin, giving birth was a @@.red;terribly painful@@ experience.<<if $slaves[$i].fetishKnown == 0>>She seems to have orgasmed several times during the experience, she appears to @@.lightcoral;really like pain@@.<<else>> However, due to her masochistic streak, she @@.hotpink;greatly enjoyed@@ said experience<</if>>.
	<<set $slaves[$i].health -= 10>>
	<<set $slaves[$i].devotion += 2>>
	<<set $slaves[$i].fetishKnown == 1>>
<<else>>
	Since she was a virgin, giving birth was a @@.red;terribly painful@@ experience. She @@.mediumorchid;despises@@ you for taking her virginity in such a @@.gold;horrifying@@ way.
	<<set $slaves[$i].health -= 40>>
	<<set $slaves[$i].devotion -= 25.0>>
	<<set $slaves[$i].trust -= 25.0>>
<</if>>
<</if>>
<</if>>

<br>
<<if $slaves[$i].birthsTotal == 0>>
<br>
	$possessiveCap inexperience @@.red;complicated $possessive first birth@@.
<</if>>
<<if $slaves[$i].mpreg == 1>>
<<if $slaves[$i].anus < 2>>
<br>
	$possessiveCap tight ass @@.red;hindered $possessive baby's birth@@.
<</if>>
<<else>>
<<if $slaves[$i].vagina < 2>>
<br>
	$possessiveCap tight vagina @@.red;hindered $possessive baby's birth@@.
<</if>>
<<if $slaves[$i].vaginaLube == 0>>
<br>
	$possessiveCap dry vagina made pushing $possessive child out @@.red;painful@@.
<</if>>
<</if>>
<<if $slaves[$i].hips < 0>>
<br>
	$possessiveCap narrow hips made birth @@.red;troublesome@@.
<</if>>
<<if $slaves[$i].weight < -95>>
<br>
	$possessiveCap very thin body @@.red;was nearly incapable of birthing $possessive child@@.
<<elseif $slaves[$i].weight <= -30>>
<br>
	$possessiveCap thin body was @@.red;ill-suited $possessive childbirth@@.
<</if>>
<<if $slaves[$i].health < -20>>
<br>
	$possessiveCap poor health made laboring @@.red;exhausting@@.
<</if>>
<<if $slaves[$i].physicalAge < 6>>
<br>
	$possessiveCap very young body was @@.red;not designed to be able pass a baby@@.
<<elseif $slaves[$i].physicalAge < 9>>
<br>
	$possessiveCap young body had @@.red;a lot of trouble@@ birthing $possessive baby.
<<elseif $slaves[$i].physicalAge < 13>>
<br>
	$possessiveCap young body had @@.red;trouble birthing@@ $possessive baby.
<</if>>
<<if $slaves[$i].tired > 0>>
<br>
	$pronounCap was so tired, $pronoun @@.red;lacked the energy to effectively push@@.
<</if>>
<<if $slaves[$i].preg > 40>>
<br>
	$possessiveCap's child had extra time to grow @@.red;greatly complicating childbirth@@.
<</if>>
<<if (($slaves[$i].vagina >= 2 || $slaves[$i].vaginaLube > 0) && $slaves[$i].mpreg == 1) || $slaves[$i].births > 0 || $slaves[$i].hips > 0 || $nurseCareers.includes($slaves[$i].career) || $slaves[$i].intelligenceImplant > 0>>
<br>However:
<<if $slaves[$i].mpreg == 1>>
<<if $slaves[$i].anus >= 2>>
<br>
	$possessiveCap @@.green;loose ass@@ made birthing $possessive child easier.
<</if>>
<<else>>
<<if $slaves[$i].vagina >= 2>>
<br>
	$possessiveCap @@.green;loose vagina@@ made birthing $possessive child easier.
<</if>>
<<if $slaves[$i].vaginaLube > 0>>
<br>
	$possessiveCap @@.green;moist vagina@@ hastened $possessive child's birth.
<</if>>
<</if>>
<<if $slaves[$i].birthsTotal > 0>>
<br>
	$pronounCap has @@.green;given birth before@@, so $pronoun knows just what to do.
<</if>>
<<if $slaves[$i].hips > 0>>
<br>
	$possessiveCap @@.green;wide hips@@ greatly aided childbirth.
<</if>>
<<if $nurseCareers.includes($slaves[$i].career)>>
<br>
	Thanks to $possessive @@.green;previous career@@, childbirth went smoothly.
<</if>>
<<if $slaves[$i].intelligenceImplant > 0>>
<br>
	$pronounCap was @@.green;taught how to handle birth@@ in class.
<</if>>
<</if>>

<br>
<br>
<<if $slaves[$i].assignment != "work in the dairy" && $slaves[$i].pregType < 50 && $csec == 0>>
All in all,
<<if $birthDamage > 15>>
	childbirth was @@.red;horrifically difficult for $object and nearly claimed $possessive life@@.
<<elseif $birthDamage > 10>>
	childbirth was extremely difficult for $object and @@.red;greatly damaged $possessive health@@.
<<elseif $birthDamage > 5>>
	childbirth was difficult for $object and @@.red;damaged $possessive health@@.
<<elseif $birthDamage > 0>>
	childbirth was painful for $object, though not abnormally so, and @@.red;damaged $possessive health@@.
<<else>>
	childbirth was @@.green;no problem@@ for $object.
<</if>>
<<if $birthDamage > 0>>
<<set $slaves[$i].health -= Math.round(($birthDamage/2)*10)>>
<</if>>
<</if>>

<br>
<br>
<<if $slaves[$i].mpreg == 1>>
<<if ($slaves[$i].anus < 0)>> /* you somehow got a pregnant slave with no vagina catch */
Childbirth has @@.lime;has torn $object a gaping anus.@@
<<elseif ($slaves[$i].anus == 0)>> /* please stop selling me pregnant virgins, neighbor gender fundamentalist arcology */
Childbirth has @@.lime;ruined $possessive virgin ass.@@
<<elseif ($slaves[$i].anus == 1)>>
Childbirth has @@.lime;greatly stretched out $possessive ass.@@
<<elseif ($slaves[$i].anus == 2)>>
Childbirth has @@.lime;stretched out $possessive ass.@@
<<elseif ($slaves[$i].anus == 3)>>
$possessiveCap ass was loose enough to not be stretched by childbirth.
<<elseif ($slaves[$i].anus < 10)>>
Childbirth stood no chance of stretching $possessive gaping ass.
<<elseif ($slaves[$i].anus == 10)>>
$possessiveCap child could barely stretch $possessive cavernous ass.
<<else>>
Childbirth has @@.lime;stretched out $possessive ass.@@
<</if>>
<<else>>
<<if ($slaves[$i].vagina < 0)>> /* you somehow got a pregnant slave with no vagina catch */
Childbirth has @@.lime;has torn $object a gaping vagina.@@
<<elseif ($slaves[$i].vagina == 0)>> /* please stop selling me pregnant virgins, neighbor gender fundamentalist arcology */
Childbirth has @@.lime;ruined $possessive virgin vagina.@@
<<elseif ($slaves[$i].vagina == 1)>>
Childbirth has @@.lime;greatly stretched out $possessive vagina.@@
<<elseif ($slaves[$i].vagina == 2)>>
Childbirth has @@.lime;stretched out $possessive vagina.@@
<<elseif ($slaves[$i].vagina == 3)>>
$possessiveCap vagina was loose enough to not be stretched by childbirth.
<<elseif ($slaves[$i].vagina < 10)>>
Childbirth stood no chance of stretching $possessive gaping vagina.
<<elseif ($slaves[$i].vagina == 10)>>
$possessiveCap child could barely stretch $possessive cavernous vagina.
<<else>>
Childbirth has @@.lime;stretched out $possessive vagina.@@
<</if>>
<</if>>

<<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>>
<br>
<<if ($slaves[$i].devotion) < 20 && (($week-$slaves[$i].weekAcquired) >= $slaves[$i].weekAcquired) && ($slaves[$i].pregSource == -1)>>
<br>
	She @@.mediumorchid;despises@@ you for using her body to bear your children.
	<<set $slaves[$i].devotion -= 10>>
<<elseif ($slaves[$i].devotion) > 50 && ($slaves[$i].pregSource == -1)>>
<br>
	She's @@.hotpink;so proud@@ to have successfully carried children for you.
	<<set $slaves[$i].devotion += 3>>
<</if>>
<<if $slaves[$i].pregType-$slaves[$i].reservedChildren > 0>>
<<if $slaves[$i].trust <= 20 && (($week-$slaves[$i].weekAcquired) <= $slaves[$i].weekAcquired)>>
<br>
	Even though she knew her child<<if $slaves[$i].pregType > 1>>ren<</if>> would be sent to an orphanage when she became your slave, she can't help but @@.gold;worry@@ for their future.
	<<set $slaves[$i].trust -= 5>>
<<elseif $slaves[$i].trust <= 20>>
<br>
	She @@.gold;fears@@ for the future of her children.
	<<set $slaves[$i].trust -= 10>>
<</if>>
<</if>>
<</if>>

<<set $slaves[$i].births += $slaves[$i].pregType>>
<<set $slaves[$i].birthsTotal += $slaves[$i].pregType>>
<<set $birthsTotal += $slaves[$i].pregType>>

<<set $mom = $slaves[$i]>>

<br><br>
Of her $slaves[$i].pregType children; $slaves[$i].reservedChildren were taken to $incubatorName.
<<for _k = $slaves[$i].reservedChildren; _k != 0; _k-->>
	<<include "Generate Child">>
	<<include "Incubator Workaround">>
	<<set $slaves[$i].pregType-->>
<</for>>

<<set $seed = random(-12,12)>>
<<if ($Cash4Babies == 1 || ($slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1)) && $slaves[$i].pregType > 0>>
<br>
<br>
	<<if $slaves[$i].breedingMark == 1 && $slaves[$i].pregSource == -1>>
		As for the rest; the Societal Elite collected them to be raised into upstanding members of the new society.
	<<elseif ($slaves[$i].relationship is -3)>>
		As for the rest; you make sure $possessive children are cared for, since she is your wife. $slaves[$i].slaveName is @@.mediumaquamarine;touched@@ by this act of kindness.
	<<set $slaves[$i].trust += 3>>
	<<elseif ($slaves[$i].assignment is "serve in the master suite" or $slaves[$i].assignment is "be your Concubine")>>
		As for the rest; $possessive children are guaranteed to be treated well despite the laws you've passed since she is a member of your harem. $slaves[$i].slaveName is @@.mediumaquamarine;touched@@ by this act of kindness.
	<<set $slaves[$i].trust += 3>>
	<<else>>
		<<if $slaves[$i].pregType is 50>>
	  	  As for the rest; $possessive babies sold for a total of @@.yellowgreen;¤<<print 12*(50+$seed)>>@@.
		  <<set $cash += 12*(50+$seed)>>
		<<else>>
		  As for the rest; $possessive babies sold for a total of @@.yellowgreen;¤<<print $slaves[$i].pregType*(50+$seed)>>@@.
		  <<set $cash += $slaves[$i].pregType*(50+$seed)>>
		<</if>>
	<</if>>
<</if>>

<<set _tmp = lastPregRule($slaves[$i], $defaultRules)>>
<<if ($slaves[$i].assignmentVisible == 0) and (_tmp != null)>>
	<<set $slaves[$i].preg = -1>>
<<else>>
	<<set $slaves[$i].preg = 0>>
<</if>>
<<set $slaves[$i].pregType = 0>>
<<set $slaves[$i].pregSource = 0>>
<<set $reservedChildren -= $slaves[$i].reservedChildren>>
<<set $slaves[$i].reservedChildren = 0>>
<<if $slaves[$i].mpreg == 1>>
	<<if $slaves[$i].anus < 3>>
		<<set $slaves[$i].anus = 3>>
	<</if>>
<<else>>
	<<if $slaves[$i].vagina < 3>>
		<<set $slaves[$i].vagina = 3>>
	<</if>>
<</if>>

<</if>> /* closes c-section */
<<set $mom = 0>>

<</widget>>

/* first arg is new body, second is old body */
<<widget "BodySwap">>
<<if $args[0].origin != "You reserved a mindless slave like her from the Flesh Heap.">>
	<<if $args[0].origBodyOwner == "">>
		<<set $args[0].origBodyOwner = ("The body of the slave " + $args[0].slaveName)>>
	<</if>>
<</if>>
<<set $args[0].slaveName = $args[1].slaveName>>
<<set $args[0].birthName = $args[1].birthName>>
<<set $args[0].weekAcquired = $args[1].weekAcquired>>
<<set $args[0].origin = $args[1].origin>>
<<set $args[0].career = $args[1].career>>
<<set $args[0].ID = $args[1].ID>>
<<set $args[0].relation = $args[1].relation>>
<<set $args[0].relationTarget = $args[1].relationTarget>>
<<set $args[0].relationship = $args[1].relationship>>
<<set $args[0].relationTarget = $args[1].relationTarget>>
<<set $args[0].rivalry = $args[1].rivalry>>
<<set $args[0].rivalryTarget = $args[1].rivalryTarget>>
<<set $args[0].subTarget = $args[1].subTarget>>
<<removeJob $args[1] $args[1].assignment>>
<<set $args[0].assignment = $args[1].assignment>>
<<set $args[0].sentance = 0>>
<<set $args[0].toyHole = $args[1].toyHole>>
<<set $args[0].birthWeek = $args[1].birthWeek>>
<<set $args[0].actualAge = $args[1].actualAge>>
<<set $args[0].trust = $args[1].trust>>
<<set $args[0].oldTrust = $args[1].oldTrust>>
<<set $args[0].devotion = $args[1].devotion>>
<<set $args[0].oldDevotion = $args[1].oldDevotion>>
<<set $args[0].accent = $args[1].accent>>
<<set $args[0].vaginalSkill = $args[1].vaginalSkill>>
<<set $args[0].oralSkill = $args[1].oralSkill>>
<<set $args[0].analSkill = $args[1].analSkill>>
<<set $args[0].whoreSkill = $args[1].whoreSkill>>
<<set $args[0].entertainSkill = $args[1].entertainSkill>>
<<set $args[0].combatSkill = $args[1].combatSkill>>
<<set $args[0].livingRules = $args[1].livingRules>>
<<set $args[0].speechRules = $args[1].speechRules>>
<<set $args[0].releaseRules = $args[1].releaseRules>>
<<set $args[0].relationshipRules = $args[1].relationshipRules>>
<<set $args[0].standardPunishment = $args[1].standardPunishment>>
<<set $args[0].standardReward = $args[1].standardReward>>
<<set $args[0].useRulesAssistant = $args[1].useRulesAssistant>>
<<set $args[0].diet = $args[1].diet>>
<<set $args[0].dietCum = $args[1].dietCum>>
<<set $args[0].dietMilk = $args[1].dietMilk>>
<<set $args[0].choosesOwnClothes = $args[1].choosesOwnClothes>>
<<set $args[0].clothes = $args[1].clothes>>
<<set $args[0].collar = $args[1].collar>>
<<set $args[0].shoes = $args[1].shoes>>
<<set $args[0].intelligence = $args[1].intelligence>>
<<set $args[0].intelligenceImplant = $args[1].intelligenceImplant>>
<<set $args[0].attrXX = $args[1].attrXX>>
<<set $args[0].attrXY = $args[1].attrXY>>
<<set $args[0].attrKnown = $args[1].attrKnown>>
<<set $args[0].fetish = $args[1].fetish>>
<<set $args[0].fetishStrength = $args[1].fetishStrength>>
<<set $args[0].fetishKnown = $args[1].fetishKnown>>
<<set $args[0].behavioralFlaw = $args[1].behavioralFlaw>>
<<set $args[0].behavioralQuirk = $args[1].behavioralQuirk>>
<<set $args[0].sexualFlaw = $args[1].sexualFlaw>>
<<set $args[0].sexualQuirk = $args[1].sexualQuirk>>
<<set $args[0].pitKills = $args[1].pitKills>>
<<set $args[0].customLabel = $args[1].customLabel>>
<<set $args[0].customDesc = ($args[1].customDesc)>>
<<set $args[0].birthsTotal = $args[1].birthsTotal>>
<<set $args[0].bodySwap = $args[1].bodySwap>>
<<set $args[0].mother = $args[1].mother>>
<<set $args[0].father = $args[1].father>>
<<set $args[0].sisters = $args[1].sisters>>
<<set $args[0].daughters = $args[1].daughters>>
<<set $args[0].canRecruit = 0>>

<<if $swapFailure > 600>>
	<<set $args[0].bodySwap = 1>>
<<elseif $$args[0].bodySwap == 0>>
	<<set $args[0].bodySwap = 2>>
<</if>>

<</widget>>