Log inGet started
Package

caught.module

README.md

caught

Being caught, stage by stage, in step with pursuitKit's arrest sequence.

  local Caught = require("~.screens.caught")
  local tree = Caught.build(data, env)

data: { stage = "grabbed" | "restrained" | "itemised" | "transport" | "released",
        progress = 0..1,                  -- through the stage
        held = { title, prompt, breakable, breakProgress, charges, control = "use" },   -- grabbed
        title, by,                        -- restrained and after: "Caught", "Old Quay post, 02:40"
        billTitle, lines = { { icon, text, amount?, tone? } },                  -- itemised: what it cost
        keptTitle, kept = { { icon, text } }, note = string?,                   -- itemised: what you kept
        canSkip, skipLabel, skipControl = "use", released = string?,
        actions = { { id, control, label } }? }     -- released: "caught:retry", "caught:walk"
env:  { frame, text, glyph }

What each stage shows, so the moment is never a number appearing from nowhere:
  grabbed     the screen's edges close in; "Held"; the break-free prompt with its hold meter if there is a slip left
  restrained  two black bars (the camera has cut to the arrest); the word "Caught"; where and when
  itemised    the bill on paper, one line at a time: what was taken, then what was kept
  transport   everything fades to night
  released    one line: where you are let go; a failed mission's choices

The interface is documented in the header of init.luau; this file repeats it for the asset browser.