1dirname = path.dirname(__file__) 2 3tribes:new_ware_type { 4 msgctxt = "ware", 5 name = "scrap_iron", 6 -- TRANSLATORS: This is a ware name used in lists of wares 7 descname = pgettext("ware", "Scrap Iron"), 8 helptext_script = dirname .. "helptexts.lua", 9 icon = dirname .. "menu.png", 10 default_target_quantity = {}, 11 preciousness = { 12 frisians = 0 13 }, 14 15 animations = { 16 idle = { 17 pictures = path.list_files(dirname .. "idle.png"), 18 hotspot = { 7, 9 }, 19 }, 20 } 21} 22