{
  "id": "MISSION_STORY_03",
  "type": "STORY",
  "config": {
    "title": "The Buried Library",
    "description": "Recover ancient data from the Crystal Spires. Beware of unstable platforms.",
    "difficulty_tier": 2,
    "recommended_level": 3,
    "icon": "assets/icons/mission_library.png",
    "prerequisites": ["MISSION_STORY_02"]
  },
  "biome": {
    "type": "BIOME_CRYSTAL_SPIRES",
    "generator_config": {
      "seed_type": "RANDOM",
      "size": { "x": 16, "y": 12, "z": 16 },
      "room_count": 0,
      "density": "LOW"
    },
    "hazards": ["HAZARD_GRAVITY_FLUX"]
  },
  "deployment": {
    "squad_size_limit": 4
  },
  "narrative": {
    "intro_sequence": "NARRATIVE_STORY_03_INTRO",
    "outro_success": "NARRATIVE_STORY_03_OUTRO",
    "scripted_events": [
      {
        "trigger": "ON_TURN_START",
        "turn_index": 2,
        "action": "PLAY_SEQUENCE",
        "sequence_id": "NARRATIVE_STORY_03_MID"
      }
    ]
  },
  "objectives": {
    "primary": [
      {
        "id": "OBJ_RECOVER_DATA",
        "type": "INTERACT",
        "target_object_id": "OBJ_DATA_TERMINAL",
        "target_count": 3,
        "description": "Recover 3 Data Fragments from the floating islands."
      }
    ],
    "failure_conditions": [{ "type": "SQUAD_WIPE" }]
  },
  "rewards": {
    "guaranteed": {
      "xp": 350,
      "currency": { "aether_shards": 200, "ancient_cores": 2 },
      "unlocks": ["CLASS_CUSTODIAN"]
    },
    "faction_reputation": {
      "ARCANE_DOMINION": 30
    }
  }
}
