lava
Molten lava and walls of lava, red and orange.
Builtneeds review4 changes builtSeen on some levelsLast touched December 2, 2026: a change of its own was written or changed. Commit 173a95fd7.
In the terminal
Red '}'. Covers objects and traps. With color off and the same symbol as water, drawn in inverse video (MG_BW_LAVA). In 3.7 every lava square is lit (special levels and terrain changes set lit on lava), so lava shows across a dark level, though it lights no neighboring square.
Orange '}', against the red of lava pools. It blocks sight (does_block), covers objects and stops thrown objects; the hero will not step into it unawares.
Quotes from NetHack
Far below you is an active volcano, from which great gouts of molten lava come surging out, cascading back down into the depths. The glowing rock fills the farthest reaches of the cavern with a blood-red glare, giving everything an eerie, macabre appearance.
5 more quotes
The air is filled with flickering sparks of ash and a heavy smell of brimstone.
The %s cools and solidifies.
You sink into the %s%s!
lev->lit = IS_LAVA(lev->typ) ? 1 : litstate;
Snprintf(pooltype, sizeof pooltype, "wall of %s", hliquid("lava"));
In Codex
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
Lava is molten red with dark plates of crust drifting on it, and scorched stone around it.
Builtneeds review3D form
Based on the real thing: Lava is a molten red body with rounded rafts of dark brown crust drifting slowly on it, gathered at its bank, the melt rolling under them toward orange, lighting the stone near it red and reflecting nothing, with a wall of lava standing out of it as a dark body with the melt in its seams.
Details
Lava as the thing it is (N-221, N-254, D-67): NetHack's "molten lava", a red } (S_lava; S_lavawall orange). The DevTeam's tile (other.txt, # tile 44) is a red field with small crusted lumps on it, each a brown core with a darker orange rim and an orange highlight on one side; the form nods to it: a red body with dark plates on it, each plate's rim warmed orange. The director, 2026-11-01: "Lava should be thrilling and scary to be next to, which is counterintuitively always more subtle than apparent for the visuals, I've found", then, on round one (N-254): "Lava should read more red and active than crusty" and, on its light, "Raise it, so the heat shows even beside the torch." So the danger is in the color and the movement, not in brightness. The body has the pool's shape (codex.liquid: one body, the wandering dry edge, straight against walls, the unknown and water; lava joins lava, never water) and the pool's hollowed bed. The melt is the body: the glyph's color with its brightest channel at 1, times lava_glow (never above 1), darker near the plates, where it has cooled, and brighter in seams that roll slowly through it toward orange (never more than a fifth as much green as red: never near white). On it float rounded plates of crust, a dark warm brown toward the tile's brown cores (black is the wall of lava's, tile 45), matte (roughness 1, no reflectance; each plate its own dark of ash and tilted a little, so the torch picks them out one by one): each is the smooth join of its Voronoi cell's border and a circle of its own size, its outline bent a little by noise, in world space so squares agree. They gather at the bank: whole along it, where a skin of crust a hand wide does not move, larger there, and toward the middle of a flow fewer and smaller (a plate whose own number is above what the flow holds has shrunk away), so the middle is open melt with rafts on it (lava-molten 03: 18% of the flow dark near the bank, 9% in the middle). Round each plate the melt is darker, cooled, along the plate's own outline, so no straight line stands in the melt; a plate's rim is warmed by the melt, orange on its north-west side and a darker red on its south-east, as the tile's lumps are. How much of a flow a point is in comes from the four squares around each corner of its square, blended across it (the mesh's UV x), then lifted (1 - (1 - x)^2) so a lone square, a quarter flow, glows too (N-242). Everything moves on the game's clock (D-46), slowly: the plates drift about a square a minute, bent by a slow current; the melt's seams roll under them; one breath every five seconds (0.9 to 1) rolls across the body as a wave. Nothing flickers. It dims with the torch when the hero is Blind, as the water's color does. Its square's floor and the floor beside it are scorched, darker and warmer (a vertex color toward [0.8, 0.6, 0.48], never brighter; the lava's own square all over, the floor beside it toward its side, so no square's outline shows); where floor lies beside both water and lava, the scorch wins. Its heat on the stone near it (N-243, N-2820): a point light of the lava's color over its bank's edge, on the dry side, 0.9 high and reaching 4 squares, on every fifth bank square along any line ((x + 2y) mod 5) and on the square with no lava north-west, north, north-east or west of it, so a winding river is lit all along its bank and the smallest body has one, a lone square's over its middle (lava_light 6: its heat shows on the stone the hero stands on beside it, torch and all; an effect light, off with light.spells_light_the_walls). And its heat on the stone beside it (N-2822): the scorched floor and the lava's bed carry it in their vertex color's alpha (lava_light / 12 of the most, `mesh::heated`), across the square beside the lava from 1 at its side to 0 a square away, and the stone shader adds it as a dull red light after the light dies before the unknown (to a quarter at the very edge, so no square's outline shows), since lava the screen shows lights the stone the screen shows, the dark floor the hero remembers too: lava-gehennom r4-02, the floor beside the hero toward the river 54 to 74 of red against the base build, a square from the lava 26 to 41, two squares away 18 to 19. A wall of lava (S_lavawall, "wall of lava", orange: the port gives it lava's shape, and the terminal tells it from molten lava by its color alone, as this does; N-2821) stands as a wall: a block the height of a wall, rough as Gehennom's rock, over its own melt, made way for by the camera as a wall is, in the lava's material, whose standing faces are drawn as the DevTeam's tile 45 draws it: a dark heart (the crust a third as bright), the plates large and still, the melt only in some of their seams and thicker toward its foot, hotter than the lying melt. It has no stone bed under it and gives no light (the remembered level would show the bed through it; a light in it would leak at its edges). The brace is not drawn: the form stands for the glyph; the minimap and the terminal view still show it. Off (pools_natural = false): the flat tile as before: the glyph's color darkened halfway to black, glossy, glowing (emissive 1.2), and the brace. lava_glow 0: no glow, the dark plates on a dark red melt lit only by the torch. The quiet rule (N-253, D-123, D-128 question 62: on, 2 times on the map, growing late; views.quiet_things_from_above, 1 = as made; views.quiet_things_grow, late or even): from the high views a lone square's plates shrink and its melt glows that many times more, up to 1; the middle of a flow keeps its own (`lava_crust.wesl`, the uniform's x).
- Id
codex.lava- Exact state
- Built, not reviewed
- Playtests
gallery-water,quiet-as-now,quiet-late,quiet-even- Settings
dungeon.pools_natural,dungeon.lava_glow,dungeon.lava_light,views.quiet_things_from_above,views.quiet_things_grow- Code
crates/nh-scene/src/build/terrain.rs,crates/nh-scene/src/mesh/pool.rs,crates/codex-client/src/draw/lava.rs,assets/shaders/lava_crust.wesl,crates/codex-client/src/draw/world.rs,crates/codex-client/src/draw/things.rs,crates/nh-scene/src/mesh/pool.rs,assets/shaders/stone.wesl
Now and then the crust lifts in a low dome, splits for a moment and settles.
Builtneeds review3D form
Based on the real thing: Now and then a patch of molten lava and the crust on it lifts in a low dome no wider than a plate, its crown glowing a dull red as the crust over it thins, splits in two or three short crooked pieces that glow toward orange for a moment, then settles, never brighter than the melt's own glow.
Details
Lava bubbles (N-657, D-135), as NetHack's own words have it: "Ahead, there is a small clearing amidst the bubbling pits of lava..." (the Monk's and the Priest's goal levels, dat/quest.lua:1403 and :1617) and "pools of bubbling lava", "a moat of bubbling lava" (the Valkyrie's, dat/quest.lua:2721 and :2729). The DevTeam's tile (other.txt, # tile 44, molten lava) draws the field with small rounded lumps, each a dark core ringed in orange; a bubble's dome is one such lump rising out of the melt. In the lava's own shader (lava_crust.wesl, `bubble`), the flat melt is cut into cells two squares wide, in world space so squares agree; each cell has a slow cycle of its own (about three bubbles' length) and bubbles in about half of them, at a spot of its own kept a dome's width inside the cell: about once every two or three minutes for each square of lava, so a large field has one or two going at a time and a small pool one now and then. A bubble takes lava_bubble_seconds (7): a dome 0.24 of a square across, no wider than the plates of crust round it, swells over the first half. It is the melt and the crust on it lifting, not a new thing drawn on it: lit as a rise, the melt on its crown a tenth brighter and on its flanks a fifth darker, fading to nothing at its foot so no ring is drawn; the plates over it part a little and lean outward, so the torch finds them tilting, and a plate stretched over its crown thins and glows a dull red from below (the tile's lumps, dark cores ringed in orange). At its crest a split opens across the crown, from about the crest to two thirds of the way: narrow and the same width along its length (only its ends taper), crooked, and broken into two or three short pieces, brighter than the melt and toward orange, so it reads as crust parting and never as a lens or a ring; it fades as it closes rather than thinning to a hairline, so no line breaks into dots. Then the dome settles. From the high views the dome keeps the lava's tone and only the split shows, a brief brighter point. Every step is eased on the game's clock (D-46), so no frame jumps and nothing flickers. A bubble rises only out of the open melt (it fades out toward the cooled bank, a hand's width from it) and never on a wall of lava's standing body. Its seam's glow is never above lava_glow (the whole lava's emissive is held under it), dims with the torch when Blind as the rest does, and from above it is one brief brighter point in the red. It is keyed on the lava glyph alone, as the lava's form is, so it holds on every level and after a restore. Strength: below 1 a bubble is drawn that share of itself; above 1 there are more of them (up to every cycle of every cell), never a brighter one (D-92). Off (lava_bubbles_strength 0): N-254's lava, its plates drifting, with no bubble.
- Id
codex.lava_bubbles- Exact state
- Built, not reviewed
- Playtests
gallery-lava-altar-engraving- Settings
dungeon.lava_bubbles_strength,dungeon.lava_bubble_seconds,dungeon.lava_glow- Code
assets/shaders/lava_crust.wesl,crates/codex-client/src/draw/lava.rs,crates/nh-knobs/src/dungeon/lava_bubbles.rs,crates/codex-client/src/draw/brings.rs,crates/nh-plays/src/picture/brought.rs,crates/codex-client/src/config/shares.rs
| N-254 | Built, not reviewed | Lava, round two: red and active |
| N-657 | Built, not reviewed | Lava bubbles and lights the dark |
Air that catches the light, glowing faintly over a lit room's floor and over lava, thickest low
Builtneeds reviewCamera or view
Details
The level's air (N-761): the lantern's air material drawn a second time, on a box over the whole map. For each view ray the shader walks the map's squares (the texture the stone reads), square border to square border with no noise and no jitter, and sums the air's light over floor the map shows lit and in sight (and over an open square in sight with something on it when two of its four neighbors are, so a monster in a lit room leaves no hole), in the room's light deepened to amber, and over lava the map shows, in its glyph's red, in a lower layer of its own at three times the room's strength. A lit room's air counts in full once the ray has crossed open ground the map shows dark, so a lit room seen from a dark corridor glows in its doorway; the lit room the eye stands over shows only 8 percent of its air. The air rises from nothing over the first 1.5 squares from the eye and each kind gathers toward its strongest and never past it. The ray stops at the floor, the ceiling, and the first surface of the depth prepass where the quality has one; with no prepass (quality low, or the lantern's air off) the map's first wall block stops it. Added light only: it never hides or dims a square. It thins away as the camera rises, as the lantern's air does: none in the map view. Lava's heat fades with distance from the eye from 4 squares to none at 12, a lit room's air from 10 to none at 22. On the Plane of Fire it is off unless light.room_air_on_the_plane_of_fire asks for it (N-5683).
- Id
codex.room_air- Exact state
- Built, not reviewed
- Playtests
gallery-lit-room,gallery-doors,gallery-plane-of-fire,gallery-monsters-objects- Settings
light.room_air,light.room_air_on_the_plane_of_fire- Code
assets/shaders/room_air.wesl,assets/shaders/lantern_air.wesl,crates/codex-client/src/pov/air.rs,crates/codex-client/src/draw/eye.rs,crates/nh-plays/src/picture/lantern.rs
Applies to everything on the map (3)
- 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.gallery-plane-of-fire, plane of fire. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-water, quiet-as-now, quiet-late, quiet-even, gallery-lava-altar-engraving, gallery-lit-room, gallery-doors, gallery-plane-of-fire, gallery-monsters-objects
Planned and proposed
In progress Lava reads red and moving, molten under drifting plates of crust.
Asked for in these words: “Danny, 2026-11-01 (N-254, beauty-round-2.md brief 4): "Lava should read more red and active than crusty."”
Left to do: A flow lights its bank less than a lone square does, and the heat on what is near it.
Details for builders
Id: lava. Lexicon subjects: terrain.lava, terrain.lava_wall.
Design notes from NetHack
Always lit (3.7). The encyclopedia describes surging lava, a blood-red glare and sparks of ash. Tile 44 (other.txt): red with orange and brown bubbles.
Orange where lava pools are red. Tile 45 (other.txt): red with black crust and yellow-orange seams.
Backlog rows
| N-254 | Built, not reviewed | Lava, round two: red and active |
| N-657 | Built, not reviewed | Lava bubbles and lights the dark |
| N-242 | Dropped | Lone lava squares read cold |
| N-243 | Built, not reviewed | Lava's heat on what is near it |








