From 85edaeb27f5b73b96272b57eb6f015aa007ac18b Mon Sep 17 00:00:00 2001
From: hexall90 <hexall90@gmail.com>
Date: Sun, 10 Sep 2017 16:28:22 +0200
Subject: [PATCH] Added a small bonus if milk is present in diet

---
 src/init/storyInit.tw        |  2 ++
 src/uncategorized/saDrugs.tw | 70 +++++++++++++++++++++++++++++++-----
 2 files changed, 64 insertions(+), 8 deletions(-)

diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw
index 59f8d16fc66..1f607721e48 100644
--- a/src/init/storyInit.tw
+++ b/src/init/storyInit.tw
@@ -458,9 +458,11 @@ DairyRestraintsSetting($dairyRestraintsSetting)
 <<set $incubatorUpgradeSpeed = 5>>
 <<set $incubatorUpgradeWeight = 0>>
 <<set $incubatorUpgradeMuscles = 0>>
+<<set $incubatorUpgradeGrowthStims = 0>>
 <<set $incubatorUpgradeReproduction = 0>>
 <<set $incubatorWeightSetting = 0>>
 <<set $incubatorMusclesSetting = 0>>
+<<set $incubatorGrowthStimsSetting = 0>>
 <<set $incubatorReproductionSetting = 0>>
 <<set $incubatorName = "the Incubator">>
 <<set $incubatorNameCaps = "The Incubator">>
diff --git a/src/uncategorized/saDrugs.tw b/src/uncategorized/saDrugs.tw
index c467bc65846..b150fff7b10 100644
--- a/src/uncategorized/saDrugs.tw
+++ b/src/uncategorized/saDrugs.tw
@@ -389,23 +389,77 @@
 	<</if>>
 	/*diet*/
 	<<if $slaves[$i].diet == "fattening">>
-		All the food $pronoun's required to consume boosts growth.
+		All the food $pronoun's required to consume boosts growth
+		<<if $slaves[$i].dietMilk == 2>>
+			and the generous amount of added milk enhances its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			and the added milk enhances its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
 		<<set _growth += 0.2>>
 	<<elseif $slaves[$i].diet == "restricted">>
-		$possessiveCap restricted diet means $possessive body has few resources to grow on.
+		$possessiveCap restricted diet means $possessive body has few resources to grow on
+		<<if $slaves[$i].dietMilk == 2>>
+			, but the generous amount of added milk mitigates its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			, but the added milk mitigates its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
 		<<set _growth-->>
 	<<elseif $slaves[$i].diet == "slimming">>
-		$possessiveCap growth is slightly inhibited by $possessive strict diet.
+		$possessiveCap growth is slightly inhibited by $possessive strict diet
+		<<if $slaves[$i].dietMilk == 2>>
+			, but the generous amount of added milk mitigates its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			, but the added milk mitigates its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
 		<<set _growth -= 0.2>>
-	<<elseif $slaves[$i].diet == "muscle building" || $slaves[$i].muscles >= 96>>
-		$possessiveCap workout diet and constant physical excercise help support growth.
-		<<set _growth += 0.5>>
 	<<elseif $slaves[$i].diet == "XY" || $slaves[$i].diet == "XX" || $slaves[$i].diet == "XXY">>
-		$possessiveCap growth is restrained by $possessive sexual hormones rich diet.
+		$possessiveCap growth is restrained by $possessive sexual hormones rich diet
+		<<if $slaves[$i].dietMilk == 2>>
+			, but the generous amount of added milk mitigates its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			, but the added milk mitigates its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
 		<<set _growth -= 0.5>>
 	<<elseif $slaves[$i].diet == "cleansing">>
-		$possessiveCap growth is severely inhibited by $possessive cleansing diet.
+		$possessiveCap growth is severely inhibited by $possessive cleansing diet
+		<<if $slaves[$i].dietMilk == 2>>
+			, but the generous amount of added milk mitigates its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			, but the added milk mitigates its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
 		<<set _growth-->>
+	<<elseif $slaves[$i].diet == "muscle building" || $slaves[$i].muscles >= 96>>
+		$possessiveCap workout diet and constant physical excercise help support growth
+		<<if $slaves[$i].dietMilk == 2>>
+			and the generous amount of added milk enhances its effect.
+			<<set _growth += 0.3>>
+		<<elseif $slaves[$i].dietMilk == 1>>
+			and the added milk enhances its effect.
+		<<set _growth += 0.2>>
+		<<else>>
+			.
+		<</if>>
+		<<set _growth += 0.5>>
 	<</if>>
 	/*health*/
 	<<if $slaves[$i].health > 80>>
-- 
GitLab