code:
:: extended family widgets [nobr widget]

<<widget "Family">>

/*testtest PC parent passage - determines if the current slave is your mother or father*/
<<if $activeSlave.ID == $PC.mother && $activeSlave.ID == $PC.father>>
	She @@.lightgreen;is both your mother and father, $pronoun impregnated <<print $object>>self with you.@@
<<elseif $activeSlave.ID == $PC.mother>>
	$pronounCap @@.lightgreen;is your mother.@@
<<elseif $activeSlave.ID == $PC.father>>
	$pronounCap @@.lightgreen;is your father.@@
<</if>>

<<if $activeSlave.father == -1 && $activeSlave.mother == -1>>
	$pronounCap's @@.lightgreen;your child;@@ you knocked yourself up and gave birth to $object.
<</if>>

<<if $activeSlave.father == -1 && $activeSlave.mother != -1>>
	$pronounCap's @@.lightgreen;your child;@@ you knocked $possessive mother up.
<<elseif $activeSlave.father > 0>>
	<<for $i = 0; $i < $slaves.length; $i++>>
		<<if $slaves[$i].ID == $activeSlave.father>>
			$pronounCap was @@.lightgreen;fathered by $slaves[$i].slaveName's@@ virile dick.
			<<break>>
		<</if>>
	<</for>>
<</if>>

<<if $activeSlave.father != -1 && $activeSlave.mother == -1>>
	$pronounCap's @@.lightgreen;your child;@@ you gave birth to $object.
<<elseif $activeSlave.mother > 0>>
	<<for $i = 0; $i < $slaves.length; $i++>>
		<<if $slaves[$i].ID == $activeSlave.mother>>
			$pronounCap was @@.lightgreen;born from $slaves[$i].slaveName's@@ fertile womb.
			<<break>>
		<</if>>
	<</for>>
<</if>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.ID == $slaves[$i].father>>
		<<set $children.push($slaves[$i])>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	$pronounCap @@.lightgreen;fathered
	<<for $j to 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	$pronounCap @@.lightgreen;fathered a pair of your slaves: $children[0].slaveName, and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	$pronounCap @@.lightgreen;fathered a single slave of yours: $children[0].slaveName.@@
<</if>>
<<set $children = []>>

<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $activeSlave.ID == $slaves[$i].mother>>
		<<set $children.push($slaves[$i])>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	$pronounCap @@.lightgreen;gave birth to
	<<for $j to 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	$pronounCap @@.lightgreen;gave birth to a pair of your slaves: $children[0].slaveName, and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	$pronounCap @@.lightgreen;gave birth to a single of your slaves: $children[0].slaveName.@@
<</if>>
<<set $children = []>>

