Scale (Entity Condition Type)
Compares one of the entity's scales with a number. The scale read is the final value, with every power, stored value and parent scale already applied.
Type ID: apoli:scale
Fields
| Field | Type | Default | Description |
|---|---|---|---|
scale_type | Scale Type | apoli:base | Which scale to read. |
comparison | Comparison | required | How to compare. |
compare_to | Float or Expression | required | 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
}