add reaching.
This commit is contained in:
@@ -22,9 +22,14 @@
|
||||
:script (actions/get-script
|
||||
entities
|
||||
(actions/walk-to entities :ego [70 80])
|
||||
(actions/talk entities :ego "I can see Fangald, the wizard inside.")
|
||||
(actions/play-animation entities :ego :squat)
|
||||
(actions/talk entities :ego "I can see Gandarf, the wizard inside.")
|
||||
|
||||
(actions/play-animation entities :ego :squat)
|
||||
(actions/talk entities :ego "It looks like he's opening his Magi-safe.")
|
||||
(actions/play-animation entities :ego :squat)
|
||||
(actions/talk entities :ego "[todo: sounds play.]")
|
||||
(actions/play-animation entities :ego :squat)
|
||||
(actions/talk entities :ego "A lot of good it'll do me to know his password while he's still there."))}
|
||||
:mushrooms {:box [247 59 269 76]
|
||||
:script (actions/get-script
|
||||
|
||||
@@ -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."))
|
||||
|
||||
Reference in New Issue
Block a user