{
  "id": "borrowed-beacon",
  "version": "1.0.0",
  "title": "The Borrowed Beacon",
  "subtitle": "A cooperative adventure at the Sunken Starport",
  "players": "1–6",
  "genre": "Cozy fantasy mystery",
  "start": "q01",
  "image": "assets/sunken-starport-v12.webp",
  "premise": "The last skyship has left. The sea is rising, and the harbor beacon has forgotten how to shine. Before the evening tide covers the causeway, find its borrowed light and decide what deserves to be brought home.",
  "initial": {
    "provisions": 3,
    "sparks": 0,
    "key": false
  },
  "rules": [
    "Play alone or cooperate with up to six people. Give each traveler a name. Use one six-sided die, a pencil, and three counters for party Provisions. Begin with 3 Provisions, 0 Sparks and no Brass Key.",
    "Start with any traveler in the spotlight; pass it clockwise after every choice or roll. Read card 01. Discuss choices; the spotlight traveler decides a tie. Follow the named card. All players may contribute, and the party shares resources.",
    "When a card asks for a roll, roll once and follow its printed outcome. Do not choose an outcome after seeing the result. Apply the next card’s arrival effect once. Provisions stay between 0 and 6; Sparks stay between 0 and 3. Having no Provisions does not end the adventure.",
    "On card 17 only, add your Sparks to the die; subtract 1 if the party has 0 Provisions. Use that adjusted score. Its alternative choices skip the roll and require the resources they name.",
    "There are four possible endings. Reach one, read it aloud, and discuss the final question. No combat rules, character sheet or game master are required. For a campaign, use the story as an optional sidequest and your own game’s rules for any added encounters.",
    "For the physical cards, keep cards 01–08, 09–16 and 17–21 in three numbered piles. Find the specific card the current card names; do not shuffle or draw randomly. Keep the three rules cards beside you."
  ],
  "nodes": [
    {
      "id": "q01",
      "number": "01",
      "title": "The tide’s last invitation",
      "chapter": "Approach",
      "body": "A paper boat taps against the customs steps. Inside lies a note: RETURN THE LIGHT BEFORE THE LAST BELL. Across the flooded harbor, the beacon’s glass is dark. A tired dockkeeper offers three packets of traveling food. ‘The light was borrowed,’ she says. ‘That is different from stolen.’",
      "choices": [
        {
          "id": "q01-library",
          "label": "Ask the chart-library traders.",
          "to": "q02"
        },
        {
          "id": "q01-ferry",
          "label": "Follow the stranded ferry.",
          "to": "q03"
        },
        {
          "id": "q01-bridge",
          "label": "Go straight to the compass court.",
          "to": "q09"
        }
      ]
    },
    {
      "id": "q02",
      "number": "02",
      "title": "A very small customs fee",
      "chapter": "Approach",
      "body": "A shell trader guards a brass key beneath an upturned teacup. She remembers lending the beacon keeper a little of her own courage. ‘Keys are easier to replace,’ she says. She will trade the key for supplies, or hear a story worth keeping.",
      "choices": [
        {
          "id": "q02-trade",
          "label": "Trade 1 Provision for the key.",
          "requires": {
            "provisions": 1
          },
          "effects": {
            "provisions": -1
          },
          "to": "q05"
        },
        {
          "id": "q02-story",
          "label": "Tell the trader a hopeful story.",
          "to": "q04"
        }
      ]
    },
    {
      "id": "q03",
      "number": "03",
      "title": "The boat that remembers",
      "chapter": "Approach",
      "body": "A little ferry is wedged beside the old skyship hull. Its rope has tied itself into a worried knot. Water inside reflects a star-filled sky, although evening has barely begun. You can coax the rope loose, but the boat insists that someone promise to return it.",
      "roll": {
        "id": "q03-roll",
        "label": "Roll to free the ferry.",
        "bands": [
          {
            "min": 1,
            "max": 2,
            "to": "q06"
          },
          {
            "min": 3,
            "max": 4,
            "to": "q07"
          },
          {
            "min": 5,
            "max": 6,
            "to": "q08"
          }
        ]
      }
    },
    {
      "id": "q04",
      "number": "04",
      "title": "Something worth remembering",
      "chapter": "Approach",
      "body": "Tell the table one hopeful thing your traveler has seen, invented or wishes were true. The shell trader listens without interrupting. When you finish, she closes her eyes. The harbor’s little lights seem to lean toward your voice.",
      "roll": {
        "id": "q04-roll",
        "label": "Roll for the trader’s answer.",
        "bands": [
          {
            "min": 1,
            "max": 2,
            "to": "q06"
          },
          {
            "min": 3,
            "max": 4,
            "to": "q07"
          },
          {
            "min": 5,
            "max": 6,
            "to": "q05"
          }
        ]
      }
    },
    {
      "id": "q05",
      "number": "05",
      "title": "The brass key",
      "chapter": "Approach",
      "arrival": {
        "key": true
      },
      "arrivalText": "Take the Brass Key.",
      "body": "The key feels warm even in the salt wind. A tiny door is engraved on its bow. ‘It opens a lock,’ the trader says, ‘but that need not be the first thing you use it for.’ Beyond the steps, the great compass turns toward the greenhouse.",
      "choices": [
        {
          "id": "q05-court",
          "label": "Carry the key to the compass court.",
          "to": "q09"
        }
      ]
    },
    {
      "id": "q06",
      "number": "06",
      "title": "The long way around",
      "chapter": "Approach",
      "arrival": {
        "provisions": -1
      },
      "arrivalText": "Lose 1 Provision, to a minimum of 0.",
      "body": "A wave washes over the low path. You save one another’s bags, but a food packet floats away in a dignified little circle. Nearby, a dry storeroom door stands open. A narrow bridge still leads toward the compass court.",
      "choices": [
        {
          "id": "q06-shelter",
          "label": "Check the dry storeroom.",
          "to": "q13"
        },
        {
          "id": "q06-court",
          "label": "Keep moving toward the court.",
          "to": "q09"
        }
      ]
    },
    {
      "id": "q07",
      "number": "07",
      "title": "A promise in the water",
      "chapter": "Approach",
      "body": "The harbor accepts your story, but asks for a promise: describe one small kindness your travelers will do when they get home. Speak it aloud. A ripple carries the words toward the greenhouse. For a moment, a pale flower opens behind its glass.",
      "choices": [
        {
          "id": "q07-roots",
          "label": "Follow the ripple to the greenhouse.",
          "to": "q10"
        },
        {
          "id": "q07-court",
          "label": "Take the bridge to the compass court.",
          "to": "q09"
        }
      ]
    },
    {
      "id": "q08",
      "number": "08",
      "title": "A passenger’s forgotten supper",
      "chapter": "Approach",
      "arrival": {
        "provisions": 1
      },
      "arrivalText": "Gain 1 Provision, to a maximum of 6.",
      "body": "The grateful ferry nudges a dry picnic tin into your hands. Inside are enough honey cakes to improve almost any expedition. The rope unties itself and draws a neat arrow toward the tidal greenhouse. The boat clearly expects an excellent review.",
      "choices": [
        {
          "id": "q08-roots",
          "label": "Thank the ferry and follow its arrow.",
          "to": "q10"
        }
      ]
    },
    {
      "id": "q09",
      "number": "09",
      "title": "The compass asks a question",
      "chapter": "Secrets",
      "body": "The brass needle points down instead of north. A voice beneath the paving asks, ‘What can you give away and still keep?’ Beside the central mosaic is a small locked service hatch. Either answer might lead to the beacon’s missing light.",
      "choices": [
        {
          "id": "q09-answer",
          "label": "Offer a memory, and tell it aloud.",
          "to": "q11"
        },
        {
          "id": "q09-hatch",
          "label": "Examine the service hatch.",
          "to": "q12"
        }
      ]
    },
    {
      "id": "q10",
      "number": "10",
      "title": "The listening greenhouse",
      "chapter": "Secrets",
      "body": "Coral has grown around the old planters. A vine taps three times against a glass bell, then waits for an answer. Give the table a sound your traveler makes to comfort someone. The vine curls toward the water beneath the floor.",
      "roll": {
        "id": "q10-roll",
        "label": "Roll to follow the vine’s instructions.",
        "bands": [
          {
            "min": 1,
            "max": 2,
            "to": "q14"
          },
          {
            "min": 3,
            "max": 4,
            "to": "q16"
          },
          {
            "min": 5,
            "max": 6,
            "to": "q15"
          }
        ]
      }
    },
    {
      "id": "q11",
      "number": "11",
      "title": "The memory that stays",
      "chapter": "Secrets",
      "arrival": {
        "sparks": 1
      },
      "arrivalText": "Gain 1 Spark, to a maximum of 3.",
      "body": "The compass repeats your memory in a voice that sounds almost like your own. A small gold spark settles into the dark lantern at your feet. The memory is still yours. The compass was only asking whether you were willing to share it.",
      "choices": [
        {
          "id": "q11-final",
          "label": "Carry the lantern to the beacon.",
          "to": "q17"
        }
      ]
    },
    {
      "id": "q12",
      "number": "12",
      "title": "A door no larger than a hand",
      "chapter": "Secrets",
      "body": "The service hatch has a brass lock and an inconvenient opinion of visitors. It insists it is a ceremonial door, despite leading into a maintenance passage. The Brass Key would persuade it. Without the key, you can try a polite, practical argument.",
      "choices": [
        {
          "id": "q12-key",
          "label": "Use the Brass Key.",
          "requires": {
            "key": true
          },
          "to": "q15"
        }
      ],
      "roll": {
        "id": "q12-roll",
        "label": "Roll to reason with the hatch.",
        "bands": [
          {
            "min": 1,
            "max": 2,
            "to": "q14"
          },
          {
            "min": 3,
            "max": 4,
            "to": "q16"
          },
          {
            "min": 5,
            "max": 6,
            "to": "q15"
          }
        ]
      }
    },
    {
      "id": "q13",
      "number": "13",
      "title": "Provisions for the next traveler",
      "chapter": "Secrets",
      "arrival": {
        "provisions": 1
      },
      "arrivalText": "Gain 1 Provision, to a maximum of 6.",
      "body": "A dry shelf holds biscuits and a note: TAKE WHAT YOU NEED; LEAVE THE DOOR UNLOCKED. Someone has placed a little vase of sea grass beside it. Tell the group one thing your traveler would leave here for a stranger.",
      "choices": [
        {
          "id": "q13-roots",
          "label": "Leave the door open and visit the greenhouse.",
          "to": "q10"
        }
      ]
    },
    {
      "id": "q14",
      "number": "14",
      "title": "The bell below the water",
      "chapter": "Secrets",
      "arrival": {
        "provisions": -1
      },
      "arrivalText": "Lose 1 Provision, to a minimum of 0.",
      "body": "A submerged bell rings, and every loose object tries to float toward it. Saving the lantern costs you another food packet. The passage toward the beacon remains open, but the harbor stairs still offer a safe way back.",
      "choices": [
        {
          "id": "q14-push",
          "label": "Keep the lantern safe and go on.",
          "to": "q17"
        },
        {
          "id": "q14-leave",
          "label": "Choose the safe stairs home.",
          "to": "q20"
        }
      ]
    },
    {
      "id": "q15",
      "number": "15",
      "title": "The keeper’s borrowed courage",
      "chapter": "Secrets",
      "arrival": {
        "sparks": 1
      },
      "arrivalText": "Gain 1 Spark, to a maximum of 3.",
      "body": "The beacon keeper sits beside an empty tea cup. ‘I borrowed everyone’s courage because I had none left,’ she says. ‘Then I forgot that borrowed things must be returned.’ A gold spark leaves the cup. The keeper asks whether someone will walk with her.",
      "choices": [
        {
          "id": "q15-beacon",
          "label": "Walk together to the beacon.",
          "to": "q17"
        },
        {
          "id": "q15-bargain",
          "label": "Ask the harbor for one more spark.",
          "to": "q16"
        }
      ]
    },
    {
      "id": "q16",
      "number": "16",
      "title": "One warm thing for another",
      "chapter": "Secrets",
      "arrival": {
        "provisions": -1,
        "sparks": 1
      },
      "arrivalText": "Lose 1 Provision (minimum 0) and gain 1 Spark (maximum 3). If you have no food, share a remembered meal instead; the Spark is still gained.",
      "body": "The harbor asks for warmth, not treasure. Tell the table about a meal your traveler remembers fondly. A small gold light rises from the water. The keeper holds out the lantern, careful now to call the spark a gift.",
      "choices": [
        {
          "id": "q16-beacon",
          "label": "Bring the gifted spark to the beacon.",
          "to": "q17"
        }
      ]
    },
    {
      "id": "q17",
      "number": "17",
      "title": "Before the last bell",
      "chapter": "Finale",
      "body": "The tide reaches the beacon steps. The keeper lifts the lantern, but its light is still uncertain. Will you trust the gathered sparks, steady the mechanism with the Brass Key, or share enough supplies to keep everyone warm until the light returns?",
      "choices": [
        {
          "id": "q17-key",
          "label": "Use the Brass Key: take ending 19.",
          "requires": {
            "key": true
          },
          "to": "q19"
        },
        {
          "id": "q17-provisions",
          "label": "Spend 4 Provisions: take ending 21.",
          "requires": {
            "provisions": 4
          },
          "effects": {
            "provisions": -4
          },
          "to": "q21"
        }
      ],
      "roll": {
        "id": "q17-roll",
        "label": "Roll + Sparks; subtract 1 at 0 Provisions.",
        "modifier": "final",
        "bands": [
          {
            "min": 0,
            "max": 3,
            "to": "q18"
          },
          {
            "min": 4,
            "max": 5,
            "to": "q19"
          },
          {
            "min": 6,
            "max": 99,
            "to": "q21"
          }
        ]
      }
    },
    {
      "id": "q18",
      "number": "18",
      "title": "A light worth tending",
      "chapter": "Ending",
      "ending": true,
      "endingName": "The patient light",
      "body": "The beacon glows softly, enough for one safe crossing. It will need tending tomorrow. The keeper asks for help before anyone can offer it, and the dockkeeper writes your names beside hers on the next watch. The harbor is not fixed forever. It is no longer being faced alone.",
      "question": "What small task does your traveler volunteer to do tomorrow?"
    },
    {
      "id": "q19",
      "number": "19",
      "title": "The road home",
      "chapter": "Ending",
      "ending": true,
      "endingName": "The steady light",
      "body": "The mechanism catches. A clear beam sweeps across the water, revealing a dry ribbon of causeway. The harbor can guide travelers home again. The keeper returns the borrowed courage one visitor at a time; the light remains. Your lantern is empty, but pleasantly warm.",
      "question": "Whom does your traveler choose to walk beside on the way home?"
    },
    {
      "id": "q20",
      "number": "20",
      "title": "A kindness before morning",
      "chapter": "Ending",
      "ending": true,
      "endingName": "The promise to return",
      "body": "You reach the safe stairs before the tide covers them. The beacon remains dark tonight, so the dockkeeper lights a row of ordinary lamps along the rail. It is enough to keep everyone safe. ‘We can try again,’ she says. ‘A brave choice can include knowing when to rest.’",
      "question": "What will your traveler bring when the group returns at daylight?"
    },
    {
      "id": "q21",
      "number": "21",
      "title": "A harbor full of stars",
      "chapter": "Ending",
      "ending": true,
      "endingName": "The shared light",
      "body": "The lantern opens like a flower. Little lights rise from every window, cup and tidepool, answering one another. The beacon shines because no one is holding all the courage alone. Somewhere beyond the clouds, the last skyship turns back for one more stop. You have time for supper.",
      "question": "What does your traveler name the little light they carry away?"
    }
  ]
}
