1dirname = path.dirname(__file__)
2
3animations = {}
4add_animation(animations, "idle", dirname, "idle", { 60, 78 })
5add_animation(animations, "build", dirname, "build", { 60, 78 })
6
7tribes:new_warehouse_type {
8   msgctxt = "barbarians_building",
9   name = "barbarians_warehouse",
10   -- TRANSLATORS: This is a building name used in lists of buildings
11   descname = pgettext("barbarians_building", "Warehouse"),
12   helptext_script = dirname .. "helptexts.lua",
13   icon = dirname .. "menu.png",
14   size = "medium",
15
16   buildcost = {
17      log = 3,
18      blackwood = 2,
19      granite = 2,
20      grout = 3,
21      reed = 1
22   },
23   return_on_dismantle = {
24      log = 1,
25      blackwood = 1,
26      granite = 1,
27      grout = 1
28   },
29
30   animations = animations,
31
32   aihints = {},
33
34   heal_per_second = 170,
35}
36