Protected
Readonly
islandProtected
Readonly
nameProtected
Readonly
objectsProtected
Readonly
reregisterIndicates if objects should be re-registered to the memory leak detector after loading
Static
combatStatic
listThis is likely only used during save upgrades
Protected
canChecks if the target position is a good spot for a new entity
Optional
tile: defaultgetMovePenalty
Blocked penalty - Do no return 0!
Set to true if the object is about to move to this tile. This method will confirm if there's an existing npc/creature there and return false if so
Optional
options: Partial<ICreatureCheckMoveOptions>Optional
creature: defaultOptional
aberrant: booleanOptional
count: numberOptional
article: ArticleProtected
onCalled when an entity is being removed
Return true if this method handled tile updates
Entity to remove
Optional
options: { Optional
remainProtected
registerProtected
removeSpawns a creature.
The type of creature to spawn.
The tile
Optional
bypass: booleanWhether to bypass checks for whether the creature can spawn there naturally. Defaults to false, if the creature can't spawn naturally, it won't.
Optional
forceAberrant: booleanIf 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.
Optional
spawnTiles: TileGroupIf set, this will overwrite the creature's description for which tiles it can spawn on
Optional
bypassCreatureLimit: booleanIf set, the creature limit will be ignored and spawn the creature over the set limit
Static
generateStatic
getOptional
aberrant: booleanOptional
count: numberOptional
article: ArticleGenerated using TypeDoc
Name of this object manager