Skip to main content

Harvest Level (Item Condition Type)

Compares the harvest level of the item's material with a number. Items without a material have a harvest level of 0.

Type ID: apoli:harvest_level

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the harvest level is compared with compare_to.
compare_toIntegerrequiredThe number the harvest level is compared with.

Examples

"item_condition": {
    "type": "apoli:harvest_level",
    "comparison": ">",
    "compare_to": 1
}

This checks whether the item has a harvest level above 1, which is the value for stone tools.