Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## IngredientPrototype :: union Example code

Item or fluid ingredient.

#### Union members

ItemIngredientPrototype | Loaded when the `type` is `"item"`.
FluidIngredientPrototype | Loaded when the `type` is `"fluid"`.

## Examples

    {type="item", name="steel-plate", amount=8} -- item ingredient

    {type="fluid", name="water", amount=50} -- fluid ingredient

Type used in

- RecipePrototype::ingredients