CorsixTH Lua Documentation

SeekRoomAction Class

Declared on: line 21 of Lua/humanoid_actions/seek_room.lua.
Inheritance: SeekRoomAction ยป HumanoidAction

Method Index

Member Index

(*) only used in superclass methods
function SeekRoomAction:SeekRoomAction(room_type)

Find another room (and go to it).

Parameters:

NameTypeDescription
room_type ? Type of the new room.

Declared on: line 26 of Lua/humanoid_actions/seek_room.lua.

function SeekRoomAction:enableTreatmentRoom()

Denote that the room being looked for is a treatment room.

Declared on: line 37 of Lua/humanoid_actions/seek_room.lua.

function SeekRoomAction:setDiagnosisRoom(room)

Sets the index of the room to use from the disease's available diagnosis rooms

Parameters:

NameTypeDescription
room integer key in the available diagnosis room list

Declared on: line 44 of Lua/humanoid_actions/seek_room.lua.