Atmosphere Wind
Description
Matches when the surface wind speed at the entity, in metres per second, is inside a range.
This condition works on any entity, at its position. Without an entity it is false.
The speed comes from the weather sources, in practice the atmosphere simulation. This condition does not read the WorldGuard permanent-wind flag. The shipped pack treats 2 to 5 as a breeze and 5 and above as a gale. Under Skills:, atmospherewind is the AtmosphereWind mechanic.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| min | minspeed | The lowest matching speed in metres per second, decimals allowed. | no limit |
| max | maxspeed | The highest matching speed in metres per second, decimals allowed. | no limit |
Both limits are included. For an exact speed write min=5;max=5. A named value that is not a number is reported in the console and makes the condition always false, and min above max matches nothing.
Range argument
The range can also be a bare argument after the name, as in atmoswind >=5 true, in a Conditions:, TargetConditions: or TriggerConditions: line, only when neither min nor max is set. Shapes: >5, >=5, <5, <=5, 2to7, 2-7 and 5.
Examples
LightBreeze:
Cooldown: 1.2
Conditions:
- atmospherewind{min=2;max=5} true
Skills:
- effect:particles{p=cloud;amount=4;directional=true;direction=<mythicseasons.windx>,0.03,<mythicseasons.windz>;speed=0.45;hSpread=8;ySpread=3;uel=true;audience=self} @Self
Like the breeze skill of the shipped pack.
GaleWarning:
Conditions:
- atmoswind >=5 true
Skills:
- message{m="The wind howls around you."} @Self
A bare argument, with the alias
atmoswind.
CalmAir:
Skills:
- message{m="Not a breath of wind."} @Self ?atmospherewind{max=0}
Inline, it passes only at a wind speed of 0.
Aliases
- atmoswind