From e572c0599199f10eb07ddf876a21123b7fffab95 Mon Sep 17 00:00:00 2001
From: Echoart <9966-Echoart@users.noreply.gitgud.io>
Date: Mon, 11 Feb 2019 19:22:02 -0800
Subject: [PATCH] youthpref-low namelist check

---
 src/npc/takeoverTarget.tw | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/npc/takeoverTarget.tw b/src/npc/takeoverTarget.tw
index 0a3e42fe8c4..a6507ad1027 100644
--- a/src/npc/takeoverTarget.tw
+++ b/src/npc/takeoverTarget.tw
@@ -116,7 +116,12 @@ Alternatively, arcologies are being built every day, and their owners' control i
 	<<case "TransformationFetishist">><<set $targetArcology.name = setup.ArcologyNamesTransformationFetishist.random()>>
 	<<case "BodyPurist">><<set $targetArcology.name = setup.ArcologyNamesBodyPurist.random()>>
 	<<case "MaturityPreferentialist">><<set $targetArcology.name = setup.ArcologyNamesMaturityPreferentialist.random()>>
-	<<case "YouthPreferentialist">><<set $targetArcology.name = setup.ArcologyNamesYouthPreferentialist.random()>>
+	<<case "YouthPreferentialist">>
+		<<if $minimumSlaveAge < 14>>
+		    <<set $targetArcology.name = setup.ArcologyNamesYouthPreferentialistLow.random()>>
+		<<else>>
+			<<set $targetArcology.name = setup.ArcologyNamesYouthPreferentialist.random()>>
+		<</if>>
 	<<case "Pastoralist">><<set $targetArcology.name = setup.ArcologyNamesPastoralist.random()>>
 	<<case "PhysicalIdealist">><<set $targetArcology.name = setup.ArcologyNamesPhysicalIdealist.random()>>
 	<<case "ChattelReligionist">><<set $targetArcology.name = setup.ArcologyNamesChattelReligionist.random()>>
-- 
GitLab