CorsixTH Lua Documentation

Vip Class

A `Vip` who is in the hospital to evaluate the hospital and produce a report

Declared on: line 59 of Lua/entities/humanoids/vip.lua.
Inheritance: Vip » Humanoid » Entity

Method Index

Member Index

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

Parameters:

NameTypeDescription
... ? ?

Declared on: line 65 of Lua/entities/humanoids/vip.lua.

function Vip:afterLoad(old, new)

Parameters:

NameTypeDescription
old ? ?
new ? ?

Overrides: Humanoid:afterLoad.
Declared on: line 458 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: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:

NameTypeDescription
action_string ? ?

Declared on: line 162 of Lua/entities/humanoids/vip.lua.