Home

FluidIngredientPrototype

A fluid ingredient definition.

Type

struct

Properties

type

name

The name of a FluidPrototype.

amount

Can not be <= 0.

temperature

Sets the expected temperature of the fluid ingredient.

minimum_temperature

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

maximum_temperature

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

ignored_by_stats

Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as ignored_by_stats.

fluidbox_index

Used to specify which CraftingMachinePrototype::fluid_boxes this ingredient should use. It will use this one fluidbox. The index is 1-based and separate for input and output fluidboxes.

fluidbox_multiplier

Used to set crafting machine fluidbox volumes. Must be at least 1.