From 7bab1aeabc81d12423a46db0e40a9e1f5aeca28f Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Thu, 21 Feb 2019 10:46:57 -0500
Subject: [PATCH] Fixed implant size concerns

---
 src/uncategorized/saDrugs.tw           | 4 ++--
 src/uncategorized/saLongTermEffects.tw | 6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/saDrugs.tw b/src/uncategorized/saDrugs.tw
index 483c6985d72..33e6d0712d8 100644
--- a/src/uncategorized/saDrugs.tw
+++ b/src/uncategorized/saDrugs.tw
@@ -1022,8 +1022,8 @@
 		<<set _factor = 1>>
 	<</if>>
 	<<set $slaves[$i].weight += _factor>>
-	<<if ($slaves[$i].geneMods.NCS == 1) && ($slaves[$i].boobsImplant > 200)>>
-		<<set _shrinkage *= 2>>
+	<<if ($slaves[$i].geneMods.NCS == 1) && (($slaves[$i].boobs-$slaves[$i].boobsImplant-$slaves[$i].boobsMilk) > 200)>>
+		<<set _factor *= 2>>
 	<</if>>
 	<<set $slaves[$i].boobs -= 100*_factor>>
 
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index 9567398905c..c0903ed4331 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -2358,7 +2358,11 @@
 	<</if>>
 <</if>>
 
-<<if ($slaves[$i].boobsImplant > 1000)>>
+<<if ($slaves[$i].boobsImplant >= $slaves[$i].boobs+$slaves[$i].boobsMilk)>>
+	/* catch in case breast implants get larger than boobs */
+	$His breast tissue has naturally @@.lime;stretched and grown@@ to accommodate $his implants better.
+	<<set $slaves[$i].boobs = $slaves[$i].boobsImplant+$slaves[$i].boobsMilk+10>>
+<<elseif ($slaves[$i].boobsImplant > 1000)>>
 	<<if ($slaves[$i].boobs-$slaves[$i].boobsImplant < 1000)>>
 		<<if (random(1,100) > 60)>>
 			$His breast tissue has naturally @@.lime;stretched and grown@@ to accommodate $his massive implants a bit better.
-- 
GitLab