1dirname = path.dirname(__file__)
2
3tribes:new_immovable_type {
4   msgctxt = "immovable",
5   name = "barleyfield_medium",
6   -- TRANSLATORS: This is an immovable name used in lists of immovables
7   descname = pgettext("immovable", "Barley Field (medium)"),
8   icon = dirname .. "menu.png",
9   size = "small",
10   helptext_script = dirname .. "helptexts.lua",
11   attributes = { "field", "flowering" },
12   programs = {
13      program = {
14         "animate=idle 250000",
15         "transform=barleyfield_ripe",
16      }
17   },
18   animations = {
19      idle = {
20         directory = dirname,
21         basename = "idle",
22         hotspot = {21, 33}
23      }
24   }
25}
26