Skip to main content

Using Item (Entity Condition Type)

Checks whether the entity is using an item, such as eating food, blocking with a shield or drawing a bow, optionally one that passes an item condition.

Type ID: apoli:using_item

Fields

FieldTypeDefaultDescription
item_conditionItem Condition TypeoptionalThe item being used must pass this condition.

Examples

"condition": {
    "type": "apoli:using_item",
    "item_condition": {
        "type": "apoli:food"
    }
}

This checks whether the entity is eating.