Prototype/Tree: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. == Optional p...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''tree'''
Extends [[Prototype/EntityWithHealth]].
Extends [[Prototype/EntityWithHealth]].



Revision as of 16:27, 21 January 2019

Basics

Prototype type: tree

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Optional properties

darkness_of_burnt_tree

Type: Types/float

Default: 0.5

pictures

Type: Types/SpriteVariations

Either this or variations must exist.

variations

Type: Types/table of Types/TreePrototypeVariation

Array. Can't be empty. Either this or pictures must exist.

colors

Type: Types/table of Types/Color

Array. Mandatory if variations exists.