GPRoom Class
Method Index
- afterLoad(old, new) (inherited from Room)
- canHumanoidEnter(humanoid) (inherited from Room)
- commandEnteringPatient(humanoid) (overrides Room:commandEnteringPatient)
- commandEnteringStaff(humanoid) (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) (overrides Room:dealtWithPatient)
- doStaffUseCycle(humanoid)
- 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() (inherited from Room)
- 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) (inherited from Room)
- shouldHavePatientReenter(patient) (overrides Room:shouldHavePatientReenter)
- 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 (*)
- just_dealt_with
- max_times
- maximum_patients (*)
- needs_repair (*)
- objects (*)
- room_info
- sound_played (*)
- staff_member
- waiting_staff_member
- width (*)
- world
- x (*)
- y (*)
function GPRoom:GPRoom(...)
Parameters:
Name | Type | Description |
---|---|---|
... | ? | ? |
Declared on: line 45 of Lua/rooms/gp.lua.
function GPRoom:commandEnteringPatient(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Overrides: Room:commandEnteringPatient.
Declared on: line 94 of Lua/rooms/gp.lua.
function GPRoom:commandEnteringStaff(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Overrides: Room:commandEnteringStaff.
Declared on: line 88 of Lua/rooms/gp.lua.
function GPRoom:dealtWithPatient(patient)
Parameters:
Name | Type | Description |
---|---|---|
patient | ? | ? |
Overrides: Room:dealtWithPatient.
Declared on: line 106 of Lua/rooms/gp.lua.
function GPRoom:doStaffUseCycle(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Declared on: line 49 of Lua/rooms/gp.lua.
function GPRoom:onHumanoidLeave(humanoid)
Parameters:
Name | Type | Description |
---|---|---|
humanoid | ? | ? |
Overrides: Room:onHumanoidLeave.
Declared on: line 165 of Lua/rooms/gp.lua.
function GPRoom:roomFinished()
Overrides: Room:roomFinished.
Declared on: line 180 of Lua/rooms/gp.lua.
function GPRoom:shouldHavePatientReenter(patient)
Parameters:
Name | Type | Description |
---|---|---|
patient | ? | ? |
Overrides: Room:shouldHavePatientReenter.
Declared on: line 102 of Lua/rooms/gp.lua.