From 4d883aca0875fe60ad6fda277f14b9d30f3cd85b Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Wed, 12 Dec 2018 18:27:22 -0500 Subject: [PATCH] more lactation logic tweaks --- devNotes/VersionChangeLog-Premod+LoliMod.txt | 2 +- src/uncategorized/saLongTermEffects.tw | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 64d44042ac6..e0e5b1b58ff 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -5,7 +5,7 @@ 12/12/2018 2 - -tweaked natural lactation logic (now decreases at week start and engorges at week end) + -tweaked natural lactation logic (now decreases at endWeek start and engorges at endWeek end) -added a rule for facility heads to direct them on how to handle their lactation -fixes diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index 577c8c53d58..f1d7a1e1ad1 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -6590,25 +6590,29 @@ The powerful lactation drugs $he's implanted with @@.lime;gradually swell $his enormous breasts.@@ <<set $slaves[$i].boobs += 25>> <</if>> + <<set $slaves[$i].lactationDuration = 2>> <</if>> /* LACTATION EFFECTS */ <<if ($slaves[$i].lactation == 1)>> - <<if $slaves[$i].lactationDuration == 0>> - Without regular use, $his lactation has @@.orange;dried up.@@ - <<set $slaves[$i].boobs -= $slaves[$i].boobsMilk>> - <<set $slaves[$i].boobsMilk = 0, $slaves[$i].lactation = 0>> - <<elseif $slaves[$i].lactationDuration == 1>> - Without release, $his breasts have become @@.lime;<<if $slaves[$i].lactationAdaptation > 50>>massively <</if>>engorged@@ with pent-up milk. + <<if $slaves[$i].boobsMilk > 0>> + /*Without release, $his breasts have become @@.lime;<<if $slaves[$i].lactationAdaptation > 50>>massively <</if>>engorged@@ with pent-up milk.*/ /* I don't know where to put this since it happens at the tail end of endWeek now */ <<if $slaves[$i].boobs+$slaves[$i].boobsMilk > $slaves[$i].boobs*2>> - Being bloated to the point of bursting is @@.red;incredibly painful.@@ + Having breasts bloated to the point of bursting is @@.red;incredibly painful.@@ Spending a week like that is exruciating, <<set $slaves[$i].health -= 20>> <<elseif $slaves[$i].boobs+$slaves[$i].boobsMilk > $slaves[$i].boobs*.5>> - Being so swollen is @@.red;very uncomfortable.@@ + Having breasts so swollen with milk that every motion hurts is @@.red;very uncomfortable.@@ Spending a week like that only makes it worse, <<set $slaves[$i].health -= 5>> + <<else>> + $He spends the week with breasts aching for release, <</if>> <</if>> + <<if $slaves[$i].lactationDuration == 0>> + but without regular use, $his lactation finally @@.orange;dries up@@ and $he can be drained without encouraging it. + <<set $slaves[$i].boobs -= $slaves[$i].boobsMilk>> + <<set $slaves[$i].boobsMilk = 0, $slaves[$i].lactation = 0>> + <</if>> <</if>> <<if ($slaves[$i].boobs - ($slaves[$i].muscles*30) > 5000) && ($slaves[$i].boobs <= 8000) && ($slaves[$i].boobsImplant < 500) && ($slaves[$i].breastMesh != 1)>> -- GitLab