Prototype/Generator: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(0.18.10) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
An entity that produces power from fluids, for example a [[steam engine]]. | |||
{{Prototype TOC|generator}} | {{Prototype TOC|generator}} | ||
Line 9: | Line 9: | ||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | {{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | ||
Must be an electric energy source. | Must be an electric energy source. | ||
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}} | |||
{{Prototype property|horizontal_animation|[[Types/Animation|Animation]]}} | {{Prototype property|horizontal_animation|[[Types/Animation|Animation]]}} | ||
Line 16: | Line 18: | ||
{{Prototype property|effectivity|[[Types/double|double]]}} | {{Prototype property|effectivity|[[Types/double|double]]}} | ||
The effectivity of the generator with 0.5 being half as effective as a regular steam-engine generator. | The effectivity of the generator with 0.5 being half as effective as a regular steam-engine generator. | ||
{{Prototype property|fluid_usage_per_tick|[[Types/double|double]]}} | |||
The number of fluid units the generator uses per tick. | |||
{{Prototype property|maximum_temperature|[[Types/double|double]]}} | |||
== Optional properties == | == Optional properties == | ||
Line 33: | Line 40: | ||
{{Prototype property|max_power_output|[[Types/Energy|Energy]]|optional=true}} | {{Prototype property|max_power_output|[[Types/Energy|Energy]]|optional=true}} | ||
Revision as of 11:07, 3 March 2020
Template:Prototype parent An entity that produces power from fluids, for example a steam engine.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Must be an electric energy source.
Template:Prototype property The effectivity of the generator with 0.5 being half as effective as a regular steam-engine generator.
Template:Prototype property The number of fluid units the generator uses per tick.
Optional properties
Template:Prototype property Array of 1 or more smoke sources.
Template:Prototype property Scales the generator's fluid usage to its maximum power output.
Template:Prototype property Animation runs at least this fast. This corresponds to the sound.