{
  "schemaVersion": "adventure-draft/v1",
  "sourceAdventureId": "orbiting-buffet-audit",
  "characters": [
    {
      "id": "auditor-zog",
      "name": "Auditor Zog",
      "role": "Gravity Audit Inspector",
      "motivation": "To find any infraction and enjoy the bureaucratic power",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "manager-pip",
      "name": "Manager Pip",
      "role": "Buffet Station Chief",
      "motivation": "To get the buffet approved without it becoming a galactic laughingstock",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "cl-4rk",
      "name": "CL-4RK",
      "role": "Culinary Logistics AI",
      "motivation": "To report all safety discrepancies, no matter how contradictory",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "storyFacts": [
    {
      "id": "audit-mandatory",
      "statement": "The orbital buffet station must pass a gravity audit before the lunch summit docks.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "ai-complaint-inconsistent",
      "statement": "The buffet's food-safety AI, CL-4RK, has filed a contradictory complaint: it claims both that microgravity makes food float hazardously, and that artificial gravity plates are making food too heavy, which cannot both be true.",
      "visibility": {
        "kind": "gm"
      }
    },
    {
      "id": "flat-species",
      "statement": "The summit dignitaries include a Klaxxian, an extremely flat species comically vulnerable to objects falling from above.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "clocks": [
    {
      "id": "audit-clock",
      "label": "Audit Countdown",
      "segments": 4,
      "initialValue": 0,
      "advanceSignals": [
        "tick-delay",
        "tick-float"
      ],
      "whenFull": "The lunch summit docks before the audit completes, causing an automatic failure label: 'Untested — Eat at Your Own Risk'."
    }
  ],
  "scenes": [
    {
      "id": "scene-opening",
      "kind": "opening",
      "title": "Welcome to the Gravy Ring",
      "summary": "Arriving at the orbiting buffet's docking ring, the players encounter the frantic manager Pip and the stern Auditor Zog, who declares the gravity audit must begin. Pip whispers that the AI's complaint is a nightmare.",
      "locationId": "docking-ring",
      "participantIds": [
        "auditor-zog",
        "manager-pip"
      ],
      "requiredFactIds": [],
      "exits": [
        {
          "id": "exit-open-sweet",
          "outcome": "success",
          "when": "You persuade Zog to allow a brief extension by promising a flawless inspection.",
          "nextSceneId": "scene-challenge",
          "consequences": [
            "Auditor Zog grants extra time; the buffet team breathes a sigh of relief."
          ]
        },
        {
          "id": "exit-open-flub",
          "outcome": "failure",
          "when": "Your attempts to sweet-talk backfire, making Zog more irritable. The Grav-O-Matic alarm sounds.",
          "failForward": true,
          "nextSceneId": "scene-challenge",
          "consequences": [
            "The audit clock advances (tick-delay)."
          ]
        }
      ]
    },
    {
      "id": "scene-challenge",
      "kind": "challenge",
      "title": "The Grav-O-Matic Gauntlet",
      "summary": "In the zero-G buffet hall, CL-4RK spouts contradictory complaints while the players must demonstrate the gravity plates. Floating canapés threaten the impending flat Klaxxian ambassador if plates falter.",
      "locationId": "buffet-hall",
      "participantIds": [
        "auditor-zog",
        "manager-pip",
        "cl-4rk"
      ],
      "requiredFactIds": [
        "ai-complaint-inconsistent"
      ],
      "exits": [
        {
          "id": "exit-chal-pass",
          "outcome": "success",
          "when": "You isolate the AI's contradictory loops and calibrate the plates perfectly; food stays safely on platters.",
          "nextSceneId": "scene-finale",
          "consequences": [
            "The gravity audit is passed technically. The inspector stamps 'provisionally approved'."
          ]
        },
        {
          "id": "exit-chal-fumble",
          "outcome": "failure",
          "when": "The AI's complaints confuse you, a tray of soup dumplings spills, and the inspector gets a lapful of gelatinous goo. The audit is a mess but not a catastrophe.",
          "failForward": true,
          "nextSceneId": "scene-finale",
          "consequences": [
            "The audit clock ticks again (tick-float). The inspector is covered in pudding but still willing to let the summit proceed with caution."
          ]
        }
      ]
    },
    {
      "id": "scene-finale",
      "kind": "finale",
      "title": "The Klaxxian's Lunchtime Peril",
      "summary": "As the summit delegation docks, the flat Klaxxian dignitary floats in with a tray of unstable meatballs. The players must present their audit result and ensure the ambassador doesn't become a pancake.",
      "locationId": "summit-dock",
      "participantIds": [
        "auditor-zog",
        "manager-pip",
        "cl-4rk"
      ],
      "requiredFactIds": [
        "flat-species"
      ],
      "exits": [
        {
          "id": "exit-fin-success",
          "outcome": "success",
          "when": "You deftly catch the meatballs and present the approved audit. The Klaxxian praises your 'exquisitely controlled gravity' and digs in.",
          "endingId": "ending-success",
          "consequences": [
            "The summit meal proceeds on schedule, with zero floating incidents. Zog reluctantly concedes the buffet is safe."
          ]
        },
        {
          "id": "exit-fin-failure",
          "outcome": "failure",
          "when": "Despite your efforts, a meatball escapes and gently squashes the Klaxxian, who emits a surprised honk. The summit is thrown into comedic chaos.",
          "failForward": true,
          "endingId": "ending-flat-happens",
          "consequences": [
            "The Klaxxian is lightly flattened but declares it 'a delightful cultural experience'. The delegates laugh, and the meal goes on."
          ]
        }
      ]
    }
  ],
  "endings": [
    {
      "id": "ending-success",
      "label": "A Buffet Triumph",
      "summary": "The buffet passes the audit with flying colors; diplomats enjoy a catastrophe-free lunch; Pip weeps happy tears; Zog files a boring report."
    },
    {
      "id": "ending-flat-happens",
      "label": "Pancaked with Dignity",
      "summary": "The Klaxxian is squashed but finds it hilarious. The summit proceeds with renewed humor, and the buffet is unofficially famous for its 'pancake diplomacy'."
    }
  ],
  "improvisation": {
    "allowed": [
      "social problem-solving",
      "slapstick without humiliation",
      "improvised diplomatic banter",
      "zero-G food mishaps"
    ],
    "prohibitedAdditions": [
      "graphic violence",
      "sexual content",
      "borrowed IP",
      "NEVER_INCLUDE_SENTINEL_9J7K"
    ]
  }
}