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