From 4f6f92178723ce50e4f9d1ececdf247e0859bc6e Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 8 Sep 2019 22:53:19 -0400
Subject: [PATCH] law compliance tweak

---
 src/uncategorized/lawCompliance.tw | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/uncategorized/lawCompliance.tw b/src/uncategorized/lawCompliance.tw
index 2fae774e361..3dede282120 100644
--- a/src/uncategorized/lawCompliance.tw
+++ b/src/uncategorized/lawCompliance.tw
@@ -17,6 +17,10 @@
 		<</if>>
 	<</if>>
 	<<set $activeSlave.pubertyXX = 1>>
+	<<if $activeSlave.ovaryAge >= 42>>
+		/* corrects menopausal mothers */
+		<<set $activeSlave.ovaryAge = 40>>
+	<</if>>
 	<<if $activeSlave.preg < 1>> /* "if" needed here to avoid conflicts with already pregnant slaves from repopulation FS arcologies markets */
 		<<set $activeSlave.ovaries = 1>>
 		<<set $activeSlave.vagina = either(0, 0, 1, 1, 1, 1, 1, 2, 2, 3)>>
-- 
GitLab