EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

atmosphere

The mood of an outdoor map or area on top of the time of day, season and weather.

Signature

{ ambient: (MoodAmbient)?, background: (MoodBackground)?, blend_ms: BlendMillis, fog: (MoodFog)?, haze_permille: (MoodShare)?, id: ContentId, kind: "atmosphere", shadow_lift_permille: (MoodShare)? }

Fields

NameTypeMeaning
ambientMoodAmbientSky light; absent: the day's own.
backgroundMoodBackgroundBackdrop; absent: the day's own.
blend_msBlendMillisHow long a view blends into this mood (and out of it when it leaves).
Range: 0…10000; Unit: ms
fogMoodFogDistance haze; absent: the day's own.
haze_permilleMoodShareStrength of the screen haze against the day's own; absent: 1000.
Range: 100…2000; 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}$
kind"atmosphere"Discriminant
shadow_lift_permilleMoodShareStrength of the warm shadow lift against the day's own; absent: 1000.
Range: 100…2000; Unit: permille

Validated example

{
  "ambient": {
    "intensity_permille": 850,
    "mix_permille": 350,
    "rgb": [
      200,
      208,
      214
    ]
  },
  "background": {
    "mix_permille": 600,
    "rgb": [
      204,
      212,
      218
    ]
  },
  "blend_ms": 4000,
  "fog": {
    "far_mm": 60000,
    "mix_permille": 700,
    "near_mm": 6000,
    "rgb": [
      206,
      214,
      220
    ]
  },
  "haze_permille": 1600,
  "id": "reference:sea_mist",
  "kind": "atmosphere",
  "shadow_lift_permille": 1300
}