From 3fb472efe1be2a3bb4c4fb6b0c6a46727285559d Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Wed, 1 Mar 2023 15:41:19 -0500
Subject: [PATCH] Matchmaking close relatives in a society that embraces incest
 loses less trust.

---
 src/npc/interaction/passage/matchmaking.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/npc/interaction/passage/matchmaking.js b/src/npc/interaction/passage/matchmaking.js
index ee70c9ba037..dc21d0842c4 100644
--- a/src/npc/interaction/passage/matchmaking.js
+++ b/src/npc/interaction/passage/matchmaking.js
@@ -218,6 +218,11 @@ App.Interact.matchmaking = function(slave) {
 			slave.trust -= 10;
 			subSlave.trust -= 10;
 		}
+		if ((V.arcologies[0].FSEgyptianRevivalistIncestPolicy > 0 || V.arcologies[0].FSEgyptianRevivalist !== "unset") && areRelated(slave, subSlave)) {
+			r.push(`They've been influenced by your arcology's constant efforts to normalize slave incest, and <span class="trust inc">trust</span> that their relationship will be strengthened by their close familial ties.`);
+			slave.trust += 10;
+			subSlave.trust += 10;
+		}
 		App.Events.addParagraph(frag, r);
 
 		return frag;
-- 
GitLab