From a9e5252877a7bbfde87966effb72e5391b0107f2 Mon Sep 17 00:00:00 2001 From: DCoded <dicoded@email.com> Date: Sat, 21 Aug 2021 16:18:27 -0400 Subject: [PATCH] Readded V.nurserySex --- src/facilities/nursery/nursery.js | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/facilities/nursery/nursery.js b/src/facilities/nursery/nursery.js index 0f9d2bdba69..de573c13fe3 100644 --- a/src/facilities/nursery/nursery.js +++ b/src/facilities/nursery/nursery.js @@ -178,24 +178,24 @@ App.Facilities.Nursery.nursery = class Nursery extends App.Facilities.Facility { }, ], }, - // { - // property: "nurserySex", - // prereqs: [ - // () => !!V.extremeUnderage, - // ], - // options: [ - // { - // get text() { return `${capFirstChar(V.nurseryName)} staff are not allowed to molest the children.`; }, - // link: `Forbid`, - // value: 0, - // }, - // { - // get text() { return `${capFirstChar(V.nurseryName)} staff are allowed to molest the children.`; }, - // link: `Allow`, - // value: 1, - // }, - // ], - // }, + { + property: "nurserySex", + prereqs: [ + () => !!V.extremeUnderage, + ], + options: [ + { + get text() { return `${capFirstChar(V.nurseryName)} staff are not allowed to molest the children.`; }, + link: `Forbid`, + value: 0, + }, + { + get text() { return `${capFirstChar(V.nurseryName)} staff are allowed to molest the children.`; }, + link: `Allow`, + value: 1, + }, + ], + }, // TODO: really not happy with most of these – rework these // { // property: "nurseryWeightSetting", -- GitLab