EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

presentation_profile

Sound of the game independent of its rules: moment cues, soundtrack, creature fallbacks.

Signature

{ corruption: (CorruptionLooks)?, creature_sounds: CreatureSounds, effects: ({MomentEffect})?, id: ContentId, indoor_weather_permille: Permille, kind: "presentation_profile", music: Soundtrack, prologue: (StorybookId)?, sounds: {SoundBinding}, telegraph: TelegraphColors, title_view: TitleView }

Fields

NameTypeMeaning
corruptionCorruptionLooksLooks of the corruption outdoors: drifting ambience by grade and the drain at a growing vine tip; absent: none.
creature_soundsCreatureSoundsSounds of creatures that name none of their own (idle stays quiet).
effects{MomentEffect}Looks and camera feel of the engine's effect moments, each moment at most once; a moment without an entry shows nothing.
Items: 1…64
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}$
indoor_weather_permillePermilleLevel of the weather's ambient loops for a player indoors.
Range: 0…1000; Unit: permille
kind"presentation_profile"Discriminant
musicSoundtrackThe soundtrack.
prologueStorybookIdStorybook played before a new world's first scene, on the device that creates the world; absent: none.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: storybook
sounds{SoundBinding}Cues of the engine's sound moments, each moment at most once.
Items: 0…1024
telegraphTelegraphColorsColours of the ground announcement of an attack's area.
title_viewTitleViewThe live view behind the title screen: a slow camera around a place of the start map.

Validated example

