Prototype/SolarPanel

From Official Factorio Wiki
Revision as of 15:53, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

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.