ghosts
A ghost's letter is a blank space.
Builtneeds review1 change builtSeen rarelyLast touched November 17, 2026: a backlog row it names changed (N-351). Commit aca01857e.
In the terminal
Drawn as ' ' in the species' own color, only while seen or sensed (never remembered): gray: ghost; black: shade (2 species in 2 looks). The class letter is a space: a gray ghost or black shade on the tty is an empty square, visible only as a gap where the floor's '.' should be, or as an inverse blank when detected. Ghosts appear in graveyards and on bones levels and carry names (farlook and messages say "Murphy's ghost", one time in seven the player's own name); they pass through walls and doors. Many players remap S_ghost to X or 8 (the wiki's note).
Quotes from NetHack
And now the souls of the dead who had gone below came swarming up from Erebus -- fresh brides, unmarried youths, old men with life's long suffering behind them
2 more quotes
For the shades--figures of jet black streaking across the white-knobbed ground--were upon her.
A common change is to display ghosts and shades as X or 8 instead of ' ' to make them more visible.
In Codex
A ghost is a gap in the light, a soft dark figure with no edge that the torch does not reach.
Builtneeds review3D form
Based on the real thing: A ghost is where the light does not reach: a cold absence a little taller than a man's letter, darkest at its middle and at its foot, with no edge, that no torch lights.
Details
The terminal draws a ghost, and a shade, as a blank: a gap where the floor's dot should be. Since N-105 (the director, 2026-10-30: "I'd need to see the gap in the light to understand what that's like but it sounds spookier and cooler if done right. Fallback to a veil"): where the port sends a monster glyph whose character is the space, Codex draws a figure-tall soft darkness on a quad that turns to the camera as letters do, rounded at the head and thinning toward the foot, unlit and premultiplied so it only takes light away, with a soft pool of darkness on the floor at its foot that glides with it. It casts no shadow. It keeps the monster letter's role, so it glides, recoils and is struck as a letter is. A faint cold rim (gap_rim 0.02, the director: "a little more perceptible on the gap rim. Just discernible") lets it be found in the dark. Keyed on the character the terminal would show: a player who remaps S_ghost sees their letter. Off (ghosts_as_gaps = false): the blank letter, so nothing is seen. The veil is not built. The quiet rule (N-253) leaves the gap as it is from every view (D-128 question 62: the ghost unchanged); stage 3b's darker gap from above was filmed and not kept.
- Id
codex.ghost_gap- Exact state
- Built, not reviewed
- Playtests
gallery-ghosts- Settings
characters.ghosts_as_gaps,characters.gap_darkness,characters.gap_pool,characters.gap_rim,characters.monster_size- Code
crates/codex-client/src/draw/standard.rs,crates/nh-scene/src/build/occupant.rs,crates/nh-scene/src/mesh/things.rs,crates/codex-client/src/draw/glow.rs,crates/codex-client/src/draw/world.rs,crates/codex-client/src/draw/things.rs
| N-105 | Done | Statues, ghosts, the invisible hero |
Applies to everything on the map (3)
- A monster is its letter, standing upright and glowing in its own color so it shows in the dark.
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
- The map is drawn as a 3D world of walls and floors, lit by the hero's torch and a faint glow.
Accepted pictures and playtests
A change to how this looks is compared with these pictures before it is accepted.
gallery-ghosts, ghost. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.gallery-ghosts, ghost in the dark. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-ghosts
Planned and proposed
Idea A player's own form plays its idle movement while it stands.
In progress Letters seen from afar resolve into their forms up close.
Asked for in these words: “Danny, 2026-10-28 (NORTH_STAR.md, notes from the director): "Or maybe the letters are visible from afar and as the monsters come closer they step-through into focus where they are actually rendered"”
Left to do: Which letters are drawn inside themselves next is the director's choice.
Planned A ghost is a veil over a gap in the light, and far off it drinks the room's light.
Asked for in these words: “Danny, 2026-11-01 (N-255, beauty-round-2.md brief 5): "I think both can be used simultaneously - veil and gap."”
Details for builders
Id: ghost. Lexicon subjects: creature.ghost.
Design notes from NetHack
Drawn as a blank; souls swarming up from Erebus; jet-black shades streaking across the ground, with horrid green eyes. Size medium. All: flies, walks through walls, humanoid body, unsolid, undead.
Backlog rows
| N-105 | Done | Statues, ghosts, the invisible hero |
| N-354 | Done | A player's form stands still |
| N-2 | Built, not reviewed | Letter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle. |
| N-351 | Built, not reviewed | The next letters to draw inside themselves |
| N-255 | To do | The ghost, round two: gap and veil together, a far ghost takes the room's light |
| N-249 | Done | The ghost: the director's eye |








