more sounds.

This commit is contained in:
Bryce Covert
2015-10-31 16:24:19 -07:00
parent b5bb6ce1ef
commit 24d8fa7d23
14 changed files with 11 additions and 5 deletions

View File

@@ -227,6 +227,7 @@
(rooms/make :music :inside-antique
:sounds {
:squeek (utils/load-sound "inside-jail/squeak.ogg")
:crowbar-sound (utils/load-sound "ego/crowbar.ogg")
}
:interactions {
:lock {:box [172 102 190 124]
@@ -250,6 +251,7 @@
(actions/do-dialogue entities :ego "They're bent as far as they can go.")
(do (actions/walk-to entities :ego [102 88] :face :right)
(actions/play-animation entities :ego :reach)
(actions/play-sound entities :crowbar-sound 0.5)
(actions/remove-entity entities :closed-window)
(actions/update-state entities #(assoc % :bent-bars? true))
(actions/do-dialogue entities :ego "Now we're getting somewhere."))))