drink potion sound.
This commit is contained in:
BIN
desktop/resources/ego/potion.ogg
Normal file
BIN
desktop/resources/ego/potion.ogg
Normal file
Binary file not shown.
BIN
desktop/resources/ego/potion.wav
Normal file
BIN
desktop/resources/ego/potion.wav
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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,'"
|
||||
|
||||
Reference in New Issue
Block a user