Prototype/SolarPanel: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
Prototype type: '''solar-panel'''
Prototype type: '''solar-panel'''

Revision as of 15:53, 24 July 2019

Template:Prototype parent

Basics

Prototype type: solar-panel

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.