cyberpunk mmo roguelike built on atproto protokill.sh

feat(facilities): show the runner's room in the HUD and on the minimap #452

targeting main from claude/room-hud-ui
Merged opened by idempotent-akinaka.test.pds.did.bot
targeting main from claude/room-hud-ui

What #

The HUD now shows where the runner is.

  • The realspace title reads Facility (L1) - public - west entrance: the dungeon and floor, then the region and room, all only as far as the runner knows them. A room below name knowledge contributes nothing to the line, and a hallway shows its hallway label.
  • The minimap (O) labels every known room inside its own room, one label per room with a blank cell around it. Every known name also sits in a key in its own rows below the map, wrapped so no room is dropped and mirror-image rooms stay apart. The room the runner stands in is shaded, and the runner and monsters draw over the labels.
  • A room type's data gains flavour_chance (one in N). The first time the runner steps into a room, its own seeded stream may pick one of that type's flavour lines. The line shows in the Events pane for that turn only; coming back never rolls again.

The observation already carries only known rooms, so nothing about an unseen room reaches the title or the minimap. The line copy is the neutral placeholder content already in definitions/rooms.json.

How to see it #

Serve the release bundle, open /?agent=1&seed=0, open the debug menu (backquote) and confirm Facility map, then press O for the minimap. Seed 0 rolls the West entrance's flavour line.

Checks #

  • scripts/ci.sh ca843ba71: all checks passed, 1664 tests.
  • scripts/wasm-test.sh: passed (58 tests).
  • scripts/mouse-smoke.sh against the release bundle: passed.
  • Main-path tests: the location line per knowledge level, an unknown room hidden, first-entry tracking, and the seeded flavour line firing once per run.

Screenshots #

The HUD location line and the first-entry flavour line Known room labels on a normal run's minimap, with the current room shaded A busier minimap after walking the corridors, with the wrapped key

Commits 6

fix(views): keep the frame renderer under the file-size cap
docs(devlog): add the room HUD screenshots
docs(devlog): note the room line and minimap labels
fix(facilities): keep the map mode out of the location title
fix(facilities): show the room flavour line in the local event log
feat(facilities): show the runner's room in the HUD and on the minimap
Sign up or Sign in to add to the discussion.