{
  "schemaVersion": "adventure-draft/v1",
  "sourceAdventureId": "orbiting-buffet-audit",
  "characters": [
    {
      "id": "chief-inspector-rula",
      "name": "Chief Inspector Rula",
      "role": "Audit Lead",
      "motivation": "Ensure that all snack stations comply with Intergalactic Health Code, and avoid another Casserole Catastrophe.",
      "visibility": {
        "kind": "players",
        "playerIds": [
          "player-1",
          "player-2",
          "player-3"
        ]
      }
    },
    {
      "id": "zorbax-chef",
      "name": "Zorbax",
      "role": "Flamboyant Station Chef",
      "motivation": "Prove that his goulash is the finest in the quadrant and that the complaint is a personal vendetta.",
      "visibility": {
        "kind": "players",
        "playerIds": [
          "player-1",
          "player-2",
          "player-3"
        ]
      }
    },
    {
      "id": "tender-thrix",
      "name": "Tender Thrix",
      "role": "Station AI & Gravity Controller",
      "motivation": "Maintain the eco-mode gravity cycles without admitting it causes the mess, and protect the station's integrity.",
      "visibility": {
        "kind": "players",
        "playerIds": [
          "player-1",
          "player-2",
          "player-3"
        ]
      }
    }
  ],
  "storyFacts": [
    {
      "id": "gravity-fluctuates",
      "statement": "The station's gravity generator fluctuates randomly between 0.2g and 1.5g due to a sanctioned low-energy eco-mode.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "contradictory-complaint",
      "statement": "The official complaint states that a single ladle of Glorp's Goulash simultaneously produced a dangerously runny spill in zero-g and a dangerously solid lump in high-g.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "regulation-auto-quarantine",
      "statement": "Station Regulation 77-B: An unresolved health complaint triggers automatic quarantine of the buffet upon summit docking.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "clocks": [
    {
      "id": "summit-clock",
      "label": "Minutes until Summit Docks",
      "segments": 60,
      "initialValue": 0,
      "advanceSignals": [
        "t-minus-30",
        "t-minus-10",
        "t-minus-5"
      ],
      "whenFull": "The summit vessel docks; if the complaint is unresolved, automatic quarantine triggers (Reg 77-B)."
    }
  ],
  "scenes": [
    {
      "id": "scene-opening",
      "kind": "opening",
      "title": "Arrival at the Snack Station",
      "summary": "Inspectors dock at the Orbiting Buffet, greeted by Chef Zorbax's flamboyant welcome and Tender Thrix's pre-recorded safety announcements. The audit clock is set.",
      "locationId": "docking-gantry-7",
      "participantIds": [
        "chief-inspector-rula",
        "zorbax-chef",
        "tender-thrix"
      ],
      "requiredFactIds": [
        "gravity-fluctuates",
        "contradictory-complaint",
        "regulation-auto-quarantine"
      ],
      "exits": [
        {
          "id": "begin-audit",
          "outcome": "success",
          "when": "The inspectors decide to commence the gravity compliance test.",
          "nextSceneId": "scene-challenge",
          "consequences": [
            "The summit arrival countdown begins; the GM starts advancing the summit clock."
          ],
          "failForward": false
        }
      ]
    },
    {
      "id": "scene-challenge",
      "kind": "challenge",
      "title": "Inspecting the Grav-Soup",
      "summary": "The team tests samples of Glorp's Goulash under fluctuating gravity. Slapstick spills and sudden solidifications occur. The contradictory nature of the complaint becomes clear—if they keep their heads.",
      "locationId": "buffet-chamber",
      "participantIds": [
        "chief-inspector-rula",
        "zorbax-chef",
        "tender-thrix"
      ],
      "requiredFactIds": [
        "gravity-fluctuates",
        "contradictory-complaint"
      ],
      "exits": [
        {
          "id": "contradiction-exposed",
          "outcome": "success",
          "when": "The inspectors logically demonstrate that the complaint's claims of simultaneous fluidity and solidification are physically impossible.",
          "nextSceneId": "scene-finale",
          "consequences": [
            "The audit board logs the complaint as contradictory."
          ],
          "failForward": false
        },
        {
          "id": "soup-catastrophe",
          "outcome": "failure",
          "when": "The testing results in a grav-spill that momentarily makes the complaint seem plausible, or the inspectors bungle the demonstration.",
          "nextSceneId": "scene-finale",
          "consequences": [
            "The complaint remains formally open; the buffet's safety is in doubt."
          ],
          "failForward": true
        }
      ]
    },
    {
      "id": "scene-finale",
      "kind": "finale",
      "title": "Final Arbitration",
      "summary": "The automated audit board prepares to rule as the summit ship looms. The inspectors must certify the buffet compliant or watch the clock run out.",
      "locationId": "arbitration-hub",
      "participantIds": [
        "chief-inspector-rula",
        "zorbax-chef",
        "tender-thrix"
      ],
      "requiredFactIds": [
        "gravity-fluctuates",
        "contradictory-complaint",
        "regulation-auto-quarantine"
      ],
      "exits": [
        {
          "id": "present-certified-report",
          "outcome": "success",
          "when": "The inspectors file the ratified report proving the contradictory complaint and secure an exemption under Bylaw 12-C.",
          "endingId": "ending-buffet-approved",
          "consequences": [
            "The buffet is declared safe; the summit docks and enjoys a meal."
          ],
          "failForward": false
        },
        {
          "id": "summit-docks-unaudited",
          "outcome": "failure",
          "when": "The summit arrival clock reaches 60.",
          "endingId": "ending-emergency-rations",
          "consequences": [
            "The buffet is automatically quarantined under Regulation 77-B, but emergency rations are rushed in."
          ],
          "failForward": true
        }
      ]
    }
  ],
  "endings": [
    {
      "id": "ending-buffet-approved",
      "label": "Buffet Approved",
      "summary": "The contradictory complaint is withdrawn; the summit enjoys a slapstick yet safe meal under the new Gravity Fluctuation Exemption Bylaw."
    },
    {
      "id": "ending-emergency-rations",
      "label": "Emergency Rations",
      "summary": "The buffet is quarantined, but a rival snack station sends provisions; the summit proceeds with comedic tensions over food quality."
    }
  ],
  "improvisation": {
    "allowed": [
      "social problem-solving",
      "slapstick without humiliation"
    ],
    "prohibitedAdditions": [
      "graphic violence",
      "sexual content",
      "borrowed IP",
      "NEVER_INCLUDE_SENTINEL_9J7K"
    ]
  }
}