EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

chapter

Ordered scenes and quests.

Signature

{ after: (ChapterId)?, id: ContentId, kind: "chapter", steps: {ChapterStep} }

Fields

NameTypeMeaning
afterChapterIdChapter that must pass its last step before this one starts.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: chapter
idContentIdChapter identity.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
kind"chapter"Discriminant
steps{ChapterStep}Sequential steps.
Items: 1…256

Validated example

{
  "id": "core:chapter_one",
  "kind": "chapter",
  "steps": [
    {
      "scene": "core:c00_intro"
    },
    {
      "quest": "core:anyone_out_there"
    },
    {
      "scene": "core:c01_clearing"
    },
    {
      "quest": "core:roof_of_canvas"
    },
    {
      "at": 870,
      "scene": "core:c02_first_night"
    },
    {
      "at": "dawn",
      "scene": "core:c03_morning"
    },
    {
      "quest": "core:four_walls"
    },
    {
      "scene": "core:c04_workbench"
    },
    {
      "quest": "core:before_nightfall"
    },
    {
      "at": "evening",
      "scene": "core:c05_fire"
    },
    {
      "at": "dawn",
      "quest": "core:full_larder"
    },
    {
      "scene": "core:c06_larder"
    },
    {
      "scene": "core:c07_pickaxe"
    },
    {
      "quest": "core:stone_and_hearth"
    },
    {
      "quests": [
        "core:warm_meal",
        "core:old_seeds"
      ]
    },
    {
      "at": "evening",
      "scene": "core:c07_supper"
    },
    {
      "at": "dawn",
      "quest": "core:along_the_coast"
    },
    {
      "scene": "core:c08_all_here"
    },
    {
      "quest": "core:roofs_for_everyone",
      "starts": [
        "core:first_harvest",
        "core:fish_for_supper",
        "core:a_roof_of_our_own"
      ]
    },
    {
      "quests": [
        "core:a_bed_for_everyone",
        "core:first_harvest",
        "core:fish_for_supper"
      ]
    },
    {
      "at": "evening",
      "scene": "core:c10_everamble"
    },
    {
      "scene": "core:c10_interlude"
    },
    {
      "at": "dawn"
    }
  ]
}