/*testtest maternal grandma passage - determines if the current slave has a maternal grandmother*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $slaves[$i].ID == $activeSlave.mother>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].ID != $activeSlave.ID && $slaves[$j].ID != $slaves[$i].ID && $slaves[$j].ID == $slaves[$i].mother>>
				$possessiveCap maternal @@.lightgreen;grandmother is $slaves[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $PC.ID == $activeSlave.mother && $slaves[$i].ID == $PC.mother>>
		$possessiveCap maternal @@.lightgreen;grandmother is $slaves[$i].slaveName.@@
	<</if>>
<</for>>

/*testtest maternal grandpa passage - determines if the current slave has a maternal grandfather*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $slaves[$i].ID == $activeSlave.mother>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].ID != $activeSlave.ID && $slaves[$j].ID != $slaves[$i].ID && $slaves[$j].ID == $slaves[$i].father>>
				$possessiveCap maternal @@.lightgreen;grandfather is $slaves[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $PC.ID == $activeSlave.mother && $slaves[$i].ID == $PC.father>>
		$possessiveCap maternal @@.lightgreen;grandfather is $slaves[$i].slaveName.@@
	<</if>>
<</for>>

/*testtest paternal grandma passage - determines if the current slave has a paternal grandmother*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $slaves[$i].ID == $activeSlave.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].ID != $activeSlave.ID && $slaves[$j].ID != $slaves[$i].ID && $slaves[$j].ID == $slaves[$i].mother>>
				$possessiveCap paternal @@.lightgreen;grandmother is $slaves[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $PC.ID == $activeSlave.father && $slaves[$i].ID == $PC.mother>>
		$possessiveCap paternal @@.lightgreen;grandmother is $slaves[$i].slaveName.@@
	<</if>>
<</for>>

/*testtest paternal grandpa passage - determines if the current slave has a paternal grandfather*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $slaves[$i].ID == $activeSlave.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].ID != $activeSlave.ID && $slaves[$j].ID != $slaves[$i].ID && $slaves[$j].ID == $slaves[$i].father>>
				$possessiveCap paternal @@.lightgreen;grandfather is $slaves[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $PC.ID == $activeSlave.father && $slaves[$i].ID == $PC.father>>
		$possessiveCap paternal @@.lightgreen;grandfather is $slaves[$i].slaveName.@@
	<</if>>
<</for>>

/*testtest PC grandparents passage - determines if the current slave is your grandparent*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if $activeSlave.ID == $slaves[$i].mother && $slaves[$i].ID == $PC.mother && $activeSlave.ID == $slaves[$i].father && $slaves[$i].ID == $PC.father>>
		$pronounCap is @@.lightgreen;your grandparent.@@ $pronounCap impregnated <<print $object>>self with your mother/father who in turn impregnated themselves with you.
	<<elseif $activeSlave.ID == $slaves[$i].mother>>
		<<if $slaves[$i].ID == $PC.mother>>
			$pronounCap is @@.lightgreen;your maternal grandmother.@@
		<<elseif $slaves[$i].ID == $PC.father>>
			$pronounCap is @@.lightgreen;your paternal grandmother.@@
		<</if>>
	<<elseif $activeSlave.ID == $slaves[$i].father>>
		<<if $slaves[$i].ID == $PC.mother>>
			$pronounCap is @@.lightgreen;your maternal grandfather.@@
		<<elseif $slaves[$i].ID == $PC.father>>
			$pronounCap is @@.lightgreen;your paternal grandfather.@@
		<</if>>
	<</if>>
	<</if>>
<</for>>

/*testtest grandchild passage - determines how many grandchildren the current slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if $activeSlave.ID == $slaves[$i].mother or $activeSlave.ID == $slaves[$i].father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID>>
			<<if $slaves[$i].ID == $slaves[$j].mother or $slaves[$i].ID == $slaves[$j].father>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
<</for>>
<<if $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	has @@.lightgreen;many grandchildren,
	<<for $j to 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName amongst your slaves.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	has @@.lightgreen;two grandchildren, $children[0].slaveName, and $children[1].slaveName as your slaves.@@
<<elseif $children.length > 0>>
	has a @@.lightgreen;grandchild, $children[0].slaveName as your slave.@@
<</if>>
<</if>>
<<set $children = []>>

/*testtest PC aunt passage - determines how many aunts you have*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $activeSlave) == 1 ||  areSisters($slaves[$i], $activeSlave) == 2>>
	<<if $slaves[$i].ID == $PC.mother || $slaves[$i].ID == $PC.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID >>
			<<if $slaves[$j].genes == "XX">>
			<<if areSisters($slaves[$j], $activeSlave) == 1 ||  areSisters($slaves[$j], $activeSlave) == 2>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
	<</if>>
<</for>>
<<if $activeSlave.genes == "XX" && $children.length > 0>>
	$pronounCap
	<<if $children.length > 2>>
		is @@.lightgreen;your aunt along with
		<<for $j to 0; $j < $children.length; $j++>>
			<<if $j < $children.length-1>>
				$children[$j].slaveName,
			<<else>>
				and $children[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $children.length > 1>>
		is @@.lightgreen;your aunt along with $children[0].slaveName.@@
	<<elseif $children.length > 0>>
		<<for $i = 0; $i < $slaves.length; $i++>>
			<<if $slaves[$i].ID != $activeSlave.ID && $activeSlave.genes == "XX">>
			<<if areSisters($slaves[$i], $activeSlave) == 1 ||  areSisters($slaves[$i], $activeSlave) == 2>>
			<<if $slaves[$i].ID == $PC.mother || $slaves[$i].ID == $PC.father>>
				$pronounCap is @@.lightgreen;your aunt.@@
			<</if>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
<</if>>
<<set $children = []>>

/*testtest PC uncle passage - determines how many uncles you have*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $activeSlave) == 1 ||  areSisters($slaves[$i], $activeSlave) == 2>>
	<<if $slaves[$i].ID == $PC.mother || $slaves[$i].ID == $PC.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID && $slaves[$j].dick > 0 && $slaves[$j].genes == "XY">>
			<<if areSisters($slaves[$j], $activeSlave) == 1 ||  areSisters($slaves[$j], $activeSlave) == 2>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
	<</if>>
<</for>>
<<if $activeSlave.genes == "XY" && $children.length > 0>>
	$pronounCap
	<<if $children.length > 2>>
		is @@.lightgreen;your uncle along with
		<<for $j to 0; $j < $children.length; $j++>>
			<<if $j < $children.length-1>>
				$children[$j].slaveName,
			<<else>>
				and $children[$j].slaveName.@@
			<</if>>
		<</for>>
	<<elseif $children.length > 1>>
		is @@.lightgreen;your uncle along with $children[0].slaveName.@@
	<<elseif $children.length > 0>>
		<<for $i = 0; $i < $slaves.length; $i++>>
			<<if $slaves[$i].ID != $activeSlave.ID && $activeSlave.genes == "XY">>
			<<if areSisters($slaves[$i], $activeSlave) == 1 ||  areSisters($slaves[$i], $activeSlave) == 2>>
			<<if $slaves[$i].ID == $PC.mother || $slaves[$i].ID == $PC.father>>
				$pronounCap is @@.lightgreen;your uncle.@@
			<</if>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
<</if>>
<<set $children = []>>

/*testtest aunt passage - determines how many aunts a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].genes == "XX">>
			<<if areSisters($slaves[$j], $slaves[$i]) == 1 || areSisters($slaves[$j], $slaves[$i]) == 2>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
<</for>>
<<if $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	has @@.lightgreen;many aunts,
	<<for $j to 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	 has @@.lightgreen;two aunts, $children[0].slaveName, and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	 has @@.lightgreen;an aunt, $children[0].slaveName.@@
<</if>>
<</if>>
<<set $children = []>>

/*testtest uncle passage - determines how many uncles a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$j].genes == "XY">>
			<<if areSisters($slaves[$j], $slaves[$i]) == 1 || areSisters($slaves[$j], $slaves[$i]) == 2>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
<</for>>
<<if $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	has @@.lightgreen;many aunts,
	<<for $j to 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	 has @@.lightgreen;two aunts, $children[0].slaveName, and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	 has @@.lightgreen;an aunt, $children[0].slaveName.@@
<</if>>
<</if>>
<<set $children = []>>

/*testtest PC niece passage - determines how many nieces you have*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $PC) == 1 || areSisters($slaves[$i], $PC) == 2>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		<<for $j to 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID && $slaves[$j].ID != $activeSlave.ID && $slaves[$j].genes == "XX">>
			<<if $slaves[$i].ID == $slaves[$j].mother || $slaves[$i].ID == $slaves[$j].father>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
	<</if>>
<</for>>
<<if $activeSlave.genes == "XX" && $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	is @@.lightgreen;your niece along with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			 and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	is @@.lightgreen;your niece along with $children[0].slaveName.@@
<<elseif $children.length > 0>>
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $activeSlave.genes == "XX">>
	<<if areSisters($slaves[$i], $PC) == 1 || areSisters($slaves[$i], $PC) == 2>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		$pronounCap is @@.lightgreen;your niece.@@
	<</if>>
	<</if>>
	<</if>>
<</for>>
<</if>>
<</if>>
<<set $children = []>>

/* testtest niece passage - determines how many nieces a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $activeSlave) == 1 || areSisters($slaves[$i], $activeSlave) == 2>>
		<<for $j = 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID && $slaves[$j].ID != $activeSlave.ID && $slaves[$j].genes == "XX">>
			<<if $slaves[$i].ID == $slaves[$j].mother || $slaves[$i].ID == $slaves[$j].father>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
<</for>>
<<if $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	has @@.lightgreen;many nieces,
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName, who are your slaves.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	has @@.lightgreen;two nieces, $children[0].slaveName, and $children[1].slaveName, who are your slaves.@@
<<elseif $children.length > 0>>
	has @@.lightgreen;a niece, $children[0].slaveName, who is your slave.@@
<</if>>
<</if>>
<<set $children = []>>

/*testtest PC nephew passage - determines how many nephews you have*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $PC) == 1 || areSisters($slaves[$i], $PC) == 2>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		<<for $j = 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID && $slaves[$j].ID != $activeSlave.ID && $slaves[$i].genes == "XY">>
			<<if $slaves[$i].ID == $slaves[$j].mother || $slaves[$i].ID == $slaves[$j].father>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
	<</if>>
<</for>>
<<if $activeSlave.genes == "XY" && $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	is @@.lightgreen;your nephew along with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			 and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	is @@.lightgreen;your nephew along with $children[0].slaveName.@@
<<elseif $children.length > 0>>
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID && $activeSlave.genes == "XY">>
	<<if areSisters($slaves[$i], $PC) == 1 || areSisters($slaves[$i], $PC) == 2>>
	<<if $slaves[$i].ID == $activeSlave.mother || $slaves[$i].ID == $activeSlave.father>>
		$pronounCap is @@.lightgreen;your nephew.@@
	<</if>>
	<</if>>
	<</if>>
<</for>>
<</if>>
<</if>>
<<set $children = []>>

/* testtest nephew passage - determines how many nephews a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
	<<if areSisters($slaves[$i], $activeSlave) == 1 || areSisters($slaves[$i], $activeSlave) == 2>>
		<<for $j = 0; $j < $slaves.length; $j++>>
			<<if $slaves[$i].ID != $slaves[$j].ID && $slaves[$j].ID != $activeSlave.ID && $slaves[$j].genes == "XY">>
			<<if $slaves[$i].ID == $slaves[$j].mother || $slaves[$i].ID == $slaves[$j].father>>
				<<set $children.push($slaves[$j])>>
			<</if>>
			<</if>>
		<</for>>
	<</if>>
	<</if>>
<</for>>
<<if $children.length > 0>>
	$pronounCap
<<if $children.length > 2>>
	has @@.lightgreen;many nephews,
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName, who are your slaves.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	has @@.lightgreen;two nephews, $children[0].slaveName, and $children[1].slaveName, who are your slaves.@@
<<elseif $children.length > 0>>
	has @@.lightgreen;a nephew, $children[0].slaveName, who is your slave.@@
<</if>>
<</if>>
<<set $children = []>>

/*testtest PC sibling passages - determines how many siblings you have
<<set $children = []>>
<<set _rel_num = areSisters($activeSlave, $PC)>>
<<if(_rel_num > 0)>>
	<<if ($activeSlave.genes == "XX")>>
		<<set _rel_type = "sister">>
	<<else>>
		<<set _rel_type = "brother">>
	<</if>>
	<<if (_rel_num == 1)>>
		<<set _rel_desc = "your twin">>
	<<elseif _rel_num == 2>>
		<<set _rel_desc = "your ">>
	<<elseif _rel_num == 3>>
		<<set _rel_desc = "your half-">>
	<</if>>
	<<for $i = 0; $i < $slaves.length; $i++>>
		<<if $slaves[$i].ID != $activeSlave.ID>>
			<<if _rel_num == areSisters($activeSlave, $slaves[$i]) && ($activeSlave.vagina > -1) == ($slaves[$i].vagina > -1)>>
				<<set console.log('sisters', $slaves[$i].birthName)>>
				<<set $children.push($slaves[$i])>>
			<</if>>
		<</if>>
	<</for>>
	$pronounCap
<<if $children.length > 1>>
	@@.lightgreen;is _rel_desc _rel_type along with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 0>>
	is @@.lightgreen;_rel_desc _rel_type with $children[0].slaveName.@@
<<else>>
	is @@.lightgreen;_rel_desc _rel_type.@@
<</if>>
<</if>>
<<set $children = []>>
*/

<<set _twins = [], _sisters = [], _brothers = [], _halfsisters = [], _halfbrothers = []>>
<<for _i = 0; _i < $slaves.length; _i++>>
	<<set _sisterCheck = areSisters($slaves[_i], $activeSlave)>>
	<<if _sisterCheck == 1>>
		<<run _twins.push($slaves[_i])>>
	<</if>>
	<<if _sisterCheck == 2>>
		<<run ($slaves[_i].genes == 'XX' ? _sisters : _brothers).push($slaves[_i])>>
	<</if>>
	<<if _sisterCheck == 3>>
		<<run ($slaves[_i].genes == 'XX' ? _halfsisters : _halfbrothers).push($slaves[_i])>>
	<</if>>
<</for>>

/*testtest PC twin passages - determines how many twins you have but not implemented yet*/
<<if areSisters($activeSlave, $PC) == 1>>
	$pronounCap
	<<if _twins.length > 1>>
		@@.lightgreen;shared a cramped womb with you, <<print _twins.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _twins.length > 0>>
		is @@.lightgreen;your twin along with _twins[0].slaveName.@@
	<<else>>
		is @@.lightgreen;your twin <<if $activeSlave.genes == "XX">>sister<<else>>brother<</if>>.@@
	<</if>>
<</if>>

/*testtest PC sister passages - determines how many sisters you have*/
<<if areSisters($activeSlave, $PC) < 3 && areSisters($activeSlave, $PC) > 0 && $activeSlave.genes == "XX">>
	$pronounCap
	<<if _sisters.length > 1>>
		@@.lightgreen;is your sister along with <<print _sisters.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _sisters.length > 0>>
		is @@.lightgreen;your sister along with _sisters[0].slaveName.@@
	<<else>>
		is @@.lightgreen;your sister.@@
	<</if>>
<</if>>

/*testtest PC brother passages - determines how many brothers you have*/
<<if areSisters($activeSlave, $PC) < 3 && areSisters($activeSlave, $PC) > 0 && $activeSlave.genes == "XY">>
	$pronounCap
	<<if _brothers.length > 1>>
		@@.lightgreen;is your brother along with <<print _brothers.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _brothers.length > 0>>
		is @@.lightgreen;your brother along with _brothers[0].slaveName.@@
	<<else>>
		is @@.lightgreen;your brother.@@
	<</if>>
