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