> For the complete documentation index, see [llms.txt](https://espergames.gitbook.io/inventool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://espergames.gitbook.io/inventool/components/recipe-catalog.md). Agents can also search and read this documentation through its [MCP server](https://espergames.gitbook.io/inventool/~gitbook/mcp).

# Recipe Catalog

Keeps track of obtained recipes.

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2FdACRTSZjjDbZALMTpxQc%2Fimage.png?alt=media&amp;token=c4447960-c81f-4488-8f96-d5aa9e54d294" alt=""><figcaption></figcaption></figure>

This component is simply used to keep track of obtained recipes.

You have more control of this component through code! Visit the scripting section for more information.

{% content-ref url="/pages/szaMprxe2n7EUWpuAQy3" %}
[Recipe Catalog](https://espergames.gitbook.io/inventool/scripting/crafting-system/recipe-catalog.md)
{% endcontent-ref %}

## Properties

| Name              | Description                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------- |
| On Recipe Added   | A callback for when a recipe is added to this catalog. This accepts 1 argument: the added recipe.       |
| On Recipe Removed | A callback for when a recipe is removed from this catalog. This accepts 1 argument: the removed recipe. |

## How To Create An Obtainable Recipe

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2FHda9d26dypyWL3xz8WeS%2Fimage.png?alt=media&amp;token=0fcec964-0cc2-4a29-8293-e7d8e537992d" alt=""><figcaption></figcaption></figure>

{% hint style="info" icon="backpack" %}
An [Inventory](https://espergames.gitbook.io/inventool/components/inventory.md) component must be attached to the same `GameObject` as the **Recipe Catalog** component for recipes to be obtainable.
{% endhint %}

1. Create an item through the [Object Manager](https://espergames.gitbook.io/inventool/editors/object-manager.md).
2. Under "Type," click "Set Recipe."
3. Select a recipe.

That's all! In-game, the item will be added to catalog when the item is added to the inventory (if **Receive Immediately** is enabled) or when the item is used.
