From 23fda8c5bc21848ac2b51cde34be9e1c754170ba Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 15 Jun 2016 17:54:23 -0700 Subject: [PATCH] minor tweak for safe interaction --- desktop/src-common/advent/screens/rooms/inside_house.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/src-common/advent/screens/rooms/inside_house.clj b/desktop/src-common/advent/screens/rooms/inside_house.clj index d30b7159..1b5b42f0 100644 --- a/desktop/src-common/advent/screens/rooms/inside_house.clj +++ b/desktop/src-common/advent/screens/rooms/inside_house.clj @@ -151,7 +151,10 @@ (actions/walk-to entities :ego [59 65]) (if (get-in @entities [:room :entities :wizard]) (actions/talk entities :wizard "Don't touch my MagiSafe!!") - (open-safe entities)))} + (open-safe entities))) + :scripts {:tune (actions/get-script entities + (actions/talk entities :ego "How did that tune go again?") + (actions/play-safe entities))}} :knight {:box [71 70 102 190] :script (actions/get-script entities (actions/talk entities :ego "Maybe when I am an older knight, Gandarf will give me his armor!"))}