Prototype/Generator: Difference between revisions
Jump to navigation
Jump to search
Angelofsol (talk | contribs) |
(0.16) |
||
Line 1: | Line 1: | ||
== | == Basics == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]] | A power generator, for example a [[steam engine]]. | ||
== Mandatory properties == | |||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | |||
=== energy_source === | |||
'''Type''': [[Types/EnergySource]] | |||
=== fluid_box === | |||
'''Type''': [[Types/FluidBox]] | |||
=== horizontal_animation === | |||
'''Type''': [[Types/Animation]] | |||
=== vertical_animation === | |||
'''Type''': [[Types/Animation]] | |||
=== effectivity === | === effectivity === | ||
Type: [[Types/ | '''Type''': [[Types/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. | ||
=== fluid_usage_per_tick === | === fluid_usage_per_tick === | ||
Type: [[Types/ | '''Type''': [[Types/double]] | ||
The number of fluid units the generator uses per tick. | |||
=== maximum_temperature === | |||
'''Type''': [[Types/double]] | |||
== Optional properties == | |||
=== smoke === | |||
'''Type''': [[Types/SmokeSources]] | |||
=== burns_fluid === | |||
'''Type''': [[Types/bool]] | |||
'''Default''': false | |||
=== | === scale_fluid_usage === | ||
Type: [[Types/ | '''Type''': [[Types/bool]] | ||
'''Default''': false | |||
Scales the generator's fluid usage to its maximum power output. | |||
=== min_perceived_performance === | |||
'''Type''': [[Types/double]] | |||
'''Default''': 0.25 | |||
Animation runs at least this fast. This corresponds to the sound. | |||
=== performance_to_sound_speedup === | |||
'''Type''': [[Types/double]] | |||
'''Default''': 0.5 | |||
=== max_power_output === | |||
'''Type''': [[Types/Energy]] |
Revision as of 14:13, 20 May 2018
Basics
A power generator, for example a steam engine.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
Type: Types/EnergySource
fluid_box
Type: Types/FluidBox
horizontal_animation
Type: Types/Animation
vertical_animation
Type: Types/Animation
effectivity
Type: Types/double
The effectivity of the generator with 0.5 being half as effective as a regular steam-engine generator.
fluid_usage_per_tick
Type: Types/double
The number of fluid units the generator uses per tick.
maximum_temperature
Type: Types/double
Optional properties
smoke
Type: Types/SmokeSources
burns_fluid
Type: Types/bool
Default: false
scale_fluid_usage
Type: Types/bool
Default: false
Scales the generator's fluid usage to its maximum power output.
min_perceived_performance
Type: Types/double
Default: 0.25
Animation runs at least this fast. This corresponds to the sound.
performance_to_sound_speedup
Type: Types/double
Default: 0.5
max_power_output
Type: Types/Energy