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) | Description | Type |
|---|---|---|
type | The points type to read from the held item. | STRING |
amount | The maximum number of points the item may have. | EXPRESSION |
Example
conditions:
- id: item_points_below
args:
type: <value>
amount: %level% * 10