Exhaust (Power Type)
Drains hunger on an interval. apoli:exhaust is a legacy alias: it resolves to apoli:action_over_time with an apoli:exhaust action built for you.
Type ID: apoli:exhaust
Fields
| Field | Type | Default | Description |
|---|---|---|---|
exhaustion | Float | required | The exhaustion added each interval. |
interval | Integer | 20 | Ticks between applications. |
The same power without the alias
An apoli:exhaust power with "exhaustion": 0.05 and a sprinting condition is the same as this:
{
"type": "apoli:action_over_time",
"interval": 20,
"entity_action": {
"type": "apoli:exhaust",
"amount": 0.05
},
"condition": { "type": "apoli:sprinting" }
}