OperatingTheatreRoom Class
TODO: There is also an unused sound "Another surgeon needed [...]", reqd011.wav room.handyman_call_sound = "maint007.wav" TODO: No sound for this room?
Method Index
- afterLoad(old, new) (inherited from Room)
- canHumanoidEnter(humanoid) (overrides Room:canHumanoidEnter)
- commandEnteringPatient(patient) (overrides Room:commandEnteringPatient)
- commandEnteringStaff(staff) (overrides Room:commandEnteringStaff)
- crashRoom() (inherited from Room)
- createDealtWithPatientCallback(humanoid) (inherited from Room)
- createEnterAction(humanoid_entering, callback) (inherited from Room)
- createLeaveAction() (inherited from Room)
- deactivate() (inherited from Room)
- dealtWithPatient(patient) (inherited from Room)
- findWorkForStaff() (inherited from Room)
- getEntranceXY(inside) (inherited from Room)
- getMaximumStaffCriteria() (inherited from Room)
- getMissingStaff(criteria) (inherited from Room)
- getPatient() (inherited from Room)
- getPatientCount() (inherited from Room)
- getRequiredStaffCriteria() (inherited from Room)
- getStaffMember() (overrides Room:getStaffMember)
- getUsageScore() (inherited from Room)
- hasQueueDialog() (inherited from Room)
- initRoom(x, y, w, h, door, door2) (inherited from Room)
- isWaitingToGetStaff(staff) (inherited from Room)
- makeHumanoidLeave(patient) (inherited from Room)
- onHumanoidEnter(humanoid) (inherited from Room)
- onHumanoidLeave(humanoid) (overrides Room:onHumanoidLeave)
- roomFinished() (overrides Room:roomFinished)
- setStaffMember(staff) (inherited from Room)
- setStaffMembersAttribute(attribute, value) (overrides Room:setStaffMembersAttribute)
- shouldHavePatientReenter(patient) (inherited from Room)
- staffFitsInRoom(staff) (inherited from Room)
- staffMeetsRoomRequirements(humanoid) (inherited from Room)
- testStaffCriteria(criteria, extra_humanoid) (inherited from Room)
- tryAdvanceQueue() (inherited from Room)
- tryToEdit() (inherited from Room)
- tryToFindNearbyPatients() (inherited from Room)
Member Index
- active (*)
- built (*)
- crashed (*)
- dealt_patient_callback (*)
- door (*)
- door2 (*)
- height (*)
- hospital
- humanoids (*)
- humanoids_enroute (*)
- id (*)
- is_active (*)
- maximum_patients (*)
- needs_repair (*)
- objects (*)
- room_info (*)
- sound_played (*)
- staff_member (*)
- staff_member_set
- waiting_staff_member (*)
- width (*)
- world
- x (*)
- x_ray_viewer
- y (*)
function OperatingTheatreRoom:OperatingTheatreRoom(...)
Parameters:
Name | Type | Description |
---|---|---|
... | ? | ? |
Declared on: line 52 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:canHumanoidEnter(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Overrides: Room:canHumanoidEnter.
Declared on: line 308 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:commandEnteringPatient(patient)
Parameters:
Name | Type | Description |
---|---|---|
patient | ? | ? |
Overrides: Room:commandEnteringPatient.
Declared on: line 154 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:commandEnteringStaff(staff)
Parameters:
Name | Type | Description |
---|---|---|
staff | ? | ? |
Overrides: Room:commandEnteringStaff.
Declared on: line 97 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:getStaffMember()
Returns the current staff member. if there are currently two surgeons it returns
the one with higher tiredness.
Overrides: Room:getStaffMember.
Declared on: line 138 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:onHumanoidLeave(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Overrides: Room:onHumanoidLeave.
Declared on: line 289 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:roomFinished()
Overrides: Room:roomFinished.
Declared on: line 57 of Lua/rooms/operating_theatre.lua.
function OperatingTheatreRoom:setStaffMembersAttribute(attribute, value)
Parameters:
Name | Type | Description |
---|---|---|
attribute | ? | ? |
value | ? | ? |
Overrides: Room:setStaffMembersAttribute.
Declared on: line 132 of Lua/rooms/operating_theatre.lua.