Prototype/Tree: Difference between revisions
Jump to navigation
Jump to search
(1.1.28: healing_per_tick changes for trees) |
|||
Line 23: | Line 23: | ||
== Differing defaults == | == Differing defaults == | ||
=== healing_per_tick === | === healing_per_tick === | ||
:''See [[EntityWithHealth#healing_per_tick]]'' | :''See [[Prototype/EntityWithHealth#healing_per_tick]]'' | ||
'''Default''': 0.001666 | '''Default''': 0.001666 |
Latest revision as of 14:40, 25 March 2021
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/Tree
A tree.
Optional properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
variation_weights
Type: table of double
Array of double.
darkness_of_burnt_tree
Type: float
Default: 0.5
pictures
Type: SpriteVariations
Either this or variations
must exist.
variations
Type: table of TreePrototypeVariation
Array. Can't be empty. Either this or pictures
must exist.
colors
Type: table of Color
Array. Mandatory if variations
exists.
Differing defaults
healing_per_tick
Default: 0.001666