can_afford_price

Passes when the player can afford the specified price.

Categories: economy

Required arguments

Key(s)DescriptionType
valueThe amount or expression for the price value.EXPRESSION
typeThe price type identifier (e.g. coins, xpl).STRING

Example

conditions:
  - id: can_afford_price
    args:
      value: %level% * 100
      type: coins