Prototype/BurnerGenerator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
0.18.10
 
optional in template
Line 21: Line 21:
== Optional properties ==
== Optional properties ==


{{Prototype property|idle_animation|[[Types/Animation4Way|Animation4Way]]}}
{{Prototype property|idle_animation|[[Types/Animation4Way|Animation4Way]]|optional=true}}
Plays when the generator is inactive. Idle animation must have the same frame count as animation.
Plays when the generator is inactive. Idle animation must have the same frame count as animation.


{{Prototype property|always_draw_idle_animation|[[Types/bool|bool]]|false}}
{{Prototype property|always_draw_idle_animation|[[Types/bool|bool]]|false|optional=true}}
Whether the <code>idle_animation</code> should also play when the generator is active.
Whether the <code>idle_animation</code> should also play when the generator is active.


{{Prototype property|min_perceived_performance|[[Types/double|double]]|0.25}}
{{Prototype property|min_perceived_performance|[[Types/double|double]]|0.25|optional=true}}
Animation runs at least this fast.
Animation runs at least this fast.


{{Prototype property|performance_to_sound_speedup|[[Types/double|double]]|0.5}}
{{Prototype property|performance_to_sound_speedup|[[Types/double|double]]|0.5|optional=true}}

Revision as of 12:31, 3 March 2020

Template:Prototype parent An entity that produces power from a burner energy source.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property The output energy source of the generator. Any emissions specified on this energy source are ignored, they must be specified on burner. Must be an electric energy source.

Template:Prototype property The input energy source of the generator. Must be a burner energy source.

Template:Prototype property Plays when the generator is active. Idle animation must have the same frame count as animation.

Template:Prototype property How much energy this generator can produce.

Optional properties

Template:Prototype property Plays when the generator is inactive. Idle animation must have the same frame count as animation.

Template:Prototype property Whether the idle_animation should also play when the generator is active.

Template:Prototype property Animation runs at least this fast.

Template:Prototype property