From 4b136d4991b644b88613fa898cf32f76541b5d1f Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Wed, 3 Mar 2021 20:48:59 -0800
Subject: [PATCH] Make the committed slave list into slave description dialog
 links, because we can...

---
 src/npc/startingGirls/startingGirlsPassage.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/npc/startingGirls/startingGirlsPassage.js b/src/npc/startingGirls/startingGirlsPassage.js
index 6a85dd017b0..f565fe72f9d 100644
--- a/src/npc/startingGirls/startingGirlsPassage.js
+++ b/src/npc/startingGirls/startingGirlsPassage.js
@@ -24,10 +24,14 @@ App.StartingGirls.passage = function() {
 		}
 	} else {
 		const pronoun = V.slaves.length > 1 ? "they" : getPronouns(V.slaves[0]).he;
-		r.push(`${toSentence(V.slaves.map(s => SlaveFullName(s)))}'s records have been finalized; ${pronoun} will arrive with you when you take over your new arcology.`);
+		const makePlaceholder = (slave) => `<span id="placeholder-${slave.ID}"></span>`;
+		r.push(`${toSentence(V.slaves.map(s => makePlaceholder(s)))}'s records have been finalized; ${pronoun} will arrive with you when you take over your new arcology.`);
 	}
 	r.push(App.UI.DOM.makeElement("div", "Current cash reserves can be found on the far left sidebar."));
 	App.Events.addNode(el, r, "p");
+	for (const slave of V.slaves) {
+		$(el).find(`#placeholder-${slave.ID}`).replaceWith(App.UI.DOM.slaveDescriptionDialog(slave));
+	}
 
 	const headerLinks = App.UI.DOM.appendNewElement("div", el);
 	linkArray.push(
-- 
GitLab