Types/FluidIngredientPrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(0.17)
Line 27: Line 27:


If [[#temperature]] is not set, this sets the expected ''maximum'' temperature of the fluid ingredient.
If [[#temperature]] is not set, this sets the expected ''maximum'' temperature of the fluid ingredient.
=== catalyst_amount ===
'''Type''': [[Types/uint16]]
'''Default''': 0


== See also ==
== See also ==
* [[Types/IngredientPrototype]]
* [[Types/IngredientPrototype]]
* [[Types/ItemIngredientPrototype]]
* [[Types/ItemIngredientPrototype]]

Revision as of 12:18, 13 April 2019

A fluid ingredient definition for a Prototype/Recipe. Its loading is triggered by the type of a Types/IngredientPrototype being "fluid".

Mandatory properties

name

Type: Types/string

The name of a Prototype/Fluid.

amount

Type: Types/double

Optional properties

temperature

Type: Types/double

Sets the expected temperature of the fluid ingredient.

minimum_temperature

Type: Types/double

If #temperature is not set, this sets the expected minimum temperature of the fluid ingredient.

maximum_temperature

Type: Types/double

If #temperature is not set, this sets the expected maximum temperature of the fluid ingredient.

catalyst_amount

Type: Types/uint16

Default: 0

See also