1dirname = path.dirname(__file__)
2
3tribes:new_immovable_type {
4   msgctxt = "immovable",
5   name = "wheatfield_tiny",
6   -- TRANSLATORS: This is an immovable name used in lists of immovables
7   descname = pgettext("immovable", "Wheat Field (tiny)"),
8   helptext_script = dirname .. "helptexts.lua",
9   icon = dirname .. "menu.png",
10   size = "small",
11   attributes = { "field", "seed_wheat" },
12   programs = {
13      program = {
14         "animate=idle 30000",
15         "transform=wheatfield_small",
16      }
17   },
18
19   animations = {
20      idle = {
21         pictures = path.list_files(dirname .. "idle_??.png"),
22         hotspot = { 32, 21 },
23      },
24   }
25}
26