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
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the harvest level is compared with compare_to. |
compare_to | Integer | required | The 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.