1dirname = path.dirname(__file__) 2 3tribes:new_warehouse_type { 4 msgctxt = "atlanteans_building", 5 name = "atlanteans_port", 6 -- TRANSLATORS: This is a building name used in lists of buildings 7 descname = pgettext("atlanteans_building", "Port"), 8 helptext_script = dirname .. "helptexts.lua", 9 icon = dirname .. "menu.png", 10 size = "port", 11 map_check = {"seafaring"}, 12 13 buildcost = { 14 log = 3, 15 planks = 3, 16 granite = 4, 17 diamond = 1, 18 quartz = 1, 19 spidercloth = 3, 20 gold = 2 21 }, 22 return_on_dismantle = { 23 log = 1, 24 planks = 1, 25 granite = 2, 26 spidercloth = 1, 27 gold = 1 28 }, 29 30 animations = { 31 idle = { 32 pictures = path.list_files(dirname .. "idle_??.png"), 33 hotspot = { 74, 70 }, 34 fps = 10 35 }, 36 build = { 37 pictures = path.list_files(dirname .. "build_??.png"), 38 hotspot = { 74, 70 }, 39 } 40 }, 41 42 aihints = { 43 prohibited_till = 1000 44 }, 45 46 conquers = 5, 47 heal_per_second = 170, 48} 49