You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized remote surgery<<else>>remote surgery<</if>> and start having the slaves with <<if ($organsCompleted > 0) && ($limbsCompleted > 0)>>completedOrgans or limbs <<elseif ($organsCompleted > 1)>>completedOrgans <<elseif ($limbsCompleted > 1)>>sets of limbs <</if>>that are ready be sent down.
You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized remote surgery<<else>>remote surgery<</if>> and start having the slaves with <<if ($organsCompleted > 0) && ($limbsCompleted > 0)>>completedOrgans or limbs <<elseif ($organsCompleted > 1)>>completedOrgans <<elseif ($limbsCompleted > 1)>>sets of limbs <</if>>that are ready be sent down.
/* reorder $completedOrgans to insure organs are implanted in the correct order */
<<set _newOrgans = []>>
<<for _i = 0; _i < $slaves.length; _i++>>
<<set _slaveOrgans = []>>
<<set slaveOrgans = {
penis: 0,
testicles: 0,
scrotum: 0,
pigTesticles: 0,
dogTesticles: 0,
foreskin: 0,
ovaries: 0,
prostate: 0,
pigOvaries: 0,
dogOvaries: 0,
eyes: 0,
voicebox: 0,
mpreg: 0,
mpregPig: 0,
mpregDog: 0}>>
/* collects all organs of the interrogated slave and note the types */