Amount
Checks the amount of the item.
Type ID: apoli::amount
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison |
Comparison | Determines how to compare the number of items in this stack to the specified value. | |
compare_to |
Integer | Which value to compare the item's count value to. |
Example
"item_condition": {
"type": "apoli::amount",
"comparison": ">=",
"compare_to": 10
}
This example checks if the item has a count of 10 or more.