:: RG AS Dump [silently]

<<set _SL = $slaves.length, _ID = $activeSlave.ID>>

<<set $activeSlave.actualAge = Number($activeSlave.actualAge) || 18>>
<<set $activeSlave.devotion = Number($activeSlave.devotion) || 0>>
<<set $activeSlave.trust = Number($activeSlave.trust) || 0>>
<<set $activeSlave.boobs = Number($activeSlave.boobs) || 200>>

<<if $activeSlave.analArea < $activeSlave.anus>>
	<<set $activeSlave.analArea = $activeSlave.anus>>
<</if>>

/* RECRUITERS */

<<if $familyTesting == 1>>
	<<if $activeSlave.canRecruit == 1>>
		/*<<set $recruiters.push($activeSlave)>>*/
	<</if>>
<<else>>

<<if ($activeSlave.relation == 0)>>
<<if random(1,100) <= 5>>
	<<set $activeSlave.recruiter = "twin">>
<<elseif ($activeSlave.actualAge > 32) && (random(1,100) <= 41)>>
	<<set $activeSlave.recruiter = "mother">>
<<elseif ($activeSlave.actualAge < 24) && (random(1,100) <= 40)>>
	<<set $activeSlave.recruiter = "daughter">>
<<elseif ($activeSlave.actualAge < 43) && (random(1,100) <= 20)>>
	<<set $activeSlave.recruiter = "older sister">>
<<elseif ($activeSlave.actualAge < 25) && ($activeSlave.actualAge > 18) && (random(1,100) <= 20)>>
	<<set $activeSlave.recruiter = "young sister">>
<</if>>
<</if>>

<</if>>

<<if $applyCareerBonus == 1>>
	<<set _seed = 2>>
	<<if $PC.career == "capitalist">>
		<<if $activeSlave.whoreSkill < 60>><<set $activeSlave.whoreSkill += 20>><</if>>
	<<elseif $PC.career == "mercenary">>
		<<set $activeSlave.trust += 10>>
	<<elseif $PC.career == "slaver">>
		<<set $activeSlave.devotion += 10>>
	<<elseif $PC.career == "medicine">>
		<<set $activeSlave.boobs += 600, $activeSlave.boobsImplant += 600, $activeSlave.butt += 2, $activeSlave.buttImplant += 2, $activeSlave.lips += 10, $activeSlave.lipsImplant += 10, $activeSlave.waist = -55>>
	<<elseif $PC.career == "celebrity">>
		<<if $activeSlave.entertainSkill < 60>><<set $activeSlave.entertainSkill += 20>><</if>>
	<<elseif $PC.career == "servant">>
		<<set $activeSlave.trust += 10>>
		<<set $activeSlave.devotion += 10>>
	<<elseif $PC.career == "gang">>
		<<set $activeSlave.health += 5>>
		<<if $activeSlave.combatSkill < 1>>
			<<set $activeSlave.combatSkill += 1>>
		<</if>>
	<<elseif $PC.career == "escort">>
		<<if $activeSlave.entertainSkill < 60>>
			<<set $activeSlave.entertainSkill += 20>>
		<</if>>
		<<if $activeSlave.whoreSkill < 60>>
			<<set $activeSlave.whoreSkill += 20>>
		<</if>>
		<<if ($activeSlave.oralSkill < 60)>>
			<<set $activeSlave.oralSkill += 20, _seed-->>
		<</if>>
		<<if ($activeSlave.analSkill < 60) && (($activeSlave.anus > 0) || ($activeSlave.analSkill <= 10))>>
			<<set $activeSlave.analSkill += 20, _seed-->>
		<</if>>
		<<if (_seed > 0) && ($activeSlave.vaginalSkill < 60) && ($activeSlave.vagina > -1) && (($activeSlave.vagina > 0) || ($activeSlave.vaginalSkill <= 10))>>
			<<set $activeSlave.vaginalSkill += 20, _seed-->>
		<</if>>
	<<elseif $PC.career == "wealth">>
		<<if ($activeSlave.oralSkill < 60)>>
			<<set $activeSlave.oralSkill += 20, _seed-->>
		<</if>>
		<<if ($activeSlave.analSkill < 60) && (($activeSlave.anus > 0) || ($activeSlave.analSkill <= 10))>>
			<<set $activeSlave.analSkill += 20, _seed-->>
		<</if>>
		<<if (_seed > 0) && ($activeSlave.vaginalSkill < 60) && ($activeSlave.vagina > -1) && (($activeSlave.vagina > 0) || ($activeSlave.vaginalSkill <= 10))>>
			<<set $activeSlave.vaginalSkill += 20>>
		<</if>>
	<<else>>
		<<set $activeSlave.devotion += 10>>
		<<if $activeSlave.whoreSkill < 60>><<set $activeSlave.whoreSkill += 20>><</if>>
		<<if $activeSlave.entertainSkill < 60>><<set $activeSlave.entertainSkill += 20>><</if>>
		<<if ($activeSlave.oralSkill < 60)>>
			<<set $activeSlave.oralSkill += 20, _seed-->>
		<</if>>
		<<if ($activeSlave.analSkill < 60) && (($activeSlave.anus > 0) || ($activeSlave.analSkill <= 10))>>
			<<set $activeSlave.analSkill += 20, _seed-->>
		<</if>>
		<<if (_seed > 0) && ($activeSlave.vaginalSkill < 60) && ($activeSlave.vagina > -1) && (($activeSlave.vagina > 0) || ($activeSlave.vaginalSkill <= 10))>>
			<<set $activeSlave.vaginalSkill += 20>>
		<</if>>
	<</if>>
	<<set $careerBonusApplied = 1>>
<</if>>

<<for _i = 0; _i < _SL; _i++>>
	<<if _ID == $slaves[_i].ID>><<break>><</if>>
<</for>>
<<if _i < _SL>>
	<<set $slaves[_i] = $activeSlave>>
<<elseif def $activeSlave.slaveName>>
	<<AddSlave $activeSlave>>
<</if>>

<<goto $returnTo>>
