Types/Effect: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎speed: description)
(Removed old prototype docs)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A [[Types/table|table]] with the below listed properties.
<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/Effect.html https://lua-api.factorio.com/latest/types/Effect.html]


== Optional properties ==
</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>
 
=== consumption ===
'''Types''': [[Types/table]]
 
Multiplier to energy usage. Additive with other modules effect. (1 + sum of all modules)
 
Table with the following optional member:
* bonus - [[Types/double]] - Default is 0. Precision is ignored beyond two decimals - 17.567 results in 17.56 etc.
 
=== speed ===
'''Types''': [[Types/table]]
 
Modifier on the entity's crafting speed, research speed, etc.
 
Table with the following optional member:
* bonus - [[Types/double]] - Default is 0. Precision is ignored beyond two decimals - 17.567 results in 17.56 etc.
 
=== productivity ===
'''Types''': [[Types/table]]
 
Table with the following optional member:
* bonus - [[Types/double]] - Default is 0. Precision is ignored beyond two decimals - 17.567 results in 17.56 etc.
 
=== pollution ===
'''Types''': [[Types/table]]
 
Table with the following optional member:
* bonus - [[Types/double]] - Default is 0. Precision is ignored beyond two decimals - 17.567 results in 17.56 etc.

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/Effect.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.