Optional
entityOptions: IEntityConstructorOptions<CreatureType>Optional
decay: numberProtected
Optional
_descriptionOptional
aberrantOptional
decayReadonly
eventOptional
preventOptional
qualityOptional
referenceDo not use this property directly, instead use `game.references.getReference()
Optional
renamedOptional
respawnedOptional
startingOptional
stepGet the entities description
Protected
getCalled when filling out the entities description for the first time
Optional
article: ArticleWhether to include an article for the name of the creature. Uses the article rules on the language. Defaults to true
.
Optional
count: numberThe number of this creature that you're getting the name of. Defaults to 1
.
Examples:
corpse.getName()
// "an acid spitter demon"corpse.getName(false)
// "acid spitter demon"corpse.getName(undefined, 3)
// "acid spitter demons"Gets the temperature produced by this object. Positive values are "heat", negative values are "cold".
Refer to the values of the Temperature
enum to see the possible range.
If this method is not implemented, or it returns undefined
, Temperature.Neutral
is used.
Protected
onProtected
onProtected
setUpdates the DoodadOverHidden tile flag if the creature is large. Large creatures should render over the doodad over layer, which means we should hide the doodad over layer for doodads on the creatures tile.
Static
isGenerated using TypeDoc
TODO: extends Entity?