You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each weather type is a type of weather that occurs, its effects and what causes it. The only required entries are null and clear.
weather_type properties
Identifier
Description
name
UI name of weather type.
color
UI color of weather type.
map_color
Map color of weather type.
sym
Map glyph of weather type.
ranged_penalty
Penalty to ranged attacks.
sight_penalty
Penalty to per-square visibility, applied in transparency map.
light_modifier
modification to ambient light.
sound_attn
Sound attenuation of a given weather type.
dangerous
If true, our activity gets interrupted.
precip
Amount of associated precipitation. Valid values are: none, very_light, light and heavy
rains
Whether said precipitation falls as rain.
acidic
Whether said precipitation is acidic.
tiles_animation
Optional, name of the tiles animation to use
sound_category
Optional, what sound effect to play. Valid values are: silent, drizzle, rainy, thunder, flurries, snowstorm and snow.
sun_intensity
Strength of the sun. Valid values are: none, light, normal, and high
duration_min
Optional, the lower bound on the amount of time this weather can last. Defaults to 5 minutes. Unless time_between_min and time_between_max are set the weather can happen again as soon as it ends.
duration_max
Optional, the upper bound on the amount of time this weather can last. Defaults to 5 minutes. Unless time_between_min and time_between_max are set the weather can happen again soon as it ends.
time_between_min
Optional: the lower bound on the amount of time that will be guaranteed to pass before this weather happens again. Defaults to 0.
time_between_max
Optional: the upper bound on the amount of time that will be guaranteed to pass before this weather happens again. Defaults to 0.
weather_animation
Optional, Information controlling weather animations. Members: factor, color and glyph
effects
Array for the effects the weather has. Descibed in detail below
requirements
Optional, is what determines what weather it is. All members are optional. When determining current weather, it loops through the entries in order and uses the last one to pass all the requirements.