# Power Resource

## Creation

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

![](/files/UWS2swL20nr9GqOMigrA)

## Properties

| Name                    | Description                                                                                                                                                        |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Display Color           | A color that will be used when displaying this resource in unit frames.                                                                                            |
| Base Amount             | A base amount that all characters with this resource will receive.                                                                                                 |
| Amount Per Level        | Every character with this resource will have their maximum amount increased by this much for every level they gain.                                                |
| Tick Rate               | The number of seconds that should elapse between each regeneration of this resource.                                                                               |
| Amount Per Tick         | When not in combat and regeneration occurs, this amount will be restored (or used if the value is negative).                                                       |
| Percent Per Tick        | When not in combat and regeneration occurs, this percentage of the maximum possible current value will be restored.                                                |
| Combat Amount Per Tick  | When in combat and regeneration occurs, this amount will be restored (or used if the value is negative).                                                           |
| Combat Percent Per Tick | When in combat and regeneration occurs, this percentage of the maximum possible current value will be restored.                                                    |
| Maximum Amount          | If this amount is greater than zero, the resource has a fixed maximum amount that will not change based on character level.                                        |
| Is Health               | If true, this is considered to be a health resource.  When all of a character's health resources reach zero, they will die. Multiple health resources are allowed. |
| Fill On Reset           | If true, when the character evades, levels up, or spawns, this resource will be filled to its maximum amount.                                                      |

## Next Steps

* Assign a power resource to a [Unit Profile](/scriptable-objects/unit-profile.md).
* Assign a power resource to a [Character Class](/scriptable-objects/character-class.md).
* Assign a power resource to a [Class Specialization](/scriptable-objects/class-specialization.md).
* Assign a power resource to a [Unit Type](/scriptable-objects/unit-type.md).
* Assign a power resource to a [Character Race](/scriptable-objects/character-race.md).
* Assign a power resource to the System Configuration Manager, making it globally available to all characters.


---

# 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/power-resource.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.
