taking the stairs

Pressing > or < on a staircase or ladder. The terminal cuts to the new level.

The terminal shows this in words, not as a letter.
Terminal
Taking the stairs, the hero walks down or up a real flight of steps between the two levels.
Codex: from a builder's report

Builtneeds review4 changes builtSeen on every levelLast touched December 1, 2026: a change of its own was written or changed. Commit e9ee85f45.

In the terminal

"You climb up the stairs." / "You descend the stairs." (verbose; "You fly up the stairs.", "You fly down the stairs.", "You float up the stairs." by locomotion; "With great effort, you climb up the stairs." dragging a ball). The hero arrives on the matching staircase of the new level. Refusals: "You can't go down here.", "Your load is too heavy to climb the stairs.", "You are floating high above the stairs.", "You are held back by your pet!"; leaving the dungeon from level 1: "Beware, there will be no return! Still climb?"; at the Valley stairs "You are standing at the gate to Gehennom." "Unspeakable cruelty and harm lurk down there." "Are you sure you want to enter?" "So be it.". With the Amulet in Gehennom, climbing may meet "A mysterious force momentarily surrounds you..." (sent down or kept; 3.7 makes it rarer each time; voice.feeling.mysterious_force).

"You climb up the ladder." / "You climb down the ladder." ("You fly up along the ladder." flying); "You fall down the ladder." when burdened.

Quotes from NetHack

You climb up the stairs.
src/do.c:1760
4 more quotes
Beware, there will be no return! Still climb?
src/do.c:1333
Unspeakable cruelty and harm lurk down there.
src/do.c:1244
A mysterious force momentarily surrounds you...
src/do.c:1558
You climb down the ladder.
src/do.c:1799, "climb down the ladder" : "descend the stairs"

Decisions

Notable moments animate, from the player's keys and the map alone.

Codex draws it
Full text

Notable moments animate (stairs, kicks, doors, corners, squeezes), derived only from the player's keys and what the map shows.

Backlog decisions: D-13

Stairs are real flights of steps, and taking them walks the flight.

Codex draws it
Full text

Stairs are directional flights with real steps: down is an opening whose steps slope away under the floor, up rises through the room. Taking them walks the slope (lateral and vertical); the next level is placed so the arrival point is exactly at the flight's end, and its staircase points back the way you came.

Backlog decisions: D-19

Taking the stairs, both levels stay put and the hero walks the flight between them.

Codex draws it
Full text

