# Recipe

## Creation

To create a recipe, find (or create) the *GameName/Resources/GameName/Recipe* folder in the project tab and right click.  Choose *Create > AnyRPG > Recipes > Recipe*.

## Properties

| Name                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Auto Learn                     | If true, this recipe is automatically learned at the appropriate level, defined in the *Required Level* field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Required Level                 | The level the character must have reached to learn this recipe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Skill Name                     | The skill required to learn this recipe, or empty for none.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Required Skill Level           | The required skill level to learn this recipe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Chance To Gain Level           | The chance to gain a skill level when crafting this recipe. 1 = 100% chance, 0.5 = 50% chance, etc. This only applies if skill experience is not in use for this recipe skill.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Skill Experience Reward        | The amount of skill experience to give when crafting this recipe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Max Skill Experience Level     | The maximum skill level at which skill experience will be granted for crafting this recipe. If the character skill is higher than this level, they will get no skill experience. 0 means this recipe will never stop giving experience.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Character Experience Reward    | The amount of character experience to give when crafting this recipe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Max Character Experience Level | The maximum character level at which experience will be granted for crafting this recipe. If the character is higher than this level, they will get no experience. 0 means this recipe will never stop giving experience.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Crafting Materials             | <p>A list of <a href="/pages/B99tFI7czTOg3MO5jUre">Items</a> required for the recipe.<br><strong>Item Name</strong><br>The name of an <a href="/pages/B99tFI7czTOg3MO5jUre">Item</a> that will be used up when crafting this recipe.<br><strong>Count</strong><br>The number of <a href="/pages/B99tFI7czTOg3MO5jUre">Items</a> that are required.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Item Output Name               | The name of the new [Item](/scriptable-objects/items.md) that will be created upon completing crafting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Output Count                   | The number of new [Items](/scriptable-objects/items.md) that will be created upon completing crafting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Craft Ability Name             | The name of a [Craft Ability](/scriptable-objects/abilities/craft-ability.md) that must be known to craft this recipe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Holdable Object List           | <p>A list of <a href="/pages/eLtR6SVz1RG8X6hAuWNm">PrefabProfiles</a> that contain links to GameObjects that will be held while the <a href="/pages/B99tFI7czTOg3MO5jUre">Item</a> is being crafted.<br><strong>Holdable Object Name</strong><br>The name of a <a href="/pages/eLtR6SVz1RG8X6hAuWNm">PrefabProfile</a> that contains a link to a GameObject.<br><strong>Use Universal Attachment</strong><br>If true, attachment points from the <a href="/pages/eLtR6SVz1RG8X6hAuWNm">PrefabProfile</a> will be ignored, and the universal attachment in the <em>Attachment Name</em> field will be used.<br><strong>Attachment Name</strong><br>The <em>Node Name</em> field from one of the <em>Attachment Point Nodes</em> in an <a href="/pages/gl9O9NAYYwGSxo7t70iu">Attachment Profile</a>.</p> |

## Next Steps

* Create [Items](/scriptable-objects/items.md) to be used as inputs or outputs to crafting recipes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.anyrpg.org/scriptable-objects/recipe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
