rays and beams

The only motion the terminal draws. Wand rays bouncing off walls, the digging beam, the camera's flash.

Terminal
No picture of this is on the site yet.
Codex

Builtneeds review1 change builtSeen on some levelsLast touched November 27, 2026: a change of its own was written or changed. Commit 88a260dfa.

In the terminal

Transient | - \ / in the ray's color, drawn square by square with a pause at each (tmp_at), then erased; the dig beam a white *, the camera's flash a white !.

In Codex

When a flash blinds the hero, the picture goes white for a moment and eases into blindness's dark.

Builtneeds reviewReaction to an event

Details

Dad's flash (N-479, D-126 question 48): on the game's own words that a flash blinded the hero ("You are blinded by the flash!", engrave.c:1249 and zap.c:63; "You are blinded by the flash of light!", muse.c:1948; "You are momentarily blinded by a flash of light!", trap.c:4329; "You are blinded by a blast of light!", mhitu.c:1628) the picture goes white in two frames and fades over blinded_flash_seconds while Blind's row brings the dark on underneath. One flash a look, never a strobe; a flash the hero only sees, a monster blinded, or an Archon's radiance plays nothing. Pure white, as the DevTeam drew a flash (other.txt, tile 111, a disc of white), laid over the whole picture under the HUD, as the eye sees it (its fall slowing to nothing), with a soft dark box behind the message block and the status block only, so the line that says it and the new Blind are read as they come. At its height the map's own letters are under it, for about half a second: the hero is blinded.

Id
codex.blinded_flash
Exact state
Built, not reviewed
Settings
light.blinded_flash_strength, light.blinded_flash_seconds
Code
crates/nh-moments/src/catalog/happened/blinded.rs, crates/nh-plays/src/lanes/conditions/flash.rs, crates/codex-client/src/conditions/white.rs, crates/nh-knobs/src/light/blinded_flash.rs, crates/codex-client/src/replays/sessions.rs
N-479Built, not reviewedBlinded by a flash: the screen goes white for a moment
Applies to everything on the map (5)
  • A zapped beam is a thin glowing bar on each square the game draws, lighting the walls around it.
  • When the game pauses for a beam or a throw, playback pauses too, less when keys are waiting.
  • The window port passes what the game chose for each glyph as the tty would show it, and no more.
  • Altars, thrones, graves, sinks and traps stay letters that stand upright on the floor.
  • Every symbol is a plain keyboard character, even when the player's symbol set draws lines.

Accepted pictures and playtests

No accepted pictures or playtests yet.

Planned and proposed

In progress Rays are beads of light with soft bursts that light the room as they pass.

Left to do: The beam is gathered as light but still drawn as one bar a square, not yet as beads and bursts.

Idea In a trip, a ray streams as the thing the game names it.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-520): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

Details for builders

Id: rays. Lexicon subjects: effect.beams.

Design notes from NetHack

Named by source (wand, spell, breath) and colored by type; a display.h comment suggests a distinct symbol per type too. Tiles 78-109 (other.txt): chains of colored beads.

The white '*' is drawn square by square, then erased to show the new corridor or doorways. Tile 110 (other.txt): a scatter of black grit.

Tile 111 (other.txt): a round white flash. A broken camera may print "The picture-painting demon is released!" as an imp or homunculus appears.

Backlog rows

N-479Built, not reviewedBlinded by a flash: the screen goes white for a moment
N-106Built, not reviewedRays as light
N-520DroppedA hallucinated ray as what it is named