Skip to content

Module: ZombieData

albion edited this page Jun 6, 2025 · 2 revisions

Important

Documentation has moved to the docs. This wiki will no longer be updated, and may be deleted in the future.

local ZombieData = require("Starlit/ZombieData")

The ZombieData module 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 Plain Old Data.

Functions

ZombieData.get(zombie: IsoZombie) -> zombieData: table

Returns the zombie data for zombie, creating it if it does not exist.

Clone this wiki locally