working on ios.
This commit is contained in:
@@ -335,7 +335,7 @@
|
||||
(actions/talk entities :ego "I'll just try another one of these mints."))
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/update-state entities (fn [s] (assoc s :mints-eaten (inc (s :mints-eaten)))))
|
||||
(sound! (sound (str "inside-antique/fire-" (get-in @entities [:state :mints-eaten]) ".ogg")) :play (utils/current-sound-volume))
|
||||
(sound! (utils/load-sound (str "inside-antique/fire-" (get-in @entities [:state :mints-eaten]) ".ogg")) :play (utils/current-sound-volume))
|
||||
(cond
|
||||
(= 2 (get-in @entities [:state :mints-eaten]))
|
||||
(do (particle-effect! (get-in @entities [:room :entities :smoke-particle]) :reset)
|
||||
|
||||
Reference in New Issue
Block a user