Prototype/SolarPanel: Difference between revisions
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]]. | |||
{{Prototype TOC|solar-panel}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{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. | 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 picture displayed for this solar panel. | ||
{{Prototype property|production|[[Types/Energy|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 == | ||
{{Prototype property|overlay|[[Types/SpriteVariations|SpriteVariations]]|optional=true}} | |||
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.
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.