<</if>>

/*testtest PC half-sister passages - determines how many half-sisters you have*/
<<if areSisters($activeSlave, $PC) == 3 && $activeSlave.genes == "XX">>
	$pronounCap
	<<if _halfsisters.length > 1>>
		@@.lightgreen;is your half-sister along with <<print _halfsisters.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _halfsisters.length > 0>>
		is @@.lightgreen;your half-sister along with _halfsisters[0].slaveName.@@
	<<else>>
		is @@.lightgreen;your half-sister.@@
	<</if>>
<</if>>

/*testtest PC half-brother passages - determines how many half-brothers you have*/
<<if areSisters($activeSlave, $PC) == 3 && $activeSlave.genes == "XY">>
	$pronounCap
	<<if _halfbrothers.length > 1>>
		@@.lightgreen;is your half-brother along with <<print _halfbrothers.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _halfbrothers.length > 0>>
		is @@.lightgreen;your half-brother along with _halfbrothers[0].slaveName.@@
	<<else>>
		is @@.lightgreen;your half-brother.@@
	<</if>>
<</if>>

/*testtest twins? - determines how many twins a slave has*/
<<if _twins.length > 0>>
	$pronounCap
	<<if _twins.length > 2>>
		@@.lightgreen;shared a cramped womb with <<print _twins.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>>.@@
	<<elseif _twins.length > 1>>
		is a @@.lightgreen;one of a set of triplets; _twins[0].slaveName, and _twins[1].slaveName@@ complete the trio.
	<<else>>
		is @@.lightgreen;twins with _twins[0].slaveName.@@
	<</if>>
<</if>>

/*testtest sister - determines how many sisters a slave has*/
<<if _sisters.length > 0>>
	<<if _sisters.length > 1>>
		@@.lightgreen;<<print _sisters.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>> are $possessive sisters.@@
	<<else>>
		@@.lightgreen; _sisters[0].slaveName is $possessive sister.@@
	<</if>>
<</if>>

/*testtest brother - determines how many brothers a slave has*/
<<if _brothers.length > 0>>
	<<if _brothers.length > 1>>
		@@.lightgreen;_brothers.reduce(function(res, ch, i, arr) { return (res.slaveName || res) + (i == arr.length - 1 ? ' and ' : ', ') + ch.slaveName; })>> are $possessive brothers.@@
	<<else>>
		@@.lightgreen;_brothers[0].slaveName is $possessive brother.@@
	<</if>>
<</if>>

/*testtest half-sister - determines how many half-sisters a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
		<<if areSisters($activeSlave, $slaves[$i]) == 3 && $slaves[$i].genes == "XX">>
			<<set $children.push($slaves[$i])>>
		<</if>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	@@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName
		<</if>>
	<</for>>
	are half-sisters to $object.@@
<<elseif $children.length > 1>>
	@@.lightgreen;$children[0].slaveName and $children[1].slaveName are half-sisters to $object.@@
<<elseif $children.length > 0>>
	@@.lightgreen;$children[0].slaveName is a half-sister to $object.@@
<</if>>
<<set $children = []>>

/*testtest half-brother - determines how many half-brothers a slave has*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $activeSlave.ID>>
		<<if areSisters($activeSlave, $slaves[$i]) == 3 && $slaves[$i].genes == "XY">>
			<<set $children.push($slaves[$i])>>
		<</if>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	@@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName
		<</if>>
	<</for>>
	are half-brothers to $object.@@
<<elseif $children.length > 1>>
	@@.lightgreen;$children[0].slaveName and $children[1].slaveName are half-brothers to $object.@@
<<elseif $children.length > 0>>
	@@.lightgreen;$children[0].slaveName is a half-brother to $object.@@
<</if>>
<<set $children = []>>

<</widget>>

<<widget PlayerFamily>>

<br><br>Your present family includes:

/*Player parents, lists both your parents, or just one.*/
<<for $i = 0; $i < $slaves.length; $i++>>
<<if $slaves[$i].ID == $PC.father || $slaves[$i].ID == $PC.mother>>
			<<set $children.push($slaves[$i])>>
<</if>>
<</for>>
<<if $children.length > 1>>
	<br>Your parents are @@.lightgreen;$children[0].slaveName and $children[1].slaveName@@.
<<elseif $children.length > 0>>
	<br>You know one of your parents, @@.lightgreen;$children[0].slaveName@@.
<</if>>
<<set $children = []>>

/*Twins Test with aresisters*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $PC.ID>>
		<<if areSisters($activeSlave, $PC) == 1 && areSisters($slaves[$i], $activeSlave) == 1>>
			<<set $children.push($slaves[$i])>>
		<</if>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are @@.lightgreen;twins with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are twins with @@.lightgreen;$children[0].slaveName and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	<br>Your twin is @@.lightgreen;$children[0].slaveName.@@
<</if>>
<<set $children = []>>

/*Sister Test with aresisters*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $PC.ID>>
		<<if areSisters($PC, $slaves[$i]) === 2 && areSisters($slaves[$i], $PC) === 2>>
			<<if $slaves[$i].genes == "XX">>
				<<set $children.push($slaves[$i])>>
			<</if>>
		<</if>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are @@.lightgreen;sisters with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are sisters with @@.lightgreen;$children[0].slaveName and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	<br>Your sister is @@.lightgreen;$children[0].slaveName.@@
<</if>>
<<set $children = []>>

/*Brother Test with aresisters*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $PC.ID>>
		<<if areSisters($PC, $slaves[$i]) === 2 && areSisters($slaves[$i], $PC) === 2>>
			<<if $slaves[$i].genes == "XY">>
				<<set $children.push($slaves[$i])>>
			<</if>>
		<</if>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are @@.lightgreen;brothers with
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are brothers with @@.lightgreen;$children[0].slaveName and $children[1].slaveName.@@
<<elseif $children.length > 0>>
	<br>Your brother is @@.lightgreen;$children[0].slaveName.@@
<</if>>
<<set $children = []>>

/*Half-Sister Test with aresisters */
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $PC.ID>>
	<<if areSisters($slaves[$i], $PC) == 3 && areSisters($PC, $slaves[$i]) == 3>>
		<<if $slaves[$i].genes == "XX">>
			<<set $children.push($slaves[$i])>>
		<</if>>
	<</if>>
<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are half-sisters with @@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName@@.
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are half-sisters with @@.lightgreen;$children[0].slaveName and $children[1].slaveName@@.
<<elseif $children.length > 0>>
	<br>You have one half-sister, @@.lightgreen;$children[0].slaveName@@.
<</if>>
<<set $children = []>>

/*Half-Brother Test with aresisters */
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $slaves[$i].ID != $PC.ID>>
	<<if areSisters($slaves[$i], $PC) == 3 && areSisters($PC, $slaves[$i]) == 3>>
		<<if $slaves[$i].genes == "XY">>
			<<set $children.push($slaves[$i])>>
		<</if>>
	<</if>>
<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are half-brothers with @@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName@@.
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are half-brothers with @@.lightgreen;$children[0].slaveName and $children[1].slaveName@@.
<<elseif $children.length > 0>>
	<br>You have one half-brother, @@.lightgreen;$children[0].slaveName@@.
<</if>>
<<set $children = []>>

/*Player is Father, lists children you fathered*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $PC.ID == $slaves[$i].father>>
		<<set $children.push($slaves[$i])>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are the father of @@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName@@.
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are the father of two of your slaves, @@.lightgreen;$children[0].slaveName, and $children[1].slaveName@@.
<<elseif $children.length > 0>>
	<br>You are the father of one of your slaves, @@.lightgreen;$children[0].slaveName@@.
<</if>>
<<set $children = []>>

/*Player is Mother, lists birthed children*/
<<for $i = 0; $i < $slaves.length; $i++>>
	<<if $PC.ID == $slaves[$i].mother>>
		<<set $children.push($slaves[$i])>>
	<</if>>
<</for>>
<<if $children.length > 2>>
	<br>You are the mother of@@.lightgreen;
	<<for $j = 0; $j < $children.length; $j++>>
		<<if $j < $children.length-1>>
			$children[$j].slaveName,
		<<else>>
			and $children[$j].slaveName.@@
		<</if>>
	<</for>>
<<elseif $children.length > 1>>
	<br>You are the mother of two of your slaves, @@.lightgreen;$children[0].slaveName, and $children[1].slaveName@@.
<<elseif $children.length > 0>>
	<br>You are the mother of one of your slaves, @@.lightgreen;$children[0].slaveName@@.
<</if>>
<<set $children = []>>

<</widget>>

<<widget "parentName">>
<<if $activeSlave[$args[0]] == $PC.ID>>You<</if>><<for _j = 0; _j < $slaves.length; _j++>><<if $slaves[_j].ID == $activeSlave[$args[0]]>><<print $slaves[_j].slaveName>><</if>><</for>>
<</widget>>

<<widget "listOfSlavesWithSameParent">>
<<if $activeSlave[$args[0]] != 0>>
<<set _printSeperator = false>>
<<if $activeSlave[$args[0]] == $PC[$args[0]]>>You<<set _printSeperator = true>><</if>><<for _j = 0; _j < $slaves.length; _j++>><<if $slaves[_j][$args[0]] == $activeSlave[$args[0]]>><<if _printSeperator>> | <</if>><<set _printSeperator to true>><<print $slaves[_j].slaveName>><</if>><</for>>
<</if>>
<</widget>>

