From b1f45d05ed3bdc6830440c666c1447b1f7600b17 Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Sun, 23 Sep 2018 19:05:14 -0700
Subject: [PATCH] Nursery stuff

---
 src/js/assayJS.tw | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/js/assayJS.tw b/src/js/assayJS.tw
index bd686508b72..f3c239ac12f 100644
--- a/src/js/assayJS.tw
+++ b/src/js/assayJS.tw
@@ -224,7 +224,7 @@ window.inferiorRaceP = function inferiorRaceP(slave) {
 
 window.isLeaderP = function isLeaderP(slave) {
 	const V = State.variables;
-	const leaders = [V.HeadGirl, V.Bodyguard, V.Recruiter, V.Concubine, V.Nurse, V.Attendant, V.Madam, V.DJ, V.Milkmaid, V.Stewardess, V.Schoolteacher, V.Wardeness];
+	const leaders = [V.HeadGirl, V.Bodyguard, V.Recruiter, V.Concubine, V.Nurse, V.Attendant, V.Matron, V.Madam, V.DJ, V.Milkmaid, V.Stewardess, V.Schoolteacher, V.Wardeness];
 	return leaders.some(leader => leader.ID && leader.ID === slave.ID);
 };
 
@@ -972,6 +972,9 @@ window.PCTitle = function PCTitle() {
 	if (V.arcadeSlaves >= 15) {
 		titles.push("Comptroller of the Arcade");
 	}
+	if (V.nurserySlave >= 10) {
+		titles.push("Caretaker of the Infants");
+	}
 
 	let schoolsPresent = [], schoolsPerfected = [], schoolTitle = "";
 	if (V.TSS.schoolProsperity >= 10) {
@@ -1487,6 +1490,7 @@ window.DegradingName = function DegradingName(slave) {
 	const V = State.variables;
 	const leadershipPosition = [
 		"be the Attendant",
+		"be the Matron",
 		"be the Stewardess",
 		"be the Milkmaid",
 		"be the DJ",
@@ -1824,6 +1828,9 @@ window.DegradingName = function DegradingName(slave) {
 			case "be the Attendant":
 				slave.slaveName = jsEither(["Bath", "Spa"]);
 				break;
+			case "be the Matron":
+				slave.slaveName = jsEither(["Nursery", "Matron"]);
+				break;
 			case "be the Stewardess":
 				slave.slaveName = jsEither(["Servant", "Maid"]);
 				break;
-- 
GitLab