{
  "corruption": {
    "ambient": [
      {
        "from_grade_permille": 150,
        "fx": "core:grey_drift_1"
      },
      {
        "from_grade_permille": 1500,
        "fx": "core:grey_drift_2"
      },
      {
        "from_grade_permille": 2500,
        "fx": "core:grey_drift_3"
      }
    ],
    "drain": "core:vine_feeding"
  },
  "creature_sounds": {
    "death": "core:sound_enemy_death",
    "hurt": "core:sound_enemy_hurt",
    "windup": "core:sound_combat_windup"
  },
  "effects": [
    {
      "final_fx": "core:wood_break",
      "fx": "core:wood_chips",
      "moment": "wood"
    },
    {
      "final_fx": "core:stone_break",
      "fx": "core:stone_chips",
      "moment": "stone"
    },
    {
      "final_fx": "core:gold_break",
      "fx": "core:gold_chips",
      "moment": "crystal"
    },
    {
      "fx": "core:gold_chips",
      "moment": "build"
    },
    {
      "fx": "core:gold_chips",
      "moment": "till"
    },
    {
      "fx": "core:gold_chips",
      "moment": "supply"
    },
    {
      "fx": "core:heal_chips",
      "moment": "repair"
    },
    {
      "fx": "core:heal_chips",
      "moment": "heal"
    },
    {
      "fx": "core:heal_chips",
      "moment": "revive"
    },
    {
      "fx": "core:mow_cut",
      "impact": {
        "camera": "source",
        "hold": "source",
        "hold_ms": {
          "base": 60,
          "max": 60,
          "per_thousand": 0
        },
        "trauma": {
          "base": 120,
          "max": 120,
          "per_thousand": 0
        }
      },
      "moment": "mow"
    },
    {
      "final_fx": "core:gold_break",
      "fx": "core:gold_chips",
      "moment": "vine"
    },
    {
      "fx": "core:hit_sparks",
      "impact": {
        "camera": "both",
        "hold": "both",
        "hold_ms": {
          "base": 50,
          "max": 90,
          "per_thousand": 1000
        },
        "taken_factor_permille": 1300,
        "trauma": {
          "base": 220,
          "max": 750,
          "per_thousand": 16667
        }
      },
      "moment": "hit"
    },
    {
      "fx": "core:gold_chips",
      "impact": {
        "camera": "source",
        "hold": "none",
        "trauma": {
          "base": 300,
          "max": 300,
          "per_thousand": 0
        }
      },
      "moment": "defeat"
    },
    {
      "fx": "core:wood_struck",
      "moment": "structure_hit_wood"
    },
    {
      "fx": "core:stone_struck",
      "moment": "structure_hit_stone"
    },
    {
      "fx": "core:miss_dust",
      "moment": "miss"
    },
    {
      "fx": "core:guard_sparks",
      "impact": {
        "camera": "target",
        "hold": "both",
        "hold_ms": {
          "base": 50,
          "max": 50,
          "per_thousand": 0
        },
        "trauma": {
          "base": 300,
          "max": 300,
          "per_thousand": 0
        }
      },
      "moment": "block"
    },
    {
      "fx": "core:guard_sparks",
      "impact": {
        "camera": "target",
        "hold": "both",
        "hold_ms": {
          "base": 50,
          "max": 50,
          "per_thousand": 0
        },
        "trauma": {
          "base": 300,
          "max": 300,
          "per_thousand": 0
        }
      },
      "moment": "parry"
    },
    {
      "fx": "core:evade_puff",
      "moment": "evade"
    },
    {
      "fx": "core:pet_hearts",
      "moment": "pet"
    },
    {
      "fx": "core:vacated_dust",
      "impact": {
        "camera": "target",
        "hold": "none",
        "trauma": {
          "base": 600,
          "max": 600,
          "per_thousand": 0
        }
      },
      "moment": "vacated"
    },
    {
      "fx": "core:level_up_glow",
      "moment": "level_up"
    },
    {
      "fx": "core:web_shot_look",
      "moment": "web_shot"
    }
  ],
  "id": "core:default_presentation",
  "indoor_weather_permille": 140,
  "kind": "presentation_profile",
  "music": {
    "corruption": {
      "fade_ms": 6000,
      "grey": {
        "cue": "core:sound_music_corruption_grey",
        "enter_permille": 167,
        "exit_permille": 133
      },
      "hold_ms": 2000,
      "lilac": {
        "cue": "core:sound_music_corruption_lilac",
        "enter_permille": 500,
        "exit_permille": 467
      },
      "void": {
        "cue": "core:sound_music_corruption_void",
        "enter_permille": 833,
        "exit_permille": 800
      }
    },
    "danger": "core:sound_music_combat_danger",
    "day": "core:sound_music_day",
    "night": "core:sound_music_night",
    "title": "core:sound_music_title",
    "wildlife": "core:sound_music_combat_wildlife"
  },
  "prologue": "core:prologue",
  "sounds": [
    {
      "cue": "core:sound_sleep",
      "moment": "sleep"
    },
    {
      "cue": "core:sound_thunder",
      "moment": "thunder"
    },
    {
      "cue": "core:sound_wind",
      "moment": "wind"
    },
    {
      "cue": "core:sound_rain",
      "moment": "rain"
    },
    {
      "cue": "core:sound_swing",
      "moment": "swing"
    },
    {
      "cue": "core:sound_sword_swing",
      "moment": "sword-swing"
    },
    {
      "cue": "core:sound_miss_whoosh",
      "moment": "miss-whoosh"
    },
    {
      "cue": "core:sound_axe_swing",
      "moment": "axe-swing"
    },
    {
      "cue": "core:sound_pickaxe_swing",
      "moment": "pickaxe-swing"
    },
    {
      "cue": "core:sound_hit",
      "moment": "hit"
    },
    {
      "cue": "core:sound_enemy_hurt",
      "moment": "enemy-hurt"
    },
    {
      "cue": "core:sound_villager_hurt",
      "moment": "villager-hurt"
    },
    {
      "cue": "core:sound_animal_hurt",
      "moment": "animal-hurt"
    },
    {
      "cue": "core:sound_player_hurt",
      "moment": "player-hurt"
    },
    {
      "cue": "core:sound_block",
      "moment": "block"
    },
    {
      "cue": "core:sound_guard_block",
      "moment": "guard-block"
    },
    {
      "cue": "core:sound_dodge",
      "moment": "dodge"
    },
    {
      "cue": "core:sound_evade_whoosh",
      "moment": "evade-whoosh"
    },
    {
      "cue": "core:sound_dodge_roll",
      "moment": "dodge-roll"
    },
    {
      "cue": "core:sound_bow_draw",
      "moment": "bow-draw"
    },
    {
      "cue": "core:sound_bow_release",
      "moment": "bow-release"
    },
    {
      "cue": "core:sound_arrow_hit",
      "moment": "arrow-hit"
    },
    {
      "cue": "core:sound_arrow",
      "moment": "arrow"
    },
    {
      "cue": "core:sound_kill",
      "moment": "kill"
    },
    {
      "cue": "core:sound_enemy_death",
      "moment": "enemy-death"
    },
    {
      "cue": "core:sound_animal_death",
      "moment": "animal-death"
    },
    {
      "cue": "core:sound_downed",
      "moment": "downed"
    },
    {
      "cue": "core:sound_villager_downed",
      "moment": "villager-downed"
    },
    {
      "cue": "core:sound_down",
      "moment": "down"
    },
    {
      "cue": "core:sound_player_down",
      "moment": "player-down"
    },
    {
      "cue": "core:sound_villager_down",
      "moment": "villager-down"
    },
    {
      "cue": "core:sound_animal_down",
      "moment": "animal-down"
    },
    {
      "cue": "core:sound_revive",
      "moment": "revive"
    },
    {
      "cue": "core:sound_villager_revive",
      "moment": "villager-revive"
    },
    {
      "cue": "core:sound_enemy_crawler",
      "moment": "enemy-crawler"
    },
    {
      "cue": "core:sound_enemy_brute",
      "moment": "enemy-brute"
    },
    {
      "cue": "core:sound_enemy_raider",
      "moment": "enemy-raider"
    },
    {
      "cue": "core:sound_enemy_archer",
      "moment": "enemy-archer"
    },
    {
      "cue": "core:sound_web",
      "moment": "web"
    },
    {
      "cue": "core:sound_wood",
      "moment": "wood"
    },
    {
      "cue": "core:sound_break_wood",
      "moment": "break-wood"
    },
    {
      "cue": "core:sound_stone",
      "moment": "stone"
    },
    {
      "cue": "core:sound_break_stone",
      "moment": "break-stone"
    },
    {
      "cue": "core:sound_crystal",
      "moment": "crystal"
    },
    {
      "cue": "core:sound_break_crystal",
      "moment": "break-crystal"
    },
    {
      "cue": "core:sound_metal",
      "moment": "metal"
    },
    {
      "cue": "core:sound_break_metal",
      "moment": "break-metal"
    },
    {
      "cue": "core:sound_step_grass",
      "moment": "step-grass"
    },
    {
      "cue": "core:sound_step",
      "moment": "step"
    },
    {
      "cue": "core:sound_step_alt",
      "moment": "step-alt"
    },
    {
      "cue": "core:sound_step_grass_2",
      "moment": "step-grass-2"
    },
    {
      "cue": "core:sound_step_grass_3",
      "moment": "step-grass-3"
    },
    {
      "cue": "core:sound_step_snow",
      "moment": "step-snow"
    },
    {
      "cue": "core:sound_step_snow_alt",
      "moment": "step-snow-alt"
    },
    {
      "cue": "core:sound_step_wood",
      "moment": "step-wood"
    },
    {
      "cue": "core:sound_step_stone",
      "moment": "step-stone"
    },
    {
      "cue": "core:sound_step_sand",
      "moment": "step-sand"
    },
    {
      "cue": "core:sound_step_ash",
      "moment": "step-ash"
    },
    {
      "cue": "core:sound_step_lilac",
      "moment": "step-lilac"
    },
    {
      "cue": "core:sound_step_obsidian",
      "moment": "step-obsidian"
    },
    {
      "cue": "core:sound_step_water",
      "moment": "step-water"
    },
    {
      "cue": "core:sound_jump",
      "moment": "jump"
    },
    {
      "cue": "core:sound_land",
      "moment": "land"
    },
    {
      "cue": "core:sound_swim",
      "moment": "swim"
    },
    {
      "cue": "core:sound_splash",
      "moment": "splash"
    },
    {
      "cue": "core:sound_door_open",
      "moment": "door-open"
    },
    {
      "cue": "core:sound_door_close",
      "moment": "door-close"
    },
    {
      "cue": "core:sound_chest_open",
      "moment": "chest-open"
    },
    {
      "cue": "core:sound_chest_close",
      "moment": "chest-close"
    },
    {
      "cue": "core:sound_pickup",
      "moment": "pickup"
    },
    {
      "cue": "core:sound_flower",
      "moment": "flower"
    },
    {
      "cue": "core:sound_build",
      "moment": "build"
    },
    {
      "cue": "core:sound_place",
      "moment": "place"
    },
    {
      "cue": "core:sound_rotate",
      "moment": "rotate"
    },
    {
      "cue": "core:sound_hoe",
      "moment": "hoe"
    },
    {
      "cue": "core:sound_plant",
      "moment": "plant"
    },
    {
      "cue": "core:sound_eat",
      "moment": "eat"
    },
    {
      "cue": "core:sound_drink",
      "moment": "drink"
    },
    {
      "cue": "core:sound_heal",
      "moment": "heal"
    },
    {
      "cue": "core:sound_quest_complete",
      "moment": "quest-complete"
    },
    {
      "cue": "core:sound_ui_click",
      "moment": "ui-click"
    },
    {
      "cue": "core:sound_ui",
      "moment": "ui"
    },
    {
      "cue": "core:sound_ui_tab",
      "moment": "ui-tab"
    },
    {
      "cue": "core:sound_cat_purr",
      "moment": "cat-purr"
    },
    {
      "cue": "core:sound_cat_trill",
      "moment": "cat-trill"
    },
    {
      "cue": "core:sound_dog_pant",
      "moment": "dog-pant"
    },
    {
      "cue": "core:sound_villager_gesture",
      "moment": "villager-gesture"
    },
    {
      "cue": "core:sound_crickets",
      "moment": "crickets"
    },
    {
      "cue": "core:sound_waterfall",
      "moment": "waterfall"
    },
    {
      "cue": "core:sound_birds",
      "moment": "birds"
    },
    {
      "cue": "core:sound_bees",
      "moment": "bees"
    },
    {
      "cue": "core:sound_enemy_spider",
      "moment": "enemy-spider"
    },
    {
      "cue": "core:sound_arrow_miss",
      "moment": "arrow-miss"
    },
    {
      "cue": "core:sound_combat_windup",
      "moment": "combat-windup"
    },
    {
      "cue": "core:sound_villager_windup",
      "moment": "villager-windup"
    },
    {
      "cue": "core:sound_enemy_crawler_windup",
      "moment": "enemy-crawler-windup"
    },
    {
      "cue": "core:sound_enemy_crawler_hurt",
      "moment": "enemy-crawler-hurt"
    },
    {
      "cue": "core:sound_enemy_crawler_death",
      "moment": "enemy-crawler-death"
    },
    {
      "cue": "core:sound_enemy_raider_hurt",
      "moment": "enemy-raider-hurt"
    },
    {
      "cue": "core:sound_enemy_raider_death",
      "moment": "enemy-raider-death"
    },
    {
      "cue": "core:sound_enemy_brute_windup",
      "moment": "enemy-brute-windup"
    },
    {
      "cue": "core:sound_enemy_brute_hurt",
      "moment": "enemy-brute-hurt"
    },
    {
      "cue": "core:sound_enemy_brute_death",
      "moment": "enemy-brute-death"
    },
    {
      "cue": "core:sound_enemy_archer_hurt",
      "moment": "enemy-archer-hurt"
    },
    {
      "cue": "core:sound_enemy_archer_death",
      "moment": "enemy-archer-death"
    },
    {
      "cue": "core:sound_enemy_spider_windup",
      "moment": "enemy-spider-windup"
    },
    {
      "cue": "core:sound_enemy_spider_hurt",
      "moment": "enemy-spider-hurt"
    },
    {
      "cue": "core:sound_enemy_spider_death",
      "moment": "enemy-spider-death"
    },
    {
      "cue": "core:sound_surf",
      "moment": "surf"
    },
    {
      "cue": "core:sound_gulls",
      "moment": "gulls"
    },
    {
      "cue": "core:sound_waterfall_sea",
      "moment": "waterfall-sea"
    },
    {
      "cue": "core:sound_spell_fireball_cast",
      "moment": "spell-fireball-cast"
    },
    {
      "cue": "core:sound_spell_fireball_impact",
      "moment": "spell-fireball-impact"
    },
    {
      "cue": "core:sound_spell_bolt_cast",
      "moment": "spell-bolt-cast"
    },
    {
      "cue": "core:sound_spell_bolt_impact",
      "moment": "spell-bolt-impact"
    },
    {
      "cue": "core:sound_spell_fire_ring_cast",
      "moment": "spell-fire-ring-cast"
    },
    {
      "cue": "core:sound_spell_fire_ring_impact",
      "moment": "spell-fire-ring-impact"
    },
    {
      "cue": "core:sound_spell_frost_nova_cast",
      "moment": "spell-frost-nova-cast"
    },
    {
      "cue": "core:sound_spell_frost_nova_impact",
      "moment": "spell-frost-nova-impact"
    },
    {
      "cue": "core:sound_mow",
      "moment": "mow"
    },
    {
      "cue": "core:sound_mumble_letters",
      "moment": "mumble-letters"
    },
    {
      "cue": "core:sound_spell_lightning_cast",
      "moment": "spell-lightning-cast"
    },
    {
      "cue": "core:sound_spell_lightning_impact",
      "moment": "spell-lightning-impact"
    },
    {
      "cue": "core:sound_spell_hit_fire",
      "moment": "spell-hit-fire"
    },
    {
      "cue": "core:sound_spell_hit_frost",
      "moment": "spell-hit-frost"
    },
    {
      "cue": "core:sound_spell_hit_arcane",
      "moment": "spell-hit-arcane"
    },
    {
      "cue": "core:sound_spell_soothing_light_cast",
      "moment": "spell-soothing-light-cast"
    },
    {
      "cue": "core:sound_spell_healing_grove_cast",
      "moment": "spell-healing-grove-cast"
    },
    {
      "cue": "core:sound_spell_healing_grove_bloom",
      "moment": "spell-healing-grove-bloom"
    }
  ],
  "telegraph": {
    "fill_rgb": [
      255,
      115,
      31
    ],
    "outline_rgb": [
      217,
      31,
      13
    ]
  },
  "title_view": {
    "anchor": "core:valley/title_view",
    "day_permille": 620,
    "distance_mm": 36000,
    "heading_mdeg": 270000,
    "orbit_ticks": 1500,
    "pitch_mdeg": 16000
  }
}