CorsixTH Lua Documentation

Vip Class

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

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

Method Index

Member Index

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

Parameters:

NameTypeDescription
... ? ?

Declared on: line 24 of Lua/entities/vip.lua.

function Vip:afterLoad(old, new)

Parameters:

NameTypeDescription
old ? ?
new ? ?

Overrides: Humanoid:afterLoad.
Declared on: line 506 of Lua/entities/vip.lua.

function Vip:evaluateEmergency(success)

Parameters:

NameTypeDescription
success ? ?

Declared on: line 247 of Lua/entities/vip.lua.

function Vip:onDestroy()

called when the vip is out of the hospital grounds

Overrides: Humanoid:onDestroy.
Declared on: line 121 of Lua/entities/vip.lua.

function Vip:tickDay()

Check if it is cold or hot around the vip and increase/decrease the feeling of warmth accordingly. Returns whether the calling function should proceed.

Overrides: Humanoid:tickDay.
Declared on: line 47 of Lua/entities/vip.lua.

function Vip:updateDynamicInfo(action_string)

display the VIP name in the info box

Parameters:

NameTypeDescription
action_string ? ?

Declared on: line 101 of Lua/entities/vip.lua.

Page generated on Sat Feb 07, 2015 at 18:38:28 by LDocGen.