From 61fb01992d662038336bd44c8fca6c3b1093b29e Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 15 Feb 2021 22:31:19 -0500
Subject: [PATCH] Prostate implant governed by dairy implant setting

---
 src/endWeek/reports/dairyReport.js | 2 +-
 src/uncategorized/dairy.tw         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/endWeek/reports/dairyReport.js b/src/endWeek/reports/dairyReport.js
index 699c0dca80e..e067c473306 100644
--- a/src/endWeek/reports/dairyReport.js
+++ b/src/endWeek/reports/dairyReport.js
@@ -535,7 +535,7 @@ App.EndWeek.dairyReport = function() {
 		}
 
 		// Prostate growth
-		if (slave.prostate === 1) {
+		if (slave.prostate === 1 && V.dairyImplantsSetting <= 1) {
 			slave.prostate = 2;
 			cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave);
 			surgeryDamage(slave, 10);
diff --git a/src/uncategorized/dairy.tw b/src/uncategorized/dairy.tw
index f3b5d9a38af..cc6b34c8e80 100644
--- a/src/uncategorized/dairy.tw
+++ b/src/uncategorized/dairy.tw
@@ -621,7 +621,7 @@
 				[[Restrict maximization surgery on cattle|Dairy][$dairyImplantsSetting = 2]]
 			</div>
 		<<else>>
-			Naturally lactating cows, cows with non-lactating breasts, and cows incapable of producing cum will undergo lactation implant surgery to increase their milk output.
+			Naturally lactating cows, cows with non-lactating breasts, and cows incapable of producing cum will undergo lactation implant surgery to increase their milk output. Cows with working prostates will have then enhanced.
 			<div class="choices">
 				[[Maximize lactation in all cattle|Dairy][$dairyImplantsSetting = 1]] |
 				[[Restrict maximization surgery on cattle|Dairy][$dairyImplantsSetting = 2]] |
-- 
GitLab