ladders
Brown ladders, in Vlad's Tower and a few special levels.
Builtneeds review4 changes builtSeen rarelyLast touched November 28, 2026: a change of its own was written or changed. Commit 39439295e.
In the terminal
Brown '<' up and '>' down. Branch ladders (yellow) exist as glyphs but no vanilla branch connection is a ladder.
Quotes from NetHack
des.ladder("up", 11,05)
In Codex
Stairs are a flight of twelve steps, down into an open stairwell or up through the room.
Built3D form
Based on the real thing: A flight of stairs is twelve stone treads a step high, each a laid block with its nose worn round, running a few squares down into an open stairwell or up through the room.
Details
Stairs as directional flights with real steps (D-19): twelve steps over stairs_length (3.2) squares and the wall's height. Down is an opening in the floor whose steps slope away underneath the neighboring floor, with low side walls (an open stairwell); up is a solid flight rising through the room from the staircase's square. Which way a flight runs is presentation, chosen from what the map shows: an up flight never runs over a door, another staircase or a feature when another way has none, then prefers the way with most room floor, and is decided again as more of the room is seen (N-59); down flights keep a fixed way per square; a staircase arrived on points back the way you came (D-42). On its own square the hero stands on the steps (a step down on '>', a step up on '<'). Whatever the map shows on the squares an up flight rises over stands on its steps (things_stand_on_steps; N-93, director 2026-10-31: "The thing should stand where the flight would rise, so on the steps"): a monster, an object, a statue, and the hero, who climbs onto them with the step that takes them there, and only then; the flight keeps its way and its length whatever stands on it. Ladders and branch stairs are drawn as stairs, in the same stone with a quiet cast of the glyph's color (yellow branch stairs, brown ladders: codex.stairs_in_their_color, N-649). Every step is a block of stone whose tread edges are worn round (N-227, D-67, the worn slab the altar uses): the nose rounded off by feet, the joint to the next block a shallow groove.
- Id
codex.stair_flight- Exact state
- Built
- Playtests
01-stairs-down,19-stairs-door,gallery-dark-corridor,35-up-flight- Settings
dungeon.wear,dungeon.stairs_length,dungeon.wall_height,dungeon.things_stand_on_steps- Code
crates/nh-scene/src/build/terrain.rs,crates/nh-scene/src/mesh/stairs.rs,crates/nh-site/src/lib.rs,crates/nh-scene/src/memory.rs,crates/nh-scene/src/ground.rs,crates/nh-plays/src/hero/motion.rs
| N-59 | Done | Stairs beside a door: the stairs hid the door. |
| N-22 | Done | ~~Hero walks the stairs~~: |
| N-77 | Done | Things on an up flight's squares |
| N-93 | Done | An up staircase never swallows the hero |
Stairs the terminal draws yellow or brown carry that color quietly in their stone.
Builtneeds review3D form
Based on the real thing: A staircase the terminal draws in a color keeps it as a quiet cast in the stone of its treads, the same worn blocks, the same roughness, no light of its own, so the torch picks the color up as it picks up the stone.
Details
A flight drawn by a staircase glyph whose color is not gray (N-649) is cut in the level's stone with a cast of that color a fifth of the way in (STEPS_CAST, 0.22; on Sokoban's blue blocks nearly half, 0.45, since yellow in blue passes through gray; never past 0.6 however it grows): the stone's own color mixed toward the glyph's, its texture, roughness and grain the walls', no glow (a color in the stone, never gold leaf: D-75 allows the glyph's own yellow). NetHack 3.7 draws a staircase yellow (S_brupstair, S_brdnstair, CLR_YELLOW, include/defsym.h:124-125) once it is known to lead to another dungeon and the hero has used it (known_branch_stairs, src/stairs.c): the way into the Gnomish Mines and back, into Sokoban and back, Vlad's Tower and back, and DL1's up staircase from the first turn; until then it is gray, and so is its flight. A ladder is brown (S_upladder, S_dnladder, CLR_BROWN) and its flight takes a faint brown until ladders are drawn as ladders (N-667). Gray stairs (CLR_GRAY) and any staircase with color off (NO_COLOR) are the walls' gray stone exactly as before. The color is the one the port sends, the tty's own. The cast grows from the high views by the quiet rule (quiet_things_from_above, quiet_things_grow: unchanged up close, twice as strong at the map view). The DevTeam's tiles tell a branch staircase from a plain one only by its arrow's color (win/share/other.txt, # tile 29 (branch staircase up), # tile 30 (branch staircase down): the same red and brown frame as tiles 25 and 26, the arrow yellow fading to green instead of white and slate): the same stone, a yellow mark, nothing added. A letter standing on the steps keeps its own color. The flight drawn for a walk the game was not showing (N-26) stays gray: the terminal showed nothing there. The projection map and the terminal view already draw the yellow < or > and are unchanged. A branch staircase's cast is six tenths bolder than that in every view (STEPS_BRANCH_BOLDER 1.6, nh-scene stone.rs `cast_strength`; the director, 2026-11-28: "Slightly bolder"; a quarter moved it by too little to see), about 0.35 of the way up close, 9 to 11 levels more red over blue in every view, still matte, never gold; a ladder's brown keeps the cast as designed ("Keep the brown"). Off (stairs_color_strength 0), every flight is plain stone.
- Id
codex.stairs_in_their_color- Exact state
- Built, not reviewed
- Playtests
gallery-branch-stairs- Settings
dungeon.stairs_color_strength- Code
crates/nh-scene/src/build/terrain.rs,crates/nh-scene/src/stone.rs,crates/nh-plays/src/picture/view/materials.rs,crates/codex-client/src/draw/stone.rs,crates/nh-knobs/src/dungeon/stairs_in_their_color.rs,crates/nh-scene/src/build/terrain_steps.rs
| N-253 | Built, not reviewed | The quiet rule: stronger from above |
| N-649 | Built, not reviewed | Branch stairs keep their yellow |
Taking the stairs, the hero walks down or up a real flight of steps between the two levels.
BuiltTransition
Details
Taking the stairs walks the flight (D-19, D-42): both levels stay put, the new one where it is and the old one a flight back and up (or down), placed so the square past the flight's foot (or head) is the hero's new square. Over stairs_walk_seconds (3.0) the hero walks the treads, from the step under the stair square's middle, then off the last step onto the new floor; they keep the way they faced (N-325), and the staircase arrived on points back the way they came; a staircase the game never showed under them (an object on it, a restore) is walked the way it would have been drawn (N-328). Going down, the new level's walls under the flight stand aside until the walk ends; all mist is cleared meanwhile; a flight the game was not showing (the hero stood on it since arriving, N-26) is drawn for the walk only. It plays only when the player typed '>' or '<' (D-40) and the hero did not stand on a trap the map showed: '>' into a seen hole or trap door falls and cuts (N-75); a square under the hero the map never showed (the stairs after a restore, N-26) still walks. Ladders are walked as stairs; trapdoors, holes, level teleports and portals cut, as the terminal does.
- Id
codex.stairs_walk- Exact state
- Built
- Playtests
01-stairs-down,gallery-dark-corridor,journey-continuity,journey-game- Settings
dungeon.walk_the_stairs,dungeon.stairs_walk_seconds,dungeon.stairs_length,dungeon.wall_height- Code
crates/codex-client/src/draw/stairs.rs,crates/nh-plays/src/stairs.rs,crates/codex-client/src/draw/world.rs,crates/nh-moments/src/command.rs
| N-53 | Done | Go downstairs more slowly. |
| V-10 | Done | Ascending stairs transition. |
| V-11 | Done | Stairs walk is too dark mid-way |
| N-75 | Done | > into a hole or trap door plays the stairs walk |
| N-96 | Done | Truthful readings |
Over an up staircase the camera rides above the steps instead of inside them.
BuiltCamera or view
Details
Over an up staircase's flight the third-person camera rides at least camera_above_up_stairs above the treads under it instead of inside the rising steps (N-38), easing up and down.
- Id
codex.steps_clearance- Exact state
- Built
- Playtests
gallery-dark-corridor- Settings
camera.camera_above_up_stairs,dungeon.stairs_length- Code
crates/nh-scene/src/ground.rs,crates/nh-plays/src/shot/pose.rs
| N-38 | Done | 5 | Camera inside the up-flight: |
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
Playtests: 01-stairs-down, 19-stairs-door, gallery-dark-corridor, 35-up-flight, gallery-branch-stairs, journey-continuity, journey-game
Planned and proposed
Planned A player's own forms for the hero, objects and features, not only monsters.
Details for builders
Id: ladder. Lexicon subjects: feature.ladder.
Design notes from NetHack
Brown where stairs are gray. Tiles 27-28 (other.txt): rungs instead of steps.
Tile 28 (other.txt): rungs leading down into darkness.
Backlog rows
| N-59 | Done | Stairs beside a door: the stairs hid the door. |
| N-22 | Done | ~~Hero walks the stairs~~: |
| N-77 | Done | Things on an up flight's squares |
| N-93 | Done | An up staircase never swallows the hero |
| N-253 | Built, not reviewed | The quiet rule: stronger from above |
| N-649 | Built, not reviewed | Branch stairs keep their yellow |
| N-53 | Done | Go downstairs more slowly. |
| V-10 | Done | Ascending stairs transition. |
| V-11 | Done | Stairs walk is too dark mid-way |
| N-75 | Done | > into a hole or trap door plays the stairs walk |
| N-96 | Done | Truthful readings |
| N-38 | Done | 5 | Camera inside the up-flight: |
| N-353 | To do | Own forms for the hero, objects and features |





