Skip to main content

And (Meta Condition Type)

Checks whether every condition in a list passes.

Type ID: apoli:and

Fields

FieldTypeDefaultDescription
conditionsArray of condition typesrequiredAll of these conditions must pass for this one to pass.

Examples

"condition": {
    "type": "apoli:and",
    "conditions": [
        {
            "type": "apoli:sneaking"
        },
        {      
            "type": "apoli:invisible"
        }
    ]
}

This checks whether the entity is both sneaking and invisible.