1dirname = path.dirname(__file__)
2
3tribes:new_militarysite_type {
4   msgctxt = "empire_building",
5   name = "empire_blockhouse",
6   -- TRANSLATORS: This is a building name used in lists of buildings
7   descname = pgettext("empire_building", "Blockhouse"),
8   helptext_script = dirname .. "helptexts.lua",
9   icon = dirname .. "menu.png",
10   size = "small",
11   enhancement = "empire_sentry",
12
13   buildcost = {
14      log = 1,
15      planks = 2
16   },
17   return_on_dismantle = {
18      planks = 1
19   },
20
21   animations = {
22      idle = {
23         pictures = path.list_files(dirname .. "idle_??.png"),
24         hotspot = { 37, 58 }
25      }
26   },
27
28   aihints = {},
29
30   max_soldiers = 1,
31   heal_per_second = 60, -- very low -> smallest building
32   conquers = 6,
33   prefer_heroes = false,
34
35   messages = {
36      occupied = _"Your soldiers have occupied your blockhouse.",
37      aggressor = _"Your blockhouse discovered an aggressor.",
38      attack = _"Your blockhouse is under attack.",
39      defeated_enemy = _"The enemy defeated your soldiers at the blockhouse.",
40      defeated_you = _"Your soldiers defeated the enemy at the blockhouse."
41   },
42}
43