throwing and firing
An object in flight, breaking, or coming back.
Built1 change builtSeen on every levelLast touched November 29, 2026: a backlog row it names changed (N-517). Commit bfd1a5180.
In the terminal
"What do you want to throw? [$abc or ?*]" / f uses the quiver ("You have no ammunition readied." asks to fill it), then "In what direction?". Several at once: "You throw 2 daggers." / "You shoot 3 arrows." ("You stop throwing after the 2nd dagger."). The object's own glyph moves along the line with a pause per square, then lands (its glyph stays where it fell) or is caught: "The dagger hits the jackal." / "The dagger misses the jackal.". Up: "The dagger hits the ceiling, then falls back on top of your head." ("Fortunately, you are wearing a hard helmet."); down: it lands at your feet. Cursed missiles: "Your arrow misfires!" / "Your dagger slips as you throw it!". Levitating or on ice, the throw pushes the hero back ("You slide ..."). Into an engulfer: "The dagger vanishes into the purple worm's entrails."
Quotes from NetHack
You %s %d %s.
2 more quotes
%s %s the %s, then falls back on top of your %s.
%s!
Decisions
Of the animation ideas, the director picked 9, 10, 12, 15 and 34. The rest wait.
Codex draws itFull 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-3In Codex
A thrown or fired object flies along its squares in a spinning arc with a short trail.
BuiltTransition
Details
Animation 12 (N-34): a thrown or fired object's letter flies from each square to the next one the game draws (one delay_output pause per hop), spinning, with a short trail of shrinking copies; the first hop leaves from the hero's hand when a direction was just given. It climbs over its first squares and holds that height (where it will land is not known until it does), lingers a moment for a next square, and drops onto the square the game left it on. In the high views it leans back toward the camera and grows while it flies, as every standing letter does there (N-147, the letters' lean from `views`), so it lands in the pose it lies in. Never a boulder or an iron ball.
- Id
codex.thrown_arc- Exact state
- Built
- Settings
animations.thrown_arc_height,animations.thrown_spins_per_second,animations.thrown_trail,pace.game_pause_ms- Code
crates/nh-plays/src/flight.rs,crates/codex-client/src/draw/in_flight.rs,crates/codex-client/src/draw/flight.rs,crates/codex-client/src/draw/letters.rs,crates/nh-moments/src/track.rs
| N-34 | Done | 6 | Animation 12: |
| N-3 | Done | Notable moments beyond those built: |
| N-147 | Built, not reviewed | Thrown things lean in flight |
Accepted pictures and playtests
No accepted pictures or playtests yet.
Planned and proposed
Planned Seen from high up, a thrown thing leans toward the camera in flight as letters do.
Planned A thrown thing always leaves from the hero's hand, never from what lies beside them.
Idea A wisp or a puff rises and thins.
Asked for in these words: “Danny, 2026-11-14 (D-102, N-517): "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: throw. Lexicon subjects: moment.throw.
Design notes from NetHack
The object's own glyph moves along the line one square per pause, then stays where it lands; 'You throw 2 daggers.' when several.
'shatters into a thousand pieces' (mirror, crystal ball), 'Splat!' (eggs, melons), 'What a mess!' (cream pie); the potion's container gets a random name (bottle, phial, flagon...).
The aklys is drawn with a line of tether glyphs back to the hero; Mjollnir 'returns to your hand!'; a boomerang alternates ( and ) along a curved path.
The unicorn 'graciously', 'gratefully' or 'hesitatingly accepts your gift' (or 'is not interested in your junk'), then teleports away.
Backlog rows
| N-34 | Done | 6 | Animation 12: |
| N-3 | Done | Notable moments beyond those built: |
| N-147 | Built, not reviewed | Thrown things lean in flight |
| N-203 | To do | A thrown dagger launches a corpse beside the hero |
| N-517 | To do | Vapor and puffs |
| X-337 | Built, not reviewed | Motes drawn from one buffer |

