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