dying

You die, the tombstone and its epitaph. Or life saved.

The terminal shows this in words, not as a letter.
Terminal
When the hero dies a pale tombstone rises from the floor, carved with the game's own epitaph.
Codex: from a builder's report

Builtneeds review4 changes builtSeen rarelyLast touched November 29, 2026: a backlog row it names changed (N-513). Commit bfd1a5180.

In the terminal

"You die..." on its own line ("You turn to stone...", "You drown.", "You die from your illness."...), a --More--, then the end-of-game sequence: "Do you want your possessions identified?" and the other disclosures, "Your body rises from the dead as a <zombie>..." when it will, the tombstone (chrome.tombstone) with the cause of death, "Goodbye <name> the <role>..." and the summary, and the high-score list. In explore or wizard mode: "Die? [yn] (n)" and "OK, so you don't die.".

"But wait..." "Your medallion begins to glow!" (blind: "feels warm"), "You vomit ..." if choking, "You feel much better!", "The medallion crumbles to dust!"; HP restored, one point of Constitution lost, the amulet identified and gone. Genocided: "Unfortunately you are still genocided...".

A full-screen text window, if the tombstone option is on (default) and the death is not a genocide, quit, escape or ascension: the stone below, centered on it the name (16 characters), "<gold> Au", the cause of death wrapped over four lines ("killed by a jackal"), and the year. Followed in the same window by "Goodbye <name> the <role>..." and the summary (chrome.disclosure).

A grave's headstone is an engraving of type HEADSTONE: stepping on it or looking (:) gives "Something is engraved here on the headstone." "You read: "Rest in peace"." (blind and able to reach it: "You feel the words: ..."). Graves of bones players carry the dead hero's name instead.

Quotes from NetHack

You die...
src/hack.c:4287
12 more quotes
You turn to stone...
src/end.c:195
Your body rises from the dead as <a gnome zombie>...
src/end.c:1355
OK, so you don't die.
src/end.c:1113, explore or wizard mode
But wait...
src/end.c:1082
Your medallion begins to glow!
src/end.c:1085
You feel much better!
src/end.c:1088
The medallion crumbles to dust!
src/end.c:1089
---------- / \ / REST \ / IN \ / PEACE \ / \ | | | | | | | | | | | | | 1001 | *| * * * | * _________)/\\_//(\/(/\)/\//\/|_)_______
src/rip.c:28, rip_txt[], as printed; name, gold, cause and year are centered at column 28
Sprintf(buf, "%ld Au", cash);
src/rip.c:109
Rest in peace
dat/epitaph.txt:7
Note -- there are NO valuable items in this grave
dat/epitaph.txt:10
The Grave of the Unknown Hacker
dat/epitaph.txt:12

Decisions

When you die the camera goes to third person, whatever the view was.

Codex draws it
Full text

PROVISIONAL. Dead, the camera goes to third person whatever the stance (the hero lies there and the stone rises at that spot; from the eye there is nothing to see). It goes back with the next game. Rejected: staying in first person (the stone would rise inside the camera).

Backlog decisions: D-44

Of the animation ideas, the director picked 9, 10, 12, 15 and 34. The rest wait.

Codex draws it
Full text

Notable moments beyond those built: the director picked 9, 10, 12, 15, 34 (N-32…N-36); the rest still wait.

Backlog decisions: N-3

In Codex

When the hero dies the camera goes to the view from behind, whatever view was in use.

BuiltCamera or view

Details

Dead, the camera goes to third person whatever the view (D-44): the hero lies there and the stone rises at that spot, and from the eye there would be nothing to see; the director stays in close. It goes back with the next game.

Id
codex.death_camera
Exact state
Built
Playtests
journey-continuity
Settings
camera.first_person_switch_seconds
Code
crates/nh-plays/src/shot/pose.rs, crates/nh-plays/src/hero/motion.rs

When the hero dies, the camera swings round them to a three-quarter view to watch them fall.

Builtneeds reviewCamera or view

Details

N-267: from "You die..." (Moment::Died, the hero's topple under way) the camera is asked to witness (Ask::Witness): the eye behind and the point it looks at turn about the fallen hero by death_swing_degrees (45, a three-quarter view) toward the side the camera already rides (the hero's right when it rides none), and rise 0.3 squares, steady over 1.2 s on a smooth step (Move::DeathSwing), never two degrees in a frame. First person has stepped out behind the hero already (D-44) and swings with it; the director, in close for a death, swings too; the map view never does (it stays north up, as Dad steers by it). The walls make way, the crane and the last word come after the swing, so in a corridor the eye stays out of the rock. If the hero lives after all (Moment::Revived) it swings back the way it came over the same time. The tombstone, made later, turns to the swung heading as every stone turns to the camera. The minimap's page turn the row first asked for was set aside by D-129 ("Film the death's swing only"). 0 degrees: the camera stays where it was.

