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