Prototype/SolarPanel: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page.)
 
(0.16)
Line 2: Line 2:
A [[solar panel]]. Based on [[Prototype/EntityWithHealth]].
A [[solar panel]]. Based on [[Prototype/EntityWithHealth]].


== Properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== energy_source ===
=== energy_source ===
Type: [[Types/EnergySource]]
'''Type''': [[Types/EnergySource]]


Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority.
Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority. Has to be an electric energy source.


=== picture ===
=== picture ===
Type: [[Types/Sprite]]
'''Type''': [[Types/SpriteVariations]]


The picture displayed for this solar panel.
The picture displayed for this solar panel.


=== production ===
=== production ===
Type: [[Types/EnergyPower]]
'''Type''': [[Types/Energy]]


The maximum amount of power this solar panel can produce.
The maximum amount of power this solar panel can produce.
== Optional properties ==
=== overlay ===
'''Type''': [[Types/SpriteVariations]]
Overlay has to be empty or have same number of variations as picture.

Revision as of 18:06, 21 May 2018

Basics

A solar panel. Based on Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

energy_source

Type: Types/EnergySource

Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority. Has to be an electric energy source.

picture

Type: Types/SpriteVariations

The picture displayed for this solar panel.

production

Type: Types/Energy

The maximum amount of power this solar panel can produce.

Optional properties

overlay

Type: Types/SpriteVariations

Overlay has to be empty or have same number of variations as picture.