EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

weather_look

How a weather looks and sounds: sky, wind, precipitation, drifting leaves, lightning, wildlife and ambient loops.

Signature

{ critters: Critters, drift_permille: Permille, gust: WeatherGust, id: ContentId, kind: "weather_look", lightning: (Lightning)?, night_hold: boolean, precipitation: (Precipitation)?, sky: WeatherSky, sound: WeatherSound, stirs_drift: boolean, wet: boolean }

Fields

NameTypeMeaning
crittersCrittersHow much wildlife this weather lets out, against the season's.
drift_permillePermilleShare of the season's drifting leaves or petals this weather shows.
Range: 0…1000; Unit: permille
gustWeatherGustWind of grass, leaves, banners and falling particles.
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}$
kind"weather_look"Discriminant
lightningLightningLightning flashes with thunder; absent: none.
night_holdbooleanHolds the light of the middle of the night at any time of day (a storm).
precipitationPrecipitationFalling rain or snow; absent: none.
skyWeatherSkyCloud layer of the sky dome, dimming and the day sky's colour.
soundWeatherSoundAmbient loops and the music level.
stirs_driftbooleanThe wind stirs up drift even in a season whose drift is not always about.
wetbooleanWet weather: the music is lowered and ambience marked mute_when_wet falls silent.

Validated example

{
  "critters": {
    "butterflies": 1000,
    "day_flock": 1000,
    "fireflies": 1000
  },
  "drift_permille": 350,
  "gust": {
    "strength_permille": 180,
    "sway_permille": 800,
    "wave_permille": 0
  },
  "id": "core:clear_look",
  "kind": "weather_look",
  "night_hold": false,
  "sky": {
    "cover_permille": 220,
    "darkness_permille": 0,
    "haze": false,
    "overcast_permille": 0
  },
  "sound": {
    "loops": [
      {
        "cue": "core:sound_wind",
        "gain_permille": 35,
        "with_precipitation": false
      }
    ],
    "music_permille": 1000
  },
  "stirs_drift": false,
  "wet": false
}