Skip to content
Snippets Groups Projects
Commit 017ca7f6 authored by svornost's avatar svornost
Browse files

More state fixes

parent a67174e2
No related branches found
No related tags found
1 merge request!6685Fix nursery datatype inconsistencies
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment