blindness and deafness

Blind, the map stops updating and the hero feels their way. The status line says Blind.

The terminal shows this in words, not as a letter.
Terminal
blindness and deafness in Codex, first person
Codex: first person

Builtneeds review2 changes builtSeen on some levelsLast touched November 21, 2026: a change of its own was written or changed. Commit f72e4ddc2.

In the terminal

The map stops showing what is in view and shows only what the hero remembers, updated only by touch: the squares the hero walks on or into are felt (floor, walls, doors, boulders, objects underfoot), and an unseen monster that bumps or is bumped leaves an 'I'. Monsters are not drawn unless sensed: with telepathy every minded monster on the level is drawn (condition.telepathic). Beams and thrown objects are not shown. The hero is still drawn. Messages become sounds and feelings ('You hear some noises.', 'It hits!', 'You feel a ...'). Status 'Blind'.

No change to the map; 'You hear ...' messages and other sounds are not given. Status 'Deaf'.

Quotes from NetHack

A cloud of darkness falls upon you.
src/potion.c:305
5 more quotes
Oh, bummer! Everything is dark! Help!
src/potion.c:303, hallucinating
You can see again.
src/potion.c:282
Far out! Everything is all cosmic again!
src/potion.c:280, sight returns while hallucinating
You can't see through all the sticky goop on your %s.
src/apply.c:3593, a cream pie in the face
You(old && !Deaf ? "can hear again." : "are unable to hear anything.");
src/potion.c:454

Decisions

Blind, the torch goes out.

Codex draws it
Full text

Blindness (status "Blind") puts the torch out; only what the game shows. Fades over blind_fade_seconds to blind_torch (0: out); outlines and letters remain.

Backlog decisions: N-29

In Codex

While the hero is blind the torch fades out, leaving only the glowing letters and lines.

BuiltReaction to an event

While the hero is blind the torch fades out, leaving only the glowing letters and lines.
Details

Blindness (N-29): while the status line says Blind, the torch fades over torch_blind_fade_seconds to torch_when_blind of its strength (0: out); the glowing letters and whatever the game still shows remain (felt and remembered squares as the game draws them). Faithful to the console (X-622, D-128 question 71: "Let's stay faithful to Nethack, whatever that is in the console."): while Blind the console draws every remembered floor with the dark room symbol and lit corridors as plain ones, and the stone darkens exactly there, square by square, from the glyphs the port sends (nh_site::map_light; a lit room loses its own light and goes to pencil). Blind is the first row of the table of conditions (X-975, nh_plays::lanes::conditions::blind): the place's dark as far as it has come on; the light over the explored map and the faint light everywhere stay, since the console still draws the whole remembered map. Behind blind_dims_the_lights_of_moments (off until the director has seen tests/films/blind-moments-*.json), the lights the plays bring (a fountain's answer, a prayer's, an altar's flash) dim to the torch's share. The idea of a world falling back to remembered outlines (idea 30) and whole-screen conditions (P-4) are not built.

Id
codex.blind
Exact state
Built
Playtests
gallery-hero, blind-moments-as-now, blind-moments-dim
Settings
light.torch_when_blind, light.torch_blind_fade_seconds, light.blind_dims_the_lights_of_moments
Code
crates/codex-client/src/pov.rs, crates/codex-client/src/conditions.rs, crates/nh-plays/src/lanes/conditions.rs, crates/nh-plays/src/lanes/conditions/blind.rs, crates/nh-state/src/lib.rs, crates/nh-plays/src/light.rs, crates/codex-client/src/draw/in_flight.rs
N-29Done5 | Blindness (status "Blind") puts the torch out; only what the game shows.

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 (1)
  • The window port passes what the game chose for each glyph as the tty would show it, and no more.

Accepted pictures and playtests

A change to how this looks is compared with these pictures before it is accepted.

  • blindness and deafness in Codex, first personfirst person
  • blindness and deafness in Codex, close third personclose third person
  • blindness and deafness in Codex, director's viewdirector's view
  • blindness and deafness in Codex, map viewmap view
Gallery scene gallery-hero, blind. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.

Playtests: gallery-hero, blind-moments-as-now, blind-moments-dim

Planned and proposed

In progress Blind, hallucinating, swallowed, underwater or floating, the whole screen shows it.

Left to do: Hallucinating, underwater, levitating and the deadly countdowns are still to build.

In progress A condition or a place changes the squares, the light, the plays and the camera together.

Left to do: Blindness over the whole place judged with frames, the scene's spell lights, and a second condition or a place's own look.

Details for builders

Id: blind. Lexicon subjects: condition.blind, condition.deaf.

Design notes from NetHack

The map shows only what the hero remembers or feels; an unseen monster that bumps or is bumped leaves an 'I'; messages say 'You hear' and 'You feel'.

Backlog rows

N-29Done5 | Blindness (status "Blind") puts the torch out; only what the game shows.
N-479Built, not reviewedBlinded by a flash: the screen goes white for a moment
P-4To doWhole-screen conditions:
X-63Built, not reviewedChanges to the whole drawing
X-340Built, not reviewedA place's lanes and the picture's, out of the trip