Durability (Item Condition Type)

Checks the current durability of the item.

Checks the current durability of the item.

Type ID: apoli:durability

Fields

FieldTypeDefaultDescription
comparisonComparisonDetermines how the durability value of the item should be compared to the specified value.
compare_toIntegerThe value at which the durability value of the item will be compared to.

Examples

"item_condition": {
    "type": "apoli:durability",
    "comparison": "<=",
    "compare_to": 100
}

This example will check if the item has a durability value of 100 or less.