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