WardRoom Class
Method Index
- _arePatientsWantingToEnter() (inherited from Room)
- _checkWaitToggleValidTarget() (inherited from Room)
- _staffWaitToggle(activate) (inherited from Room)
- afterLoad(old, new) (overrides Room:afterLoad)
- calculateHappinessFactor() (inherited from Room)
- calculateRemovalCost() (inherited from Room)
- canHumanoidEnter(humanoid) (inherited from Room)
- commandEnteringPatient(patient) (overrides Room:commandEnteringPatient)
- commandEnteringStaff(humanoid) (overrides Room:commandEnteringStaff)
- countWindows() (inherited from Room)
- crashRoom() (inherited from Room)
- createEnterAction(humanoid_entering, callback) (inherited from Room)
- createLeaveAction() (inherited from Room)
- deactivate() (inherited from Room)
- dealtWithPatient(patient) (inherited from Room)
- doStaffUseCycle(humanoid)
- enterEditMode() (inherited from Room)
- getEntranceXY(inside) (inherited from Room)
- getMaximumStaffCriteria() (overrides Room:getMaximumStaffCriteria)
- getMissingStaff(criteria) (inherited from Room)
- getPatient() (inherited from Room)
- getPatientCount() (inherited from Room)
- getPatients() (inherited from Room)
- getRequiredStaffCriteria() (inherited from Room)
- getRoomMachine() (inherited from Room)
- getStaffMember() (inherited from Room)
- getStaffServiceQuality() (inherited from Room)
- getUsageScore() (inherited from Room)
- hasQueueDialog() (inherited from Room)
- initRoom(x, y, w, h, door, door2) (inherited from Room)
- isDiagnosisRoomForPatient(patient) (inherited from Room)
- isRoomInDemand() (inherited from Room)
- isRoomStaffMember(humanoid) (inherited from Room)
- lockRoomOnRepair() (inherited from Room)
- makeHumanoidDressIfNecessaryAndThenLeave(humanoid) (inherited from Room)
- makeHumanoidLeave(patient) (inherited from Room)
- onHumanoidEnter(humanoid) (overrides Room:onHumanoidEnter)
- onHumanoidLeave(humanoid) (overrides Room:onHumanoidLeave)
- roomFinished() (overrides Room:roomFinished)
- setStaffMember(staff) (overrides Room:setStaffMember)
- 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)
- unlockRoomOnRepair() (inherited from Room)
- updateHealingAmount()
Member Index
- active (*)
- built (*)
- crashed (*)
- dealt_patient_callback (*)
- door
- door2 (*)
- happiness_factor (*)
- healing_amount
- height (*)
- hospital
- humanoids
- humanoids_enroute (*)
- id (*)
- is_active (*)
- manual_repair (*)
- maximum_patients
- maximum_staff
- needs_repair (*)
- nursecount
- objects (*)
- room_info (*)
- sound_played (*)
- staff_member
- staff_member_set
- waiting_staff_member (*)
- width (*)
- world
- x (*)
- y (*)
function WardRoom:WardRoom(...)
Parameters:
| Name | Type | Description |
|---|---|---|
| ... | ? | ? |
Declared on: line 57 of Lua/rooms/ward.lua.
function WardRoom:afterLoad(old, new)
Parameters:
| Name | Type | Description |
|---|---|---|
| old | ? | ? |
| new | ? | ? |
Overrides: Room:afterLoad.
Declared on: line 208 of Lua/rooms/ward.lua.
function WardRoom:commandEnteringPatient(patient)
Parameters:
| Name | Type | Description |
|---|---|---|
| patient | ? | ? |
Overrides: Room:commandEnteringPatient.
Declared on: line 149 of Lua/rooms/ward.lua.
function WardRoom:commandEnteringStaff(humanoid)
Parameters:
| Name | Type | Description |
|---|---|---|
| humanoid | ? | ? |
Overrides: Room:commandEnteringStaff.
Declared on: line 90 of Lua/rooms/ward.lua.
function WardRoom:doStaffUseCycle(humanoid)
Parameters:
| Name | Type | Description |
|---|---|---|
| humanoid | ? | ? |
Declared on: line 96 of Lua/rooms/ward.lua.
function WardRoom:getMaximumStaffCriteria()
Overrides: Room:getMaximumStaffCriteria.
Declared on: line 86 of Lua/rooms/ward.lua.
function WardRoom:onHumanoidEnter(humanoid)
Parameters:
| Name | Type | Description |
|---|---|---|
| humanoid | ? | ? |
Overrides: Room:onHumanoidEnter.
Declared on: line 203 of Lua/rooms/ward.lua.
function WardRoom:onHumanoidLeave(humanoid)
Parameters:
| Name | Type | Description |
|---|---|---|
| humanoid | ? | ? |
Overrides: Room:onHumanoidLeave.
Declared on: line 197 of Lua/rooms/ward.lua.
function WardRoom:roomFinished()
Overrides: Room:roomFinished.
Declared on: line 63 of Lua/rooms/ward.lua.
function WardRoom:setStaffMember(staff)
Parameters:
| Name | Type | Description |
|---|---|---|
| staff | ? | ? |
Overrides: Room:setStaffMember.
Declared on: line 187 of Lua/rooms/ward.lua.
function WardRoom:setStaffMembersAttribute(attribute, value)
Parameters:
| Name | Type | Description |
|---|---|---|
| attribute | ? | ? |
| value | ? | ? |
Overrides: Room:setStaffMembersAttribute.
Declared on: line 191 of Lua/rooms/ward.lua.