fountains and sinks
Drinking, dipping and kicking. Water gushing, the fountain drying up.
Builtneeds review2 changes builtSeen on some levelsLast touched November 29, 2026: a backlog row it names changed (N-517). Commit bfd1a5180.
In the terminal
q on a fountain asks "Drink from the fountain? [yn] (n)"; #dip asks "Dip <obj> into the fountain? [yn] (n)". The outcome is told in messages; some change the map (pools gush up, the fountain dries up into floor, a monster appears on the hero's square side, a gem or coins appear underfoot). Levitating: "You are floating high above the fountain." In Minetown the first drying is a warning: "The flow reduces to a trickle." or a watchman yells "Hey, stop using that fountain!".
q asks "Drink from the sink? [yn] (n)", #dip "Dip <obj> into the sink? [yn] (n)". Messages tell the outcome; some change the map (the sink becomes a fountain when the pipes break, or turns into a fountain, throne, altar or grave, or vanishes; a monster climbs out). Levitating: "You are floating high above the sink."
Quotes from NetHack
are floating high above the %s.
2 more quotes
Drink from the fountain?
Drink from the sink?
In Codex
The basin's water shows in light what the game says it did. A plain drink shows nothing.
Builtneeds reviewReaction to an event
Details
Kept (N-84; director, 2026-10-31: "A plain drink shouldn't stir the fountain."). The fountain is the carved basin (codex.fountain_basin, N-83); at rest nothing here plays and nothing gives off light. After the player's y to 'Drink from the fountain?' or 'Dip ... into the fountain?' on a remembered fountain, the yes itself plays nothing, and neither does a plain drink ('Your thirst is quenched.', a tasteless or refreshing draft). Only the game's words that carry news play, until the next command, in the basin's water around its column (glints lie around the column, not in it; a surge, the large bubble and a wisp rise from the column's cup; on the floor with basins off): 'The water glows for a moment.' one brighter rise; a gem, pale points of light held a moment in the water; coins far below, gold glints down in the water; 'A wisp of vapor escapes the fountain...' a wisp rises and thins; foul, contaminated or no good, the floor's light dims and grays for a moment; 'bubbles furiously... then calms' quick pulses that settle; 'A large bubble rises to the surface and pops.' one soft light rises, swells and is gone, with no ring; snakes, a water demon or a water nymph, the water surges up in a column of soft light; a gush, light runs along the floor from the fountain out to each pool new on the map, which swells as it arrives; 'Water sprays all over you.' (dipping) fine droplets of light around the hero; 'A freezing mist rises...' cold white mist around the hero; 'From the murky depths, a hand reaches up...' a pale light rising from below (light, not a hand); 'The flow reduces to a trickle.' the light thins once. Words that do not say which fountain ('The fountain dries up!', 'The fountain disappears!', 'As the hand retreats, the fountain disappears!', 'The fountain falls into a chasm.', 'Steam billows from the fountain.') play only at a fountain the map then shows as something else (floor, the cloud, a pit), and nowhere if none is; the hero's own fountain falling into the drum's chasm is cleared by the line after it, the hero's fall ('You fall into a chasm!' or 'A chasm opens up under you!', only ever said of the hero's square: nh-state makes it floor, N-191), so the drain plays under the hero with the pit's fall: dryup speaks of any fountain in sight, so a gremlin splitting in another fountain plays nothing at the hero's. Gone, the basin's water light sinks to the floor and goes out (fountain_drain_seconds). In first person the eye stands on the fountain, so what stands over the water (the halo, vapor) is not drawn from there; the floor's light shows at once, and what plays in the water (a gem's or coins' glints) only once the view looks down into it (N-83's look waits a second without a key). Light is soft radial falloff (glow.rs), vapor is that falloff over the fog of war's noise; nothing shakes; each answer eases in and out in 1.5 s or less (a liquid the game names in a trip lingers three times as long, twice as full in its own color, the director's 2 to 5 times) and nothing waits on it. Nothing plays for the level's sounds, the blind wording or while the status line says Blind, a kick (the kick plays), the wish or the watchman. In a trip, where the game names a made-up liquid in the water's place (hliquid: 'The liquid rainbow glows for a moment.', coins glistening in the slow light, a freezing mist rising from the oobleck; N-491), the whole fountain is that liquid for the length of its answer, nothing at either end and eased between (D-87): the basin, the column's cup and the jet arcing over it take its color, its glow and its gloss together, never a water-blue jet over lava; the jet stays as clear as water, a little less for a liquid that hides the stone; a thick liquid moves less on the same clock (shallower bands in the jet, fewer drops, a calmer surface), never slower. 'water' (sober, or the 1 time in 41 the trip says the real liquid) names none; nor does a plain drink, a sink (a letter, N-229), or a pool, which the game renames and never changes. Nothing tells whether a fountain is magic, looted or warned: only what the message said.
- Id
codex.fountain_answers- Exact state
- Built, not reviewed
- Playtests
journey-game,gallery-water,gallery-trip-moments- Settings
animations.fountain_light,animations.fountain_answer_seconds,animations.fountain_glint_count,animations.fountain_vapor,animations.fountain_surge,animations.fountain_drain_seconds,dungeon.floor_stones,dungeon.fountains_as_basins- Code
crates/nh-moments/src/catalog.rs,crates/nh-moments/src/fountains.rs,crates/nh-state/src/level.rs,crates/nh-plays/src/answer.rs,crates/nh-plays/src/liquid.rs,crates/codex-client/src/draw/fountain.rs,assets/shaders/basin_jet.wesl,assets/shaders/basin_liquid.wesl,crates/nh-plays/src/light.rs,crates/codex-client/src/draw/answers.rs,crates/nh-scene/src/build/terrain.rs,crates/codex-client/src/draw/glow.rs
| N-84 | Done | The fountain answers: light and water from the game's own words |
| N-83 | Done | The basin: a fountain drawn as a carved stone basin |
| N-25 | To do | "Things look like they feel" (D-18) for the rest: |
| N-491 | Done | The liquids |
A fountain is a low round basin of stone with a tiered column and dark blue water welling in it.
Builtneeds review3D form
Based on the real thing: A fountain is a knee-high round stone basin under a meter across with a few centimeters of water in it, a slender column carrying a brimming bowl, a jet rising from the bowl and its overflow falling in threads.
Details
A bright blue { is only ever a fountain, so it is drawn as one (D-18, rec.features_as_things), as the boulder is a stone: a low round basin, its rim knee-high to the @ (0.25), turned from a profile (a flared foot, a full belly, a thick rounded lip) and hewn from its level's walls' procedural stone (N-103: the Dungeons' gray, and in Minetown the Mines' brown rock, since the core draws Minetown's walls in the Mines' set, display.h In_mines; the Oracle's four in Delphi the Dungeons' gray), bulging and dipping with the caves' noise field (nh_scene::noise, at the world position, so it belongs to the stone around it) with finer chisel marks. Its lip is plain stone: the gold-mended cracks of the first take are gone (the director, 2026-10-31: kintsugi was "the ornament of it per se as an underlying texture", never "the physical reality of things with cracks in it with gold - that's not faithful to Nethack"). The basin holds dark water of NetHack's bright blue, which the warm torch turns a dusky violet-blue up close (the shader darkens the middle a little, but the torch's glint lightens it, so in the frames the rim reads darker); its sheen is soft, so the torch is a broad warm glint on it, never a blinding spot. A spring wells up in it all the time (nothing in the game starts it; D-17: the director's go-ahead covers it): a broad edgeless swell that brightens the water, spreads outward and settles, made by moving the surface's normal (never rings), each basin in its own time. When the hero is Blind the water's own faint color dims with the torch. In its middle stands a tiered fountain of the same stone (the DevTeam's fountain tile, win/share/other.txt tile 41; N-227, the director: a short column "feels like a little nubbin inside the pool rather than a proper fountain"): a slender column rising to the @'s shoulder (0.5 above the water) carrying a shallow bowl a quarter the basin's width, brimming with the same water; a jet rises from the bowl's middle (0.2) and falls back into it, and the bowl's overflow falls from its rim in thin threads into the basin inside the rim, each basin's a little different in spread and direction, the water running down them in soft bands and breaking into drops from half way (assets/shaders/basin_jet.wesl), a little translucent, lit by the torch, flowing all the time (nothing in the game starts it; the director asked for it, 2026-10-31). In first person, with the eye standing in it, the column and its water are not drawn (the hero has no body there either). Seen from close by (first person and close third), the column, its bowl and its jet also make way while they stand between the eye and a monster's letter, as walls do, so the letter the terminal shows reads whole (N-5271: Delphi's Oracle behind her basins); the basin stays. It gives off no light. Made real by the Pareto principle (N-227, director 2026-10-31): the water is glossy, so the torch is one glint on it, which small ripples running out from where the spill lands keep moving; looked straight down into it is clear, its own blue where it is deep and the wet stone showing through it in a band at the rim; seen at a slant it darkens, a mirror of the dark cave; the basin's stone is darker where it is wet, a hand's width around the water on the inner wall and the inner half of the lip (a vertex color, nothing new to bind); the spill falls in threads a third as thick as before, breaking into drops from half way down. The brace itself is not drawn: the form stands for the glyph; the minimap and the terminal view still show it. Whatever stands or lies on the fountain (the hero, a monster, an object) stands at the water line, so no part of its letter is hidden. In first person, standing in it, the view tilts down into the water after a second without a key, never while a monster the map shows is near (as near as the director comes in for), and comes back up at once on any key: walking or running across never dips the view. It never reads as a pool: a pool is a flat royal-blue tile at floor level, the basin a raised stone rim with water in it. Keyed on the feature's color, not its character (the player's own symbols may change that); the sink, a white {, and every other feature keep their letters. After the game warns that a fountain runs low ("The flow reduces to a trickle.", Minetown's warning), its jet rises only basin_jet_when_trickling of its height (0.35: a dribble over the bowl's lip), filed per level in what Codex remembers (N-222, D-127), until the fountain dries up; Codex keeps nothing in the save file, so after a save and a load it runs full again until the game warns again. Nothing tells magic or looted fountains apart, and nothing else follows from a message: when the game says the fountain is gone (codex.terrain_under) or the map shows floor, it is gone, with nothing played. Kept (N-83; director, 2026-10-31: "The carved basin is absolutely the way to go with the fountain.").
- Id
codex.fountain_basin- Exact state
- Built, not reviewed
- Playtests
gallery-water,gallery-minetown- Settings
dungeon.fountains_as_basins,dungeon.basin_height,dungeon.spring_welling,dungeon.basin_column_height,dungeon.basin_jet_height,dungeon.basin_jet_when_trickling,camera.first_person_looks_into_fountains,camera.first_person_looks_down_after_seconds- Code
crates/nh-scene/src/build/terrain.rs,crates/nh-scene/src/surface.rs,crates/nh-plays/src/underway/view/letters.rs,crates/nh-state/src/lib.rs,crates/nh-scene/src/mesh/basin.rs,crates/codex-client/src/draw/fountain.rs,assets/shaders/basin_water.wesl,assets/shaders/basin_jet.wesl,crates/codex-client/src/draw/letters.rs,crates/codex-client/src/draw/world.rs,crates/codex-client/src/draw/things.rs,crates/nh-scene/src/ground.rs,crates/nh-plays/src/hero/motion.rs,crates/nh-plays/src/shot/pose.rs,crates/codex-client/src/input.rs,crates/nh-state/src/remembered.rs,crates/nh-moments/src/remember.rs,crates/nh-scene/src/memory.rs,crates/nh-scene/src/affected.rs,crates/nh-plays/src/underway/squares.rs
| N-25 | To do | "Things look like they feel" (D-18) for the rest: |
| N-52 | Done | Caves less square |
| N-83 | Done | The basin: a fountain drawn as a carved stone basin |
| N-222 | Done | A trickle the fountain remembers |
| N-103 | Built, not reviewed | The fountain in Minetown and Delphi |
Accepted pictures and playtests
Playtests: journey-game, gallery-water, gallery-trip-moments, gallery-minetown
Planned and proposed
Planned The fountain's answers read in first person, and a dried fountain's water visibly drains away.
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."”
Details for builders
Id: fountain_moments. Lexicon subjects: moment.fountain, moment.sink.
Design notes from NetHack
The messages describe the water ('cool draught', 'foul', 'gushes forth', 'sparkling waters', 'a freezing mist'); a hand from 'the murky depths'; snakes, a water demon or a nymph.
The message describes the water ('cool draught', 'tepid', 'foul', 'contaminated', 'no good'), or 'an image of someone stalking you' that disappears.
'The water glows for a moment.' (uncursed); coins 'glistening in the water' far below, then $ underfoot; 'A strange tingling runs up your arm.'
'An endless stream of snakes pours forth!' and two to six red S appear around the hero; or 'The fountain bubbles furiously for a moment, then calms.'
'You unleash a water demon!' and a blue & appears beside the hero, hostile, unless 'Grateful for his release, he grants you a wish!'
'You attract a water nymph!' and a blue n appears beside the hero; with none left, 'A large bubble rises to the surface and pops.'
'Water gushes forth from the overflowing fountain!' and pools (blue }) appear on every other floor square within 7 of the hero.
'You spot a gem in the sparkling waters!' and a * in the gem's color appears under the hero.
'The fountain dries up!' and the { becomes floor; in Minetown a first warning, 'The flow reduces to a trickle.'
Plumbing in the messages: pipes that clank, vibrate or break; faucets that flash; muddy waste from the drain; water from very cold to scalding hot.
Water from 'very cold' to 'scalding hot'; a colored liquid from the faucet; water that 'moves as though of its own will'; 'Ew, what a stench!' (3.7: a gas cloud).
'The pipes break! Water spurts out!' and the white { becomes a bright blue { (a fountain).
'It leaves an oily film on the basin.' (oil), 'A wisp of vapor rises up...' (most potions), 'The drain seems less clogged.' (acid).
'Flupp! Muddy waste pops up from the drain.', and once per sink a ring (=) 'shining in its midst'.
One message per ring type: a glow or flash, the sink quivering or vanishing, the water flow changing, flies, static electricity; else 'bouncing down the drainpipe'.
'Klunk! The pipes vibrate noisily.'; once each, 'A black ooze gushes up from the drain!' (a black P) or 'The dish washer returns!' (an &).
Backlog rows
| N-84 | Done | The fountain answers: light and water from the game's own words |
| N-83 | Done | The basin: a fountain drawn as a carved stone basin |
| N-25 | To do | "Things look like they feel" (D-18) for the rest: |
| N-491 | Done | The liquids |
| N-52 | Done | Caves less square |
| N-222 | Done | A trickle the fountain remembers |
| N-103 | Built, not reviewed | The fountain in Minetown and Delphi |
| N-192 | To do | In first person the answers in the water don't show |
| N-193 | To do | The drain reads faintly |
| N-517 | To do | Vapor and puffs |