<<widget "editFamily">>
<br>''Mother:'' <span id="motherName"><<parentName "mother">></span>.
<<link "Reset">>
<<set $activeSlave.mother = 0>>
<<replace '#motherName'>><</replace>>
<<replace '#sameMotherNames'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
<<if $PC.vagina == 1>> | <<link "You">><<set $activeSlave.mother = $PC.ID>><<replace '#motherName'>>You<</replace>><<replace '#familySummary'>><<Family>><</replace>><</link>><</if>>
<<for _i = 0; _i < $slaves.length; _i++>>
<<if $slaves[_i].vagina > 0>>
 |
<<set _id = $slaves[_i].ID>>
<<set _slaveName = $slaves[_i].slaveName>>
<<print "
<<link _slaveName>>
<<set $activeSlave.mother = _id>>
<<replace '#motherName'>>_slaveName<</replace>>
<<replace '#sameMotherNames'>><<listOfSlavesWithSameParent 'mother'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
">>
<</if>>
<</for>>
<br>''Father:'' <span id="fatherName"><<parentName "father">></span>.
<<link "Reset">>
<<set $activeSlave.father = 0>>
<<replace '#fatherName'>><</replace>>
<<replace '#sameFatherNames'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
<<if ($PC.dick == 1) and (($PC.actualAge - $activeSlave.actualAge) >= $fertilityAge) >> | <<link "You">><<set $activeSlave.father = $PC.ID>><<replace '#fatherName'>>You<</replace>><<replace '#familySummary'>><<Family>><</replace>><</link>><</if>>
<<for _i = 0; _i < $slaves.length; _i++>>
<<if ($slaves[_i].dick > 0) and ((($slaves[_i].actualAge - $activeSlave.actualAge) >= $fertilityAge))>>
 |
<<set _id = $slaves[_i].ID>>
<<set _slaveName = $slaves[_i].slaveName>>
<<print "
<<link _slaveName>>
<<set $activeSlave.father = _id>>
<<replace '#fatherName'>>_slaveName<</replace>>
<<replace '#sameFatherNames'>><<listOfSlavesWithSameParent 'father'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
">>
<</if>>
<</for>>

<br>''Same mother as:'' <span id="sameMotherNames"><<listOfSlavesWithSameParent "mother">></span>.
<<link "Reset">>
<<set $activeSlave.mother = 0>>
<<replace '#motherName'>><</replace>>
<<replace '#sameMotherNames'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
 | <<link "You">>
<<if $PC.mother != 0>>
<<set $activeSlave.mother = $PC.mother>>
<<elseif $activeSlave.mother != 0>>
<<set $PC.mother = $activeSlave.mother>>
<<else>>
<<set $activeSlave.mother = -5 - 2*$activeSlave.ID >>
<<set $PC.mother = $activeSlave.mother>>
<</if>>
<<replace '#motherName'>><<parentName "mother">><</replace>>
<<replace '#sameMotherNames'>><<listOfSlavesWithSameParent "mother">><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
<<for _i = 0; _i < $slaves.length; _i++>>
 |
<<set _slaveName = $slaves[_i].slaveName>>
<<set _slave = $slaves[_i]>>

<<link _slaveName>>
<<if _slave.mother != 0>>
<<set $activeSlave.mother = _slave.mother>>
<<elseif $activeSlave.mother != 0>>
<<set _slave.mother = $activeSlave.mother>>
<<else>>
<<set $activeSlave.mother = -5 - 2*$activeSlave.ID >>
<<set _slave.mother = $activeSlave.mother>>
<</if>>
<<replace '#motherName'>><<parentName "mother">><</replace>>
<<replace '#sameMotherNames'>><<listOfSlavesWithSameParent 'mother'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>

<</for>>

<br>''Same father as:'' <span id="sameFatherNames"><<listOfSlavesWithSameParent "father">></span>.
<<link "Reset">>
<<set $activeSlave.father = 0>>
<<replace '#fatherName'>><</replace>>
<<replace '#sameFatherNames'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>
| <<link "You">>
<<if $PC.father != 0>>
<<set $activeSlave.father = $PC.father>>
<<elseif $activeSlave.father != 0>>
<<set $PC.father = $activeSlave.father>>
<<else>>
<<set $activeSlave.father = -5 - 2*$activeSlave.ID -1>>
<<set $PC.father = $activeSlave.father>>
<</if>>
<<replace '#fatherName'>><<parentName "father">><</replace>>
<<replace '#sameFatherNames'>><<listOfSlavesWithSameParent "father">><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>

<<for _i = 0; _i < $slaves.length; _i++>>
 |
<<set _slaveName = $slaves[_i].slaveName>>
<<set _slave = $slaves[_i]>>

<<link _slaveName>>
<<if _slave.father != 0>>
<<set $activeSlave.father = _slave.father>>
<<elseif $activeSlave.father != 0>>
<<set _slave.father = $activeSlave.father>>
<<else>>
<<set $activeSlave.father = -5 - 2*$activeSlave.ID -1 >>
<<set _slave.father = $activeSlave.father>>
<</if>>
<<replace '#fatherName'>><<parentName "father">><</replace>>
<<replace '#sameFatherNames'>><<listOfSlavesWithSameParent 'father'>><</replace>>
<<replace '#familySummary'>><<Family>><</replace>>
<</link>>

<</for>>
<br>
    <span id="familySummary"><<Family>></span>
<br>

<</widget>>


code:
:: pregmod birth widgets [widget nobr]

<<widget "BroodmotherBirth">>

<br>

<<if random(1,2) == 1>> /* at assignment else in halls/etc */

<<switch $slaves[$i].assignment>>

<<case "rest">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		$slaves[$i].slaveName is awoken from her rest by a strong contraction.  She attempts to roll over, and failing that, begins to fall back to sleep as another contraction wracks her body.
		<<ClothingBirth>>
		She struggles to draw her child to her breast and resumes resting.
	<<else>>
		$slaves[$i].slaveName is awoken from her rest by a contraction. She struggles to roll over, and failing that, clutches her gravid belly as another contraction wracks her body. Since this has already happened several times this week, she knows what to expect.
		<<ClothingBirth>>
		Her child is collected and her body cleaned before she is allowed to resume her rest.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		$slaves[$i].slaveName is awoken from her rest by a strong contraction.  She rolls over and begins to fall back to sleep as another contraction wracks her body.
		<<ClothingBirth>>
		She struggles to draw her child to her breast and resumes resting.
	<<else>>
		$slaves[$i].slaveName is awoken from her rest by a contraction. She rolls over and clutches her gravid belly as another contraction wracks her body. Since this has already happened several times this week, she knows what to expect.
		<<ClothingBirth>>
		Her child is collected and her body cleaned before she is allowed to resume her rest.
	<</if>>
	<</if>>

<<case "be a subordinate slave">>
	<<for $k = 0; $k < $slaves.length; $k++>>
		<<if $slaves[$i].subTarget is $slaves[$k].ID>>
			<<set $tempSub = $slaves[$k]>>
		<</if>>
	<</for>>
	<<if $slaves[$i].fetish == "mindbroken">>
		<<if $slaves[$i].subTarget == 0>>
		While servicing your other slaves, $slaves[$i].slaveName's body begins to birth another of her brood, though it does nothing to deter her from her task.
		<<ClothingBirth>>
		No sooner than her baby is born, a cock is shoved into her gaping pussy as she draws her child to her breast.
		<<else>>
		While servicing $tempSub.slaveName, $slaves[$i].slaveName's body begins to birth another of her brood, though it does nothing to deter her from her task.
		<<ClothingBirth>>
		No sooner than her baby is born does she go back to pleasuring her dom.
		<</if>>
	<<else>>
		<<if $slaves[$i].subTarget == 0>>
	  	While servicing your other slaves, $slaves[$i].slaveName's body begins to birth another of her brood, causing her to immediately try to break off.  However, several hands quickly hook her enormous bulk and she is pulled back into another slave's crotch.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		Since she is too pregnant to collect her child, it is done for her. Her exhausted form is slumped onto her huge belly as another slave helps themselves to her vulnerable body.
		<<else>>
		While servicing $tempSub.slaveName, $slaves[$i].slaveName's body begins to birth another of her brood, causing her to immediately try to break off.  Her dom eagerly watches her pregnant sub's ordeal.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		$tempSub.slaveName collects the newborn child to be sent off before returning and planting her crotch directly over her exhausted sub's face.
		<</if>>
	<</if>>

<<case "whore">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While attempting to attract customers to fuck her grotesquely distended body, $slaves[$i].slaveName's body begins to birth another of her brood.
		<<ClothingBirth>>
		She struggles to bring her child to her breast as she resumes whoring, oblivious to the free show she just gave her customers.
	<<else>>
		While attempting to attract customers to fuck her grotesquely distended body, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to move and rapidly crowning, she manages to get several men to help her out.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She lies stranded on the ground, exhausted and covered in sperm from the circle of men watching her, until she is helped into a sitting position and handed her child.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While attempting to attract customers with her grotesquely distended body, $slaves[$i].slaveName's body begins to birth another of her brood.
		<<ClothingBirth>>
		She draws her child to her breast as she resumes whoring, oblivious to the free show she just gave her customers.
	<<else>>
		While attempting to attract customers with her grotesquely distended body, $slaves[$i].slaveName's body begins to birth another of her brood.  She knows it is pointless to try to waddle away, as large as she is, so she convinces several men to help her out.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She lies on the ground, exhausted and covered in sperm from the circle of men watching her, until she is helped to her feet and handed her child.
	<</if>>
	<</if>>

