CorsixTH Lua Documentation

ReceptionDesk Class

Declared on: line 71 of Lua/objects/reception_desk.lua.
Inheritance: ReceptionDesk » Object » Entity

Method Index

Member Index

(*) only used in superclass methods
function ReceptionDesk:ReceptionDesk(...)

Parameters:

NameTypeDescription
... ? ?

Declared on: line 76 of Lua/objects/reception_desk.lua.

function ReceptionDesk:checkForNearbyStaff()

Reception desk looks for a receptionist.

Declared on: line 169 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:

NameTypeDescription
receptionist Staff the receptionist to occupy this desk

Declared on: line 246 of Lua/objects/reception_desk.lua.

function ReceptionDesk:onClick(ui, button)

Parameters:

NameTypeDescription
ui ? ?
button ? ?

Overrides: Object:onClick.
Declared on: line 85 of Lua/objects/reception_desk.lua.

function ReceptionDesk:setTile(x, y)

Parameters:

NameTypeDescription
x ? ?
y ? ?

Overrides: Object:setTile.
Declared on: line 207 of Lua/objects/reception_desk.lua.