62
62
self:addPanel(0, 607, 447):makeButton(0, 0, 26, 26, 6, self.close):setTooltip(_S.tooltip.policy.close)
63
63
self.allow_button = self:addPanel(0, 348, 379):makeToggleButton(0, 0, 48, 17, 4, allowStaff, "Allow"):setTooltip(_S.tooltip.policy.staff_leave) -- Allow staff to move
64
64
self.prohibit_button = self:addPanel(0, 395, 379):makeToggleButton(0, 0, 48, 17, 5, allowStaff, "Prohibit"):setTooltip(_S.tooltip.policy.staff_stay) -- Prohibit staff to move
66
66
if self.hospital.policies["staff_allowed_to_move"] then
67
67
self.allow_button:toggle()
69
69
self.prohibit_button:toggle()
73
73
local guess = 129 + hosp.policies["guess_cure"]*299
74
74
local home = 129 + hosp.policies["send_home"]*299
75
75
local stop = 124 + (hosp.policies["stop_procedure"] - 1)*299
76
76
local staffroom = 149 + hosp.policies["goto_staffroom"]*250
80
80
self.sliders["guess_cure"] = self:addPanel(2, guess, 119, 82, 44)