Types/FluidIngredientPrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Bilka moved page Prototype/FluidIngredientPrototype to Types/FluidIngredientPrototype without leaving a redirect)
No edit summary
Line 1: Line 1:
A fluid ingredient definition for a [[Prototype/Recipe]]. Its loading is triggered by the <code>type</code> of a [[Prototype/IngredientPrototype]] being "fluid".
A fluid ingredient definition for a [[Prototype/Recipe]]. Its loading is triggered by the <code>type</code> of a [[Types/IngredientPrototype]] being "fluid".


== Mandatory properties ==
== Mandatory properties ==

Revision as of 17:40, 26 July 2018

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.

See also