Empty Resource

Entity Condition Type

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 lesser than it's minimum 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:empty_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 minimum value.