engravings
Words on the floor, in dust, carved or burned. The terminal marks a known one with a bright blue ` in rooms and # in corridors.
Builtneeds review2 changes builtSeen on every levelLast touched November 16, 2026: a change of its own was written or changed. Commit 4e5b61396.
In the terminal
Bright blue: '`' on room floor and ice, '#' in corridors. One glyph for every kind of engraving. Shown once revealed (seen, even under a monster or objects, or felt when blind if carved, burned or a headstone); objects and traps on the square are drawn over it. The text is not on the map: reading it takes stepping on it (or ':'), and farlook quotes it once read.
Quotes from NetHack
There, on a slab of granite, appeared two mysterious letters, half eaten away by time -- the two initials of the bold, adventurous traveller:
3 more quotes
pline("%s is written here in the %s.", Something, is_ice(x, y) ? "frost" : "dust");
pline("Some text has been %s into the %s here.", is_ice(x, y) ? "melted" : "burned", eloc);
You_see("a message scrawled in blood here.");
In Codex
An engraving is rune-like strokes cut into the floor, and once the hero reads it, its words.
Builtneeds reviewLetter
Based on the real thing: Words cut into stone are read by the shadows of their strokes, the torch lighting one wall of each cut and leaving the other in shade close up, and from afar they are a dusty darkening.
Details
N-88, kept (the director, 2026-10-31: "Engravings can be slightly bolder than a real scratch, but not by much."), replacing codex.engraving_floor as what Codex draws for an engraving. Main's protocol 4 gives 3.7's engraving glyphs their own shapes, read through Glyph::fine_shape (RoomEngraving, CorridorEngraving), only where the tty draws them apart from plain floor. The square's floor of cobbles or rubble (N-52) is drawn finer, with one or two rows of rune-like strokes cut into it: each rune a stave with a branch or two, cut a little unevenly as a hand cuts; grooves 16 mm wide and 6 mm deep (times engraving_marks), rounded at the bottom, in the floor's own stone and texture, darker inside by engraving_darkness and a little darker in the dust around them, so from the high views they read as small shadowy runes (codex-look 2026-10-30 Danny: from afar, dusty shadowy runes). No sheen and no color of their own. Its sides are the floor's, so it meets the squares around exactly (nh_scene::mesh::engraved, tested). The pattern is a function of the square's position, the same for every kind of engraving, since the glyph is: not the engraving's words, which the game shows only in its message; rendering the words themselves once the game has shown them is N-107 (codex-look 2026-10-30, the director: 'actually rendered as described but only once seen'). The marks stay while the game shows the glyph, remembered squares included, and under the hero, a monster or an object, where the core sends no background (this port's is always unexplored) and nh-state keeps the terrain shown earlier; they go when the game redraws the square as plain floor (an erased engraving), which for a square someone stands on is when they leave it, as in the tty. Once read (N-107), the words: when the game says one of its lines about an engraving under the hero (engrave.c read_engr_at: 'Something is written here in the dust.', 'Something is engraved here on the floor.', 'Some text has been burned into the floor here.', graffiti, blood) while the map shows the hero's square engraved, and its very next message is You read: '...' (or You feel the words: '...', blind), nh-state remembers the words for that square on that level (GameState::inscription) until the game shows the square without an engraving. Nothing else says You read: ' (a fortune cookie and a T-shirt say It reads:, a scroll As you read the scroll, a wand's engraving You write in the dust with...; tested). The square's runes are then replaced by the words (Form::Inscribed, mesh::inscribed): the first 24 letters in the bundled font's own outlines (the glyph atlas's), reading west to east with north at the top as on the screen, in up to three rows broken between words, about a tenth of a square a letter, cut 6 mm deep (times engraving_marks) with walls the torch lights on one side and shades on the other, darker inside and dusty around by engraving_darkness. One square away in first person the words read; two away they are a line of dusty marks; from the director's and map views a faint smudge, as the runes were. An engraving on ice is drawn on stone (the glyph is S_engroom for ice too) and one that fades under the hero ("The engraving beneath you fades.") stays drawn until the hero steps off: N-209.
- Id
codex.engraving_marks- Exact state
- Built, not reviewed
- Playtests
gallery-lava-altar-engraving- Settings
dungeon.engraving_marks,dungeon.engraving_darkness- Code
crates/nh-scene/src/build/terrain.rs,crates/nh-scene/src/mesh/engraving.rs,crates/nh-state/src/lib.rs
| N-52 | Done | Caves less square |
| N-73 | Done | Engravings are invisible in 3D |
| N-88 | Done | Engravings cut into the floor |
| N-107 | Done | Inscriptions |
The terminal's own floor characters are painted flat on the floor in their colors.
BuiltLetter
Details
Off by default (D-12): the terminal's own floor character ('.', '#', '}', the engraving's backtick) painted flat on the floor in its color, self-lit at terminal_dots_brightness, dimmer for a dark part of a room. The only way the 3D world shows an engraving's glyph or tells lit from dark floor.
- Id
codex.floor_glyphs- Exact state
- Built
- Settings
dungeon.terminal_dots_on_floor,dungeon.terminal_dots_brightness- Code
crates/nh-scene/src/build.rs,crates/codex-client/src/draw/world.rs
Applies to everything on the map (5)
- With the marks off, a square with an engraving on it is drawn as plain floor, like any other.
- The window port passes what the game chose for each glyph as the tty would show it, and no more.
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
- What the game showed on a square stays drawn under a monster or object that now stands there.
- 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-lava-altar-engraving, lava altar engraving. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-lava-altar-engraving
Planned and proposed
Planned Each kind of engraving looks its own, dust a smudge, burned scorched, blood a stain.
Planned A player's own forms for the hero, objects and features, not only monsters.
Details for builders
Id: engraving. Lexicon subjects: feature.engraving.
Design notes from NetHack
Five kinds: dust (frost on ice), engraved, burned (melted into ice), graffiti, blood. Walking over it can wipe out letters. Tile 21 (other.txt): yellow scratch marks.
Writing on room floor or ice; on ice the messages say "frost" for dust and "melted" for burned.
Bright blue '#' in inverse video, unlike the gray corridor; the Guidebook notes the different color.
Backlog rows
| N-52 | Done | Caves less square |
| N-73 | Done | Engravings are invisible in 3D |
| N-88 | Done | Engravings cut into the floor |
| N-107 | Done | Inscriptions |
| N-256 | To do | Inscriptions, round two: face the reader, each kind its own |
| N-246 | Dropped | Inscriptions: every kind of engraving cut alike |
| N-247 | Dropped | Inscriptions: what the square cannot hold or say |
| N-353 | To do | Own forms for the hero, objects and features |




