more sounds.
This commit is contained in:
@@ -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."))))
|
||||
|
||||
@@ -518,7 +518,7 @@
|
||||
(update-in entities [:room :entities] #(assoc % :cauldron (get-in entities [:room :cauldron])))
|
||||
(utils/play-sound! screen entities
|
||||
(get-in entities [:room :cauldron-sound :sound])
|
||||
(utils/sourced-volume-fn :cauldron 0.075 [139 73])
|
||||
(utils/sourced-volume-fn :cauldron 0.15 [139 73])
|
||||
(utils/get-sound-pan 139)
|
||||
:loop)
|
||||
(add-wizard-if-necessary entities)
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
(as-> entities entities
|
||||
(utils/play-sound! screen entities (get-in entities [:room :fountain-sound :sound])
|
||||
(utils/sourced-volume-fn :fountain 0.15 [172 120])
|
||||
(utils/sourced-volume-fn :fountain 0.06 [172 120])
|
||||
(utils/get-sound-pan 172)
|
||||
:loop)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user