diff --git a/desktop/resources/ego/potion.ogg b/desktop/resources/ego/potion.ogg new file mode 100644 index 00000000..0c47c179 Binary files /dev/null and b/desktop/resources/ego/potion.ogg differ diff --git a/desktop/resources/ego/potion.wav b/desktop/resources/ego/potion.wav new file mode 100644 index 00000000..988338e7 Binary files /dev/null and b/desktop/resources/ego/potion.wav differ diff --git a/desktop/src-common/advent/screens/rooms/inside_cafeteria.clj b/desktop/src-common/advent/screens/rooms/inside_cafeteria.clj index bb6a271c..213309ac 100644 --- a/desktop/src-common/advent/screens/rooms/inside_cafeteria.clj +++ b/desktop/src-common/advent/screens/rooms/inside_cafeteria.clj @@ -57,6 +57,7 @@ (if (actions/has-item? @entities :flask-1-strength) (do (actions/do-dialogue entities :ego "One sec.") + (sound! (sound "ego/potion.ogg") :play) (actions/play-animation entities :ego :grow :stop? false) (play-battle entities :win) (actions/do-dialogue entities diff --git a/desktop/src-common/advent/screens/scene.clj b/desktop/src-common/advent/screens/scene.clj index 53235e05..38bce65b 100644 --- a/desktop/src-common/advent/screens/scene.clj +++ b/desktop/src-common/advent/screens/scene.clj @@ -174,8 +174,9 @@ (condp = (:value cursor) :flask-1-with-cream-of-mushroom (actions/get-script entities (actions/talk entities :ego "Blegh! Gross!")) :flask-1-strength (actions/get-script entities - (actions/talk entities :ego "I'll just take a sip!") - (actions/play-animation entities :ego :grow :stop? false)) + (actions/talk entities :ego "I'll just take a sip!") + (sound! (sound "ego/potion.ogg") :play) + (actions/play-animation entities :ego :grow :stop? false)) :recipe (actions/get-script entities (actions/do-dialogue entities :ego "The recipe says:" :ego "'For strength beyond measure,'"