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