# Food

## Creation

To create food, find (or create) the *GameName/Resources/GameName/Item* folder (or any subfolder) in the project tab and right click.  Choose *Create > AnyRPG > Inventory > Items > Food*.

## Properties

In addition to the properties shared by all [Items](/scriptable-objects/items.md), food has the following unique properties.

| Name                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Consumption Verb           | The verb to use in the casting tip.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Holdable Object List       | <p>A list of <a href="/pages/eLtR6SVz1RG8X6hAuWNm">PrefabProfiles</a> that contain links to GameObjects that will be held while the food is being consumed.<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> |
| Animation Clip             | An animation clip to play while the food is being consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Animation Profile Name     | The name of an [Animation Profile](/scriptable-objects/animation-profile.md) that contains an animation clip to play while the food is being consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Casting Audio Clip         | An audio clip to play while the food is being consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Casting Audio Profile Name | The name of an [Audio Profile](/scriptable-objects/audio-profile.md) that contains an audio clip to play while the food is being consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Tick Rate                  | The number of seconds that should elapse between each tick, where [Power Resources](/scriptable-objects/power-resource.md) from the *Resource Amounts* list are restored while eating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Resource Amounts           | <p>A list of <a href="/pages/pdwNWTIXN3csZMXlIe1K">Power Resources</a> and the amounts to restore while eating.<br><strong>Resource Name</strong><br>The name of a <a href="/pages/pdwNWTIXN3csZMXlIe1K">Power Resource</a>.<br><strong>Min Amount</strong><br>If the amount is lower than this value, it will be raised to this value.<br><strong>Base Amount</strong><br>Amount not scaled by level.<br><strong>Max Amount</strong><br>If the amount is higher than this value, it will be lowered to this value.  0 is unlimited.</p>                                                                                                                                                                                                                      |
| Status Effect              | A [Status Effect](/scriptable-objects/ability-effects/status-effect.md) to cast on the user when the food is completely consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

## Next Steps

* Add food to a [Vendor Collection](/scriptable-objects/vendor-collection.md) so it can be purchased from a [Vendor](/scriptable-objects/interactable-option-configurations/vendor-config.md).
* Add food to a [Loot Table](/scriptable-objects/loot-table.md) so that it can drop upon defeat of an enemy.
* Add food as an output to a [Recipe](/scriptable-objects/recipe.md) so that it can be crafted.


---

# 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/items/food.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.
