:: FSlaveImpreg [nobr]

<<set $impregnatrix = 0>>
<<set $AS = $activeSlave.ID>>

<p class="scene-intro">
	<<= getSlave($AS).slaveName>> is fertile; now you must select a slave with both a penis and potent testicles.
</p>

<h3>Select an eligible slave to serve as the semen donatrix</h3>

<<set _eligibles = $slaves.filter((s) => (s.ID != getSlave($AS).ID) && canImpreg(getSlave($AS), s))>>
<<for _i = 0; _i < _eligibles.length; _i++>>
	<<set _name = SlaveFullName(_eligibles[_i])>>
	<div>
		<<print "[[_name|FSlaveImpreg Consummate][$impregnatrix = _eligibles[" + _i + "]]]">>
		<<if _eligibles[_i].custom.label>>
			(@@.yellow;''<<print _eligibles[_i].custom.label>>''@@)
		<</if>>
		<<if totalRelatives(getSlave($AS)) > 0>>
			<<set _relTerm = relativeTerm(getSlave($AS), _eligibles[_i])>>
			<<if _relTerm != null>>
				@@.lightgreen;<<= capFirstChar(_relTerm)>>@@
			<</if>>
		<</if>> /* closes extended family mode */
	</div>
<</for>>
<<if (_eligibles.length === 0)>>
	//You have no slaves capable of inseminating others.//
<</if>>

src/npc/interaction/passage/fSlaveImpreg.tw