dirname = path.dirname(__file__)

animations = {
   idle = {
      pictures = path.list_files(dirname .. "idle_??.png"),
      hotspot = { 115, 76 },
      fps = 10
   }
}
add_worker_animations(animations, "sail", dirname, "sail", {115, 76}, 10)


tribes:new_ship_type {
   name = "barbarians_ship",
   -- TRANSLATORS: This is the ship's name used in lists of units
   descname = _"Ship",
   capacity = 30,
   vision_range = 4,
   animations = animations,
}
