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