Prototype/Tree: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(1.1.28: healing_per_tick changes for trees) |
||
Line 20: | Line 20: | ||
{{Prototype property|colors|[[Types/table|table]] of [[Types/Color|Color]]|optional=true}} | {{Prototype property|colors|[[Types/table|table]] of [[Types/Color|Color]]|optional=true}} | ||
Array. Mandatory if <code>variations</code> exists. | Array. Mandatory if <code>variations</code> exists. | ||
== Differing defaults == | |||
=== healing_per_tick === | |||
:''See [[EntityWithHealth#healing_per_tick]]'' | |||
'''Default''': 0.001666 |
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