Air
Checks how much breath / air / bubble the player has at the moment. For each bubble, there are 30 ticks, making the max value of the breath / air / bubble bar 300 ticks. (15 seconds)
Type ID: origins:air
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
comparison |
Comparison | How the breath / air / bubble bar (in ticks) should be compared to the specified value. | |
compare_to |
Integer | Which value the breath should be compared to. |
Example:
"condition": {
"type": "origins:air",
"comparison": "==",
"compare_to": 0
}
This example would check if the player has no breath / air / bubbles left.