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

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FmsR8wFSzAc2fJYIuZp3Z%2Fimage.png?alt=media\&token=d60533e4-e6b7-4152-b7c2-be1acad1f466)

## Properties

In addition to the properties shared by all [Items](https://docs.anyrpg.org/scriptable-objects/items), 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="../prefab-profile">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="../prefab-profile">PrefabProfile</a> that contains a link to a GameObject.<br><strong>Use Universal Attachment</strong><br>If true, attachment points from the <a href="../prefab-profile">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="../attachment-profile">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](https://docs.anyrpg.org/scriptable-objects/animation-profile) 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](https://docs.anyrpg.org/scriptable-objects/audio-profile) 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](https://docs.anyrpg.org/scriptable-objects/power-resource) from the *Resource Amounts* list are restored while eating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Resource Amounts           | <p>A list of <a href="../power-resource">Power Resources</a> and the amounts to restore while eating.<br><strong>Resource Name</strong><br>The name of a <a href="../power-resource">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](https://docs.anyrpg.org/scriptable-objects/ability-effects/status-effect) to cast on the user when the food is completely consumed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## Next Steps

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