PROVISIONAL. The stairs walk (D-33): the levels stay put and the hero walks. The new level stays where it is; the old one waits a flight back and up (or down), so the square past the flight's foot (or head) is the hero's new square. The hero walks the treads (on the line through the steps' front edges: on a tread or at most a step above it), from the step under the stair square's middle, then off the last step onto the new floor. The camera trails up the flight behind the hero (down it, going up), [camera] stairs_trail_height above, so it stays in the stairwell and sees through the opening; it eases into and out of that pose at both ends. Going down, the new level's walls under the flight stand aside until the walk ends (they reach exactly the old floor and would wall the hero in). A flight the game wasn't showing (the hero stood on it since arriving or a restore, N-26) is drawn for the walk only and goes with the old level. On the hero's own square a staircase is stood on, not hovered over (> a step down, < a step up). Rejected: sliding both levels past a fixed camera (the camera ended up under the old floor, V-11); hiding the old level's floor over the flight (the floor vanishing at the first step reads as an event); offsetting levels so the two flights coincide (the arrival staircase isn't shown under the hero, N-26).

Backlog decisions: D-42, D-33

In Codex

Arriving by the stairs facing a wall, the hero turns to the nearest open way once the walk ends.

Builtneeds reviewCamera or view

Details

On arrival the hero faces along the flight taken, which can be straight into a wall (N-24). Once the stairs walk is over, never during it (D-42), if the map shows a wall (or rock) on the square ahead, the hero turns to the open way nearest the flight's, as an ordinary eased turn: the fewest eighths of a turn, toward the side with more open squares ahead when both turn as far (nh-site open_way). A door ahead is a way, closed or not, and the hero keeps facing it. Facing still remembers the way you came as closely as the room allows (D-22). Nothing is sent to the game.

Id
codex.arrival_turn
Exact state
Built, not reviewed
Playtests
01-stairs-down, 45-letters-in-view-arrival
Settings
camera.turn_from_wall_on_arrival
Code
crates/codex-client/src/pov.rs, crates/nh-site/src/lib.rs
N-24DoneOn arrival the camera faces down the flight's direction, which can be straight into a wall; pick a facing with room ahead.

The level above gives way around the stairwell, the old one going down and the new one going up.

Builtneeds reviewTransition

Details

While the hero walks the stairs between two levels both stand, one a flight over the other (D-42). They hand over around the stairwell (N-321): going down, the old level opens out from its staircase over stairs_old_level_goes (a front running out on an S-curve, a square and a half wide: walls sink into the floor, the ground and what stands on it go as the front passes), so the new level below is there to step off onto and nothing vanishes at the walk's end; going up, the new level forms the same way around the square the hero climbs out through (the square before the arrival, over the flight's top steps, open until they are out) over stairs_new_level_forms, while the old room stays below until the walk ends. Both reach stairs_hand_over_reaches squares out. Going down, the new level's walls under the flight, hidden while the hero walked through them, rise into place afterwards as walls that made way for the camera do. The level going fades into the dark (the unknown's own color) from the stairwell out, a square and a half ahead of its stone sinking and going, and the level forming comes out of the dark a square and a half behind its stone, so what moves is in the dark and nothing shows as a gray sheet (N-341); the remembered level through the rock (N-288) is eased out while the walk plays, so the level below never shows through the floor above as a pale stain. Each level keeps its own light while both stand: the level being left is lit by its own map where it lies, never by the new level's (N-329). The lower level's walls, a little taller than the flight rises, stop at the upper floor wherever that floor stands, so they never poke up through it (N-330). Going down in first person the floor left is the rock it is (N-5392): a slab stairs_floor_thickness deep, its underside lumped a little, in that level's walls' stone on its own map, so the lantern lights it over the squares its map shows and it is the unknown's color elsewhere, as the ceiling is (N-312), and it goes into the dark with that level as the hand-over passes. The stairwell is open through it over the staircase's square and the next along the flight (as far as the eye passes through the rock's thickness), a square wide, its sides the rock's thickness; past it the flight runs on under the rock, so what stands on that level's floor stands on rock, never over a hole. It faces only down and into the stairwell, and is drawn from the walk's first frame in first person (never from behind or above). The eye sinks down a shaft, the flight's own side walls, which stand in first person (from behind they are put away to show the hero) and sink into the level below over about a third of a second before the hand-over begins, so they never go at once nor stand dark round the eye. Through the opening the room left stands lit, as it is, until the hand-over takes it; nothing goes into the dark round the eye going down, and that level's letters drawn through walls fade out as the eye sinks under its floor (the terminal no longer shows that level). Coming up through the new level's floor (first person), that level stays in the unknown's color while the eye is under its floor and comes out of it from the eye outward once the eye is out, all but the stairwell's own squares (N-42, stairs_floor_hides_from_below).

Id
codex.stairs_hand_over
Exact state
Built, not reviewed
Playtests
01-stairs-down
Settings
dungeon.stairs_old_level_goes, dungeon.stairs_new_level_forms, dungeon.stairs_hand_over_reaches, dungeon.stairs_floor_hides_from_below, dungeon.stairs_floor_thickness
Code
crates/nh-plays/src/stairs.rs, crates/nh-plays/src/underway/passage.rs, crates/nh-plays/src/picture/passage.rs, crates/nh-plays/src/picture/view/materials.rs, crates/codex-client/src/draw/passage.rs, crates/codex-client/src/draw/view/cutaway.rs, crates/codex-client/src/draw/things.rs, crates/nh-scene/src/build/terrain.rs, crates/codex-client/src/draw/stairs.rs, crates/codex-client/src/draw/stone.rs, assets/shaders/stone.wesl, crates/nh-knobs/src/dungeon/stairs_hand_over.rs, crates/codex-client/src/plays.rs, crates/nh-plays/src/picture/view/materials.rs, crates/nh-scene/src/mesh/underside.rs
N-321DoneThe stairs walk's camera dives onto the hero's back, pins under the floor, or jumps at the half-way point
N-324DoneThe stairs walk ends with a cut: the camera snaps back out and every wall between it and the hero drops in one frame
N-329DoneThe level being left changed its light as the walk began
N-330DoneThe lower level's wall tops poke up through the upper floor during the walk
N-339DoneGoing down on seed 4, the hero is hidden for about half a second under a ledge at the opening's near side
N-341DoneFlat gray sheets sweep across the frame during the stairs walk's hand-over
N-42Built, not reviewed5 | First person, the stairs walk down:
N-5392Built, not reviewedGoing down the stairs in first person, once the eye is below the upper level's floor, draw that floor from below as the rock it is (its underside and thickness

On the stairs the camera keeps the player's framing and follows the hero, and the walls make way.

Builtneeds reviewCamera or view

Details

Walking the stairs between levels the camera keeps the player's framing (N-321, D-74: it holds its framing and the world makes way): it follows the hero down (or up) the flight from where it was, at the player's own stop, so it is never closer to them than the player put it, and never swings round behind them at the start (N-325; the director, 2026-11-04: "getting too close to the hero at any point during the stair progression is not desirable, and on most of the videos I saw the camera started behind the hero"). Both levels' walls make way for its sight of the hero, each on its own map, all the way down; the upper level's floor opens where that sight passes through it and stays open a moment; while that floor stands under the camera it stays stairs_camera_keeps_above_the_floor above it, looking down into the stairwell, never up from under the floor, and once the floor has gone it comes down to the player's framing on a gentle spring (stairs_settle_snappiness). In first person the hero turns to look the way of the flight as the walk begins (N-340). Arriving facing a wall the hero turns to the open way as they step off (N-24), at stairs_turn_snappiness. A down flight's side walls are put away while it is walked (N-339). The levels hand over around the stairwell (codex.stairs_hand_over). Keys typed during the walk wait for it, and the rest of it plays at stairs_walk_seconds_when_keys_wait (N-323). How the walk is framed is the director's choice (D-17): by default the camera stays at the player's stop; stairs_camera_widens eases it out toward the widest stop as the walk goes and back in as it ends.

Id
codex.stairs_trail
Exact state
Built, not reviewed
Playtests
01-stairs-down
Settings
camera.stairs_camera_keeps_above_the_floor, camera.stairs_settle_snappiness, camera.stairs_turn_snappiness, camera.stairs_camera_widens, dungeon.stairs_walk_seconds_when_keys_wait
Code
crates/nh-plays/src/shot/pose.rs, crates/nh-plays/src/shot/framing.rs, crates/nh-plays/src/shot/follow.rs, crates/nh-plays/src/hero/motion.rs, crates/codex-client/src/input.rs
N-321DoneThe stairs walk's camera dives onto the hero's back, pins under the floor, or jumps at the half-way point
N-323DoneA key typed behind > cancels the walk; >< plays only the ascent
N-324DoneThe stairs walk ends with a cut: the camera snaps back out and every wall between it and the hero drops in one frame
N-325DoneThe stairs walk starts with a swing round the hero
N-339DoneGoing down on seed 4, the hero is hidden for about half a second under a ledge at the opening's near side
N-340DoneFirst person going up reads as the eye standing inside rock
V-11DoneStairs walk is too dark mid-way

Taking the stairs, the hero walks down or up a real flight of steps between the two levels.

BuiltTransition

Taking the stairs, the hero walks down or up a real flight of steps between the two levels.Taking the stairs, the hero walks down or up a real flight of steps between the two levels.Taking the stairs, the hero walks down or up a real flight of steps between the two levels.Taking the stairs, the hero walks down or up a real flight of steps between the two levels.
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-53DoneGo downstairs more slowly.
V-10DoneAscending stairs transition.
V-11DoneStairs walk is too dark mid-way
N-75Done> into a hole or trap door plays the stairs walk
N-96DoneTruthful readings

Accepted pictures and playtests

Playtests: 01-stairs-down, 45-letters-in-view-arrival, gallery-dark-corridor, journey-continuity, journey-game

Planned and proposed

Planned The stairs walk keeps the hero in view at a flight's top and lands true beside a monster.

Planned The climb between levels is calm, the camera above the new floor.

Details for builders

Id: stairs_walk. Lexicon subjects: moment.level_change.stairs, moment.level_change.ladder.

Design notes from NetHack

'You climb up the stairs.' or 'You descend the stairs.' (fly or float by locomotion); the hero arrives on the matching staircase.

Backlog rows

N-24DoneOn arrival the camera faces down the flight's direction, which can be straight into a wall; pick a facing with room ahead.
N-321DoneThe stairs walk's camera dives onto the hero's back, pins under the floor, or jumps at the half-way point
N-324DoneThe stairs walk ends with a cut: the camera snaps back out and every wall between it and the hero drops in one frame
N-329DoneThe level being left changed its light as the walk began
N-330DoneThe lower level's wall tops poke up through the upper floor during the walk
N-339DoneGoing down on seed 4, the hero is hidden for about half a second under a ledge at the opening's near side
N-341DoneFlat gray sheets sweep across the frame during the stairs walk's hand-over
N-42Built, not reviewed5 | First person, the stairs walk down:
N-5392Built, not reviewedGoing down the stairs in first person, once the eye is below the upper level's floor, draw that floor from below as the rock it is (its underside and thickness
N-323DoneA key typed behind > cancels the walk; >< plays only the ascent
N-325DoneThe stairs walk starts with a swing round the hero
N-340DoneFirst person going up reads as the eye standing inside rock
V-11DoneStairs walk is too dark mid-way
N-53DoneGo downstairs more slowly.
V-10DoneAscending stairs transition.
N-75Done> into a hole or trap door plays the stairs walk
N-96DoneTruthful readings
N-210To doThe behind camera loses the hero just past an up flight's top
N-211Built, not reviewedA flight that turns under a standing hero leaves them at the old height
N-327To doArriving beside the staircase: the walk ends on plain floor and the hero's square is filed as the staircase
N-338Built, not reviewedAt a walk's end beside a peaceful monster the camera steps about a square in one frame
N-40To do5 | The ascent between levels is legible but busy: