ReceptionDesk Class
Declared on: line 71 of Lua/objects/reception_desk.lua.
Inheritance: ReceptionDesk » Object » Entity
Inheritance: ReceptionDesk » Object » Entity
Method Index
- _tick() (inherited from Entity)
- addReservedUser(user) (inherited from Object)
- afterLoad(old, new) (inherited from Object)
- checkForNearbyStaff()
- clearDynamicInfo() (inherited from Entity)
- getDrawingLayer() (inherited from Object)
- getDynamicInfo() (inherited from Entity)
- getRenderAttachTile() (inherited from Object)
- getRoom() (inherited from Entity)
- getSecondaryUsageTile() (inherited from Object)
- getUsageScore()
- getWalkableTiles() (inherited from Object)
- initOrientation(direction) (inherited from Object)
- isReservedFor(user) (inherited from Object)
- notifyNewObject(id) (inherited from Entity)
- occupy(receptionist)
- onClick(ui, button) (overrides Object:onClick)
- onDestroy() (overrides Object:onDestroy)
- playSound(name) (inherited from Entity)
- processTypeDefinition(object_type) (inherited from Object)
- removeReservedUser(user) (inherited from Object)
- removeUser(user) (inherited from Object)
- resetAnimation() (inherited from Object)
- setAnimation(animation, flags) (inherited from Object)
- setDynamicInfo(type, value) (inherited from Entity)
- setLayer(layer, id) (inherited from Entity)
- setMood(mood_name, activate) (inherited from Entity)
- setMoodInfo(new_mood) (inherited from Entity)
- setPosition(x, y) (inherited from Object)
- setSpeed(x, y) (inherited from Entity)
- setTile(x, y) (overrides Object:setTile)
- setTilePositionSpeed(tx, ty, px, py, sx, sy) (inherited from Entity)
- setTimer(tick_count, f) (inherited from Entity)
- setUser(user) (inherited from Object)
- slaveMixinClass(class_method_table) (inherited from Object)
- tick() (overrides Object:tick)
- tickDay() (inherited from Entity)
- updateDynamicInfo() (inherited from Object)
Member Index
- animation_flags (*)
- animation_idx (*)
- being_destroyed
- direction (*)
- dynamic_info (*)
- footprint (*)
- hospital (*)
- hover_cursor
- init_anim_flags (*)
- layers (*)
- mood_info (*)
- num_animation_ticks (*)
- object_type (*)
- orientation_before (*)
- permanent_flags (*)
- picked_up (*)
- queue
- queue_advance_timer
- receptionist
- reserved_for
- reserved_for_list (*)
- set_passable_flags (*)
- skip_next_tick (*)
- slow_animation (*)
- split_anim_positions (*)
- split_anims (*)
- th (*)
- ticks (*)
- tile_x (*)
- tile_y (*)
- timer_function (*)
- timer_time (*)
- times_used (*)
- user (*)
- user_list (*)
- user_of (*)
- world
function ReceptionDesk:ReceptionDesk(...)
Parameters:
Name | Type | Description |
---|---|---|
... | ? | ? |
Declared on: line 73 of Lua/objects/reception_desk.lua.
function ReceptionDesk:checkForNearbyStaff()
Declared on: line 123 of Lua/objects/reception_desk.lua.
function ReceptionDesk:occupy(receptionist)
Create orders for the specified receptionist to walk to and then staff the reception desk,
if not already staffed or someone is on the way
Parameters:
Name | Type | Description |
---|---|---|
receptionist | Staff | the receptionist to occupy this desk |
Declared on: line 193 of Lua/objects/reception_desk.lua.
function ReceptionDesk:onClick(ui, button)
Parameters:
Name | Type | Description |
---|---|---|
ui | ? | ? |
button | ? | ? |
Overrides: Object:onClick.
Declared on: line 82 of Lua/objects/reception_desk.lua.
function ReceptionDesk:onDestroy()
Overrides: Object:onDestroy.
Declared on: line 168 of Lua/objects/reception_desk.lua.
function ReceptionDesk:setTile(x, y)
Parameters:
Name | Type | Description |
---|---|---|
x | ? | ? |
y | ? | ? |
Overrides: Object:setTile.
Declared on: line 160 of Lua/objects/reception_desk.lua.
function ReceptionDesk:tick()
Overrides: Object:tick.
Declared on: line 91 of Lua/objects/reception_desk.lua.