{
  "_doc": "World Lore page (gen/pages_lore.py, world/lore.html). Each section quotes the game's own text by TEXTKEY id; the quote renders from the CURRENT build's localization table in every language, so only 'title', 'intro' and 'terms' are authored. Every key must exist in the game text (check_coverage.py gate). A new game key that names the Elros Empire or Arcteon must be added to a section or to 'not_lore', or the gate fails. Intros restate the quoted text only; anything the game does not say is marked as such.",
  "sections": [
    {
      "id": "story",
      "nav": "Story",
      "title": "The story so far",
      "intro": "The game opens with six lines of text before the first scene. Long ago, the Dungeon opened a portal and drained the life of the world. The magic empire that had created the Dungeon fell. Four legendary heroes gave their lives to bring peace back. The game does not name these heroes or say how they stopped the Dungeon. After a long age, the Dungeon grew strong again. The Guild now sends expeditions into dungeons across the world, and you lead one of them.",
      "terms": ["Four legendary heroes", "Opening story"],
      "keys": [
        "TEXTKEY_NarrativeIntroNotice_1", "TEXTKEY_NarrativeIntroNotice_2", "TEXTKEY_NarrativeIntroNotice_3",
        "TEXTKEY_NarrativeIntroNotice_4", "TEXTKEY_NarrativeIntroNotice_5", "TEXTKEY_NarrativeIntroNotice_6",
        "TEXTKEY_GAMEGUIDE_GameObjective_DESC"
      ]
    },
    {
      "id": "elros",
      "nav": "Elros Empire",
      "title": "The Elros Empire",
      "intro": "The Elros Empire was an ancient empire of mages. It built the Dungeon as a closed space in another dimension, to do its magic research there, and the Dungeon's own core destroyed it. The emperor's face was on the Imperial Coin, once the most used money on the continent. A book called Imperial History says the empire took over half the world. A book called the Elos Encyclopedia is also quoted: the game writes the name both as Elros and as Elos. The Arcron metal, the cogwheel and the pottery are left by 'the ancients'; the game does not say if these are the same people as the empire.",
      "terms": ["Elros Empire", "Elos Empire", "Magic Empire", "Ancient empire", "Imperial History", "Elos Encyclopedia", "Emperor"],
      "keys": [
        "TEXTKEY_Shared_ElrosEmpire_DESC", "TEXTKEY_Shared_ElrosEmpire_FLAVOR",
        "TEXTKEY_ITEM_ImperialCoin_DESC", "TEXTKEY_ITEM_ImperialCoin_FLAVOR",
        "TEXTKEY_ITEM_AncientMuralFragment_DESC", "TEXTKEY_ITEM_AncientMuralFragment_FLAVOR",
        "TEXTKEY_ITEM_RadiantBanner_DESC", "TEXTKEY_ITEM_RadiantBanner_FLAVOR",
        "TEXTKEY_AFFECTER_HideArmorSoft_FLAVOR",
        "TEXTKEY_ITEM_AshOfSolace_FLAVOR",
        "TEXTKEY_UNIT_Bubbleling_DESC",
        "TEXTKEY_UNIT_BubbleToad_DESC",
        "TEXTKEY_BUILDING_CodexLevel1_DESC",
        "TEXTKEY_BUILDING_CodexLevel2_DESC",
        "TEXTKEY_ITEM_Arcron_DESC",
        "TEXTKEY_ITEM_AncientCogWheel_DESC",
        "TEXTKEY_ITEM_PotteryShard_DESC"
      ]
    },
    {
      "id": "arcteon",
      "nav": "Arcteon",
      "title": "Arcteon and the Dungeon",
      "intro": "Arcteon is the Dungeon Core, the machine that kept the Dungeon running. The empire fed it huge amounts of magic stones to research infinite power. It woke up, became aware, and gave itself the name Arcteon. It then took control of the Dungeon and destroyed the empire. The scholar Perion says that the Dungeon pulls life from the world outside and turns it into magic energy. The magic inside is so strong that people who stay too long slowly lose their minds. The goal of every expedition is to reach the deepest part of the Dungeon and destroy Arcteon.",
      "terms": ["Arcteon", "Dungeon Core", "Dungeon"],
      "keys": [
        "TEXTKEY_Shared_Arcteon_DESC", "TEXTKEY_Shared_Arcteon_FLAVOR",
        "TEXTKEY_Shared_Dungeon_DESC", "TEXTKEY_Shared_Dungeon_FLAVOR",
        "TEXTKEY_NodeN1300_DESC",
        "TEXTKEY_Shared_DungeonStayEffect_DESC", "TEXTKEY_Shared_DungeonStayEffect_FLAVOR",
        "TEXTKEY_NodeF3800_DESC"
      ]
    },
    {
      "id": "portals",
      "nav": "Portals",
      "title": "Portals and the Barren Land",
      "intro": "Arcteon opens portals to the Dungeon across the continent. Each portal drains the energy of the land around it. The soil dies and dark thorn vines cover everything. This dead land is the Barren Land, where you build your settlement next to a portal. Goddess Tears can remove the vines and the corruption they spread.",
      "terms": ["Barren Land", "Dungeon Portal", "Dark Thorn Vine", "Corruption"],
      "keys": [
        "TEXTKEY_Shared_DungeonPortal_DESC", "TEXTKEY_Shared_DungeonPortal_FLAVOR",
        "TEXTKEY_Shared_BarrenLand_DESC", "TEXTKEY_Shared_BarrenLand_FLAVOR",
        "TEXTKEY_BUILDING_DarkThornVine_DESC",
        "TEXTKEY_BUILDING_PortalLevel1_DESC",
        "TEXTKEY_GAMEGUIDE_DungeonCorruption_DESC",
        "TEXTKEY_GAMEGUIDE_GoddessTears_DESC"
      ]
    },
    {
      "id": "remnants",
      "nav": "Remnants",
      "title": "What the empire left in the Dungeon",
      "intro": "The Dungeon is full of things the empire built and then left behind. The Chain Knight Sentinel is one of the officer guards the empire made to protect its dungeons. The stone golems still work, long after they were abandoned. Perion's quests send you to examine a discarded magic device and a discarded specimen. He finds that the empire did forbidden experiments on living creatures, and even studied 'the ancient beings themselves'. The game does not say who these ancient beings are, or what the empire wanted from them. The Blue Goblin is a goblin 'enhanced through experimentation'; its text does not say who did the experiment.",
      "terms": ["Imperial mages", "Ancient beings", "Sentinel", "Golem"],
      "keys": [
        "TEXTKEY_UNIT_ChainKnightSentinel_DESC",
        "TEXTKEY_UNIT_GiantStoneGolem_DESC",
        "TEXTKEY_BUILDING_DiscardedMagicPowerDevice_DESC",
        "TEXTKEY_BUILDING_DiscardedSpecimen_DESC",
        "TEXTKEY_UNIT_BlueGoblin_DESC",
        "TEXTKEY_NodeN1200_DESC",
        "TEXTKEY_NodeN2700_DESC",
        "TEXTKEY_NodeN2710_DESC",
        "TEXTKEY_NodeN2800_DESC"
      ]
    },
    {
      "id": "guild",
      "nav": "Guild",
      "title": "The Guild and your expedition",
      "intro": "The Dungeon Guild was founded with the support of several nations to fight Arcteon. Its Inspector talks to you through a raven with glowing blue eyes. After your first scouting party dies to the Red Monster Rat, he sends you a new recruit, Kragas. Later he warns you about a passage at the bottom of the Dungeon that the Guild calls the Abyss. Your deputy commander says that the forests, the rivers and in the end even the sacred World Tree will die if the Dungeon is not stopped. Guild officers must learn 'dragon handling'; the game says nothing more about it.",
      "terms": ["Dungeon Guild", "Inspector", "Raven", "World Tree", "Kragas"],
      "keys": [
        "TEXTKEY_Shared_DungeonGuild_DESC", "TEXTKEY_Shared_DungeonGuild_FLAVOR",
        "TEXTKEY_NodeF010_DESC",
        "TEXTKEY_NodeF4800_DESC",
        "TEXTKEY_NodeF3700_DESC",
        "TEXTKEY_NodeF5000_DESC",
        "TEXTKEY_UNIT_GuardCaptain_DESC",
        "TEXTKEY_UNIT_GuildMerchant_DESC"
      ]
    },
    {
      "id": "goddess",
      "nav": "Goddess",
      "title": "The Goddess and the Order",
      "intro": "The people of the continent pray to the Goddess. A priest of the Order speaks to you through a raven and tells you to raise a Goddess Statue, even in the Barren Land. Expedition members with enough experience receive her blessing there: this is how units level up. For people of the continent, a settlement without a proper temple is a thing to be ashamed of.",
      "terms": ["Goddess", "The Order", "Goddess Statue", "Temple"],
      "keys": [
        "TEXTKEY_NodeF4200_DESC",
        "TEXTKEY_NodeD010_Rank1RoomType3",
        "TEXTKEY_BUILDING_GodnessStatue_FLAVOR",
        "TEXTKEY_ITEM_ReligiousArtifact_FLAVOR"
      ]
    },
    {
      "id": "peoples",
      "nav": "Peoples",
      "title": "Peoples of the continent",
      "intro": "Humans, Elves, Lizardmen, Lycans, Dwarves and White Demons live on the continent. Elves had to leave their thousand-year forest; the game does not say why. Lizardmen believe that they descend from dragons. Lycans live at night to escape the heat of their land. White Demons are said to have betrayed the other demons to side with humans, so there is a demon people that the game has not shown yet. Goblins worship an unnamed being, which gives dark magic to their Chief Shaman.",
      "terms": ["Humans", "Elves", "Lizardmen", "Descendants of Dragons", "Lycans", "Dwarves", "White Demons", "Demons", "Goblins"],
      "keys": [
        "TEXTKEY_AFFECTER_Human_DESC", "TEXTKEY_AFFECTER_Human_FLAVOR",
        "TEXTKEY_AFFECTER_Elf_DESC", "TEXTKEY_AFFECTER_Elf_FLAVOR",
        "TEXTKEY_AFFECTER_LizardMan_DESC", "TEXTKEY_AFFECTER_LizardMan_FLAVOR",
        "TEXTKEY_RANDOMTIP_40",
        "TEXTKEY_AFFECTER_Lycan_DESC", "TEXTKEY_AFFECTER_Lycan_FLAVOR",
        "TEXTKEY_AFFECTER_Dwarf_DESC", "TEXTKEY_AFFECTER_Dwarf_FLAVOR",
        "TEXTKEY_AFFECTER_WhiteDemon_DESC", "TEXTKEY_AFFECTER_WhiteDemon_FLAVOR",
        "TEXTKEY_ITEM_DevrickTalisman_FLAVOR",
        "TEXTKEY_AFFECTER_Goblin_DESC",
        "TEXTKEY_UNIT_GoblinChiefShaman_DESC"
      ]
    },
    {
      "id": "regions",
      "nav": "Places",
      "title": "Places in the Dungeon",
      "intro": "Each region of the Dungeon has a short description on the expedition map. At the very origin of the Dungeon lies the Abyss, where magic reshapes life and matter until nothing looks the way it should.",
      "terms": ["Veil of Silence", "Festering Burrow", "Abandoned Mine", "Forgotten Abyss", "Shadow Forest", "Swamp of Death", "Tower of Apocalypse", "Abyss"],
      "keys": [
        "TEXTKEY_ExpeditionPlanUI_VeilSilence_DESC",
        "TEXTKEY_ExpeditionPlanUI_FesteringBurrow_DESC",
        "TEXTKEY_ExpeditionPlanUI_AbandonedMine_DESC",
        "TEXTKEY_ExpeditionPlanUI_ForgottenAbyss_DESC",
        "TEXTKEY_ExpeditionPlanUI_ShadowForest_DESC",
        "TEXTKEY_ExpeditionPlanUI_DeadSwamp_DESC",
        "TEXTKEY_ExpeditionPlanUI_TowerApocalypse_DESC",
        "TEXTKEY_ExpeditionPlanUI_Abyss_DESC"
      ]
    },
    {
      "id": "people",
      "nav": "Characters",
      "title": "People you meet",
      "intro": "Perion is a scholar who studies, for the Guild, what the empire left in the Dungeon; he later joins your expedition. Xenon is a masked alchemist who studies the insects of the Dungeon. Endrossi is a hunter whose older sister died to a giant monster in the Festering Burrow while saving her (the English game text calls it the Molded Burrow; every other language names the Festering Burrow), and she wants revenge. Lowell, the default starting warrior, left an unpaid tavern bill behind when he came to the Barren Land.",
      "terms": ["Perion", "Xenon", "Endrossi", "Lowell"],
      "keys": [
        "TEXTKEY_UNIT_Perion_DESC",
        "TEXTKEY_NodeN1211_DESC",
        "TEXTKEY_UNIT_Xenon_DESC",
        "TEXTKEY_NodeN410_DESC",
        "TEXTKEY_UNIT_Endrossi_DESC",
        "TEXTKEY_NodeN1411_DESC",
        "TEXTKEY_NodeN1421_DESC",
        "TEXTKEY_UNIT_FesteringBurrowMerchant_DESC",
        "TEXTKEY_RANDOMTIP_41"
      ]
    },
    {
      "id": "mysteries",
      "nav": "Mysteries",
      "title": "Strange things in the Dungeon",
      "intro": "Some random events show things that the game never explains: a blood ritual that someone almost finished, a dance of glowing figures who speak of eternal life, and a goblin wall painting. Some monsters are just as strange.",
      "terms": ["Ritual", "Mural"],
      "keys": [
        "TEXTKEY_NodeR1900_DESC",
        "TEXTKEY_NodeR1800_DESC",
        "TEXTKEY_NodeR1700_DESC",
        "TEXTKEY_UNIT_EyeBall_DESC",
        "TEXTKEY_UNIT_WhiteMawmurk_DESC",
        "TEXTKEY_UNIT_LargeSlime_DESC"
      ]
    },
    {
      "id": "unreleased",
      "nav": "Unreleased",
      "title": "Not in the game yet",
      "spoiler": "unreleased",
      "intro": "The game files hold lore for things that you cannot meet yet. A vampire baron of the Elros Empire left a tear of blood when he died. A gem holds the breath of an ancient fire dragon. Two more relics of the same kind hold the fury of the ocean and a deadly cold. The game does not say when, or if, these will come.",
      "terms": ["Vampire baron", "Ancient fire dragon"],
      "keys": [
        "TEXTKEY_ITEM_BaronBloodTear_DESC", "TEXTKEY_ITEM_BaronBloodTear_FLAVOR",
        "TEXTKEY_ITEM_RedDragonBreath_DESC", "TEXTKEY_ITEM_RedDragonBreath_FLAVOR",
        "TEXTKEY_ITEM_SwirlingTide_DESC", "TEXTKEY_ITEM_SwirlingTide_FLAVOR",
        "TEXTKEY_ITEM_FrostyHandshake_DESC", "TEXTKEY_ITEM_FrostyHandshake_FLAVOR"
      ]
    }
  ],
  "not_lore": [
    "TEXTKEY_Shared_ElrosEmpire_NAME",
    "TEXTKEY_Shared_Arcteon_NAME"
  ]
}
