Modifiers
Make a machine upgrade able to alter a recipe requirement.
Requirement modifiers are used to tweak some properties of a recipe requirement.
They are defined in json inside of the modifiers property of the machine upgrade item json.
List of properties that can be modified
Requirement
Target
Modified property
Speed
-
The recipe's time property
Function
"chance"
chance
Properties
The requirement modifier has 4 mandatory properties and 2 optional property.
Mandatory properties
Optional properties
Example
A modifier that half the time needed to process a recipe :
A modifier that double the energy per tick consumed by a recipe :
A modifier that has 50% chance to add 1 item produced by a recipe :
Last updated