sheep eats.

This commit is contained in:
Bryce Covert
2015-10-04 14:32:24 -07:00
parent b52e8caa0d
commit eaf8a8a216
2 changed files with 4 additions and 1 deletions

View File

@@ -703,6 +703,9 @@
(actions/get-script entities (actions/get-script entities
(actions/talk entities :ego "That's just cruel.")) (actions/talk entities :ego "That's just cruel."))
nil) nil)
:eat-sound (utils/load-sound "outsidehouse/sheep-eat.ogg")
:anim-sound-frames {sheep-stand {11 [:eat-sound 1.0]}}
:left {:walk (utils/flip sheep-walk) :left {:walk (utils/flip sheep-walk)
:stand (utils/flip sheep-stand)} :stand (utils/flip sheep-stand)}
:right {:walk sheep-walk :right {:walk sheep-walk

View File

@@ -258,7 +258,7 @@
(try (try
(sound (str f ".mp3")) (sound (str f ".mp3"))
(catch Exception _ (catch Exception _
(sound (str f ".mp3"))))) (sound f))))