Prototype/SolarPanel: Difference between revisions
Jump to navigation
Jump to search
(Created page.) |
(1.1.51: Prototype/EntityWithOwner added) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithOwner}} | |||
A [[solar panel | A [[solar panel]]. | ||
{{Prototype TOC|solar-panel}} | |||
== | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | |||
Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority. | {{Prototype property|energy_source|[[Types/EnergySource|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. | |||
{{Prototype property|picture|[[Types/SpriteVariations|SpriteVariations]]}} | |||
The picture displayed for this solar panel. | |||
The | {{Prototype property|production|[[Types/Energy|Energy]]}} | ||
The maximum amount of power this solar panel can produce. | |||
=== | == Optional properties == | ||
{{Prototype property|overlay|[[Types/SpriteVariations|SpriteVariations]]|optional=true}} | |||
Overlay has to be empty or have same number of variations as picture. |
Latest revision as of 19:27, 21 January 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/SolarPanel
A solar panel.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
energy_source
Type: 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: SpriteVariations
The picture displayed for this solar panel.
production
Type: Energy
The maximum amount of power this solar panel can produce.
Optional properties
overlay
Type: SpriteVariations
Overlay has to be empty or have same number of variations as picture.