Amount (Item Condition Type)
Compares the number of items in the stack with a number.
Type ID: apoli:amount
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the stack size is compared with compare_to. |
compare_to | Integer | required | The number the stack size is compared with. |
Examples
"item_condition": {
"type": "apoli:amount",
"comparison": ">=",
"compare_to": 10
}This checks whether the stack holds 10 or more items.