Receptionist Class
A Doctor, Nurse, Receptionist, Handyman, or Surgeon
Inheritance: Receptionist » Staff » Humanoid » Entity
Method Index
- _handleEmptyActionQueue() (inherited from Humanoid)
- _tick() (inherited from Entity)
- adviseWrongPersonForThisRoom() (inherited from Staff)
- afterLoad(old, new) (overrides Staff:afterLoad)
- changeAttribute(attribute, amount) (inherited from Humanoid)
- checkIfNeedRest() (overrides Staff:checkIfNeedRest)
- checkIfWaitedTooLongForRaise() (inherited from Staff)
- clearDynamicInfo() (inherited from Entity)
- despawn() (inherited from Staff)
- die() (inherited from Staff)
- dump() (inherited from Staff)
- eraseObject() (inherited from Entity)
- findObjectsInSquare(size, object_spec) (inherited from Humanoid)
- finishAction(action) (inherited from Humanoid)
- fire() (overrides Staff:fire)
- fulfillsCriterion(criterion) (overrides Staff:fulfillsCriterion)
- getAttribute(attribute, default_value) (inherited from Humanoid)
- getCurrentAction() (inherited from Humanoid)
- getCurrentMood() (inherited from Humanoid)
- getDrawingLayer() (overrides Entity:getDrawingLayer)
- getDynamicInfo() (inherited from Entity)
- getIdleAnimation(humanoid_class) (inherited from Humanoid)
- getRoom() (inherited from Humanoid)
- getServiceQuality() (inherited from Staff)
- getTile() (inherited from Entity)
- goToStaffRoom() (inherited from Staff)
- goingToUseObject(object_type) (inherited from Humanoid)
- handleRemovedObject(object) (inherited from Humanoid)
- hasDressingAndLeavingAction() (inherited from Humanoid)
- hasLeavingAction() (inherited from Humanoid)
- increaseWage(amount) (inherited from Staff)
- isCrackUpTired() (inherited from Staff)
- isEnteringRoom() (inherited from Humanoid)
- isIdle() (inherited from Staff)
- isKnockingDoor() (inherited from Humanoid)
- isLeaving() (inherited from Humanoid)
- isMeandering() (inherited from Humanoid)
- isMoodActive(mood) (inherited from Humanoid)
- isObscuringArea(x1, x2, y1, y2) (inherited from Humanoid)
- isResting() (overrides Staff:isResting)
- isTiring() (overrides Staff:isTiring)
- isType(humanoid_class) (inherited from Humanoid)
- isVeryTired() (inherited from Staff)
- leaveArea() (inherited from Humanoid)
- needsWorkStation()
- notifyNewObject(id) (inherited from Entity)
- notifyNewRoom(room) (inherited from Staff)
- notifyOfStaffChange(staff) (inherited from Humanoid)
- onClick(ui, button) (inherited from Staff)
- onDestroy() (inherited from Staff)
- onPickUp() (inherited from Entity)
- onPickup() (overrides Staff:onPickup)
- onPlaceInCorridor() (overrides Staff:onPlaceInCorridor)
- playAfterLoadSound() (inherited from Entity)
- playEntitySounds(name_pattern, min_silence_lengths, max_silence_lengths, num_silences) (inherited from Entity)
- playSound(name, played_callback, played_callback_delay) (inherited from Entity)
- queueAction(action, pos) (inherited from Humanoid)
- registerRoomBuildCallback(callback) (inherited from Humanoid)
- registerRoomRemoveCallback(callback) (inherited from Humanoid)
- registerStaffChangeCallback(callback) (inherited from Humanoid)
- removeQueuedStaffMessage() (inherited from Staff)
- requestRaise() (inherited from Staff)
- resetAnimation() (inherited from Entity)
- setAnimation(animation, flags) (inherited from Entity)
- setCallCompleted() (inherited from Humanoid)
- setDynamicInfo(type, value) (inherited from Entity)
- setDynamicInfoText(text) (inherited from Staff)
- setHospital(hospital) (inherited from Staff)
- setIfHoverMoodsVisible() (inherited from Humanoid)
- setLayer(layer, id) (inherited from Entity)
- setMood(mood_name, activate) (inherited from Humanoid)
- setMoodInfo(new_mood) (inherited from Entity)
- setNextAction(action, high_priority) (inherited from Humanoid)
- setPickup(ui, window_to_close) (inherited from Staff)
- setPosition(x, y) (inherited from Entity)
- setProfile(profile) (overrides Staff:setProfile)
- setSpeed(x, y) (inherited from Entity)
- setTile(x, y) (inherited from Entity)
- setTilePositionSpeed(tx, ty, px, py, sx, sy) (inherited from Entity)
- setTimer(tick_count, f) (inherited from Entity)
- setType(humanoid_class) (inherited from Humanoid)
- setWaitingForSoundEffectsToBeTurnedOn() (inherited from Entity)
- startAction() (inherited from Humanoid)
- tick() (inherited from Staff)
- tickDay() (overrides Staff:tickDay)
- tire(amount) (inherited from Staff)
- tostring() (inherited from Staff)
- unexpectFromRoom(dest_room) (inherited from Humanoid)
- unregisterCallbacks() (inherited from Humanoid)
- unregisterRoomBuildCallback(callback) (inherited from Humanoid)
- unregisterRoomRemoveCallback(callback) (inherited from Humanoid)
- unregisterStaffChangeCallback(callback) (inherited from Humanoid)
- updateDynamicInfo() (inherited from Staff)
- updateSpeed() (inherited from Staff)
- wake(amount) (inherited from Staff)
- walkTo(tile_x, tile_y, must_happen) (inherited from Humanoid)
Member Index
- action_queue (*)
- active_moods (*)
- animation_flags (*)
- animation_idx (*)
- associated_desk (*)
- attributes
- build_callback (*)
- build_callbacks (*)
- check_watch_anim (*)
- dead (*)
- die_anims (*)
- door_anims (*)
- dynamic_info (*)
- dynamic_text (*)
- falling_anim (*)
- fired (*)
- get_up_anim (*)
- goHome (*)
- going_home (*)
- going_to_die (*)
- going_to_staffroom (*)
- has_fallen (*)
- has_vomitted (*)
- hospital
- hover_cursor (*)
- hover_moods (*)
- humanoid_class (*)
- in_room (*)
- last_move_direction
- last_room (*)
- layers (*)
- leave_priority
- leave_sounds
- message_callback (*)
- mood_info (*)
- mood_marker (*)
- next_room_to_visit (*)
- num_animation_ticks (*)
- on_call (*)
- on_ground_anim (*)
- parcelNr (*)
- pee_anim (*)
- permanent_flags (*)
- pickup (*)
- playing_sounds_in_random_sequence (*)
- previous_action (*)
- profile (*)
- quitting_in (*)
- random_sound_sequence_parameters (*)
- remove_callbacks (*)
- shake_fist_anim (*)
- should_knock_on_doors (*)
- skip_next_tick (*)
- slow_animation (*)
- speed (*)
- staff_change_callbacks (*)
- staffroom_needed (*)
- tap_foot_anim (*)
- th (*)
- ticks (*)
- tile_x (*)
- tile_y (*)
- timer_function (*)
- timer_time (*)
- timer_until_raise (*)
- toilet_callback (*)
- user_of (*)
- vomit_anim (*)
- waiting_for_sound_effects_to_be_turned_on (*)
- waiting_for_staffroom (*)
- walk_anims (*)
- world
- yawn_anim (*)
function Receptionist:Receptionist(...)
Parameters:
| Name | Type | Description |
|---|---|---|
| ... | ? | Arguments to base class constructor. |
Declared on: line 32 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:afterLoad(old, new)
Parameters:
| Name | Type | Description |
|---|---|---|
| old | ? | ? |
| new | ? | ? |
Overrides: Staff:afterLoad.
Declared on: line 106 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:checkIfNeedRest()
Receptionists do not need rest
Overrides: Staff:checkIfNeedRest.
Declared on: line 65 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:fire()
Overrides: Staff:fire.
Declared on: line 101 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:fulfillsCriterion(criterion)
Helper function to decide if Staff fulfills a criterion
(one of "Doctor", "Nurse", "Psychiatrist", "Surgeon", "Researcher" and "Handyman", "Receptionist", "Junior", "Consultant")
Parameters:
| Name | Type | Description |
|---|---|---|
| criterion | ? | ? |
Overrides: Staff:fulfillsCriterion.
Declared on: line 82 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:getDrawingLayer()
Overrides: Entity:getDrawingLayer.
Declared on: line 88 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:isResting()
Overrides: Staff:isResting.
Declared on: line 50 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:isTiring()
Overrides: Staff:isTiring.
Declared on: line 46 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:needsWorkStation()
Declared on: line 59 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:onPickup()
Overrides: Staff:onPickup.
Declared on: line 96 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:onPlaceInCorridor()
Overrides: Staff:onPlaceInCorridor.
Declared on: line 70 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:setProfile(profile)
Parameters:
| Name | Type | Description |
|---|---|---|
| profile | ? | ? |
Overrides: Staff:setProfile.
Declared on: line 54 of Lua/entities/humanoids/staff/receptionist.lua.
function Receptionist:tickDay()
Overrides: Staff:tickDay.
Declared on: line 39 of Lua/entities/humanoids/staff/receptionist.lua.