explosions, clouds and sparkles
The 3 by 3 burst of a fireball, poison and vapor clouds, the magic shield's sparkle.
Builtneeds review1 change builtSeen on some levelsLast touched November 29, 2026: a change of its own was written or changed. Commit cb74c84c4.
In the terminal
An explosion is a 3x3 frame of / - \ | in its kind's color, held for a moment; the shield's sparkles cycle 0 # @ * in bright blue; a poison cloud is a bright green #.
In Codex
Where the game showed fire on a square, the floor keeps a soot mark while the level is remembered.
Builtneeds review3D form
Based on the real thing: Soot is the floor's own stone charred where fire touched it: a warm near-black that takes about a third of the light on the stone, darkest inside the burn and patchy as smoke settles, its rim wandering and fading to clean stone at the edge of the squares the fire was on, so a fireball's nine squares read as one burn and never more.
Details
N-733's study (docs/studies/loving-additions.md, 10), answered yes by Danny on 2026-11-28 (N-5479). Only where the terminal showed or named fire, never placed by chance: a fiery explosion's glyphs, the explosion glyphs in CLR_ORANGE (include/display.h explode_color_fiery, src/display.c:2846-2848; drawn by explode with tmp_at only where the hero can see, src/explode.c:396-398), and the hero's own fire trap, "A tower of flame erupts from the floor!" (src/trap.c:4253, dofiretrap), at the hero's square. Not a box's fire trap ("bursts from the large box!"), not a monster's ("... under the jackal!", src/trap.c:1748, which does not say the square), not a fire ray's beam (a zap glyph). NetHack's own idea that fire marks a floor: engraving by "burning your message into the floor" (engrave.c). nh-state keeps the squares per level (marks.rs, GameState::soot), nh-scene lays the plain floor of those squares only as soot (marks.rs, the Sooted ground), fading to nothing at their edge toward a square the fire was not on, so the mark never spreads past where the fire was; the darkness rides in the vertex color's alpha above 1 and the stone shader takes that share of the finished light (the stone's own color alone leaves its shine and the air's glow, most of a lit floor's light); a burst on a wall square marks nothing; an engraving, a pit, a pool's bank or a named room's laid floor keep their own ground. Codex keeps nothing in the save file, so after a save and a load the floor is clean (D-127). soot_strength 0 gives the clean floor back.
- Id
codex.soot- Exact state
- Built, not reviewed
- Playtests
gallery-soot- Settings
dungeon.soot_strength- Code
crates/nh-state/src/marks.rs,crates/nh-scene/src/marks.rs,crates/nh-scene/src/model/grounds/sooted.rs,crates/nh-knobs/src/dungeon/soot.rs,assets/shaders/stone.wesl
Applies to everything on the map (5)
- An explosion is nine glowing cubes of its color that light the walls around them.
- When the game pauses for a beam or a throw, playback pauses too, less when keys are waiting.
- Ice, clouds and a lowered drawbridge are smooth flat floor without the usual stones.
- Altars, thrones, graves, sinks and traps stay letters that stand upright on the floor.
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
Accepted pictures and playtests
Playtests: gallery-soot
Planned and proposed
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 One front, an edge moving out from a point, in fixed slots of the stone's buffer.
Asked for in these words: “Danny, 2026-11-14 (D-102, N-512, X-338): "I really want us to discern these from first principles so they're useful for the whole backlog's animation needs."”
Left to do: The trip's fronts in slots of their own, which squares a map spreading brings in, and the four slots measured on a real card.
Details for builders
Id: explosions. Lexicon subjects: effect.bursts.
Design notes from NetHack
Eight frame glyphs around a blank center, drawn all at once. Tiles 128-190 (other.txt): a burst in the type's colors, white toward the center.
Tiles 114-117 (other.txt): four sparkle frames (magenta rings, an orange spiral, a yellow starburst, a white pinwheel).
Messages: eyes sting, lungs burn, coughing. It hides monsters inside and dissipates over turns. Tile 118 (other.txt): a green cloud on light blue.
Steam where fire boils water ("You are enveloped in a cloud of steam!"); it blocks sight and dissipates.
The found thing's glyph alternates with what was shown at its square, 6 times for detection finds.
Backlog rows
| N-518 | To do | A cloud round the hero |
| X-338 | Built, not reviewed | One front |
