diff --git a/desktop/resources/pickup.mp3 b/desktop/resources/pickup.mp3 new file mode 100644 index 00000000..146fd906 Binary files /dev/null and b/desktop/resources/pickup.mp3 differ diff --git a/desktop/src-common/advent/actions.clj b/desktop/src-common/advent/actions.clj index 4deb7078..a11c38c3 100644 --- a/desktop/src-common/advent/actions.clj +++ b/desktop/src-common/advent/actions.clj @@ -135,6 +135,8 @@ (reify IAction (begin [this screen entities] + (sound! (sound "pickup.mp3") :play) + (-> entities (update-in [target-id :inventory] #(conj % item)) (assoc-in [:cursor :current] item))) diff --git a/desktop/src-common/advent/screens/scene.clj b/desktop/src-common/advent/screens/scene.clj index a83c96fb..d2afd4d0 100644 --- a/desktop/src-common/advent/screens/scene.clj +++ b/desktop/src-common/advent/screens/scene.clj @@ -116,7 +116,7 @@ house (texture "house.png") overdirt (texture "overdirt.png") music (sound "town-music.mp3") - ;;_ (sound! music :loop) + _ (sound! music :loop) ] { :actions {:object nil