new sounds.

This commit is contained in:
Bryce Covert
2015-11-25 14:05:35 -08:00
parent d9626f8bed
commit 76bf35a46c
5 changed files with 2 additions and 2 deletions

Binary file not shown.

BIN
desktop/asset-work/dream/appear.wav Executable file → Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -504,7 +504,7 @@
:path-start-time 0
:scaled true
:magic-sound (utils/load-sound "dream/appear.ogg")
:anim-sound-frames {fairy-godfather-magic-anim {1 [:magic-sound 0.8]}}
:anim-sound-frames {fairy-godfather-magic-anim {1 [:magic-sound (constantly 0.5)]}}
:left {:walk fairy-godfather-anim
:talk fairy-godfather-talk-anim
:stand fairy-godfather-anim

View File

@@ -242,7 +242,7 @@ void main ()
(when (and (not (get-in entities [:fg-actions :script-running?]))
(= (get-in entities [:cursor :down-target])
(or (:id interacting-entity) (:id interaction) nil)))
((or (when interacting-entity
((or (when (and interacting-entity (not (:cursor interaction)))
(do (screen! hud :on-start-script)
((:get-script interacting-entity) (get-in entities [:cursor :current]) [x y])))
(when interaction