Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# IngredientPrototype - Prototype Docs

## 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