Prototype/SolarPanel: Difference between revisions
Jump to navigation
Jump to search
(0.16) |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
Prototype type: '''solar-panel''' | |||
A [[solar panel]]. Based on [[Prototype/EntityWithHealth]]. | A [[solar panel]]. Based on [[Prototype/EntityWithHealth]]. | ||
Revision as of 16:27, 21 January 2019
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.