EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

WeatherDefinition

A weather state: its name, clouds, precipitation and wind, and its look.

Signature

{ cloud_permille: Permille, id: ContentId, look: WeatherLookId, name: TextKey, precipitation_permille: Permille, wind_mm_per_second: WindSpeed }

Fields

NameTypeMeaning
cloud_permillePermilleCloud coverage as thousandths of the sky (the cloud shadows).
Range: 0…1000; Unit: permille
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
lookWeatherLookIdHow the weather looks and sounds; weathers may share a look.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: weather_look
nameTextKeyLocalization key for the displayed name.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
precipitation_permillePermilleStrength of the precipitation: above 0 it waters fields. How much falls is the look's (`precipitation.count`); a look may fall without watering (ash).
Range: 0…1000; Unit: permille
wind_mm_per_secondWindSpeedWind speed in millimeters per simulated second (the cloud shadows' drift).
Range: 0…2147483647; Unit: mm/s