1dirname = path.dirname(__file__) 2 3tribes:new_warehouse_type { 4 msgctxt = "barbarians_building", 5 name = "barbarians_headquarters", 6 -- TRANSLATORS: This is a building name used in lists of buildings 7 descname = pgettext("barbarians_building", "Headquarters"), 8 helptext_script = dirname .. "helptexts.lua", 9 icon = dirname .. "menu.png", 10 size = "big", 11 destructible = false, 12 13 -- The Headquarters of the barbarians is from the apperance a stable military 14 -- Building, fortified base and some towers made of blackwood. Some flags 15 -- in the player colors may be present 16 animations = { 17 idle = { 18 pictures = path.list_files(dirname .. "idle_??.png"), 19 hotspot = { 90, 96 }, 20 fps = 10 21 }, 22 }, 23 24 aihints = {}, 25 26 heal_per_second = 220, 27 conquers = 9, 28} 29