From 017ca7f64f7400d527864930eca1045ec6684ad0 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Sat, 25 Apr 2020 12:44:14 -0700 Subject: [PATCH] More state fixes --- src/facilities/nursery/nurseryWidgets.js | 44 +++--------------------- 1 file changed, 4 insertions(+), 40 deletions(-) diff --git a/src/facilities/nursery/nurseryWidgets.js b/src/facilities/nursery/nurseryWidgets.js index f35053ae806..b86c3666dde 100644 --- a/src/facilities/nursery/nurseryWidgets.js +++ b/src/facilities/nursery/nurseryWidgets.js @@ -14795,6 +14795,7 @@ App.Facilities.Nursery.infantToChild = function infantToChild(child) { child.hStyle = "long", child.haircuts = 0, child.headAccessory = "none", + child.health = {}; setHealth(child, jsRandom(80, 100), 0, 0, 0, 0); child.hears = 0, child.heels = 0, @@ -14813,6 +14814,7 @@ App.Facilities.Nursery.infantToChild = function infantToChild(child) { child.lactation = 0, child.lactationAdaptation = 0, child.lactationDuration = 0, + child.rules = new App.Entity.RuleState(), child.rules.lactation = "none", child.legAccessory = "none", child.legsTat = 0, @@ -16870,46 +16872,8 @@ App.Facilities.Nursery.ChildState = class ChildState { * * "Paternalist" * @type {string|number} */ this.stampTat = 0; - /** - * * "spare" - * * "normal" - * * "luxurious" - */ - this.rules.living = "spare"; - /** - * * "restrictive" - * * "permissive" - * * "accent elimination" - * * "language lessons" - */ - this.rules.speech = "restrictive"; - this.rules.release = new App.Entity.ReleaseRulesState(); - /** - * * "restrictive" - * * "just friends" - * * "permissive" - */ - this.rules.relationship = "restrictive"; - /** - * * "none" - * * "induce" - * * "maintain" - */ - this.rules.lactation = "none"; - /** - * * "confinement" - * * "whipping" - * * "chastity" - * * "situational" - */ - this.rules.punishment = "situational"; - /** - * * "relaxation" - * * "drugs" - * * "orgasm" - * * "situational" - */ - this.rules.reward = "situational"; + /** rules */ + this.rules = new App.Entity.RuleState(); /** Follows rules or is exempt from them * * 0: exempt; 1: obeys */ -- GitLab