From aeeb2cfeb315a79485417a65f48fccab53433f27 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Thu, 17 Dec 2020 13:17:49 -0800
Subject: [PATCH] Relationship breaking based on rules is dependent on the
 unrestricted partner's obedience.

---
 src/endWeek/saRelationships.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/endWeek/saRelationships.js b/src/endWeek/saRelationships.js
index 217df0eea99..b470976241b 100644
--- a/src/endWeek/saRelationships.js
+++ b/src/endWeek/saRelationships.js
@@ -555,7 +555,9 @@ App.SlaveAssignment.relationships = (function() {
 				}
 			}
 		} else if (slave.rules.relationship === "restrictive" && slave.relationship !== 5) {
-			 if (friend.rules.relationship === "restrictive") {
+			if (disobedience(friend) > random(0, 100)) {
+				r.push(`${friend.slaveName} knows ${slave.slaveName} isn't allowed to be in a relationship with ${him2}, but keeps seeing ${him} anyway.`);
+			} else {
 				r.push(`Since the rules forbid the relationship between ${slave.slaveName} and ${friend.slaveName}, they are <span class="relationship dec">forced apart.</span>`);
 				 if (slave.relationship > 1) {
 					slave.relationship--;
@@ -579,7 +581,9 @@ App.SlaveAssignment.relationships = (function() {
 				}
 			}
 		} else if (slave.rules.relationship === "just friends" && slave.relationship !== 5 && slave.relationship > 2) {
-			 if (friend.rules.relationship !== "permissive") {
+			if (disobedience(friend) > random(0, 100)) {
+				r.push(`${friend.slaveName} knows ${slave.slaveName} isn't allowed to be in a sexual relationship with ${him2}, but keeps fucking ${him} anyway.`);
+			} else {
 				r.push(`Since the sexual relationship between ${slave.slaveName} and ${friend.slaveName} is against the rules, they`);
 				if (!hasAnyArms(slave) && !hasAnyArms(friend)) {
 					r.push(`are, metaphorically speaking,`);
-- 
GitLab