From bcc98b346ec46093e80c687cbf8a1ac9c83d8414 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Wed, 18 Dec 2019 23:44:32 -0800
Subject: [PATCH] Mark the PC's siblings in the slave lists, as we do with
 their parents and children.

---
 src/js/slaveSummaryWidgets.js | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js
index 0ba6735a956..fdc22b94052 100644
--- a/src/js/slaveSummaryWidgets.js
+++ b/src/js/slaveSummaryWidgets.js
@@ -3838,6 +3838,18 @@ window.SlaveSummaryUncached = (function() {
 			addText(block, `${V.missingTable[slave.mother].fullName}'s `);
 			makeSpan(block, `${getPronouns(slave).daughter}.`, "lightgreen");
 		}
+		if (areSisters(V.PC, slave) > 0) {
+			addText(block, `Your `);
+			if (slave.relationship === -3) {
+				makeSpan(block, `${relativeTerm(V.PC, slave)} and ${getPronouns(slave).wife}.`, "lightgreen");
+				handled = 1;
+			} else if (slave.relationship === -2) {
+				makeSpan(block, `${relativeTerm(V.PC, slave)} and lover.`, "lightgreen");
+				handled = 1;
+			} else {
+				makeSpan(block, `${relativeTerm(V.PC, slave)}.`, "lightgreen");
+			}
+		}
 		if (slave.daughters === 1) {
 			let _ssj = V.slaves.findIndex(s => s.mother === slave.ID);
 			if (_ssj !== -1) {
@@ -3898,7 +3910,7 @@ window.SlaveSummaryUncached = (function() {
 				addText(block, `${SlaveFullName(V.slaves[_ssj])}'s `);
 				makeSpan(block, `${friendship}.`, "lightgreen");
 			}
-		} else if (slave.relationship === -3 && slave.mother !== -1 && slave.father !== -1) {
+		} else if (slave.relationship === -3 && slave.mother !== -1 && slave.father !== -1 && areSisters(V.PC, slave) === 0) {
 			makeSpan(block, `Your ${getPronouns(slave).wife}.`, "lightgreen");
 		} else if (slave.relationship === -2) {
 			makeSpan(block, "Emotionally bonded to you.", "lightgreen");
-- 
GitLab