Durability (Item Condition Type)
Compares the item's remaining durability with a number.
Type ID: apoli:durability
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the durability is compared with compare_to. |
compare_to | Integer | required | The number the durability is compared with. |
Examples
"item_condition": {
"type": "apoli:durability",
"comparison": "<=",
"compare_to": 100
}This checks whether the item has 100 durability or less left.