Types/Effect: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎productivity: better description)
(recipe productivity note was moved to Prototype/CraftingMachine)
Line 1: Line 1:
A [[Types/table|table]] with the below listed properties.
A [[Types/table|table]] with the below listed properties.


When applied to modules, the resulting effect is a sum of all module affects, multiplied through calculations: (1 + sum module effects) or, for productivity (0 + sum). For productivity, if a recipe would take less than 1 tick (accounting recipe time and entity speed), there is only one craft but surplus productivity. This results in increased output for the same ingredients, capable of exceeding one product per tick.
When applied to modules, the resulting effect is a sum of all module affects, multiplied through calculations: (1 + sum module effects) or, for productivity (0 + sum).


== Optional properties ==
== Optional properties ==

Revision as of 10:41, 19 July 2022

A table with the below listed properties.

When applied to modules, the resulting effect is a sum of all module affects, multiplied through calculations: (1 + sum module effects) or, for productivity (0 + sum).

Optional properties

consumption

Types: Types/table

Multiplier to energy used during operation (not idle/drain use). The minimum sum is .2 (20%).

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 to crafting speed, research speed, etc. The minimum sum is .2 (20%).

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

Multiplied against work completed, adds to the bonus results of operating. E.g. when an extra crafted recipe or immediate research bonus. The minimum sum is 0.

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

Multiplier to the pollution factor of an entity's pollution during use. The minimum sum is .2 (20%).

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.