From 6423f8d88ce8ba3b3d9117971788268f5e6b1fa5 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Mon, 15 Feb 2016 08:22:18 -0800 Subject: [PATCH] fixed dialogue for window at night. --- desktop/src-common/advent/screens/rooms/outside_jail.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/src-common/advent/screens/rooms/outside_jail.clj b/desktop/src-common/advent/screens/rooms/outside_jail.clj index aaecf0bd..de08433f 100644 --- a/desktop/src-common/advent/screens/rooms/outside_jail.clj +++ b/desktop/src-common/advent/screens/rooms/outside_jail.clj @@ -120,7 +120,10 @@ (actions/talk entities :warden "NO VISITORS!"))))} :window {:box [62 175 80 212] :script (actions/get-script entities - (actions/talk entities :ego "I wonder if anyone is imprisoned up there?"))} + (if (= :night (get-in @entities [:state :time])) + (actions/do-dialogue entities :ego "Boy am I glad to be out of there!" + :ego "They didn't even give me my one telephone call!") + (actions/talk entities :ego "I wonder if anyone is imprisoned up there?")))} :sign {:box [5 173 61 199] :script (actions/get-script entities (actions/talk entities :ego "J.A.I.L. Jail. Can't you read?"))}