can_afford_price
Passes when the player can afford the specified price.
Categories: economy
Required arguments
| Key(s) | Description | Type |
|---|---|---|
value | The amount or expression for the price value. | EXPRESSION |
type | The price type identifier (e.g. coins, xpl). | STRING |
Example
conditions:
- id: can_afford_price
args:
value: %level% * 100
type: coins