Optional entityOptions: IEntityConstructorOptions<DoodadType>Protected Optional _descriptionOptional aberrantOptional bonusOptional builderOptional containedOptional crafterOptional decayOptional disassemblyReadonly eventOptional gatherOptional growthOptional hasOptional hitchedOptional itemOptional magicOptional meltOptional orientationOptional preventOptional qualityOptional referenceOptional renamedOptional spreadOptional startingOptional stepOptional stillOptional tradedOptional weightStatic Protected registrarGet the entities description
Determines which graphic to show based on how full the bookcase is with books/text.
DoodadTypeExtra or DisplayableItemType equal to which graphic it should show.
Optional item: booleanset to true if DisplayableItemType is to be returned.
Protected getCalled when filling out the entities description for the first time
Gets if the doodad is set to display any extra graphics/assets.
DisplayableDoodadType or DoodadType (if no extra is set)
Gets the insulation of this object.
Insulation is a decimal number from 0 to 1.
0 means that the temperature inside this object is equivalent to the temperature outside.1 means that no temperature inside this object is emitted to the outside tiles — it is a completely
separate temperature "biome".Gets the doodad's quality and action level (how good it is at doing the action) based on the item it is based off of (using repairItem property).
A number (possibly 0 if no quality or action level).
The ActionType you are trying to get the level for.
Returns the type of liquid that can be gathered from this doodad
Gets the decay rate of a doodad based on the temperature (returns as a default of 0).
The number of melt reduction of the doodad given the temperature of the point.
Optional article: ArticleWhether to include an article for the name of the doodad. Uses the article rules on the language.. @param count The number of this doodad that you're getting the name of. Defaults to 1`.
Examples:
doodad.getName() // "a stone furnace"doodad.getName(Article.None) // "stone furnace"doodad.getName(Article.None, 3) // "stone furnaces"Optional count: numberGets 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.
Gets the container to use for doodad executed actions
Increases or decreases plant fertility, growth and durability (health) based on the liquid applied.
The LiquidType that is to be applied.
Optional growthBonus: numberThe bonus that is applied (on top of a default of 10) to the plants decay (so it grows faster).
Increased the fertility (spread) of a plant/growing doodad.
True or false depending on if it increased in fertility or not.
Optional bypassChange: booleanSet to true if you just want to check if fertility can be increased.
Protected setStatic getStatic isStatic setGenerated using TypeDoc
Do not use this property directly, instead use `game.references.getReference()