# Power Resource Potion

{% embed url="<https://youtu.be/UR4pH60Rluo>" %}

## Creation

To create a power resource potion, find (or create) the *GameName/Resources/GameName/Item* folder in the project tab and right click.  Choose *Create > AnyRPG > Inventory > Items > Power Resource Potion*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2F4LEgtTr6DKPW7eNAX6B3%2Fimage.png?alt=media\&token=50c865c9-002c-4d77-b5a0-52d722617520)

## Properties

Power resource potions are a type of item.  See [Items](https://docs.anyrpg.org/scriptable-objects/items) for their base properties.

| Name              | Description                                                                                                                                                                                                                                                                                                                                        |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Tool Tip          | This text will appear in the tooltip "Use:" section and describes what the item does when used.                                                                                                                                                                                                                                                    |
| Cool Down         | The time in seconds that must pass after using this item before another item of the same type can be used again.                                                                                                                                                                                                                                   |
| Action Type       | <p><strong>None</strong><br>This item will not cause the character to perform any action when used.<br><strong>Inline</strong><br>The action properties will be defined directly.<br><strong>Named</strong><br>The action properties defined by the named <a href="../animated-action">Animated Action</a> will be performed by the character.</p> |
| Action Name       | The name of an [Animated Action](https://docs.anyrpg.org/scriptable-objects/animated-action) the character will perform when the item is used.                                                                                                                                                                                                     |
| Action Properties | [Animated Action](https://docs.anyrpg.org/scriptable-objects/animated-action) properties defined directly on this item that the character will perform when the item is used.                                                                                                                                                                      |
| Resource Amounts  | A list of [Power Resources](https://docs.anyrpg.org/scriptable-objects/power-resource) and the amounts of each that will be refilled when this item is used.                                                                                                                                                                                       |

## Next Steps

* Add a power resource potion 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 a power resource potion to a [Loot Table](https://docs.anyrpg.org/scriptable-objects/loot-table) so that it can drop upon defeat of an enemy.
* Add a power resource potion as an output to a [Recipe](https://docs.anyrpg.org/scriptable-objects/recipe) so that it can be crafted.