Id
codex.death_witness
Exact state
Built, not reviewed
Playtests
journey-continuity
Settings
camera.death_swing_degrees
Code
crates/nh-plays/src/shot/asks.rs, crates/nh-plays/src/shot/pose/orbit.rs
N-267Built, not reviewedThe death witness pose and the map's page turn

When the hero dies a pale tombstone rises from the floor, carved with the game's own epitaph.

Built3D form

When the hero dies a pale tombstone rises from the floor, carved with the game's own epitaph.

Based on the real thing: A tombstone is a round-topped slab of pale stone a man's height, its epitaph carved into the face.

Details

When the game shows its tombstone window, a pale round-topped stone (1 wide, 1.45 tall) rises out of the floor just beyond where the hero fell, turned to the camera, slowing as it settles (tombstone_rise_seconds), and the words between the ASCII stone's edges are carved on it line by line, dark, as the game wrote them (REST, IN, PEACE, the name, the gold, how they died, the year: nh-moments' epitaph, catalog v2). The text panel then keeps only its --More--, low on the screen. The stone goes with the level when the next game starts. When the hero dies while hallucinating, the trip's color drains as the stone rises (last_trip): plain, no tint, the lens and the roll going with it, and it stays drained while Hallu still shows (N-497).

Id
codex.tombstone
Exact state
Built
Playtests
journey-continuity
Settings
animations.tombstone, animations.tombstone_rise_seconds, hallucination.last_trip
Code
crates/codex-client/src/draw/tomb.rs, crates/codex-client/src/draw/letters.rs, crates/nh-moments/src/death.rs, crates/nh-plays/src/rising.rs, crates/nh-scene/src/mesh/things.rs, crates/nh-moments/src/catalog.rs, crates/codex-client/src/hud.rs, crates/nh-plays/src/trip/said.rs
N-36Done6 | Animation 34:
N-497DoneThe last trip

The hero's letter topples onto its side at death, and stands up again if the game continues.

BuiltReaction to an event

The hero's letter topples onto its side at death, and stands up again if the game continues.
Details

Animation 34, the fall (N-36): on "You die..." the hero's letter topples onto its side, gathering speed (fall_over_seconds), and stays down; if the game asks for a command again afterwards (life saved, or wizard mode's "Die?" answered no) the hero stands up at once.

Id
codex.topple
Exact state
Built
Playtests
journey-continuity
Settings
animations.fall_over_seconds
Code
crates/nh-plays/src/hero/gesture.rs, crates/nh-moments/src/lib.rs, crates/nh-moments/src/death.rs
N-36Done6 | Animation 34:
N-3DoneNotable moments beyond those built:

Accepted pictures and playtests

Playtests: journey-continuity

Planned and proposed

In progress As the hero topples the camera turns to a three-quarter view, and a new level turns the map a page.

Left to do: The minimap turning a page on a new level, which the director set aside.

In progress The world lies down onto the map it is made from, wall onto letter, and stands up out of it.

Asked for in these words: “Danny, 2026-11-14 (D-99): "Would you like to send a Fable agent out in a single fleet thread to build the first iteration and near final draft of what the projection mode would look like when complete?"”

Left to do: The director keeps or drops each move from its films. Magic mapping's beat in the world and the ending are not built.

Idea A body or a thing that crumbles to dust falls as dust to a pile.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-513): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

In progress A thing's motion as steps on the parts of its pose, with landmarks another play can start at.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-512, X-341): "I really want us to discern these from first principles so they're useful for the whole backlog's animation needs."”

Left to do: A step that names a piece of a thing, such as a door's handle or a kicking hero's lower half.

Details for builders

Id: death. Lexicon subjects: moment.death, moment.life_saved, chrome.tombstone, voice.epitaph.

Design notes from NetHack

'You die...', --More--, the disclosure questions, then the tombstone with the cause of death, and the high-score list.

'But wait...', 'Your medallion begins to glow!', 'You feel much better!', 'The medallion crumbles to dust!'; HP back to maximum.

An ASCII headstone reading 'REST IN PEACE' over the name, gold, cause of death and year, with grass and asterisks at its base.

Epitaphs, many of them jokes, read from headstones ("Note -- there are NO valuable items in this grave").

Backlog rows

N-267Built, not reviewedThe death witness pose and the map's page turn
N-36Done6 | Animation 34:
N-497DoneThe last trip
N-3DoneNotable moments beyond those built:
N-499DoneThe projection, built: depth's dial and three thresholds
N-233To doThe minimap as the projection point
N-513To doBodies and things crumble to dust
X-341Built, not reviewedA thing's phrase and its landmarks