From 7e0b6db00562dadc6d671168a1e48fcf21ae3426 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 15 Dec 2020 11:41:36 -0500
Subject: [PATCH] polish

---
 src/npc/startingGirls/editFamily.js | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/npc/startingGirls/editFamily.js b/src/npc/startingGirls/editFamily.js
index cbb97f6d37e..04a9c67e743 100644
--- a/src/npc/startingGirls/editFamily.js
+++ b/src/npc/startingGirls/editFamily.js
@@ -1,6 +1,7 @@
 App.Intro.editFamily = function(slave) {
 	const el = new DocumentFragment();
 	const _allowPCFamily = (V.freshPC === 1 || V.saveImported === 0);
+	const {His} = getPronouns(slave);
 
 	// Checks to make sure a slave is not the active slave's parent.
 	const isNotMom = (s) => ((s.mother !== slave.mother) || (slave.mother === 0));
@@ -12,9 +13,13 @@ App.Intro.editFamily = function(slave) {
 	familyTable.append(summary());
 	familyTable.append(makeElWithID("dont-be-dumb"));
 	familyTable.append(mother());
-	familyTable.append(sameMotherAs());
+	if (slave.mother) {
+		familyTable.append(sameMotherAs());
+	}
 	familyTable.append(father());
-	familyTable.append(sameFatherAs());
+	if (slave.father) {
+		familyTable.append(sameFatherAs());
+	}
 	familyTable.append(motherOfTheChildren());
 	familyTable.append(fatherOfTheChildren());
 	if (_allowPCFamily) {
@@ -138,7 +143,7 @@ App.Intro.editFamily = function(slave) {
 		const div = document.createElement("div");
 		const linkArray = [];
 
-		div.append("Same mother as: ");
+		div.append(`${His} mom, ${getSlave(slave.mother).slaveName}, is also the mom of: `);
 
 		const nameEl = makeElWithID("sameMotherNames", "span");
 		nameEl.append(App.StartingGirls.listOfSlavesWithParent('mother', slave.mother), " ");
@@ -200,7 +205,7 @@ App.Intro.editFamily = function(slave) {
 		const div = document.createElement("div");
 		const linkArray = [];
 
-		div.append("Same father as: ");
+		div.append(`${His} dad, ${getSlave(slave.father).slaveName}, is also the father of: `);
 
 		const nameEl = makeElWithID("sameFatherNames", "span");
 		nameEl.append(App.StartingGirls.listOfSlavesWithParent('father', slave.father), " ");
-- 
GitLab