In Set
Checks whether the target entity is within a power that uses the Entity Set (Power Type) of the actor entity.
Type ID: origins:in_set
Fields
| Field | Type | Default | Description |
|---|---|---|---|
set |
Identifier | The ID of the power to check whether the target entity is in. |
Examples
"bientity_condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:owner"
},
{
"type": "origins:in_set",
"set": "example:special_pets"
}
]
}
This example will check whether the target entity is either owned by the actor entity or if the target entity is within the example:special_pets (data/example/powers/special_pets.json) power.