Prototype/SolarPanel: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
A [[solar panel]].


== Basics ==
{{Prototype TOC|solar-panel}}
Prototype type: '''solar-panel'''
 
A [[solar panel]]. Based on [[Prototype/EntityWithHealth]].


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


=== energy_source ===
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}}
'''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.
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 ===
{{Prototype property|picture|[[Types/SpriteVariations|SpriteVariations]]}}
'''Type''': [[Types/SpriteVariations]]
 
The picture displayed for this solar panel.
The picture displayed for this solar panel.


=== production ===
{{Prototype property|production|[[Types/Energy|Energy]]}}
'''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 ==
== Optional properties ==


=== overlay ===
{{Prototype property|overlay|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}
'''Type''': [[Types/SpriteVariations]]
 
Overlay has to be empty or have same number of variations as picture.
Overlay has to be empty or have same number of variations as picture.

Revision as of 17:16, 5 August 2019

Template:Prototype parent A solar panel.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property 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.

Template:Prototype property The picture displayed for this solar panel.

Template:Prototype property The maximum amount of power this solar panel can produce.

Optional properties

Template:Prototype property Overlay has to be empty or have same number of variations as picture.