Merge branch 'master' of https://bitbucket.org/brycecovertoperations/advent
This commit is contained in:
@@ -87,14 +87,4 @@
|
||||
(actions/talk entities :ego "Am I right boys?" :animate? false :stop? false))
|
||||
|
||||
(defn listen-to-frankie [entities]
|
||||
(if (get-in @entities [:room :entities :frankie])
|
||||
(do
|
||||
(actions/play-animation entities :ego :reach-up :stop? false)
|
||||
(Thread/sleep 1000)
|
||||
(actions/play-animation entities :ego :reach-down :stop? false)
|
||||
(actions/talk entities :ego "I don't hear anything in it."))
|
||||
(do
|
||||
(actions/talk entities :ego "I'll just give it a listen.")
|
||||
(actions/play-animation entities :ego :reach-up :stop? false)
|
||||
((rand-nth [listen-1 listen-2 listen-3]) entities)
|
||||
(actions/play-animation entities :ego :reach-down))))
|
||||
((rand-nth [listen-1 listen-2 listen-3]) entities))
|
||||
|
||||
Reference in New Issue
Block a user