<<case "serve the public">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		<<if ($seed > 80)>>
		While taking a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood out on him. Showing no signs of stopping, he struggles to shoves her bulk off of him. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. She is handed her child, which she clutches to her breast before beckoning for the next citizen's cock.
		<<elseif ($seed > 60)>>
		While sucking a citizen's dick,  $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to continue.
		<<ClothingBirth>>
		He cums down her throat before placing her child on her breast, as she beckoning for the next citizen's cock.
		<<elseif ($seed > 40)>>
		While licking a citizen's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so she allows her to continue.
		<<ClothingBirth>>
		The citizen splashes across her face before placing her child on her breast, as she begins beckoning for the next citizen's cunt.
		<<else>>
		While taking a citizen's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to continue. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. He came strongly thanks to her and gives her a slap on the ass before handing her her child. She brings it to her breast before beckoning for the next citizen's cock.
		<</if>>
	<<else>>
		<<if ($seed > 80)>>
		While riding a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately struggles to disengage encouraging him to shove her onto her bloated womb and mount her. He thoroughly enjoys her contracting cunt before pulling out and standing over her, jacking off. Quickly she spreads her legs apart and begins pushing out her baby. She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He comes over her exhausted body and moves on leaving her to recover and await her child to be sent off.
		<<set $humiliation = 1>>
		<<elseif ($seed > 60)>>
		While sucking a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood. Since she is incapable of moving herself, she carries on sucking.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		He cums down her throat before letting her collapse onto her bloated form. When she recovers, she gathers her child to be sent off.
		<<elseif ($seed > 40)>>
		While licking a citizen's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. Since she is incapable of moving herself, she carries on licking.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She cums across her face before helping her to her rear and handing her the newborn child.
		<<else>>
		While taking a citizen's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately struggles to disengage but he shoves her onto her bloated womb and mounts her. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He came strongly thanks to her and gives her a slap on the ass as she collapses onto her bloated womb. Once she recovers enough to collect her child, she awaits for it to be sent off.
		<<set $humiliation = 1>>
		<</if>>
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		<<if ($seed > 80)>>
		While taking a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood out on him. Showing no signs of stopping, he struggles to shoves her bulk off of him. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. She is handed her child, which she clutches to her breast before seeking out the next citizen's cock.
		<<elseif ($seed > 60)>>
		While sucking a citizen's dick,  $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to reposition and continue.
		<<ClothingBirth>>
		He cums down her throat before placing her child on her breast, as she begins seeking out the next citizen's cock.
		<<elseif ($seed > 40)>>
		While licking a citizen's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so she allows her to reposition and continue.
		<<ClothingBirth>>
		The citizen splashes across her face before placing her child on her breast, as she begins seeking out the next citizen's cunt.
		<<else>>
		While taking a citizen's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to reposition and continue. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. He came strongly thanks to her and gives her a slap on the ass before handing her her child. She brings it to her breast before seeking out the next citizen's cock.
		<</if>>
	<<else>>
		<<if ($seed > 80)>>
		While riding a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he shoves her onto her bloated womb and mounts her. He thoroughly enjoys her contracting cunt before pulling out and standing over her, jacking off. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He comes over her exhausted body and moves on leaving her to recover and collect her child to be sent off.
		<<set $humiliation = 1>>
		<<elseif ($seed > 60)>>
		While sucking a citizen's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he grabs her head and slams her back into his crotch.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		He cums down her throat before letting her collapse onto her bloated form.  When she recovers, she gathers her child to be sent off.
		<<elseif ($seed > 40)>>
		While licking a citizen's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but she grabs her head and slams her back into her crotch.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She cums across her face before helping her to her feet and handing her the newborn child.
		<<else>>
		While taking a citizen's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he shoves her onto her bloated womb and mounts her. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He came strongly thanks to her and gives her a slap on the ass as she collapses onto her bloated womb. Once she recovers enough to get to her feet, she gathers her child to be sent off.
		<<set $humiliation = 1>>
		<</if>>
	<</if>>
	<</if>>

<<case "work a glory hole">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
    	While sucking a dick through the hole of her confining box, $slaves[$i].slaveName's body begins to birth another of her brood. She makes no effort to stop sucking the dicks presented to her.
		<<ClothingBirth>>
		Her child is taken as it is born from her rear hanging out of the box. She never notices, focused entirely on the fresh cock poking through the glory hole.
	<<else>>
    	While sucking a dick through the hole of her confining box, $slaves[$i].slaveName's body begins to birth another of her brood. She quickly finishes the dick off and sighs, knowing full well she couldn't move even if she weren't confined. Another dick is shoved into her trapped face and she is forced to keep sucking.
		<<ClothingBirth>>
		Her child is taken as it is born from her rear hanging out of the box. She never got a look at it, being unable to turn even slightly.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
    	While sucking a dick through the hole of her confining box, $slaves[$i].slaveName's body begins to birth another of her brood. She makes no effort to stop sucking the dicks presented to her.
		<<ClothingBirth>>
		Her child is taken as it is born from her rear hanging out of the box. She never notices, focused entirely on the fresh cock poking through the glory hole.
	<<else>>
    	While sucking a dick through the hole of her confining box, $slaves[$i].slaveName's body begins to birth another of her brood. She quickly finishes the dick off before realizing there is no way she can move her bloated form in the box. Another dick is shoved into her trapped face and she is forced to keep sucking.
		<<ClothingBirth>>
		Her child is taken as it is born from her rear hanging out of the box. She never got a look at it, being unable to turn even slightly.
	<</if>>
	<</if>>

<<case "get milked">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While getting milked, $slaves[$i].slaveName's body begins to birth another of her brood. She show little interest and continues kneading her breasts.
		<<ClothingBirth>>
		She shows no interest in her child<<if $slaves[$i].pregType > 1>>ren<</if>> being removed from the milking stall, instead focusing entirely on draining breasts.
	<<else>>
    	While getting milked, $slaves[$i].slaveName's body begins to birth another of her brood. Between the milkers and her immobilizing belly, she ends up stranded atop her immense pregnancy.
		<<ClothingBirth>>
		Her child is carried away and she struggles to get off of her self. She groans as she realizes the milk tank is nearly full, having been filled with the copious amounts of milk her body is producing for her brood.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While getting milked, $slaves[$i].slaveName's body begins to birth another of her brood. She show little interest and continues kneading her breasts.
		<<ClothingBirth>>
		She shows no interest in her child<<if $slaves[$i].pregType > 1>>ren<</if>> being removed from the milking stall, instead focusing entirely on draining breasts.
	<<else>>
    	While getting milked, $slaves[$i].slaveName's body begins to birth another of her brood. She shifts into a comfortable position to give birth while the milker works her breasts.
		<<ClothingBirth>>
		Her child is carried away and she rests with her back against the wall. She groans as she realizes the milk tank is nearly full, having been filled with the copious amounts of milk her body is producing for her brood.
	<</if>>
	<</if>>

<<case "please you">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While sitting absentmindedly nearby, $slaves[$i].slaveName's body begins to birth another of her brood. She pays no heed to it and continues waiting for you to use her.
		<<ClothingBirth>>
		You certainly enjoyed the show as you call for a servant to take away her child and to clean up the still oblivious broodmother.
	<<else>>
		While resting against her belly nearby, $slaves[$i].slaveName's body begins to birth another of her brood, startling her. She looks to you for guidance and you shake your head "no".  Without permission to move she <<if $slaves[$i].devotion > 50>>decides to give you a show<<elseif $slaves[$i].devotion > 20>>reluctantly decides giving birth in front of you isn't so bad.<<else>>begins to panic as her contractions come sooner and sooner<<set $humiliation = 1>><</if>>.
		<<ClothingBirth>>
		As thanks for the show, you help her exhausted body onto the couch so she can recover before returning to her duties. You call for a servant to take away her child and clean up your toy.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While sitting absentmindedly nearby, $slaves[$i].slaveName's body begins to birth another of her brood. She pays no heed to it and continues waiting for you to use her.
		<<ClothingBirth>>
		You certainly enjoyed the show as you call for a servant to take away her child and to clean up the still oblivious broodmother.
	<<else>>
		While standing nearby, $slaves[$i].slaveName's body begins to birth another of her brood, startling her. She looks to you for guidance and you shake your head "no".  Without permission to leave she <<if $slaves[$i].devotion > 50>>decides to give you a show<<elseif $slaves[$i].devotion > 20>>reluctantly decides giving birth in front of you isn't so bad.<<else>>begins to panic as her contractions come sooner and sooner<<set $humiliation = 1>><</if>>.
		<<ClothingBirth>>
		As thanks for the show, you help her exhausted body onto the couch so she can recover before returning to her duties. You call for a servant to take away her child and clean up your toy.
	<</if>>
	<</if>>

