Types/EnergySource: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Removed old prototype docs)
Tag: Replaced
 
(48 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== Basics ==
<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/types/EnergySource.html https://lua-api.factorio.com/latest/types/EnergySource.html]
Specifies the way the entity gets its energy.
Valid for 0.8+ version
=== type ===
'''Type''': [[Types/string]]


Only valid values are "electric" or "burner", it specifies the type of the energy source to be used.
</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>
=== emissions ===
'''Type''': [[Types/double]]
=== resting_consumption_ratio ===
'''Type''': [[Types/float]]
 
'''Default''': 1/30
== Electric energy source ==
=== buffer_capacity ===
'''Type''': [[Types/EnergyAmount]]
=== usage_priority ===
'''Type''': [[Types/EnergyPriority]]
=== input_flow_limit ===
'''Type''': [[Types/EnergyPower]]
=== output_flow_limit ===
'''Type''': [[Types/EnergyPower]]
 
== Older Electric energy source ==
note: I don't know when these changed to usage_priority or I'd put the actual version(s) [[User:FreeER|~FreeER]] ([[User talk:FreeER|talk]]):
=== input_priority ===
'''Type''': [[Types/EnergyPriority]]
=== output_priority ===
'''Type''': [[Types/EnergyPriority]]
 
== Burner ==
=== effectivity ===
'''Type''': [[Types/float]]
 
Value specifying the amount of burning value of the item to be transferred into the energy.
1 means 100% effectivity.
=== fuel_inventory_size ===
'''Type''': [[Types/InventorySize]]
=== smoke===
'''Type''': [[Types/SmokeSources]]

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/types/EnergySource.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.