pushing a boulder
The boulder moves one square, with a message when it will not.
Builtneeds review1 change builtSeen on every levelLast touched November 27, 2026: a change of its own was written or changed. Commit a523c68c4.
In the terminal
"With great effort you move the boulder." ("with little effort" as a giant; a steed: "Your pony moves the boulder."), only for a new boulder or after two turns without pushing; the boulder's '0' (or ` in some symsets) moves ahead and the hero follows. Stopped: "You try to move the boulder, but in vain." and, if a monster is behind it, "Perhaps that's why you cannot move it." ("You hear a monster behind the boulder." unseen); in Sokoban "The boulder won't roll diagonally on this floor."; the boulder fills a pit ("The boulder fills a pit."), plugs a hole or trap door, sinks in water, triggers a land mine ("KAABLAMM!!! The boulder triggers a land mine."), or vanishes on a teleport trap ("You push the boulder and suddenly it disappears!"). Squeezing past: "However, you can squeeze yourself into a small opening.".
Quotes from NetHack
With great effort you move the boulder.
4 more quotes
You try to move the boulder, but in vain.
Perhaps that's why you cannot move it.
However, you can squeeze yourself into a small opening.
KAABLAMM!!! The boulder triggers a land mine.
In Codex
Pushing a boulder, it rolls over onto its next square while the hero leans in behind it.
Builtneeds reviewTransition
Details
Animation 8 (N-104): NetHack moves the boulder one square on as the hero steps onto its square (hack.c:378 "boulder destination position", hack.c:209 movobj, and hack.c:194 "With great effort you move the boulder."). Where a look shows the hero step (or end a run) onto a square a boulder left for the next square the same way, the stone the new square draws rolls there from where it stood over boulder_push_seconds: across the floor, turning half over about the axis across its travel (it does not twist), never through the floor, and at rest exactly where the terminal puts it on its other flat, never a corner (N-720: half a turn is 1.36 times a true roll on a straight push and 0.96 times on a diagonal, a slip read as the stone's weight), in the turn it rolled to (nh-scene's Memory files it per level). Every boulder is one lump, turned by its square until it is pushed, so the stone that rolls is the stone that stood. The hero's step onto the square it left takes as long, on the same curve, eased out of rest and into rest, so the letter stays behind the stone and both settle together; the letter leans its weight into it, presses toward it and lowers a little (boulder_push_lean_degrees), which reads in the high views, and in first person the eye goes a little forward. A boulder that fills a pool or a pit is gone from every square, no glide, no roll and no lean; nothing else that moves rolls or leans the hero.
- Id
codex.boulder_push- Exact state
- Built, not reviewed
- Playtests
boulder-push- Settings
animations.boulder_push_lean_degrees,animations.boulder_push_seconds- Code
crates/nh-plays/src/roll.rs,crates/nh-plays/src/starts.rs,crates/nh-scene/src/build/occupant.rs,crates/nh-scene/src/memory.rs,crates/nh-plays/src/underway/squares.rs,crates/nh-plays/src/hero/motion.rs,crates/nh-knobs/src/animations/boulder_push.rs
| N-104 | Built, not reviewed | Monsters glide |
Accepted pictures and playtests
Playtests: boulder-push
Details for builders
Id: push. Lexicon subjects: moment.push.
Design notes from NetHack
'With great effort you move the boulder.' ('little effort' as a giant), not repeated while the same push goes on; the 0 moves one square and the hero follows.
Backlog rows
| N-104 | Built, not reviewed | Monsters glide |
