ZombieData

Added in version v1.5.0.

Provides persistent storage associated with a specific zombie, similar to mod data. Zombie mod data, unlike mod data belonging to other objects, is not suitable for this usage as it is not persistent. Like mod data, zombie data cannot store objects or functions, only POD.

Require: require("Starlit/ZombieData")

Function

Starlit.ZombieData.get(zombie: IsoZombie): (zombieData: table)

Returns the zombie data for a zombie.

Parameters:

zombie (IsoZombie) – The zombie.

Returns:

zombieData (table) – The zombie data.