<<case "stay confined">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While waiting in confinement, $slaves[$i].slaveName's body begins to birth another of her brood. Since she can't move, she just lets things happen.
		<<ClothingBirth>>
		She struggles for a minute before realizing she is incapable of reaching her child. The servant that has to crawl under her bloated body to get her child is less than pleased, especially since this is the third time this week she has had to do it.
	<<else>>
		$slaves[$i].slaveName is awoken from her stupor by her body beginning to birth another of her brood. She struggles to get into position but ends up getting stuck atop her massive belly.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She spills out of the cell when the servant comes once more to collect her child. She hastily tries to cram her bulk back into her cell before she gets chastised.
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		While waiting in confinement, $slaves[$i].slaveName's body begins to birth another of her brood. She assumes a birthing position.
		<<ClothingBirth>>
		She struggles for a minute before realizing her pregnancy takes up most of the cell and that she can't reach her child. The servant that has to crawl under her bloated body to get her child is less than pleased, especially since this is the third time this week she has had to do it.
	<<else>>
		$slaves[$i].slaveName is awoken from her stupor by her body beginning to birth another of her brood. She struggles to get into position  but ends up getting stuck standing thanks to her massive belly.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She spills out of the cell when the servant comes once more to collect her child. She hastily tries to cram her bulk back into her cell before she gets chastised.
	<</if>>
	<</if>>

<<case "work as a servant">>
  <<if $slaves[$i].fetish == "mindbroken">>
    <<if $seed > 50>>
    While giving a slave oral service, $slaves[$i].slaveName's body begins to birth another of her brood. She disregards this development and continues working.
    <<ClothingBirth>>
    The slave gets off quite strongly to the show and shoves her out of the way, leaving her to clean up her mess. Instead, she struggles to bring her child to her breast until <<if $Stewardess != 0>>$Stewardess.slaveName shouts at her to move her useless ass<<elseif $HeadGirl != 0>>$HeadGirl.slaveName shouts at her to move her useless ass<<else>><<if $assistantName == "your personal assistant">>your personal assistant<<else>>$assistantName<</if>>shouts at her to move her useless ass<</if>>.
    <<else>>
    While struggling to scrub the penthouse floor, $slaves[$i].slaveName's body begins to birth another of her brood. She carries on trying to clean as she drags her belly along the floor.
    <<ClothingBirth>>
    Instead of carrying on her task, she draws her child to her breast until <<if $Stewardess != 0>>$Stewardess.slaveName shouts at her to move her useless ass<<elseif $HeadGirl != 0>>$HeadGirl.slaveName shouts at her to move her useless ass<<else>><<if $assistantName == "your personal assistant">>your personal assistant<<else>>$assistantName<</if>>shouts at her to move her useless ass<</if>>.
	<</if>>
  <<else>>
     <<if $seed > 50>>
    While giving a slave oral service, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to pull away but they grab her head and force her back to their crotch.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    The slave gets off quite strongly to the show and shoves her to the ground, leaving her struggling to get up before <<if $Stewardess != 0>>$Stewardess.slaveName shouts at her<<elseif $HeadGirl != 0>>$HeadGirl.slaveName shouts at her <<else>><<if $assistantName == "your personal assistant">>your personal assistant<<else>>$assistantName<</if>>shouts at her<</if>>.
    <<else>>
    While using her bloated belly to scrub the penthouse floor, $slaves[$i].slaveName's body begins to birth another of her brood. Since this isn't the first time this week this happened, she readies herself for the coming birth.
    <<ClothingBirth>>
    She makes a pass around the room before scooping up her child and struggling to her feet. She slowly waddles to drop off her child.
	<</if>>
  <</if>>

<<case "serve in the master suite">>
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    <<if $masterSuiteUpgradeLuxury == 1>>
      While awaiting your return on the big bed in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She struggles to shift into a more comfortable position before giving up.
      <<ClothingBirth>>
      Resting in your bed, she draws her child to her breast and resumes waiting for you. <<if $Concubine != 0>>Concubine.slaveName furiously orders her child<<if $slaves[$i].pregType > 1>>ren<</if>> removed, and her forcefully ejected from the bed so it can be cleaned before your return.<</if>>
    <<elseif $masterSuiteUpgradeLuxury == 2>>
     While being the bottom of the master suite's fuckpit, $slaves[$i].slaveName's body begins to birth another of her brood. While she doesn't stop having sex, the fucktoys using her do and attempt to drag her from the pit to give birth. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. The fucktoys give up their efforts to haul her bloated form out of the pit and allow her to settle a the bottom. Without a second thought about her child, she attempts to coax the other slaves back into an orgy.
    <<else>>
      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She pays it no heed and continues blankly waiting.
      <<ClothingBirth>>
      Resting on her belly, she draws her child to her breast and resumes waiting for you. <<if $Concubine != 0>>Concubine.slaveName furiously orders her child<<if $slaves[$i].pregType > 1>>ren<</if>> removed, and her thoroughly cleaned before your return.<</if>>
    <</if>>
  <<else>>
    <<if $masterSuiteUpgradeLuxury == 1>>
      While awaiting your return on the big bed in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. Knowing there is nothing she can do, she accpets that she is going to give birth in your bed.
      <<ClothingBirth>>
      Once her child is removed, she's cleaned up, and the sheets changed, she struggles back into bed to recover for your return.
    <<elseif $masterSuiteUpgradeLuxury == 2>>
     While participating in the fuckpit orgy, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of escaping the fuckpit,  so the leaves herself at the mercy of the other fucktoys. They happily position themselves for her to pleasure them while giving birth.
     <<set $humiliation = 1>>
     <<ClothingBirth>>
     Once the fucktoys are done tormenting the exhausted broodmother, they hand her child off to the help and snuggle up to her enormous pregnancy as she recovers her strength.
    <<else>>
      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She knows she stands no chance of reaching of escaping her sex toys, so she does her best to conceal them. She calls for a servant to hurry as she begins laboring.
      <<ClothingBirth>>
      The servant collects her child and helps her onto the largest cushion in the room to recover for your return. With a little effort she pushes the vibrating dildo out of her ass before settling down for a nap.
    <</if>>
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    <<if $masterSuiteUpgradeLuxury == 1>>
      While awaiting your return on the big bed in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She shifts into a more comfortable position.
      <<ClothingBirth>>
      Resting in your bed, she draws her child to her breast and resumes waiting for you. <<if $Concubine != 0>>Concubine.slaveName furiously orders her child<<if $slaves[$i].pregType > 1>>ren<</if>> removed, and her forcefully ejected from the bed so it can be cleaned before your return.<</if>>
    <<elseif $masterSuiteUpgradeLuxury == 2>>
     While being the bottom of the master suite's fuckpit, $slaves[$i].slaveName's body begins to birth another of her brood. While she doesn't stop having sex, the fucktoys using her do and attempt to drag her from the pit to give birth. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. The fucktoys give up their efforts to haul her bloated form out of the pit and allow her to settle a the bottom. Without a second thought about her child, she attempts to coax the other slaves back into an orgy.
    <<else>>
      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She pays it no heed and continues blankly waiting.
      <<ClothingBirth>>
      Resting on her belly, she draws her child to her breast and resumes waiting for you. <<if $Concubine != 0>>Concubine.slaveName furiously orders her child<<if $slaves[$i].pregType > 1>>ren<</if>> removed, and her thoroughly cleaned before your return.<</if>>
    <</if>>
  <<else>>
    <<if $masterSuiteUpgradeLuxury == 1>>
      While awaiting your return on the big bed in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She quickly moves herself off the bed and calls for a servant before dropping onto her bloated stomach.
      <<ClothingBirth>>
      Once her child is removed, she's cleaned up, and the sheets changed, she struggles back into bed to recover for your return.
    <<elseif $masterSuiteUpgradeLuxury == 2>>
     While participating in the fuckpit orgy, $slaves[$i].slaveName's body begins to birth another of her brood. She tries to crawl out of the pit but the other fucktoys easily pull her back in and position themselves for her to pleasure them while giving birth.
     <<set $humiliation = 1>>
     <<ClothingBirth>>
     Once the fucktoys are done tormenting the exhausted broodmother, they hand her child off to the help and snuggle up to her enormous pregnancy as she recovers her strength.
    <<else>>
      While awaiting your return in the master suite, $slaves[$i].slaveName's body begins to birth another of her brood. She tries to get to the prepared area but fails to untangle herself from the toys she was playing with. She calls for a servant to hurry as she begins laboring.
      <<ClothingBirth>>
      The servant collects her child and helps her onto the largest cushion in the room to recover for your return. With a little effort she pushes the vibrating dildo out of her ass before settling down for a nap.
    <</if>>
  <</if>>
  <</if>>

