Full Resource
Checks if the value of a power that uses the Modifiable Resource (Power Type), Resource (Power Type) or a power type that has a built-in cooldown (using remaining ticks as the value) is equal or greater than it's maximum value.
| Field | Type | Default | Description |
|---|---|---|---|
resource |
Identifier | The namespace and ID of the power that uses the Modifiable Resource (Power Type), Resource (Power Type) or has a built-in cooldown. |
Examples
"condition": {
"type": "origins-math:full_resource",
"resource": "example:a_simple_resource"
}
This example will check if the player's example:a_simple_resource resource has a value equal to it's maximum value.