altars and sacrifice
Dropping on an altar gives a black or amber flash. Sacrificing, desecration.
Builtneeds review3 changes builtSeen on some levelsLast touched November 29, 2026: a backlog row it names changed (N-518). Commit bfd1a5180.
In the terminal
"There is an amber flash as <object> hits the altar." (blessed), "There is a black flash as ..." (cursed), or "<Object> lands on the altar." (uncursed); the object's glyph lies on the altar's square. Blind: no message at all. Hallucinating: the flash takes a random color word and the status is not learned.
"There is a <corpse> here; sacrifice it? [ynq] (n)" for each corpse on the square, then "What do you want to sacrifice? [...]" for one in the pack. Off an altar: "You are not on an altar."; confused or stunned: "You are too impaired to perform the rite." A corpse too old: "Nothing happens." Anything but a corpse or an Amulet: "Nothing happens." A consumed offering's glyph leaves the altar.
"You feel the air around you grow charged...", "Suddenly, you realize that <god> has noticed you...", "The voice of <god> booms out: "So, mortal! You dare desecrate my High Temple!"" (or "altar"), then the lightning and disintegration beam (moment.wrath.lightning). Digging down through an altar first says "The altar falls into the pit!" (the altar glyph becomes a pit).
On one's own god's altar: "The voice of <god> booms out: "How darest thou desecrate my altar!"" (Wis -1). Otherwise: "A voice (could it be <god>?) whispers:" ""Thou shalt pay, infidel!"" (deaf: "Despite your deafness, you seem to hear <god> say:"). Preceded by the act's own message: "You kick the altar." (then often "Ouch! That hurts!"), "You sit on the altar.", "You make a motion towards the altar with <stylus>.", or vomiting.
Quotes from NetHack
There is %s flash as %s %s the altar.
8 more quotes
%s %s on the altar.
Altars are of three types: 1. In Temples. These are for Sacrifices [...]. The stone top will have grooves for blood, and the whole will be covered with _dry brown stains of a troubling kind_ from former Sacrifices.
To every man upon this earth / Death cometh soon or late; / And how can man die better / Than facing fearful odds / For the ashes of his fathers / And the temples of his gods?
You are too impaired to perform the rite.
You feel the air around you grow charged...
So, mortal! You dare desecrate my %s!
How darest thou desecrate my altar!
%s %s%s:
In Codex
An object dropped on the altar flashes amber or black light on the slab's top, as the game says.
Builtneeds reviewReaction to an event
Details
When the game says there was a flash as an object the hero dropped hit the altar (do.c: amber for a blessed object, black for a cursed one, any color word while hallucinating; nothing for an uncursed one, which merely lands, and nothing while Blind), light that behaves like light (N-97, N-227, codex-animation): an amber flash is a soft sheet of warm amber light (the one gold mixed well toward orange, so it doesn't read white on a pale lawful top, N-234) on the slab's top (on the floor with slabs off) that comes up at once and settles, with a point light above the altar that warms the walls; a black flash is a darkness that pools on the top and lifts, throwing no light; a hallucinated color is a pale flash that, in a trip, takes the color the game named (N-490a, X-157), plainly (three times a pale gel's color) and two and a half times as long, as bright as it was (D-84), two-word colors ("dark white", "excitingly dull") included (X-177); a word that is no color of the game's keeps the flash its own. From nh-moments' Flash, at the hero's square (only the hero's own drop says it); nothing detected beyond the words.
- Id
codex.altar_flash- Exact state
- Built, not reviewed
- Playtests
gallery-trip-moments- Settings
animations.altar_flash,animations.altar_flash_seconds,animations.altar_flash_light- Code
crates/nh-moments/src/catalog/altar.rs,crates/nh-plays/src/flash.rs,crates/nh-plays/src/trip/gel.rs,crates/nh-plays/src/light.rs,crates/codex-client/src/draw/in_flight.rs,crates/codex-client/src/draw/letters.rs
| N-97 | Done | Altars |
A successful prayer surrounds the hero with soft gold light and drifting gold flecks.
Builtneeds reviewReaction to an event
Details
When a prayer succeeds (N-58, D-51), round 2: a soft gold light with no hard edge surrounds the hero (a halo facing the camera that slowly grows and shrinks), spreads on the floor around them, and flecks of gold drift up through it like dust in a sunbeam, glinting; a gold point light comes up on the walls and the screen's edges warm. It gathers slowly, holds and fades more slowly still (an S-curve both ways, prayer_seconds); a second blessing while it shines holds it at full. Once per look, however many kind words; the hopeful feeling and the reconciliation are the game's words after a sacrifice that shortens the prayer timeout, so the light plays then too. Round 1's trembling golden rings were removed ("Sonic the Hedgehog"). Round 3 (N-227, judged by the film): light that behaves like light, from above: the halo is a shaft over the hero's head, twice as tall as wide, the pool on the floor at their feet a third smaller, and the gold point light above their head, so its falloff on the floor and the walls is real. In a trip (N-490a, X-157) its gold takes the color the game named in the same look ("You are surrounded by a paisley glow."), as bright as it was (D-84), when it named exactly one; a second blessing while it shines takes the newest color named, as the room does, turning to it over 0.6 s and never in one frame; one that names none keeps the color it has (X-201, D-89). The trip's words for the hopeful feeling and the reconciliation ("You realize that the gods are not like you and I.", "Overall, there is a smell of fried onions.", pray.c:2073, 2081) play the same gold, and only while the status line shows Hallu.
- Id
codex.blessing- Exact state
- Built, not reviewed
- Settings
animations.prayer_light,animations.prayer_seconds,animations.prayer_glow,animations.prayer_glow_size,animations.prayer_gold_flecks,animations.prayer_light_on_walls,animations.prayer_screen_warmth,characters.monster_size,dungeon.floor_stones- Code
crates/nh-moments/src/catalog.rs,crates/nh-plays/src/blessing.rs,crates/nh-plays/src/trip/gel.rs,crates/nh-plays/src/light.rs,crates/codex-client/src/draw/in_flight.rs,crates/codex-client/src/draw/glow.rs,crates/nh-plays/src/wash.rs
| N-58 | Done | Blessed by a prayer: shimmer and light up |
A sacrifice consumed is light from above, a burst of flame or a plume of smoke, as the game says.
Builtneeds reviewReaction to an event
Details
Round 1 (N-115), to be workshopped with the director. When the game says the hero's sacrifice is consumed (pray.c consume_offering: the words follow the hero's alignment, not the altar's), the altar's flash plays longer (sacrifice_seconds, its rise and the shaft's descent in fixed fractions of a second so a long hold holds), in the form the words name. A flash of light (lawful): the amber sheet on the slab's top, a soft shaft of the blessing's gold that comes down onto the slab in half a second, and a point light high above the altar. A burst of flame (chaotic): the sheet in the engraving's flame color, a low flickering tongue of flame on the top, and sparks that rise (the blessing's flecks, faster). A plume of smoke (neutral): a dim ember glow under puffs of gray vapor that rise and spread. Nothing shakes. Nothing plays for "Your sacrifice disappears!" (blind) or the three lines a hallucinating hero sees. The god's answer after it (a hopeful feeling, reconciliation, well-pleased) is the blessing's, which plays over it.
- Id
codex.sacrifice_light- Exact state
- Built, not reviewed
- Settings
animations.sacrifice,animations.sacrifice_seconds,animations.sacrifice_light,animations.sacrifice_rising- Code
crates/nh-moments/src/catalog/altar.rs,crates/nh-plays/src/flash.rs,crates/nh-plays/src/light.rs,crates/codex-client/src/draw/in_flight.rs,crates/codex-client/src/draw/letters.rs
| N-115 | Done | Altar sacrifice lines |
Accepted pictures and playtests
Playtests: gallery-trip-moments
Planned and proposed
Planned A sacrifice in two beats under one light from above, each alignment with its own energy.
Asked for in these words: “Danny, 2026-11-01 (N-259, beauty-round-2.md brief 9, his own note): "These should be more distinctive! I didn't feel neutral or chaotic has their own energy and personality and they really should."”
In progress In a trip a sacrifice flies off on a propeller, swells and pops, or breaks into dancing motes.
Asked for in these words: “Danny, 2026-11-11 (N-490): "propose ways to build in all of those"”
Left to do: Crabgrass, the doodad and "groovy" wait for their sober plays.
Idea A cloud turns round the hero while the game says it is there.
Asked for in these words: “Danny, 2026-11-14 (D-102, N-518): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”
In progress A population of motes drawn from one buffer, moving between formations.
Asked for in these words: “Danny, 2026-11-14 (D-102, N-512, X-337): "I really want us to discern these from first principles so they're useful for the whole backlog's animation needs."”
Left to do: Only the butterflies are drawn from the buffer. The sacrifice, the sights, the blessing and the teleport still draw a part each.
Details for builders
Id: altar_moments. Lexicon subjects: moment.altar_drop, moment.sacrifice, moment.desecration, moment.altar_wrath.
Design notes from NetHack
A flash as the object hits the altar: amber (blessed), black (cursed), or none and 'lands on the altar' (uncursed).
An amber flash as the object hits the altar.
A black flash as the object hits the altar.
No flash, only '<Obj> lands on the altar.'
The offering is consumed 'in a flash of light' (lawful), 'a plume of smoke' (neutral) or 'a burst of flame' (chaotic); the corpse glyph leaves the altar.
A flash of light (lawful), a plume of smoke (neutral) or a burst of flame (chaotic). Hallucinating: wings and a propeller, swelling until it pops, or dancing particles that fade.
Messages only, with no flash or glow: '<God> seems slightly mollified.', 'You have a feeling of inadequacy.', 'You feel partially absolved.'
'You have a hopeful feeling.' when the prayer timeout shortens, 'You have a feeling of reconciliation.' when it reaches zero.
A four-leaf clover glimpsed at the hero's feet (crabgrass when hallucinating).
A weapon glyph appears under the hero, its artifact name in the message, then the god's voice: 'Use my gift wisely!'
'You sense a conflict between <god> and <god>.', then 'The altar glows white' (lawful), 'gray' (neutral) or 'black' (chaotic), the unicorns' colors by alignment.
'<God> accepts your allegiance.' and the alignment word on the status line changes; or '<God> rejects your sacrifice!' and 'Suffer, infidel!'
Blood that 'stains', 'floods' or 'covers' the altar; the altar vanishing 'in a black cloud' and turning to floor; a demon lord (&) summoned.
One question, 'So this is how you repay loyalty?', then divine wrath.
The messages name law, balance or chaos ('Such an action is an insult to law!', 'You feel appropriately lawful.').
A sound in the message: 'You hear a nearby thunderclap.' when the Amulet is fake.
A warning first, 'You feel the air around you grow charged...', then the god's voice and the lightning.
One's own god's voice booms; another god 'whispers' ('A voice (could it be <god>?) whispers:'). Wis may fall on the status line.
Backlog rows
| N-97 | Done | Altars |
| N-58 | Done | Blessed by a prayer: shimmer and light up |
| N-115 | Done | Altar sacrifice lines |
| N-259 | To do | The god's answer at sacrifice, round two |
| N-240 | Dropped | A sacrifice can't be seen from first person on the altar |
| N-241 | Dropped | The god's answer plays over the sacrifice |
| N-490 | Built, not reviewed | Sacrifices in a trip |
| N-518 | To do | A cloud round the hero |
| X-337 | Built, not reviewed | Motes drawn from one buffer |
