item_points_below

Passes when the held item's points of a given type are at or below the specified amount.

Categories: inventory

Required arguments

Key(s)DescriptionType
typeThe points type to read from the held item.STRING
amountThe maximum number of points the item may have.EXPRESSION

Example

conditions:
  - id: item_points_below
    args:
      type: <value>
      amount: %level% * 10