wasm calls this when calculating penalties for flow fields
Spawns a creature.
The type of creature to spawn.
The tile X position
The tile Y position
The tile Z position
Whether to bypass checks for whether the creature can spawn there naturally. Defaults to false, if the creature can't spawn naturally, it won't.
If provided, forces the spawned creature's aberrant state to be the passed boolean. True = aberrant, false = not aberrant. If not provided, the aberrant state is decided based on chance.
If set, this will overwrite the creature's description for which tiles it can spawn on
If set, the creature limit will be ignored and spawn the creature over the set limit
Generated using TypeDoc