Readonly eventProtected Readonly islandProtected Readonly objectsStatic combatProtected canOptional 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 theres an existing npc/creature there and return false if so
Optional options: Partial<ICreatureCheckMoveOptions>Optional aberrant: booleanOptional count: numberOptional article: ArticleProtected 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
Optional bypass: booleanOptional bypassCreatureLimit: booleanStatic generateStatic getOptional aberrant: booleanOptional count: numberOptional article: ArticleGenerated using TypeDoc
Checks if the target position is a good spot for a new entity