Atmosphere Spot
Description
Matches when the entity stands in a permanent weather spot: a WorldGuard region whose permanent-weather flag is clear, rain or storm.
This condition works on any entity, at its position. Without an entity it is false.
It is false unless WorldGuard and WorldEdit are both installed, and it works without the atmosphere simulation, even with enabled: false in atmosphere.yml. The raining and storm tests of Atmosphere follow the spot too. A region counts for a whole chunk when it holds the middle of the chunk at sea level, and changes take up to 5 seconds to show.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| is | type, weather | clear, rain or storm, not case sensitive. Without it any spot matches, clear included. |
any |
Examples
EndlessStorm:
Conditions:
- atmospherespot{is=storm} true
Skills:
- message{m="Thunder never stops over this ground."} @Self
Runs while the caster stands in a
stormspot.
SunnyGroundNotice:
TargetConditions:
- atmosphereweatherspot{type=clear} true
Skills:
- message{m="The sky here never clouds over."}
NoticeNearbyPlayers:
Skills:
- skill{s=SunnyGroundNotice} @PlayersInRadius{r=30}
Messages only the nearby players in a
clearspot.
SpotNotice:
Skills:
- message{m="You left the fixed weather."} @Self ?!atmospherespot
Passes when the caster is outside every spot.
Aliases
- atmosphereweatherspot
- weatherspot