filling out jail.

This commit is contained in:
2014-12-26 20:05:26 -08:00
parent e4a02813f8
commit f2fcfa8963
2 changed files with 13 additions and 1 deletions

View File

@@ -12,7 +12,18 @@
(defn make [screen]
(rooms/make :music :inside-antique
:interactions {}
:interactions {
:lock {:box [178 102 184 124]
:script (actions/get-script entities
(actions/walk-to entities :ego [174 80] :face :right)
(actions/play-animation entities :ego :reach)
(actions/talk entities :ego "There's no helping it. It's locked."))}
:hay {:box [130 86 177 102]
:script (actions/get-script entities
(actions/walk-to entities :ego [144 86] :face :right)
(actions/talk entities :ego "Maybe there's a needle or something in here.")
(actions/play-animation entities :ego :squat)
(actions/talk entities :ego "No. Nothing at all!"))}}
:layers [(assoc (texture "inside-jail/background.png") :x 0 :y 0 :baseline 0)
(assoc (texture "inside-jail/bars.png") :x 0 :y 0 :baseline 165)
(assoc (texture "inside-jail/glow.png") :x 0 :y 0 :baseline 240)]