Log inGet started
World

BIG STEAL CAR: ANDREAS-SAN

Branchmain
Branchesmain
Commitf62a8bc4af

README.md

bsc_missions

The mission chain for BIG STEAL CAR: ANDREAS-SAN — five jobs handed out by Mama-san Kikuno at the door of Izakaya Tsuki-no-Ha, each one using the block a different way.

idtitlewhat it teaches
m1Hot Bentothe lane, on foot, against a clock
m2Lose the KeiKuzuha-koji and breaking line of sight
m3Three Doorwaysthe houses — Tashiro, Habu, Nagareyama
m4The Ryuseithe hero car, and bringing it back intact
finaleHanami at Midnightthe lane lit end to end, for good

The chain runs itself: an objective marker — a paper lantern hanging over a ring of light on the asphalt — always stands on the next thing to do, and the objective line under it says what it is. Standing at Kikuno's door raises a prompt; press E (or the gamepad's south button) to take the job, or just stand there and she starts talking anyway. P opens the phone and steps through the job list.

Win: the finale completes and the hanami lanterns come up the whole length of Hozumi-dori. Lose: busted at maximum heat, or a job's clock runs out — a real end card, then back to Kikuno's door. The block never resets.

What it publishes

local Missions = require("bsc_missions")

Missions.LINES[key]       -- { who, text } — the written form of all 22
                          --   spoken lines, whether or not the audio arrives
Missions.say(key)         -- speak one: emits "voice" AND the written "toast"
Missions.state()          -- { mission, title, step, stepText, timeLeft, ... }
Missions.phone            -- { open, index, entries } — the phone's logic
Missions.card             -- { title, sub, kind } while an end card is up
Missions.start(id)        -- jump the chain to a job
Missions.abort()          -- drop the current job and go back to the door

Emits missionStart, missionDone, objective, toast and voice. Listens to busted, hit.

Every spoken line goes out as voice and as its written text at the same moment, so a line survives a failed generation, a muted player and a noisy room. If nothing on the bus is drawing toasts, this module raises its own billboard over the player rather than let a line be lost.

What it builds

Everything it spawns lives under one entity, MissionsRoot: three objective markers, the lacquer bento carried in m1, the three envelopes, the boards that carry the prompt, the subtitle and the end card, and the hanami lantern string — twenty-four chochin hung in a zig-zag between the lane's telegraph poles, dark until the finale lights them one after another.