Scale (Entity Condition Type)
Compares one of the entity's scales against a number.
Compares one of the entity’s scales — the final value, with every power, stored value and parent scale folded in — against a number.
Type ID: apoli:scale
Fields
| Field | Type | Default | Description |
|---|---|---|---|
scale_type | Scale Type | apoli:base | Which scale to read. |
comparison | Comparison | — | How to compare. |
compare_to | Float or Expression | — | What to compare against. |
Examples
{
"type": "apoli:scale",
"scale_type": "apoli:base",
"comparison": "<",
"compare_to": 0.5
} Only let a power run while the holder still fits through a door:
{
"type": "apoli:scale",
"scale_type": "apoli:height",
"comparison": "<=",
"compare_to": 1
}