From e48f07f3001115bd97c2adcc6871663c9738fce5 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Sun, 23 Dec 2018 13:37:12 -0500 Subject: [PATCH] Second event variant --- devNotes/twine JS.txt | 4 +++- src/js/eventSelectionJS.tw | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index b45f1bc777c..4676ece0682 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -7170,7 +7170,9 @@ if(eventSlave.fetish != "mindbroken") { if(eventSlave.devotion >= 50) { if(eventSlave.trust <= 20) { - State.variables.RESSevent.push("devoted fearful slave"); + if(canWalk(eventSlave)) { + State.variables.RESSevent.push("devoted fearful slave"); + } } } diff --git a/src/js/eventSelectionJS.tw b/src/js/eventSelectionJS.tw index a96236a0bd0..5eed01ddade 100644 --- a/src/js/eventSelectionJS.tw +++ b/src/js/eventSelectionJS.tw @@ -2925,7 +2925,9 @@ if(eventSlave.fetish != "mindbroken") { if(eventSlave.devotion >= 50) { if(eventSlave.trust <= 20) { - State.variables.RESSevent.push("devoted fearful slave"); + if(canWalk(eventSlave)) { + State.variables.RESSevent.push("devoted fearful slave"); + } } } -- GitLab