Types/FluidProductPrototype: Difference between revisions
(catalyst_amount description) |
(→amount) |
||
Line 20: | Line 20: | ||
'''Type''': [[Types/double]] | '''Type''': [[Types/double]] | ||
Cannot be < 0. | |||
=== amount_min === | === amount_min === |
Revision as of 15:36, 21 September 2020
A fluid product definition for a Prototype/Recipe. Its loading is triggered by the type
of a Types/ProductPrototype being "fluid".
Mandatory properties
name
Type: Types/string
The name of a Prototype/Fluid.
Optional properties
probability
Type: Types/double
Default: 1
Value between 0 and 1, 0 for 0% chance and 1 for 100% chance.
amount
Type: Types/double
Cannot be < 0.
amount_min
Type: Types/MaterialAmountType
Mandatory if amount
is not specified.
May not be < 0.
amount_max
Type: Types/MaterialAmountType
Mandatory if amount
is not specified.
If set to a number that is less than amount_min
, the game will use amount_min
internally.
temperature
Type: Types/double
Sets the temperature of the fluid product.
catalyst_amount
Type: Types/double
Default: 0
Amount that should not be affected by productivity modules (not yielded from bonus production) and should not be included in the fluid production statistics.
fluidbox_index
Type: Types/uint32
Default: 0 (no specific fluidbox)
Used to specify which fluidbox this product should use on the machine. It will only use this one fluidbox.