{
  "schemaVersion": "adventure-draft/v1",
  "sourceAdventureId": "orbiting-buffet-audit",
  "characters": [
    {
      "id": "manager-glip",
      "name": "Glip",
      "role": "Station Manager",
      "motivation": "Prevent a diplomatic incident and pass the gravity audit without any food fights.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "zorblax",
      "name": "Zorblax",
      "role": "Gravity Compliance Auditor",
      "motivation": "Find a juicy violation to justify his department's budget and his recent promotion.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "chef-mixalot",
      "name": "Chef Mixalot",
      "role": "Head Buffet Chef",
      "motivation": "Serve the perfect zero-gravity canapés and keep the kitchen stable until the summit delegates leave.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "storyFacts": [
    {
      "id": "fact-stabilizers-overdue",
      "statement": "The orbital buffet's artificial gravity stabilizers have not been serviced for six maintenance cycles.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "fact-contradictory-complaint",
      "statement": "The auditor's complaint log demands zero-gravity sushi presentation and heavy-gravity soup service simultaneously.",
      "visibility": {
        "kind": "gm"
      }
    },
    {
      "id": "fact-summit-critical",
      "statement": "The lunch summit will finalise a historic peace treaty between the fluffy Glorax and the spiny Zenthians.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "clocks": [
    {
      "id": "grav-stability-index",
      "label": "Grav-Stability Index",
      "segments": 4,
      "initialValue": 0,
      "advanceSignals": [
        "grav-stabilized",
        "contradiction-resolved",
        "buffet-ready",
        "summit-docks"
      ],
      "whenFull": "The gravity field is completely stable, the audit passes flawlessly, and the meal proceeds in perfect harmony."
    }
  ],
  "scenes": [
    {
      "id": "docking-bay",
      "kind": "opening",
      "title": "Gravity-Warmed Welcome",
      "summary": "Auditor Zorblax drifts through the airlock just as the gravity hiccups, pelting him with floating mini quiches. Manager Glip rushes to smooth things over before the inspector logs a violation.",
      "locationId": "docking-ring-7",
      "participantIds": [
        "manager-glip",
        "zorblax"
      ],
      "requiredFactIds": [],
      "exits": [
        {
          "id": "escort-to-buffet",
          "outcome": "momentum",
          "when": "Glip successfully guides Zorblax toward the main buffet hall, promising a full demonstration of the station's culinary gravity control.",
          "nextSceneId": "challenge-buffet",
          "consequences": [
            "Zorblax raises an eyebrow and notes 'anomalous greeting field' in his preliminary report."
          ]
        }
      ]
    },
    {
      "id": "challenge-buffet",
      "kind": "challenge",
      "title": "The Contradictory Complaints",
      "summary": "In the grand buffet hall, Zorblax reads aloud a list of demands: zero-gravity floating sushi and heavy-gravity soup tureens. Chef Mixalot scrambles to adjust the ancient stabilisers while the impossible requirements collide.",
      "locationId": "main-buffet-hall",
      "participantIds": [
        "zorblax",
        "chef-mixalot",
        "manager-glip"
      ],
      "requiredFactIds": [
        "fact-contradictory-complaint"
      ],
      "exits": [
        {
          "id": "clever-compromise",
          "outcome": "success",
          "when": "The crew identifies the contradictory rule and proposes alternating gravity zones – a sushi cloud and a soup pool that rotate elegantly.",
          "nextSceneId": "finale-report",
          "consequences": [
            "Zorblax is grudgingly impressed by the elegant solution.",
            "The stabilisers hum in a new rhythmic pattern, creating a shimmering dance of food."
          ]
        },
        {
          "id": "chaotic-distraction",
          "outcome": "failure",
          "when": "A frantic emergency reboot sends the gravity into wild oscillation, but someone flings a zero-g cake that hits Zorblax square on the badge, making him laugh.",
          "nextSceneId": "finale-report",
          "consequences": [
            "The hall is a mess of floating soup and cake splatters.",
            "Zorblax's uniform is ruined, yet his mood shifts to amused tolerance.",
            "The stabilisers are hanging by a thread."
          ],
          "failForward": true
        }
      ]
    },
    {
      "id": "finale-report",
      "kind": "finale",
      "title": "The Final Report and the Docking Summit",
      "summary": "The summit transport rumbles in the background as Zorblax prepares his final assessment. The buffet must hold its gravity long enough for the delegates to sit, eat, and sign.",
      "locationId": "observation-lounge",
      "participantIds": [
        "zorblax",
        "chef-mixalot",
        "manager-glip"
      ],
      "requiredFactIds": [
        "fact-summit-critical"
      ],
      "exits": [
        {
          "id": "perfect-service",
          "outcome": "success",
          "when": "The stabilisers deliver flawless, alternating gravity as the delegates enter. Zorblax signs off with a rare commendation.",
          "endingId": "ending-smooth-lunch",
          "consequences": [
            "The audit passes with flying colours.",
            "Soup rests in heavy bowls while sushi twinkles weightlessly, impressing both species."
          ]
        },
        {
          "id": "glorious-meltdown",
          "outcome": "failure",
          "when": "The gravity collapses spectacularly, launching a fountain of soup onto the lead Glorax delegate, but the resulting absurdity breaks centuries of tension and triggers uproarious laughter.",
          "endingId": "ending-chaotic-treaty",
          "consequences": [
            "The audit fails technically, yet Zorblax files an exception for 'cultural bonding event'.",
            "Delegates bond over the shared spectacle of flying meatballs and dribbling sauce."
          ],
          "failForward": true
        }
      ]
    }
  ],
  "endings": [
    {
      "id": "ending-smooth-lunch",
      "label": "The Perfect Buffet Summit",
      "summary": "The gravity held steady, the treaty was signed over an immaculate meal, and Zorblax's report earned him a promotion to Senior Grav-Bureaucrat. The station's reputation is secured."
    },
    {
      "id": "ending-chaotic-treaty",
      "label": "The Great Soup Fountain Armistice",
      "summary": "Despite the audit failure, the gravity disaster became the ice-breaker of the century. The treaty was signed amid laughter, floating profiteroles, and Zorblax's punchy recommendation for 'improvised gravity diplomacy'."
    }
  ],
  "improvisation": {
    "allowed": [
      "social problem-solving",
      "slapstick without humiliation",
      "comedic gravity mishaps",
      "bureaucratic jargon",
      "quirky alien diplomacy"
    ],
    "prohibitedAdditions": [
      "graphic violence",
      "sexual content",
      "borrowed IP",
      "NEVER_INCLUDE_SENTINEL_9J7K"
    ]
  }
}