Gehennom

The Valley, the demon lairs, the Wizard's Tower, the Sanctum. It is hot here, red altars, lava.

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

Builtneeds review1 change builtSeen rarelyLast touched November 27, 2026: a change of its own was written or changed. Commit 4859035a8.

In the terminal

Status "Dlvl:N" continues. Levels are mazes or caverns (hellfill), almost all dark, many crossed by lava (always lit in 3.7, so its glow shows from afar) or iron bars. The ground is hot (temperature +1): arriving on a hot level from a cooler one prints "It is hot here." and "You smell smoke..." ("You sense smoke..." if you cannot smell); dropped potions may boil. The Valley and Juiblex's swamp are temperate, one maze style is cold. Prayer cannot reach your god here. 3.7 gives Gehennom its own wall glyphs (gray by default, red in IBMgraphics, red brick in the tiles). Altars to Moloch may appear. Demon lords' presence blocks teleporting on their levels.

Arrival from above is in the east (the trap doors' landing); the up branch stairs back to the Castle are at the southeast, the down stairs far to the northwest beyond the graveyards. Dark everywhere except the temple (an unaligned shrine, drawn red '_', with a priest of Moloch). Three morgues (dark, irregular) full of undead, graves and corpses; 'LOTS of dead bodies (all human)'; ghosts, vampire bats 'for atmosphere', a lich, vampires, zombies, mummies. Random wall changes may force a path through all three graveyards. noteleport, hardfloor, nommap, temperate (no heat message).

Swamp init: moat water across the level, threaded by a lattice of floor squares (a 'relaxed blockwise maze', sp_lev.c lvlfill_swamp); dark, shortsighted, temperate: arriving from a hot level prints "The heat and smoke are gone." The lair: two moat-ringed islets with pools at their centers; Juiblex, lemures, giant mimics, jellyfish; a fountain in one corner; stairs at the left and right edges; potions and gems. No lava rivers here (3.7).

Dark (the main area unlit), shortsighted; wall ruins; shops full of stock and no shopkeeper ("This shop is deserted."), a morgue, an untended unaligned altar (red '_') in the town; Orcus with his wand of death; zombies, shades, vampires, vampire lords, skeletons; 24 boulders; a magic lamp or magic marker (3.7). The maze part may get lava (hell_tweaks).

Dark; vampires, demons, a horned devil, a ghost; fire and other traps; lava in the maze possible (hell_tweaks).

Dark; the lair's walls form the insect's body and head; Baalzebub inside with devils, a ghost, vampires; down stairs within.

Outside: ordinary Gehennom maze. The tower walls are undiggable and cannot be phased; inside: noteleport, hardfloor. The top storey (wizard1) holds the Wizard of Yendor with the Book of the Dead at the center of a moat ring, with a morgue; the middle (wizard2) a zoo; the bottom (wizard3) a moat ring with a morgue, a beehive and the arrival portal from fakewiz1. Ladders '<' '>' connect the storeys.

A 9x9 map: a moat ring around a tiny walled cell. A lich, a vampire lord and a kraken guard each. Lava may cross the surrounding maze.

noteleport, hardfloor, nommap; arrival on the right third. The temple (lit) holds the high altar (the 'other' altar glyph, bright magenta '_'); entering it the high priest says "Infidel, you have entered Moloch's Sanctum!" "Be gone!" and turns hostile (later visits: "You desecrate this place by your presence!"). 36 fire traps around the temple. The rest is dark.

Quotes from NetHack

"Place of Torment." The Valley of Hinnom, south-west of Jerusalem, where Solomon, king of Israel, built "a high place", or place of worship, for the gods Chemosh and Moloch.
dat/data.base: hell
16 more quotes
In a later period it was made a refuse dump and perpetual fires were maintained there to prevent pestilence. Thus, in the New Testament, Gehenna became synonymous with hell.
dat/data.base: hell
It is hot here.
src/do.c:2006
You arrive at the Valley of the Dead...
src/do.c:1863
The odor of burnt flesh and decay pervades the air.
src/do.c:1864
You hear groans and moans everywhere.
src/do.c:1869
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, tender young girls still nursing this first anguish in their hearts, and a great throng of warriors killed in battle, their spear-wounds gaping yet and all their armour stained with blood.
dat/data.base: valley of *dea*
**LOTS** of dead bodies (all human).
dat/valley.lua:77, level-file comment
Little is known about the Faceless Lord, even the correct spelling of his name. He does not have a physical form as we know it, and those who have peered into his realm claim he is a slime-like creature who swallows other creatures alive, spits acidic secretions, and causes disease in his victims which can be almost instantly fatal.
dat/data.base: juiblex
A ghost town
dat/orcus.lua:14, level-file comment
Hack for Orcus's level: it's a ghost town, get rid of shopkeepers
src/shknam.c:794, code comment
Orcus, Prince of the Undead, has a ram's head and a poison stinger. He is most feared, though, for his powerful magic abilities. His wand causes death to those he chooses.
dat/data.base: orcus
It is said that Asmodeus is the overlord over all of hell. His appearance, unlike many other demons and devils, is human apart from his horns and tail. He can freeze flesh with a touch.
dat/data.base: asmodeus
the two iron bars are eyes and spots to their left will be made diggable
dat/baalz.lua:12, level-file comment
Keeping the Moat for old-time's sake
dat/wizard1.lua:8, level-file comment
Infidel, you have entered Moloch's Sanctum!
src/priest.c:452
Invisible barrier separating the left & right halves of the level
dat/sanctum.lua:42, level-file comment

In Codex

Each branch in its tiles' stone, Mines cracked rock, Sokoban blue, Gehennom red brick, Ludios brown.

Builtneeds review3D form

Based on the real thing: The Mines are rough orange-brown rock, unworked, split along its bedding by dark cracks. Sokoban's walls are blue dressed blocks laid in level courses. Gehennom's are dark red brick, burnt and rough. Fort Ludios's are brown cut blocks, a fort's masonry.

Details

N-102, D-61 (the director, 2026-10-30: "Yes, for every player"). Each wall is drawn in the wall set the core drew it in (protocol 4's Glyph.walls), whatever its glyph's color and the player's symset; the floor, and the rock shown beside the map, door frames and stair flights, take the level's stone: the set most of the walls the map shows carry (nh_site::Site::wall_set, tested), the Dungeons' until a wall is shown. Colors and patterns come from the DevTeam's wall tiles (win/share/other.txt 199-242), toned to the caves' light (N-252, round two): the Mines orange-brown unworked rock in lumps half again as deep as the Dungeons', in a texture of their own (nh-scene texture.rs rock: bands falling from upper right to lower left, split by deep dark cracks, lit pale along each crest, one band warmer than the next, after tile 199), no ore; Sokoban blue ashlar, blocks half a square long and a third tall, laid level with no lumps, in a blue with little red so the torch leaves it blue (232-242: the Dungeons' bricks in blue); Gehennom dark red brick, two thirds of a square long and half tall, laid level, matte (210-220); Fort Ludios brown cut blocks laid level in the tile's brown, one block in two carrying a small ragged ochre-gold nugget, paler along its upper crest, dark at the rim where it is set, matte (221-231, texture.rs knox, N-2390). The cut blocks' joints are dark (darker than the brick under the torch, measured in the frame) and shallow and ease into the block, each block and each broad patch of wall a little lighter or darker than the next, and each block lit pale along its top edge as tiles 210 and 232 light theirs. The Dungeons stay as they were. Nothing glows. When the level's stone becomes known (its first walls shown) the level is built again in it. Off (branch_stone = false): the Dungeons' gray everywhere. By the torch Sokoban's walls keep their blue (N-244, dungeon.branch_stone_keeps_its_hue, 0.85): the warm torch passes little blue, so the walls came out gray up close while blue from above (first-person wall OKLab C 0.017 against 0.044 from the director's view). After the light, the stone shader holds a wall's OKLab fullness along its own hue (its color by the explored map's light less a gray stone's) to at least 0.85 of what it shows along it by that light, at the same lightness, keeping the torch's warmth across it; only for a hue across the wheel from the room's warm light (blue), only on walls, and by view as share times (1 - the camera's height), so the high views and the floor's pool of torchlight are as they were. Gray, brown, red, yellow and plum stone are unchanged (gallery-branches: Gehennom close third C 0.038 at 0 and at 1). 0: as the torch mixes it. Remembered walls keep their stone's color (N-2394, light.remembered_walls_keep_their_color, 1.5; D-62 names remembered floor gray, not walls): out of sight, remembered stone drains toward gray at its own lightness (light.remembered_color); a wall gets the drained color back (up to 1), and above 1, from the high views only, its color is pushed further from gray at its own lightness so it holds under the explored map's cool light (stone.wesl's drain lets a wall's share pass 1), while remembered floors still go gray as the terminal draws them (nh_plays materials::remembered_color, tested). Measured far walls from the director's view with it on against off: Gehennom (50, 29, 33) against (40, 32, 37), the Mines (57, 35, 32) against (47, 39, 41), Ludios (57, 40, 40) against (48, 43, 46). The lowered tops (walls cut down for the camera) keep their stone's own color: the remembered level's stain, drawn where rock hides known floor, steps back while walls are lowered, in the close views only, by the deepest cut, as the ceiling does (N-5342, light.remembered_steps_back_from_lowered_walls, 1; nh_plays materials::steps_back, tested).

Id
codex.branch_stone
Exact state
Built, not reviewed
Playtests
gallery-branches, gallery-ludios
Settings
dungeon.branch_stone, dungeon.branch_stone_keeps_its_hue, light.remembered_walls_keep_their_color, light.remembered_steps_back_from_lowered_walls
Code
crates/nh-site/src/lib.rs, crates/nh-scene/src/build/terrain.rs, crates/codex-client/src/surface.rs, crates/codex-client/src/draw/world.rs, crates/nh-scene/src/stone.rs, crates/nh-scene/src/stone/dungeons.rs, crates/nh-scene/src/stone/mines.rs, crates/nh-scene/src/stone/gehennom.rs, crates/nh-scene/src/stone/ludios.rs, crates/nh-scene/src/stone/sokoban.rs, assets/shaders/stone.wesl, crates/nh-plays/src/picture/view/materials.rs, crates/codex-client/src/draw/stone.rs, crates/nh-scene/src/texture.rs, crates/codex-client/src/draw/standard.rs
N-102DoneThe branches in their own stone
N-252Built, not reviewedThe branches' stone, round two

Accepted pictures and playtests

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

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

Playtests: gallery-branches, gallery-ludios

Planned and proposed

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: gehennom. Lexicon subjects: place.gehennom, place.valley, place.juiblex, place.orcus, place.asmodeus, place.baalzebub, place.wizard_tower, place.fake_tower, place.sanctum.

Design notes from NetHack

"It is hot here." and "You smell smoke..." on arrival; lava lit in the dark; walls red in IBMgraphics and the tiles; the encyclopedia's 'perpetual fires'.

Lava caverns, mazes (some with lava rivers, some walled with iron bars or lava), a cold maze of ice and water, open caverns.

Standing on the square gives "You feel a strange vibration under your feet."; once found it shows as a magenta '~'.

Smell and sound in the arrival messages: 'burnt flesh and decay', 'groans and moans everywhere'; many human corpses; vampire bats.

Water across the level in a lattice of floor; arriving from a hot level gives "The heat and smoke are gone." The encyclopedia: Juiblex, 'a slime-like creature'.

Shops still stocked, with no shopkeepers ("This shop is deserted."); the level file calls it 'A ghost town'.

The encyclopedia: Asmodeus looks human but for his horns and tail, and 'can freeze flesh with a touch'.

The lair's walls form an insect's body and head, with two iron-bar squares as its eyes.

A closed tower in a maze, its storeys joined by ladders; the top storey has a moat ring around the Wizard.

A moat ring around a tiny walled cell in a maze; one of the two holds the magic portal.

36 fire traps around a lit temple with a bright magenta high altar; entering it gives "Infidel, you have entered Moloch's Sanctum!"

Backlog rows

N-102DoneThe branches in their own stone
N-252Built, not reviewedThe branches' stone, round two
X-63Built, not reviewedChanges to the whole drawing
X-340Built, not reviewedA place's lanes and the picture's, out of the trip