From d82b4aee476bea7fa9f704a1246331ff9994ccc4 Mon Sep 17 00:00:00 2001
From: turnop <17540-turnop@users.noreply.gitgud.io>
Date: Mon, 21 Sep 2020 11:47:40 -0700
Subject: [PATCH] fixes assholeknight generation some

---
 src/events/scheduled/assholeKnight.tw | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/events/scheduled/assholeKnight.tw b/src/events/scheduled/assholeKnight.tw
index 9c10209da56..2a4fcecfb6a 100644
--- a/src/events/scheduled/assholeKnight.tw
+++ b/src/events/scheduled/assholeKnight.tw
@@ -21,15 +21,10 @@ This singular Knight has apparently been using their position to extort and bull
 	<<replace "#result">>
 	You have the insolent Knight's gear and weapons confiscated, then publicly flog him in the plaza and annouce that he's to be enslaved for crimes against the people of $arcologies[0].name. Although the watching peasants are clearly @@.green;relieved@@ that the cruel bully is off the streets, some of them, those who did not feel the fist of the howling man on their own neck, @@.red;recoil@@ somewhat at the sudden brutality against a class that most of them idolize and romanticize.
     <<run repX(1000, "event")>>
-    <<set $activeSlave = GenerateNewSlave()>>
-    <<run newSlave($activeSlave)>>
     <<set $activeSlaveOneTimeMinAge = 22>>
     <<set $activeSlaveOneTimeMaxAge = 34>>
-	<<set $activeSlave.actualAge = $activeSlave.actualAge+1>>
-	<<set $activeSlave.visualAge = $activeSlave.actualAge>>
-	<<set $activeSlave.physicalAge = $activeSlave.actualAge>>
-	<<set $activeSlave.ovaryAge = $activeSlave.actualAge>>
-	<<set $activeSlave.genes = "XY">>
+	<<set $activeSlave = GenerateNewSlave(XY)>>
+	<<run newSlave($activeSlave)>>
 	<<set $activeSlave.origin = "$He used to be a prestigious Knight in your arcology, until you had $him enslaved for cruelly abusing citizens beneath $his stature.">>
 	<<set $activeSlave.career = "spec ops">>
     <<set $activeSlave.devotion = random(-80,-60)>>
-- 
GitLab