From 273232d661659e4dac6140b8f406c1d2968ea443 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 25 Jan 2021 17:33:24 -0500
Subject: [PATCH] Arcologies go not culturally influence themselves

---
 src/neighbor/arcologyDiplomacy.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/neighbor/arcologyDiplomacy.js b/src/neighbor/arcologyDiplomacy.js
index e9931855a14..a49fec03391 100644
--- a/src/neighbor/arcologyDiplomacy.js
+++ b/src/neighbor/arcologyDiplomacy.js
@@ -8,6 +8,12 @@ App.Neighbor.opinion = function(activeArcology, targetArcology) {
 
 	let opinion = 0;
 
+	if (activeArcology.direction === targetArcology.direction) {
+		// ignore narcissism
+		// this will be a problem in the future and as such, arcologies should realistically be given IDs
+		return opinion;
+	}
+
 	for (const fs of shared) {
 		opinion += activeArcology[fs];
 		opinion += targetArcology[fs];
-- 
GitLab