Prototype/BurnerGenerator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Protected "Prototype/BurnerGenerator": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Removed old prototype docs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/BurnerGeneratorPrototype.html https://lua-api.factorio.com/latest/prototypes/BurnerGeneratorPrototype.html]
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/BurnerGeneratorPrototype.html https://lua-api.factorio.com/latest/prototypes/BurnerGeneratorPrototype.html]


This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
 
 
{{Prototype parent|Prototype/EntityWithOwner}}
An entity that produces power from a burner energy source.
 
{{Prototype TOC|burner-generator}}
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithOwner]].
 
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}}
The output energy source of the generator. Any emissions specified on this energy source are ignored, they must be specified on <code>burner</code>. Must be an electric energy source.
 
{{Prototype property|burner|[[Types/EnergySource|EnergySource]]}}
The input energy source of the generator. Must be a burner energy source.
 
{{Prototype property|animation|[[Types/Animation4Way|Animation4Way]]}}
Plays when the generator is active. Idle animation must have the same frame count as animation.
 
{{Prototype property|max_power_output|[[Types/Energy|Energy]]}}
How much energy this generator can produce.
 
== Optional properties ==
 
{{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.
 
{{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.
 
{{Prototype property|min_perceived_performance|[[Types/double|double]]|0.25|optional=true}}
Animation runs at least this fast.
 
{{Prototype property|performance_to_sound_speedup|[[Types/double|double]]|0.5|optional=true}}

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/BurnerGeneratorPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.