Using Item (Entity Condition Type)

Checks whether the entity is currently using an item (eating a food item, using a shield, drawing a bow, etc.) that fulfills the specified Item Condition Type.

Checks whether the entity is currently using an item (eating a food item, using a shield, drawing a bow, etc.) that fulfills the specified Item Condition Type.

Type ID: apoli:using_item

Fields

FieldTypeDefaultDescription
item_conditionItem Condition TypeoptionalIf specified, the condition will only evaluate to true if the item that is being used fulfills the specified item condition type.

Examples

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

This example will check if the entity is currently eating a food item.