Vip Class
A `Vip` who is in the hospital to evaluate the hospital and produce a report
Method Index
- _handleEmptyActionQueue() (inherited from Humanoid)
- _tick() (inherited from Entity)
- afterLoad(old, new) (overrides Humanoid:afterLoad)
- changeAttribute(attribute, amount) (inherited from Humanoid)
- clearDynamicInfo() (inherited from Entity)
- despawn() (inherited from Humanoid)
- dump() (inherited from Humanoid)
- eraseObject() (inherited from Entity)
- evaluateRoom()
- findObjectsInSquare(size, object_spec) (inherited from Humanoid)
- finishAction(action) (inherited from Humanoid)
- getAttribute(attribute, default_value) (inherited from Humanoid)
- getCurrentAction() (inherited from Humanoid)
- getCurrentMood() (inherited from Humanoid)
- getDrawingLayer() (inherited from Entity)
- getDynamicInfo() (inherited from Entity)
- getIdleAnimation(humanoid_class) (inherited from Humanoid)
- getNextRoom()
- getRoom() (inherited from Humanoid)
- getTile() (inherited from Entity)
- goHome() (overrides Humanoid:goHome)
- goingToUseObject(object_type) (inherited from Humanoid)
- handleRemovedObject(object) (inherited from Humanoid)
- hasDressingAndLeavingAction() (inherited from Humanoid)
- hasLeavingAction() (inherited from Humanoid)
- isEnteringRoom() (inherited from Humanoid)
- 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)
- isType(humanoid_class) (inherited from Humanoid)
- leaveArea() (inherited from Humanoid)
- notifyNewObject(id) (inherited from Entity)
- notifyNewRoom(room) (inherited from Humanoid)
- notifyOfStaffChange(staff) (inherited from Humanoid)
- onClick(ui, button) (inherited from Humanoid)
- onDestroy() (overrides Humanoid:onDestroy)
- onPickUp() (inherited from Entity)
- 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)
- resetAnimation() (inherited from Entity)
- setAnimation(animation, flags) (inherited from Entity)
- setCallCompleted() (inherited from Humanoid)
- setDynamicInfo(type, value) (inherited from Entity)
- setHospital(hospital) (inherited from Humanoid)
- setIfHoverMoodsVisible() (overrides Humanoid:setIfHoverMoodsVisible)
- 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)
- setPosition(x, y) (inherited from Entity)
- 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)
- setVIPRating()
- setWaitingForSoundEffectsToBeTurnedOn() (inherited from Entity)
- startAction() (inherited from Humanoid)
- tick() (inherited from Entity)
- tickDay() (overrides Humanoid:tickDay)
- tire(amount) (inherited from Humanoid)
- tostring() (inherited from Humanoid)
- 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(action_string)
- updateSpeed() (inherited from Humanoid)
- wake(amount) (inherited from Humanoid)
- walkTo(tile_x, tile_y, must_happen) (inherited from Humanoid)
Member Index
- action_queue
- action_string
- active_moods (*)
- animation_flags (*)
- animation_idx (*)
- announced
- associated_desk (*)
- attributes (*)
- build_callback (*)
- build_callbacks (*)
- cash_reward
- check_watch_anim (*)
- dead (*)
- die_anims (*)
- door_anims (*)
- dynamic_info (*)
- enter_cures
- enter_deaths
- enter_patients
- enter_visitors
- falling_anim (*)
- fire (*)
- found_vomit
- getServiceQuality (*)
- get_up_anim (*)
- going_home
- going_to_die (*)
- has_fallen (*)
- has_vomitted (*)
- hospital
- hover_cursor
- hover_moods
- humanoid_class (*)
- in_room (*)
- last_hospital
- last_move_direction (*)
- layers (*)
- message_callback (*)
- mood_info (*)
- mood_marker
- name
- next_room
- next_room_no
- next_room_to_visit (*)
- num_animation_ticks (*)
- num_visited_rooms
- num_vomit_inducing
- num_vomit_noninducing
- on_call (*)
- on_ground_anim (*)
- pee_anim (*)
- permanent_flags (*)
- playing_sounds_in_random_sequence (*)
- previous_action (*)
- profile (*)
- random_sound_sequence_parameters (*)
- remove_callbacks (*)
- rep_reward
- room_eval
- room_visit_chance
- shake_fist_anim (*)
- should_knock_on_doors (*)
- skip_next_tick (*)
- slow_animation
- speed (*)
- staff_change_callbacks (*)
- tap_foot_anim (*)
- th (*)
- ticks (*)
- tile_x (*)
- tile_y (*)
- timer_function (*)
- timer_time (*)
- toilet_callback (*)
- user_of (*)
- vip_message
- vip_rating
- vomit_anim (*)
- waiting
- waiting_for_sound_effects_to_be_turned_on (*)
- walk_anims (*)
- world
- yawn_anim (*)
function Vip:Vip(...)
Parameters:
| Name | Type | Description |
|---|---|---|
| ... | ? | ? |
Declared on: line 65 of Lua/entities/humanoids/vip.lua.
function Vip:afterLoad(old, new)
Parameters:
| Name | Type | Description |
|---|---|---|
| old | ? | ? |
| new | ? | ? |
Overrides: Humanoid:afterLoad.
Declared on: line 458 of Lua/entities/humanoids/vip.lua.
function Vip:goHome()
--VIP is leaving--
Overrides: Humanoid:goHome.
Declared on: line 172 of Lua/entities/humanoids/vip.lua.
function Vip:onDestroy()
--VIP has left--
Called when the vip is out of the hospital grounds
Overrides: Humanoid:onDestroy.
Declared on: line 226 of Lua/entities/humanoids/vip.lua.
function Vip:setIfHoverMoodsVisible()
Disable showing VIP mood on hover
Overrides: Humanoid:setIfHoverMoodsVisible.
Declared on: line 167 of Lua/entities/humanoids/vip.lua.
function Vip:tickDay()
--VIP while on premises--
Overrides: Humanoid:tickDay.
Declared on: line 93 of Lua/entities/humanoids/vip.lua.
function Vip:updateDynamicInfo(action_string)
display the VIP name in the info box
Parameters:
| Name | Type | Description |
|---|---|---|
| action_string | ? | ? |
Declared on: line 162 of Lua/entities/humanoids/vip.lua.