added drop sound.
This commit is contained in:
@@ -251,9 +251,14 @@
|
||||
:ball-n-chain (actions/get-script entities (if (get-in @entities [:state :bent-bars?])
|
||||
(do (actions/walk-to entities :ego [102 88] :face :right)
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/play-sound entities
|
||||
(get-in @entities [:room :entities :ego :drop-sound])
|
||||
0.2)
|
||||
(actions/update-state entities #(assoc % :dropped-ball? true))
|
||||
(actions/do-dialogue entities :ego "Geronimo!!"
|
||||
:ego "*crash*!")
|
||||
(actions/do-dialogue entities :ego "Geronimo!!")
|
||||
(actions/play-sound entities
|
||||
(get-in @entities [:room :entities :ego :breakglass-sound])
|
||||
0.2)
|
||||
(Thread/sleep 200)
|
||||
(actions/begin-animation entities :warden :stand)
|
||||
(Thread/sleep 300)
|
||||
|
||||
Reference in New Issue
Block a user