<<case "serve in the club">>
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can. During one of her dances, her body begins to birth another of her brood. She keeps on dancing, despite her condition, until her contractions drag her onto her bloated stomach.
    <<ClothingBirth>>
    Multiple citizens drag her into a booth so that they may tease her enormous exhausted body while the dance floor is dried and her child is carried off.
  <<elseif $slaves[$i].fetish == "humiliation">>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can, all the while flashing glimpses of her crotch and nipples. During one of her dances, her body begins to birth another of her brood. She calls out to the crowd, hyping them up for her new show.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    As her child is removed from the dance floor, she is helped into one of the back rooms by several of her aroused onlookers.
  <<else>>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can. During one of her dances, $slaves[$i].slaveName's body begins to birth another of her brood. She frantically struggles to move drawing even more attention to her helpless state. She is roughly pulled into one of the side rooms by a group of men looking forward to the show she's about to perform for them.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    Only once the last of her clients cums over her bloated body is she handed her child and allowed to rest. She enjoys a moment with her newborn before the servant comes to collect them.
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can. During one of her dances, her body begins to birth another of her brood. She keeps on dancing, despite her condition, until her contractions drag her onto her bloated stomach.
    <<ClothingBirth>>
    Multiple citizens drag her into a booth so that they may tease her enormous exhausted body while the dance floor is dried and her child is carried off.
  <<elseif $slaves[$i].fetish == "humiliation">>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can, all the while flashing glimpses of her crotch and nipples. During one of her dances, her body begins to birth another of her brood. She calls out to the crowd, hyping them up for her new show.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    As her child is removed from the dance floor, she is helped into one of the back rooms by several of her aroused onlookers.
  <<else>>
    $slaves[$i].slaveName is showing off her grotesque body and trying to attract citizens by dancing as well as she can. During one of her dances, $slaves[$i].slaveName's body begins to birth another of her brood. She clumsily tries to leave the dance floor only to find hands groping her titanic belly. She is roughly pulled into one of the side rooms by a group of men looking forward to the show she's about to perform for them.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    Only once the last of her clients cums over her bloated body is she handed her child and allowed to rest. She enjoys a moment with her newborn before the servant comes to collect them.
  <</if>>
  <</if>>

<<case "choose her own job">>
  <<if !canWalk($slaves[$i])>>
  	While thinking about what job to take as an immobile womb, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to do anything but labor, she gives in to what's coming.
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to.  She decides to rest for the rest of the day before returning to choosing her next task.
  <<else>>
  <<if $slaves[$i].fetish == "humiliation">>
    While slowly wandering the penthouse deciding on her post, $slaves[$i].slaveName's body begins to birth another of her brood. Sensing an opportunity, she waddles to the nearest balcony overlooking the city. She calls out, making sure all eyes are on her for what happens next.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to.  She decides to rest for the rest of the day before returning to choosing her next task.
  <<else>>
    While slowly wandering the penthouse deciding on her post, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to reach the prepared birthing room in time, she finds a secluded room to give birth in.
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to.  She decides to rest for the rest of the day before returning to choosing her next task.
  <</if>>
  <</if>>

<<case "rest in the spa">>
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While soaking in the spa's pool, $slaves[$i].slaveName's body begins to birth another of her brood. As she begins to ready herself for birth, <<if $Attendant != 0>>$Attendant.slaveName struggles to pull her out of the pool and glares at her<<else>>the other bathers watch curiously<</if>>.
    <<ClothingBirth>>
    She and her child are quickly dried off as she begins nursing them. A servant soon arrives to take her children away.
  <<else>>
    While soaking in the spa's pool, $slaves[$i].slaveName's body begins to birth another of her brood. As she begins to ready herself for a water birth, <<if $Attendant != 0>>$Attendant.slaveName shifts into position to aid her<<else>>the other bathers watch curiously<</if>>.
    <<ClothingBirth>>
    She and her child are quickly dried off as she begins nursing them. A servant soon arrives to take her children away.
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While soaking in the spa's pool, $slaves[$i].slaveName's body begins to birth another of her brood. As she begins to ready herself for birth, <<if $Attendant != 0>>$Attendant.slaveName struggles to pull her out of the pool and glares at her<<else>>the other bathers watch curiously<</if>>.
    <<ClothingBirth>>
    She and her child are quickly dried off as she begins nursing them. A servant soon arrives to take her children away.
  <<else>>
    While heading for the changing room before a nice soak, $slaves[$i].slaveName's body begins to birth another of her brood. She hurries into the changing room only to find it unusually crowded. Without any choice left, she assumes a birthing position.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    The several of other slaves present, that aren't pinned by her sudden intrusion, help her with her child while the rest enjoy the show. <<if $Attendant != 0>>$Attendant.slaveName, lured in by the commotion, shoos the other slaves out and helps the new mother to a private relaxation room to unwind<<else>>Soon a servant arrives to take her child away, and she is ushered into the bath to clean up and relax<</if>>.
  <</if>>
  <</if>>

<<case "learn in the schoolroom">>
	<<if !canWalk($slaves[$i])>>
    During a lesson in $schoolroomName, $slaves[$i].slaveName's body begins to birth another of her brood. Since this isn't the first time she interrupted the lesson this week, and she is too heavy to move, she is allowed to give birth right where she is.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She struggles to gather her newborn child as class slowly resume. Looking around, she can't help but notice all the other students giggling and gesturing at her.
	<<else>>
    During a lesson in $schoolroomName, $slaves[$i].slaveName's body begins to birth another of her brood. Since this isn't the first time she interrupted the lesson this week, she is helped into an adjacent storage room.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She struggles to gather her newborn child and slowly excuses herself from the class. She can't help but notice all the other students giggling and gesturing as she waddles out.
	<</if>>

<<case "take classes">>
  <<if !canWalk($slaves[$i])>>
    During a lesson under <<if $assistantName == "your personal assistant">>your personal assistant<<else>>$assistantName<</if>>, $slaves[$i].slaveName's body begins to birth another of her brood. Your assistant pauses and waits for her to finish, having given up after the last several times
    <<ClothingBirth>>
    Exhausted from the birth, she is permitted a short break as her child is collected to be cleaned up before the lesson is continued.
  <<else>>
    During a lesson under <<if $assistantName == "your personal assistant">>your personal assistant<<else>>$assistantName<</if>>, $slaves[$i].slaveName's body begins to birth another of her brood. Your assistant pauses and waits for her to finish, having given up after the last several times
    <<ClothingBirth>>
    Exhausted from the birth, she is permitted a short break as her child is collected to clean herself up before the lesson is continued.
  <</if>>

<<case "work in the brothel">>
	<<if !canWalk($slaves[$i])>>
	<<if $slaves[$i].fetish == "mindbroken">>
		<<if ($seed > 80)>>
		While taking a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood out on him. Showing no signs of stopping, he struggles to shoves her bulk off of him. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. She is handed her child, which she clutches to her breast before beckoning for the next customer's cock.
		<<elseif ($seed > 60)>>
		While sucking a customer's dick,  $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to continue.
		<<ClothingBirth>>
		He cums down her throat before placing her child on her breast, as she beckoning for the next customer's cock.
		<<elseif ($seed > 40)>>
		While licking a customer's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so she allows her to continue.
		<<ClothingBirth>>
		The customer splashes across her face before placing her child on her breast, as she begins beckoning for the next customer's cunt.
		<<else>>
		While taking a customer's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to continue. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. He came strongly thanks to her and gives her a slap on the ass before handing her her child. She brings it to her breast before beckoning for the next customer's cock.
		<</if>>
	<<else>>
		<<if ($seed > 80)>>
		While riding a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately struggles to disengage encouraging him to shove her onto her bloated womb and mount her. He thoroughly enjoys her contracting cunt before pulling out and standing over her, jacking off. Quickly she spreads her legs apart and begins pushing out her baby. She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He comes over her exhausted body and moves on leaving her to recover and await her child to be sent off.
		<<set $humiliation = 1>>
		<<elseif ($seed > 60)>>
		While sucking a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood. Since she is incapable of moving herself, she carries on sucking.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		He cums down her throat before letting her collapse onto her bloated form. When she recovers, she gathers her child to be sent off.
		<<elseif ($seed > 40)>>
		While licking a customer's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. Since she is incapable of moving herself, she carries on licking.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She cums across her face before helping her to her rear and handing her the newborn child.
		<<else>>
		While taking a customer's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately struggles to disengage but he shoves her onto her bloated womb and mounts her. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He came strongly thanks to her and gives her a slap on the ass as she collapses onto her bloated womb. Once she recovers enough to collect her child, she awaits for it to be sent off.
		<<set $humiliation = 1>>
		<</if>>
	<</if>>
	<<else>>
	<<if $slaves[$i].fetish == "mindbroken">>
		<<if ($seed > 80)>>
		While taking a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood out on him. Showing no signs of stopping, he struggles to shoves her bulk off of him. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. She is handed her child, which she clutches to her breast before seeking out the next citizen's cock.
		<<elseif ($seed > 60)>>
		While sucking a customer's dick,  $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to reposition and continue.
		<<ClothingBirth>>
		He cums down her throat before placing her child on her breast, as she begins seeking out the next citizen's cock.
		<<elseif ($seed > 40)>>
		While licking a customer's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so she allows her to reposition and continue.
		<<ClothingBirth>>
		The customer splashes across her face before placing her child on her breast, as she begins seeking out the next customer's cunt.
		<<else>>
		While taking a customer's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She shows no signs of slowing down, so he allows her to reposition and continue. Instinctively she begins to push out her baby, indifferent to who may be watching her naked crotch. He came strongly thanks to her and gives her a slap on the ass before handing her her child. She brings it to her breast before seeking out the next customer's cock.
		<</if>>
	<<else>>
		<<if ($seed > 80)>>
		While riding a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he shoves her onto her bloated womb and mounts her. He thoroughly enjoys her contracting cunt before pulling out and standing over her, jacking off. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He comes over her exhausted body and moves on leaving her to recover and collect her child to be sent off.
		<<set $humiliation = 1>>
		<<elseif ($seed > 60)>>
		While sucking a customer's dick, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he grabs her head and slams her back into his crotch.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		He cums down her throat before letting her collapse onto her bloated form.  When she recovers, she gathers her child to be sent off.
		<<elseif ($seed > 40)>>
		While licking a customer's cunt, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but she grabs her head and slams her back into her crotch.
		<<set $humiliation = 1>>
		<<ClothingBirth>>
		She cums across her face before helping her to her feet and handing her the newborn child.
		<<else>>
		While taking a customer's dick in her ass, $slaves[$i].slaveName's body begins to birth another of her brood. She desperately tries to disengage but he shoves her onto her bloated womb and mounts her. Quickly she spreads her legs apart and begins pushing out her bab<<if $slaves[$i].pregType > 1>>ies<<else>>y<</if>>.  She can't hide what's happening between her legs, <<if $slaves[$i].fetish == "humiliation">>but that only makes it more exciting<<else>>so she bears with it<</if>>. He came strongly thanks to her and gives her a slap on the ass as she collapses onto her bloated womb. Once she recovers enough to get to her feet, she gathers her child to be sent off.
		<<set $humiliation = 1>>
		<</if>>
	<</if>>
	<</if>>

