:: Commit Starting Girl [nobr]

<<set $activeSlave.actualAge = Number($activeSlave.actualAge) || 18>>
<<set $activeSlave.devotion = Number($activeSlave.devotion) || 0>>
<<set $activeSlave.trust = Number($activeSlave.trust) || 0>>
<<if $activeSlave.indenture >= 0>>
	<<set $activeSlave.indenture = Math.clamp($activeSlave.indenture, 26, 208) || 26>>
<</if>>
<<if $activeSlave.pregSource == -1>>
	<<set $PC.slavesKnockedUp++>>
<</if>>
<<set $activeSlave.height = Math.clamp($activeSlave.height, 85, 274) || 140>>
<<set $activeSlave.boobs = Math.clamp(Math.trunc($activeSlave.boobs/50)*50, 0, 50000) || 200>>
<<set $activeSlave.origSkin = $activeSlave.skin>>

<<set $careerBonusApplied = 0>>
<<set $originOveride = 0>>

<<if $cash < $minimumSlaveCost>><<goto "Acquisition">><</if>>

<<set $showStartingGirlsExplanation = 0>>

<<if $createRelatedSlave == 0 && (($hostage == 0) || ($slaveCost > $hostageCost))>>
	<<set $hostage = $slaveWithoutBonuses, $hostageCost = $slaveCost, $hostageAnnounced = -1>>
<</if>>

<<SlaveFullName $activeSlave>> has been added to your starting stable of slaves. You now have ¤$cash remaining.
<br>
<<if $cash >= $minimumSlaveCost>>
	<br>
	<<link "Add another slave, starting from a new slave">>
		<<StartingGirlsWorkaround>>
		<<goto "Starting Girls">>
	<</link>>
	<<if $familyTesting == 1>>
		<br>[[Add another slave, based on the previous slave|Starting Girls][$activeSlave = $slaveWithoutBonuses, $startingGirlCopied = 1, $activeSlave.mother = 0, $activeSlave.father = 0]]
	<<else>>
		<br>[[Add another slave, based on the previous slave|Starting Girls][$activeSlave = $slaveWithoutBonuses, $activeSlave.relation = 0, $activeSlave.relationTarget = 0, $startingGirlCopied = 1]]
	<</if>>
	<<if $createRelatedSlave == 1>>
	<br>
	//Add another slave, related to the previous slave://
	<br>&nbsp;&nbsp;&nbsp;&nbsp;
	<<if $familyTesting == 1>>
		/* Not needed due to stuffedanon's work
		<<if $activeSlave.actualAge >= 34>>
			<<if $activeSlave.ovaries>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;
				[[Daughter|RG AS Dump][$returnTo = "Starting Girls", $startingGirlRelation = "mother", $startingGirlCopied = 1]]
			<</if>>
			<<if $activeSlave.balls>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;
				[[Dick-daughter|RG AS Dump][$returnTo = "Starting Girls", $startingGirlRelation = "father", $startingGirlCopied = 1]]
				//A slave daughter carried and birthed by another woman, impregnated by $activeSlave.slaveName.//
			<</if>>
			/% I'm aware this term is ridiculous. If anyone can come up with a better word to reconcile all slaves being female with the act of fatherhood and the masculine nature of the word father, I'm all ears. Wrote myself into a corner on this one. %/
		<</if>>
		<<if $activeSlave.actualAge <= 28>>
			<<if $activeSlave.mother <= 0>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;
				[[Mother|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.mother = $IDNumber, $startingGirlRelation = "daughter", $startingGirlCopied = 1]]
			<<else>>
				//This slave already has a mother.//
			<</if>>
			<<if $seeDicks>>
			<<if $activeSlave.father <= 0>>
				<br>&nbsp;&nbsp;&nbsp;&nbsp;
				[[Dick-mother|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.father = $IDNumber, $startingGirlRelation = "dickdaughter", $startingGirlCopied = 1]]
				//A slave who provided the impregnation to create $activeSlave.slaveName.//
			<<else>>
				//This slave already has a dick-mother.//
			<</if>>
			<</if>>
		<</if>>
		<<if $activeSlave.actualAge < 44>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Older Sister|RG AS Dump][$returnTo = "Starting Girls", $startingGirlRelation = "older sister", $startingGirlCopied = 1]]
		<</if>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;
		[[Twin|RG AS Dump][$returnTo = "Starting Girls", $startingGirlRelation = "twin", $startingGirlCopied = 1]]
		<<if $activeSlave.actualAge > 19>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Younger Sister|RG AS Dump][$returnTo = "Starting Girls", $startingGirlRelation = "younger sister", $startingGirlCopied = 1]]
		<</if>>
		*/
		<br>&nbsp;&nbsp;&nbsp;&nbsp;//Use "based on the previous slave" and the available .father and .mother controls to create your family//
	<<else>>

		<br>&nbsp;&nbsp;&nbsp;&nbsp;
		<<if $activeSlave.actualAge <= 8 && ($PC.career == "servant" || $PC.career == "escort") && ($PC.vagina == 1)>>
		<<else>>
		<<if $activeSlave.actualAge >= ($fertilityAge + $minimumSlaveAge)>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Daughter|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.relation = "mother", $startingGirlRelation = "mother", $activeSlave.birthsTotal += 1, $activeSlave.relationTarget = $activeSlave.ID+1, $startingGirlCopied = 1]]
		<</if>>
		<<if $activeSlave.actualAge <= 24>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Mother|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.relation = "daughter", $startingGirlRelation = "daughter", $activeSlave.relationTarget = $activeSlave.ID+1, $startingGirlCopied = 1]]
		<</if>>
		<<if $activeSlave.actualAge < 44>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Older Sister|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.relation = "sister", $startingGirlRelation = "older sister", $activeSlave.relationTarget = $activeSlave.ID+1, $startingGirlCopied = 1]]
		<</if>>
		<br>&nbsp;&nbsp;&nbsp;&nbsp;
		[[Twin|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.relation = "twin", $startingGirlRelation = "twin", $activeSlave.relationTarget = $activeSlave.ID+1, $startingGirlCopied = 1]]
		<<if $activeSlave.actualAge > $minimumSlaveAge+1>>
			<br>&nbsp;&nbsp;&nbsp;&nbsp;
			[[Younger Sister|RG AS Dump][$returnTo = "Starting Girls", $activeSlave.relation = "sister", $startingGirlRelation = "younger sister", $activeSlave.relationTarget = $activeSlave.ID+1, $startingGirlCopied = 1]]
		<</if>>
		<</if>>
	<</if>>
	<<elseif $activeSlave.relation == 0>>
	<br>[[Add another slave, related to the previous slave|Commit Starting Girl][$createRelatedSlave = 1]]
	<</if>>
<</if>>
<br>[[Stop adding slaves and take control of the arcology|Acquisition]]
