From b9a012b7c86820dce38ecd890d12297c1b0fcd12 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Sun, 23 Sep 2018 19:21:46 -0700 Subject: [PATCH] Added nursery --- src/uncategorized/slaveAssignmentsReport.tw | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/uncategorized/slaveAssignmentsReport.tw b/src/uncategorized/slaveAssignmentsReport.tw index f4a37d17e04..f171bccc386 100644 --- a/src/uncategorized/slaveAssignmentsReport.tw +++ b/src/uncategorized/slaveAssignmentsReport.tw @@ -250,6 +250,24 @@ <<if $Attendant == 0>> <<= removeJob($slaves[$i], "be the Attendant")>> <</if>> +<<case "be the Matron">> + <<set $Matron = $slaves[$i]>> + <<if $Matron.fetish == "mindbroken">> + ''__@@.pink;$Matron.slaveName@@__'' is mindbroken @@.yellow;and cannot serve as your Matron any more.@@<br> + <<set $Matron = 0>> + <<elseif $Matron.preg > 37 && $Matron.broodmother == 2>> + ''__@@.pink;$Matron.slaveName@@__'' spends so much time giving birth and laboring that @@.yellow;she cannot effectively serve as your Matron any longer@@. + <<set $Matron = 0>> + <<elseif !canWalk($Matron)>> + ''__@@.pink;$Matron.slaveName@@__'' is no longer independently mobile @@.yellow;and cannot serve as your Matron any more.@@<br> + <<set $Matron = 0>> + <<elseif !canHear($Matron)>> + ''__@@.pink;$Matron.slaveName@@__'' can no longer hear @@.yellow;and cannot serve as your Matron any more.@@<br> + <<set $Matron = 0>> + <</if>> + <<if $Matron == 0>> + <<= removeJob($slaves[$i], "be the Matron")>> + <</if>> <<case "be the Nurse">> <<set $Nurse = $slaves[$i]>> <<if $Nurse.fetish == "mindbroken">> @@ -528,6 +546,7 @@ ["Dairy Report", $dairyNameCaps, $dairy, $dairySlaves, $Milkmaid, "Milkmaid"], ["Schoolroom Report", $schoolroomNameCaps, $schoolroom, $schoolroomSlaves, $Schoolteacher, "Schoolteacher"], ["Spa Report", $spaNameCaps, $spa, $spaSlaves, $Attendant, "Attendant"], + ["Nursery Report", $nurseryNameCaps, $nursery, $nurserySlaves, $Matron, "Matron"], /** ["Lab Report"], "Research Lab", $researchLab.built, $researchLab.hired + $researchLab.menials, -1, -1], **/ ["Servants' Quarters Report", $servantsQuartersNameCaps, $servantsQuarters, $servantsQuartersSlaves, $Stewardess, "Stewardess"], ["Incubator Report", $incubatorNameCaps, $incubator, $incubatorSlaves, -1, -1], -- GitLab