<<case "be your Concubine">>
  <<if $slaves[$i].fetish == "mindbroken">>
  <<else>>
    $slaves[$i].slaveName cradles her swollen belly, waiting for your return, when her body begins to birth another of her brood. Saddened that you aren't there for the show, she begins waddling off to find you. By the time she reaches your office, she is barely holding back her child. You rise to meet her and struggle to help her onto the couch, just before it's to late.
    <<ClothingBirth>>
    Cradling your child, the two of you rest for a spell before sending them off and spending some more intimate time together. You make sure to pay special attention to her overstimulated belly before you help her back to your suite.
  <</if>>

<<case "live with your Head Girl">>
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    $slaves[$i].slaveName is awoken from her rest by a strong contraction. She attepmts to roll over, and failing that, begins to fall back to sleep as another contraction wracks her body. Her body begins to birth another of her brood.
	<<ClothingBirth>>
	She draws her child to her breast and resumes resting before $HeadGirl.slaveName returns from her duties.
  <<else>>
     $slaves[$i].slaveName's body begins to birth another of her brood. She She attepmts to roll over, and failing that, claws at her massive belly as another contraction wracks her body.
	<<ClothingBirth>>
	She struggles to collect her child and brings them to her breast. She waits for $HeadGirl.slaveName to return, hoping she will arrive before another baby makes its way out of her.
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    $slaves[$i].slaveName is awoken from her rest by a strong contraction. She rolls over and begins to fall back to sleep as another contraction wracks her body. Her body begins to birth another of her brood.
	<<ClothingBirth>>
	She draws her child to her breast and resumes resting before $HeadGirl.slaveName returns from her duties.
  <<else>>
     $slaves[$i].slaveName's body begins to birth another of her brood. She rolls over and claws at her massive belly as another contraction wracks her body.
	<<ClothingBirth>>
	She struggles to collect her child and places them in the cradle readied for her. She waddles off to take a bath as your servants clean up and remove her child. Cleaned up, she returns to resting knowing full well that $HeadGirl.slaveName will be eager to play with her body upon returning.
  <</if>>
  <</if>>

<<case "be confined in the arcade">>
  A gush of liquid pours from the $slaves[$i].slaveName's cunt, followed by the attendant in charge of the arcade hanging an "out of order" sign on her exposed rear. While her mouth is filled with a customer's dick, her body instinctively births her child into the waiting basket.  As they are carried away, her rear is cleaned up and the sign removed.

<<case "get treatment in the clinic">>
  $slaves[$i].slaveName is in the perfect place to give birth when her body begins to push out another of her brood. <<if $Nurse != 0>>$Nurse.slaveName<<else>>A freelance nurse<</if>> delivers her child before taking them away. Before long she returns to attend to her patient's perpetual pregnancy.

<<case "be confined in the cellblock">>
  <<if $slaves[$i].fetish == "mindbroken">>
    While waiting in confinement, $slaves[$i].slaveName's body begins to birth another of her brood.  She assumes a birthing position.
	<<ClothingBirth>>
	She struggles for a minute before realizing her pregnancy takes up most of the cell and that she can't reach her child. The servant that has to crawl under her bloated body to get her child is less than pleased, especially since this is the third time this week she has had to do it.
  <<else>>
    $slaves[$i].slaveName is awoken from her stupor by her body beginning to birth another of her brood. She struggles to get into position  but ends up getting stuck thanks to her massive belly and inability to properly move herself.
	<<set $humiliation = 1>>
	<<ClothingBirth>>
	She spills out of the cell when the servant comes once more to collect her child. She hastily tries to cram her bulk back into her cell before she gets chastised.
  <</if>>

<<default>>
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While stroking her pregnancy absentmindedly, $slaves[$i].slaveName's body begins to birth another of her brood. She carries on until the contractions drag her onto her swollen belly.
    <<ClothingBirth>>
    She draws her child to her breast and rests upon her mass  until a servant collects her child and helps her back to her bed.
  <<else>>
     <<if $seed > 50>>
      While waiting to be helped to her next assignment, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to do anything, she is forced to give birth where she is.
    <<ClothingBirth>>
    She gathers her child and recovers her strength while resuming her wait a servant to help her to her assignment.
    <<else>>
      While eating in the cafeteria, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to move, she finds herself stranded in the middle of all the dining slaves.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and waits to be rescued from the vicious mockery, fully aware of all the gestering and laughter.
    <</if>>
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While stroking her pregnancy absentmindedly, $slaves[$i].slaveName's body begins to birth another of her brood. She carries on until the contractions drag her onto her swollen belly.
    <<ClothingBirth>>
    She draws her child to her breast and rests upon her mass  until a servant collects her child and helps her back to her bed.
  <<elseif $slaves[$i].fetish == "humiliation">>
    While waddling through the penthouse between assignments, $slaves[$i].slaveName's body begins to birth another of her brood. Sensing an opportunity, she waddles to the nearest balcony overlooking the city. She calls out, making sure all eyes are on her for what happens next.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to. She resumes her previous task, eager for the next child to move into position.
  <<else>>
     <<if $seed > 50>>
      While waddling through the penthouse on her way to her next assignment, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to reach the prepared birthing room in time, she finds a secluded room to give birth in.
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to before shuffling to her assignment.
    <<else>>
      While waddling through the penthouse on her way to the cafeteria, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to reach the prepared birthing room in time, she finds herself stranded in the middle of all the dining slaves.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and recovers her strength before trying to escape out of sight of the jeering crowd. Finding a servant to give her child to, she hastily heads back to her bed to hide herself from the mockery, though her enormous belly keeps her blanket from covering her.
    <</if>>
  <</if>>
  <</if>>

<</switch>>

<<else>> /* add extra events here (moving between jobs | after work) */
  <<if !canWalk($slaves[$i])>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While stroking her pregnancy absentmindedly, $slaves[$i].slaveName's body begins to birth another of her brood. She carries on until the contractions drag her onto her swollen belly.
    <<ClothingBirth>>
    She draws her child to her breast and rests upon her mass  until a servant collects her child and helps her back to her bed.
  <<else>>
     <<if $seed > 50>>
      While waiting to be helped to her next assignment, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to do anything, she is forced to give birth where she is.
    <<ClothingBirth>>
    She gathers her child and recovers her strength while resuming her wait a servant to help her to her assignment.
    <<else>>
      While eating in the cafeteria, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to move, she finds herself stranded in the middle of all the dining slaves.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and waits to be rescued from the vicious mockery, fully aware of all the gestering and laughter.
    <</if>>
  <</if>>
  <<else>>
  <<if $slaves[$i].fetish == "mindbroken">>
    While wandering the penthouse absentmindedly, $slaves[$i].slaveName's body begins to birth another of her brood. She carries on until the contractions drag her onto her swollen belly.
    <<ClothingBirth>>
    She draws her child to her breast and rests upon her mass  until a servant collects her child and helps her back to her feet.
  <<elseif $slaves[$i].fetish == "humiliation">>
    While waddling through the penthouse between assignments, $slaves[$i].slaveName's body begins to birth another of her brood. Sensing an opportunity, she waddles to the nearest balcony overlooking the city. She calls out, making sure all eyes are on her for what happens next.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to. She resumes her previous task, eager for the next child to move into position.
  <<else>>
     <<if $seed > 50>>
      While waddling through the penthouse on the way to her next assignment, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to reach the prepared birthing room in time, she finds a secluded room to give birth in.
    <<ClothingBirth>>
    She gathers her child and recovers her strength before finding a servant to give her child to before shuffling to her assignment.
    <<else>>
      While waddling through the penthouse on her way to the cafeteria, $slaves[$i].slaveName's body begins to birth another of her brood. Unable to reach the prepared birthing room in time, she finds herself stranded in the middle of all the dining slaves.
    <<set $humiliation = 1>>
    <<ClothingBirth>>
    She gathers her child and recovers her strength before trying to escape out of sight of the jeering crowd. Finding a servant to give her child to, she hastily heads back to her bed to hide herself from the mockery, though her enormous belly keeps her blanket from covering her.
    <</if>>
  <</if>>
  <</if>>

<</if>>

<</widget>>

repo_name: Editoranon/fc