1dirname = path.dirname(__file__)
2
3animations = {
4   idle = {
5      pictures = path.list_files(dirname .. "idle_??.png"),
6      hotspot = { 8, 23 },
7   }
8}
9add_directional_animation(animations, "walk", dirname, "walk", {35, 28}, 10)
10
11tribes:new_worker_type {
12   msgctxt = "atlanteans_worker",
13   name = "atlanteans_horsebreeder",
14   -- TRANSLATORS: This is a worker name used in lists of workers
15   descname = pgettext("atlanteans_worker", "Horse Breeder"),
16   helptext_script = dirname .. "helptexts.lua",
17   icon = dirname .. "menu.png",
18   vision_range = 2,
19
20   buildcost = {
21      atlanteans_carrier = 1
22   },
23
24   animations = animations,
25}
26