From d7e566441fa1141bb85ee04f43e1f59ccc361312 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Thu, 13 Dec 2018 17:43:37 -0500 Subject: [PATCH] fixes --- devNotes/VersionChangeLog-Premod+LoliMod.txt | 5 ++++- devNotes/twine JS.txt | 2 +- player variables documentation - Pregmod.txt | 11 +++++++++++ src/js/generateGenetics.tw | 2 +- src/uncategorized/clinicReport.tw | 4 ++-- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 77c7c6c6c7c..3ab9764c8e7 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,8 +4,11 @@ 12/13/2018 + 5 + -fixes + 4 - -critical bug fix to genetics corruption + -critical bug fix for genetics corruption 12/12/2018 diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 3c023d72f7f..1b5c63af05a 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -10626,7 +10626,7 @@ window.generateChild = function(mother, ova, destination) { } } } else { - child.slaveName = `${genes.motherName}'s bastard son`; + child.slaveName = `${genes.motherName}'s bastard daughter`; let currentMother = getSlave(genes.mother); if (currentMother !== undefined) { if (currentMother.slaveSurname !== 0 && currentMother.slaveSurname !== "") { diff --git a/player variables documentation - Pregmod.txt b/player variables documentation - Pregmod.txt index cede3d845f6..6940565edbc 100644 --- a/player variables documentation - Pregmod.txt +++ b/player variables documentation - Pregmod.txt @@ -159,6 +159,17 @@ boobs: 0 - masculine chest (if title = 1) or flat chested (if title = 0)(WIP) 1 - feminine bust +lactation: + +is player lactating +0 - no +1 - yes + +lactationDuration: + +how many more weeks the player will lactate for +0+ + career: Your career before becoming owner diff --git a/src/js/generateGenetics.tw b/src/js/generateGenetics.tw index 1163c65a9a4..857a1932200 100644 --- a/src/js/generateGenetics.tw +++ b/src/js/generateGenetics.tw @@ -548,7 +548,7 @@ window.generateChild = function(mother, ova, destination) { } } } else { - child.slaveName = `${genes.motherName}'s bastard son`; + child.slaveName = `${genes.motherName}'s bastard daughter`; let currentMother = getSlave(genes.mother); if (currentMother !== undefined) { if (currentMother.slaveSurname !== 0 && currentMother.slaveSurname !== "") { diff --git a/src/uncategorized/clinicReport.tw b/src/uncategorized/clinicReport.tw index 4d3bbc020dc..2c0fca1a9a0 100644 --- a/src/uncategorized/clinicReport.tw +++ b/src/uncategorized/clinicReport.tw @@ -252,7 +252,7 @@ <<set $slaves[$i].livingRules = "spare">> <</switch>> - <<if ($Nurse != 0) + <<if ($Nurse != 0)>> <<if ($clinicSpeedGestation == 1) && ($slaves[$i].pregKnown == 1)>> <<set $slaves[$i].pregControl = "speed up">> <</if>> @@ -264,7 +264,7 @@ <<set $slaves[$i].chem = Math.max($slaves[$i].chem, 0)>> <</if>> <<if $slaves[$i].lactation == 1>> - <<set $slaves[$i].boobsMilk = 0>> + <<set $slaves[$i].boobs -= $slaves[$i].boobsMilk, $slaves[$i].boobsMilk = 0>> <</if>> <</if>> <<if ($slaves[$i].health <= 40)>> -- GitLab