~widelands-dev/widelands/wares_queues_taverns_trainingsites

« back to all changes in this revision

Viewing changes to data/world/critters/fox/init.lua

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
animations = {
4
4
   idle = {
5
 
      pictures = path.list_files(dirname .. "fox_idle_??.png"),
 
5
      pictures = path.list_files(dirname .. "idle_??.png"),
6
6
      sound_effect = {
7
7
         -- Sound files with numbers starting for 10 are generating silence. Remove when we move the sound triggering to programs
8
8
         directory = "sound/animals",
12
12
      fps = 10,
13
13
   },
14
14
}
15
 
add_walking_animations(animations, dirname, "fox_walk", {11, 14}, 20)
 
15
 
 
16
add_walking_animations(animations, "walk", dirname, "walk", {11, 14}, 20)
16
17
 
17
18
world:new_critter_type{
18
19
   name = "fox",
19
20
   descname = _ "Fox",
 
21
   editor_category = "critters_carnivores",
20
22
   attributes = { "eatable" },
21
23
   programs = {
22
24
      remove = { "remove" },