minor dialogue tweak.
This commit is contained in:
Binary file not shown.
@@ -631,8 +631,15 @@
|
||||
(actions/walk-to entities :ego [257 90] :face :right :skip-type :end)
|
||||
(actions/talk entities :ego (str "Anyone home?"))
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(if (= :night (get-in @entities [:state :time]))
|
||||
(cond
|
||||
(get-in @entities [:room :entities :wizard])
|
||||
(actions/do-dialogue entities :wizard "What are you doing, boy?"
|
||||
:wizard "I'm right here.")
|
||||
|
||||
(= :night (get-in @entities [:state :time]))
|
||||
(actions/talk entities :ego "It's locked.")
|
||||
|
||||
:else
|
||||
(do (actions/play-animation entities :door :open)
|
||||
(actions/transition-background entities :inside-house [237 0] :between (fn [s e]
|
||||
(if (= 1 (rand-int 2))
|
||||
|
||||
Reference in New Issue
Block a user