add reaching.

This commit is contained in:
2014-10-22 15:52:18 -07:00
parent 8c8acc91c5
commit 27657afc41
9 changed files with 38 additions and 5 deletions

View File

@@ -122,8 +122,9 @@
{:door {:box [258 100 281 160]
:script (actions/get-script
entities
(actions/walk-to entities :ego [262 88])
(actions/walk-to entities :ego [267 90])
(actions/talk entities :ego (str "Anyone home?"))
(actions/play-animation entities :ego :reach)
(actions/transition-background entities :inside-house [237 0])
(if (get-in @entities [:state :convinced-wizard?])
(actions/talk entities :wizard (str "Oh, hello there boy."))