diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index 29f262e8d6374fd343009d3412d4c9e4b49fad7b..7a2b9f8c126fe368c0b8bfbc0bf06de676cdca91 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -979,7 +979,7 @@ window.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { } slave.heels = Math.clamp(+slave.heels, 0, 1) || 0; slave.amp = Math.clamp(+slave.amp, -5, 1) || 0; - if (slave.amp == 1) { + if (slave.amp === 1) { slave.missingArms = 3; slave.missingLegs = 3; } @@ -1784,6 +1784,7 @@ window.FacilityDatatypeCleanup = (function() { CellblockDatatypeCleanup(); MasterSuiteDatatypeCleanup(); HeadGirlSuiteDatatypeCleanup(); + NurseryDatatypeCleanup(); V.Recruiter = V.slaves.find(s => s.assignment === "recruit girls") || 0; V.Bodyguard = V.slaves.find(s => s.assignment === "guard you") || 0; @@ -2012,6 +2013,11 @@ window.FacilityDatatypeCleanup = (function() { V.HGSuiteHormones = 1; } } + + function NurseryDatatypeCleanup() { + /* matron */ + V.Matron = V.slaves.find(s => s.assignment === "be the Matron") || 0; + } })();