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