{
  "id": "millhaven_magistrate",
  "root": "intro",
  "nodes": [
    {
      "id": "intro",
      "speaker": "npc",
      "text": "\"You'll be the one I wrote to. Take a breath. There's a small letter on my desk waiting for you, and a longer story behind it.\"\n\nMagistrate Vossler is an elderly elk-folk in modest robes. The Covenant seal on his collar is old enough that the gilding has worn down. He nods at a chair without inviting you to sit.",
      "options": [
        { "text": "Tell me what happened to my parents.", "next": "case" },
        { "text": "Why did you write to me, of all people?", "next": "why_you" },
        { "text": "I'd like to look around the town first.", "next": "<end>" },
        { "text": "Goodbye.", "next": "<end>" }
      ]
    },
    {
      "id": "why_you",
      "speaker": "npc",
      "text": "\"You're the next of kin on file. They never named anyone else. The estate paperwork required your hand. The case file...\" He pauses. \"That's why I wrote you a personal letter and not a courier slip.\"",
      "options": [
        { "text": "What's in the case file?", "next": "case" },
        { "text": "I'll think on it. Goodbye.", "next": "<end>" }
      ]
    },
    {
      "id": "case",
      "speaker": "npc",
      "text": "\"The constabulary report calls it a rawfang attack. Open-field, predator profile, no witnesses. Constable Fenn ran the investigation himself. He's a good Canid — pack-trained, methodical. He believes what he wrote.\"\n\nThe magistrate folds his hands. \"I do not. The scene was wrong. Your parents had been preparing for something — papers boxed, maps annotated. I had the boxes brought here for safekeeping. I'd like you to take them with you.\"",
      "options": [
        {
          "text": "I'll take them. What did they leave?",
          "next": "hand_over",
          "effects": [
            { "kind": "give_item", "id": "briarstead_journal", "qty": 1 },
            { "kind": "give_item", "id": "formula_partial", "qty": 1 },
            { "kind": "give_item", "id": "names_list", "qty": 1 },
            { "kind": "set_flag", "flag": "spoke_to_millhaven_magistrate", "value": 1 },
            { "kind": "rep_event", "event": { "kind": "Quest", "magnitude": 4, "faction": "covenant_enforcers", "note": "called on the Millhaven magistrate" } }
          ]
        },
        { "text": "Why didn't you go to the Enforcers in the capital?", "next": "why_not_capital" }
      ]
    },
    {
      "id": "why_not_capital",
      "speaker": "npc",
      "text": "\"Because if my hunch is right, then the wrong office in the capital will hand the file to the wrong person. I'd rather you know what they wrote down before anyone else does.\"\n\nHe sighs. \"Take the boxes. Read the journal first. The names list will mean nothing today. It will mean a great deal in a month.\"",
      "options": [
        {
          "text": "Alright. Hand them over.",
          "next": "hand_over",
          "effects": [
            { "kind": "give_item", "id": "briarstead_journal", "qty": 1 },
            { "kind": "give_item", "id": "formula_partial", "qty": 1 },
            { "kind": "give_item", "id": "names_list", "qty": 1 },
            { "kind": "set_flag", "flag": "spoke_to_millhaven_magistrate", "value": 1 },
            { "kind": "rep_event", "event": { "kind": "Quest", "magnitude": 4, "faction": "covenant_enforcers", "note": "called on the Millhaven magistrate" } }
          ]
        }
      ]
    },
    {
      "id": "hand_over",
      "speaker": "npc",
      "text": "He brings out a small chest from behind the desk and slides it across.\n\n\"There's a journal, three sheets of formula, and a list of names. I've also kept the keys to the farmhouse — Briarstead, if you remember the road. South of town, past the millpond. Constable Fenn can show you the path; Grandmother Asha can tell you who your parents were before this happened. Do both, in either order. Then come back here and tell me what you found.\"",
      "options": [
        { "text": "Where exactly is Briarstead?", "next": "directions" },
        {
          "text": "I'll go.",
          "next": "<end>"
        }
      ]
    },
    {
      "id": "directions",
      "speaker": "npc",
      "text": "\"South gate, then the rutted lane along the millpond. Twenty minutes if you walk steadily. The lane forks at the old fence — left for the farmhouse, right for the Old Howl mine. The mine's collapsed. Don't go there alone.\"",
      "options": [
        {
          "text": "Understood.",
          "next": "<end>"
        }
      ]
    }
  ]
}
