dirname = path.dirname(__file__)

animations = {
   idle = {
      pictures = path.list_files(dirname .. "lynx_idle_??.png"),
      hotspot = { 8, 14 },
      fps = 20,
   },
}
add_walking_animations(animations, dirname, "lynx_walk", {11, 21}, 20)

world:new_critter_type{
   name = "lynx",
   descname = _ "Lynx",
   attributes = { "eatable" },
   programs = {
      remove = { "remove" },
   },
   animations = animations,
}
