From e3048fb2daa7ac7b9e1fb6dffd1df55b675ff0cb Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 13 Mar 2021 14:17:07 -0500
Subject: [PATCH] reRelativeRecruiter.js touchups

---
 src/events/RE/reRelativeRecruiter.js     | 13 +++++++++++++
 src/npc/generate/generateRelatedSlave.js | 10 ++++++++++
 2 files changed, 23 insertions(+)

diff --git a/src/events/RE/reRelativeRecruiter.js b/src/events/RE/reRelativeRecruiter.js
index f1405dfab40..3514ebf9f07 100644
--- a/src/events/RE/reRelativeRecruiter.js
+++ b/src/events/RE/reRelativeRecruiter.js
@@ -9,6 +9,7 @@ App.Events.RERelativeRecruiter = class RERelativeRecruiter extends App.Events.Ba
 				s => s.fetish !== "mindbroken",
 				s => s.fuckdoll === 0,
 				s => s.devotion > 50,
+				s => s.newGamePlus !== 1,
 				s => s.canRecruit === 1 && (totalRelatives(s) === 0 || V.limitFamilies !== 1),
 				s => this._chooseTargetRelative(s)
 			]
@@ -580,6 +581,18 @@ App.Events.RERelativeRecruiter = class RERelativeRecruiter extends App.Events.Ba
 				slave.chem = 0;
 				slave.weekAcquired = V.week;
 				randomizeAttraction(slave); // already randomized by generateRelatedSlave, but energy might have changed, so do it again
+				slave.prestige = 0;
+				slave.prestigeDesc = 0;
+				slave.porn.feed = 0;
+				slave.porn.viewerCount = 0;
+				slave.porn.spending = 0;
+				slave.porn.prestige = 0;
+				slave.porn.prestigeDesc = 0;
+				slave.porn.fameType = "none";
+				slave.porn.focus = "none";
+				for (const genre of App.Porn.getAllGenres()) {
+					slave.porn.fame[genre.fameVar] = 0;
+				}
 			}
 
 			/** @param {App.Entity.SlaveState} slave - record cloned from genepool */
diff --git a/src/npc/generate/generateRelatedSlave.js b/src/npc/generate/generateRelatedSlave.js
index 6230dbd8c7f..0d3918fbde8 100644
--- a/src/npc/generate/generateRelatedSlave.js
+++ b/src/npc/generate/generateRelatedSlave.js
@@ -483,6 +483,11 @@ globalThis.generateRelatedSlave = (function() {
 		// swap attraction
 		[slave.attrXX, slave.attrXY] = [slave.attrXY, slave.attrXX];
 
+		// consider face
+		if (slave.faceShape === "masculine") {
+			slave.faceShape = either("androgynous", "androgynous", "cute", "cute", "exotic", slave.faceShape, "normal", "normal", "sensual");
+		}
+
 		// adjust voice and hair
 		slave.voice = Math.min(3, slave.voice + 1);
 		slave.hLength = 60;
@@ -538,6 +543,11 @@ globalThis.generateRelatedSlave = (function() {
 		// swap attraction
 		[slave.attrXX, slave.attrXY] = [slave.attrXY, slave.attrXX];
 
+		// consider face
+		if (slave.faceShape !== "masculine" && slave.faceShape !== "androgynous") {
+			slave.faceShape = either("androgynous", "masculine", slave.faceShape, slave.faceShape);
+		}
+
 		// adjust voice and hair
 		slave.voice = Math.max(1, slave.voice - 1);
 		slave.hLength = 10;
-- 
GitLab