1dirname = path.dirname (__file__)
2
3tribes:new_productionsite_type {
4   msgctxt = "frisians_building",
5   name = "frisians_hunters_house",
6   -- TRANSLATORS: This is a building name used in lists of buildings
7   descname = pgettext ("frisians_building", "Hunter’s House"),
8   helptext_script = dirname .. "helptexts.lua",
9   icon = dirname .. "menu.png",
10   size = "small",
11
12   buildcost = {
13      brick = 1,
14      log = 1,
15      reed = 1
16   },
17   return_on_dismantle = {
18      brick = 1,
19      log = 1
20   },
21
22   spritesheets = {
23      idle = {
24         directory = dirname,
25         basename = "idle",
26         hotspot = {40, 69},
27         frames = 10,
28         columns = 5,
29         rows = 2,
30         fps = 10
31      }
32   },
33   animations = {
34      unoccupied = {
35         directory = dirname,
36         basename = "unoccupied",
37         hotspot = {40, 52}
38      }
39   },
40
41   aihints = {
42      collects_ware_from_map = "meat",
43      prohibited_till = 480
44   },
45
46   indicate_workarea_overlaps = {
47      frisians_hunters_house = false,
48   },
49
50   working_positions = {
51      frisians_hunter = 1
52   },
53
54   outputs = {
55      "meat",
56      "fur"
57   },
58
59   programs = {
60      work = {
61         -- TRANSLATORS: Completed/Skipped/Did not start hunting because ...
62         descname = _"hunting",
63         actions = {
64            "callworker=hunt",
65            "sleep=35000",
66            "callworker=hunt",
67            "sleep=35000",
68            "callworker=hunt",
69            "sleep=35000",
70            "callworker=hunt",
71            "sleep=35000",
72            "callworker=hunt",
73            "sleep=35000",
74            "produce=fur"
75         }
76      },
77   },
78   out_of_resource_notification = {
79      -- Translators: Short for "Out of Game" for a resource
80      title = _"No Game",
81      -- TRANSLATORS: "Game" means animals that you can hunt
82      heading = _"Out of Game",
83      -- TRANSLATORS: "game" means animals that you can hunt
84      message = pgettext("frisians_building", "The hunter working out of this hunter’s house can’t find any game in his work area."),
85      productivity_threshold = 33
86   },
87}
88