diff --git a/desktop/asset-work/inside-jail/open-door.ogg b/desktop/asset-work/inside-jail/open-door.ogg new file mode 100644 index 00000000..125fe724 Binary files /dev/null and b/desktop/asset-work/inside-jail/open-door.ogg differ diff --git a/desktop/asset-work/inside-jail/open-door.wav b/desktop/asset-work/inside-jail/open-door.wav new file mode 100644 index 00000000..850c3c47 Binary files /dev/null and b/desktop/asset-work/inside-jail/open-door.wav differ diff --git a/desktop/gametodos.txt b/desktop/gametodos.txt index bb4674b2..0333875c 100644 --- a/desktop/gametodos.txt +++ b/desktop/gametodos.txt @@ -38,6 +38,5 @@ AUDIO + jump + chop wood + step backwards creep - + snore + shoot slinger's + new music for night diff --git a/desktop/resources/inside-jail/open-door.ogg b/desktop/resources/inside-jail/open-door.ogg new file mode 100644 index 00000000..125fe724 Binary files /dev/null and b/desktop/resources/inside-jail/open-door.ogg differ diff --git a/desktop/src-common/advent/screens/rooms/inside_jail.clj b/desktop/src-common/advent/screens/rooms/inside_jail.clj index b1e10660..2a56e1b9 100644 --- a/desktop/src-common/advent/screens/rooms/inside_jail.clj +++ b/desktop/src-common/advent/screens/rooms/inside_jail.clj @@ -23,6 +23,7 @@ (actions/walk-to entities :ego [174 80] :face :right) (actions/play-animation entities :ego :reach) (actions/talk entities :ego "Yes, that's it!") + (actions/play-sound entities "inside-jail/open-door.ogg" 0.5 false) (actions/walk-straight-to entities :moveable-bars [65 77]) (actions/update-entities entities #(remove-lock %)) (actions/update-state entities #(assoc % :opened-bars? true))) @@ -330,7 +331,7 @@ (update-in [:room :entities :ego] #(actions/start-animation screen % :stand)))] ((actions/get-script entities (actions/stop-walking entities :ego) - (actions/play-sound entities "inside-jail/squeak.ogg" 0.3) + (actions/play-sound entities "inside-jail/squeak.ogg" 0.15) (actions/do-dialogue entities :ego "Oops!" :warden "Hey! What are you doing?"