{
  "id": "main_act_i_001_arrival",
  "title": "Arrival in Millhaven",
  "description": "A letter from Magistrate Vossler asks you to settle your parents' estate. Visit the magistrate, take the case file your parents left behind, and learn what they died investigating.",
  "hidden": false,

  "auto_start_when": [
    { "kind": "enter_anchor", "anchor": "millhaven" }
  ],

  "entry_step": "intro",

  "steps": [
    {
      "id": "intro",
      "title": "Arrive in Millhaven",
      "description": "Make your way to the magistrate's hall in Millhaven.",
      "waypoint": "anchor:millhaven",
      "trigger_conditions": [
        { "kind": "enter_anchor", "anchor": "millhaven" }
      ],
      "on_enter": [
        { "kind": "set_flag", "flag": "act_i_arrived_at_millhaven" }
      ],
      "outcomes": [
        { "next": "find_magistrate" }
      ]
    },
    {
      "id": "find_magistrate",
      "title": "Speak with Magistrate Vossler",
      "description": "Magistrate Vossler holds the case file your parents left behind.",
      "waypoint": "role:millhaven.magistrate",
      "trigger_conditions": [
        { "kind": "flag_set", "flag": "spoke_to_millhaven_magistrate" }
      ],
      "outcomes": [
        { "next": "investigate" }
      ]
    },
    {
      "id": "investigate",
      "title": "Investigate Briarstead",
      "description": "Read the journal. Talk to Constable Fenn or Grandmother Asha. Learn who your parents were before they died — and what they were investigating.",
      "waypoint": "Briarstead — south of Millhaven, past the millpond",
      "trigger_conditions": [
        { "kind": "flag_set", "flag": "act_i_briarstead_searched" }
      ],
      "outcomes": [
        {
          "next": "complete",
          "effects": [
            { "kind": "give_xp", "xp": 200 },
            { "kind": "start_quest", "quest": "main_act_i_003_following_dead" }
          ]
        }
      ]
    },
    {
      "id": "complete",
      "title": "What You Carry",
      "description": "You have the journal, the formula, the names list, and — depending on how the climax went — the Maw's sigil. The road out of Millhaven leads east toward Thornfield, where the first name on the list lives.",
      "completes_quest": true
    }
  ]
}
