hallucination
Every monster and object drawn as a random one, with made-up names.
Builtneeds review10 changes builtSeen on some levelsLast touched November 28, 2026: a change of its own was written or changed. Commit bb9d4bfbb.
In the terminal
Every time a square is redrawn a seen monster is drawn as a random monster glyph (any of the 383 species, uniques and the long worm tail included; each tail segment separately), its color with it. Statues become random live monsters and objects random objects. Pets lose their mark; warning digits are random; an engulfer's frame is a patchwork of random monsters' colors. Messages and farlook name a random monster: usually a real species, sometimes one of 373 names from dat/bogusmon.txt (jumbo shrimp, killer penguin, Smokey Bear, Godzilla...).
Every redraw shows each seen monster as a random monster and each object as a random object (creature.hallucinated); statues are shown as random monsters; pets lose their mark; warning digits and the engulfer's frame are random. Messages use random monster names, colors and liquids. The map's terrain and the hero are drawn true. Status 'Hallu'.
While Hallucination is on, messages name random monsters (rndmonnam: a real species or one of 373 names in dat/bogusmon.txt), random colors (hcolor: 74 such as "ultraviolet", "bluish-orange", "dark white"), liquids (hliquid: 40 such as "yoghurt", "oobleck"), gods (halu_gname: any pantheon's deity, Moloch, or one of 14 like "the Flying Spaghetti Monster"), and pets make one of 35 silly sounds. The map's monster and object glyphs are randomized too (the creature surveyor's creature.hallucinated). "NetHack is filmed in front of an undead studio audience." greets a hallucinating hero on restore.
Quotes from NetHack
# Hallucinatory monsters
11 more quotes
jumbo shrimp
killer penguin
If you don't want a patchwork monster while hallucinating, decide on a random monster in swallowed() and don't use what_mon() here.
The sidewalks were to me one mass of living, moving, howling, and ferocious animals.
Oh wow! Everything %s so cosmic!
Everything %s SO boring now.
NetHack is filmed in front of an undead studio audience.
ultraviolet, infrared, bluish-orange, reddish-green, dark white, light black, sky blue-pink
yoghurt, oobleck, clotted blood, diluted water, purified water, instant coffee
the Flying Spaghetti Monster, Eris, the Martians, Xom, AnDoR dRaKoN, the Central Bank of Yendor
NetHack is filmed in front of an undead studio audience.
In Codex
A crystal ball's vision lies over the whole view, as its words say it, until the next key.
Builtneeds reviewReaction to an event
Details
The director, 2026-11-14 (D-101): "if someone were asked to describe it they don't really correspond to the words on the screen"; then (D-103), after the glass ball's films: "did anyone ever actually say \"crystal ball\"? Can we not take this effect and simply project it onto the field of vision with some opacity?" When a hallucinating hero gazes into a crystal ball, the vision the game prints lies over the whole view at vision_opacity, in all four views, with the room showing through: no glass, no rim, no dimming. Each has a beginning, a turn and an end. "You grok some groovy globs of incandescent lava.": molten wax flowing through the view (Dad: "big amoebas and lava lamps"; the director: "It should flow in and out of conjoining, real lava lamps don't pause in the middle"): a pool along the bottom of the view, globs necking off it on cycles of their own, stretching as they rise, rising and sinking ones passing, joining for a moment and pulling apart, never resting; wax met halfway with the first lava's light and air (the director: "I kinda want to meet the lava in the middle between the before and the after"): a clear silhouette with a soft glowing rim ("Firmer and gooier edge"), fewer and smaller globs and a low pool covering about half what the firm wax did, glowing from within, red at the edge warming to gold at its heart, never white, the room showing a little through all of it. Where the hero is a letter the globs' paths bend round its square. "Whoa! Psychedelic colors, babe!": a 1960s poster's churn across the whole view, marbling in the whole wheel that folds into rings and melts. "The crystal pulses with sinister <color> light!": the named color throbbing out three times from where the hero holds the crystal (the view's middle close by, the hero's letter from above), near nothing between the beats. "Oh wow... like a kaleidoscope!" (N-526; the director: "The kaleidoscope effect is pretty underwhelming", "all colors per a kaleidoscope", "There's still a large hole in the middle"): chips of colored glass across the whole view, every color round the wheel. Thirty-six are real, placed by the butterflies' tessellation with its own row; the lens mirrors each in six turns and their mirror images about the same middle and six centers round it, so the view is seven stars of glass that reach its corners. The three garlands turn, slide through each other, lock into one figure halfway (each chip three set one inside the other, a star through every center) and open again. "All you see is funky <color> haze.": the named color's haze drifting in at three depths until it is all you see, a little thicker than the others (halfway from vision_opacity to all of it), then thinning. "You see goldfish swimming above fluorescent rocks.": goldfish swimming across the view, each on its own path (the director: "goldfish don't swim from the same origin point"), entering from its own edge at its own time, at its own depth, size and speed, some crossing, none following another, over a deep bed of small fluorescent pebbles along the bottom of the view (the director: "like grains of sand in a jar or on a beach - interlaid, textural, no hard edges or sharp crops, fullness"), settled into each other, soft-edged, the gaps in shadow, the glow varying across the bed, its top undulating and fading into the water; light shimmering faintly through the water above. "You see tiny snowflakes spinning around a miniature farmhouse.": a small red farmhouse on a rounded mound of snow a little above the view's middle, the flakes drifting in from the edges, spinning in a slow vortex round it and drifting out. Wherever the hero is a letter (from behind, from above) it keeps enough of its own ground: the vision thins toward it over a few squares, to a fifth at the letter, so no ring or disc reads round it; vision_opacity_from_above can set the high views lower. A vision holds until the next key, up to vision_seconds; the key ends it over 0.3 s, and a newer vision comes in over the one before. The HUD stays in front, untouched. crystal_ball at 1 draws the vision inside a glass ball instead (D-101: close by the view goes into the ball; from above it hangs crystal_ball_squares across over the hero's letter). vision_opacity at 0 plays the visions in the room as before (codex.trip_words).
- Id
codex.crystal_ball- Exact state
- Built, not reviewed
- Playtests
gallery-trip-moments,replay-trip-visions- Settings
hallucination.vision_opacity,hallucination.vision_opacity_from_above,hallucination.crystal_ball,hallucination.crystal_ball_squares,hallucination.vision_seconds- Code
crates/nh-plays/src/trip/said.rs,crates/nh-plays/src/trip/step.rs,crates/nh-plays/src/trip/look.rs,crates/codex-client/src/pov/lens.rs,assets/shaders/trip.wesl
| N-507 | Done | The crystal ball's visions, as the words say them |
Hallucinating, the high views keep the cast and rings and drop most of the figure and glow.
Builtneeds reviewReaction to an event
Details
Close is awe, far is comedy (N-714; Danny, 2026-11-28, on the questions page: "Tone first: a held beat at a flat line, and far is comedy"; docs/studies/trip-tone-and-cause.md, T3). First person and the close third carry the trip's awe whole. In the director's view and the map view the figure in the stone, the stone's own light, the room's breath and the far stone's sway thin to awe_from_above of it (0.2), between by how high the view stands, so a peak from above reads as a lit stage: a small @, a cast of letters the game names as it likes, and the rings the room answers a blow or a kill with. The color in the stone (already halved from above), the named colors and patterns, the rings, the letters' breath and echo and the hero's square stay as they were. Codex tells no joke: every joke is NetHack's, in its words. Not built: the held beat at a flat line (N-5460), which waits on the deadpan lines being read as a moment.
- Id
codex.trip_far_is_comedy- Exact state
- Built, not reviewed
- Playtests
gallery-hallucination,trip-far-is-comedy- Settings
hallucination.awe_from_above- Code
crates/nh-plays/src/trip/look.rs,crates/nh-plays/src/trip.rs
| N-714 | Built, not reviewed | The trip's tone and what causes it, studied |
| N-709 | Built, not reviewed | The trip, greatly enhanced: waves, light, a figure in the stone, and the things tripping too |
While hallucinating, a moving camera blurs and its colors come apart, and the horizon tips slowly.
Builtneeds reviewReaction to an event
Details
The lens smears (N-110, N-472, Michael: "moving the camera should look all blurry and smeary with the colors separating"). While the status line shows Hallu, the picture blurs along the camera's motion and red and blue come apart along it. Half a second after the camera stops the frame is sharp. First person and the view behind see a little wider, and the horizon tips up to horizon_roll_degrees on a slow wave that grows from level. The far stone itself sways a hand's width with the breath, as one body, never round the hero (walls_move). The picture bows a little toward its corners and back with the room's breath, the view widening with it. What moves leaves a fading trail of its own light for about a third of a second (trails), as one streak along the way it went: the trails read their memory along how far the picture moved that frame (`trip::trail_shift`), so a fast-passing letter never leaves a row of copies one frame apart (X-168), and the frame's edges keep a faint red and blue fringe at rest (edge_fringe). At "You have an out of body experience." (a touch of death that does nothing to a hallucinating hero, mcastu.c:396) the view leaves the hero and comes back over 5.2 seconds (1.4 out, two held, 1.8 home), eased with no step (out_of_body, N-489d; amplified at the director's "2-5x"). From first person it swings out to the view behind at the stop just above the hero (or the player's own, if closer) and out_of_body_rise (3) squares higher, looking at the hero's own letter left standing below, then comes home, the letter fading as the eye passes through it (hero_fades_within); the arrows mean what first person means throughout (the director: "have the first person camera temporarily turn third person and view the @ symbol that gets left behind"). Close behind it rises out_of_body_rise (3) squares, looking at the hero, and a cloudy copy of the hero's letter (the letter faint inside its own blur, added as light) drifts four squares up out of them along the letter's own height, growing to two and a half times its size, its light spreading as it grows so a letter it passes over keeps 3:1, and sinks back fading (out_of_body_ghost; the director: "the third person should still see something where the camera goes - a cloudy version of the @ drifts upward too"); none in first person, where the eye is what left, nor in the map view or the wide shot. The last word still keeps the eye out of walls. None of the roll, the wider view or the rise in the map view or the director's wide shot. The message line, the status lines, menus and the small map never smear.
- Id
codex.trip_lens- Exact state
- Built, not reviewed
- Playtests
50-trip- Settings
hallucination.camera_blur,hallucination.camera_color_split,hallucination.horizon_roll_degrees,hallucination.wider_view_degrees,hallucination.edge_fringe,hallucination.trails,hallucination.out_of_body,hallucination.out_of_body_ghost,hallucination.out_of_body_rise- Code
crates/nh-plays/src/trip/step.rs,crates/nh-plays/src/trip/lens.rs,crates/nh-plays/src/shot/pose.rs,crates/codex-client/src/pov.rs,crates/codex-client/src/pov/lens.rs,assets/shaders/trip.wesl,crates/codex-client/src/pov/trails.rs,assets/shaders/trails.wesl
| N-110 | Built, not reviewed | Hallucination, the trip |
| X-168 | Built, not reviewed | Tracers as streaks, never copies |
| N-489 | Done | The visions |
While hallucinating, each letter the game rolls again melts into the next on its own square.
Builtneeds reviewReaction to an event
Details
The letters melt (N-110, N-473, the north star's "with relish"). The game draws every monster and object in view as a random one, again each turn (allmain.c). Where the terminal's letters blink to new ones, each old letter swells a little and thins, its color spreading like a drop of paint on a wet page, and the new letter gathers in its place, over letters_melt_seconds. Nothing glides across squares while Hallu shows, since nothing says which letter went where. The hero's own letter never melts; riding, the game draws the steed on the hero's square, rolled again each turn like every monster (display.h maybe_display_usteed), and that letter melts like every other while the hero stays on the square (D-89). A thrown thing is the one exception to melting (T-118): the game rolls one random object for its whole flight (dothrow.c:1448), so its letter leaving one square of the aimed line for the next flies as one object, spinning with its trail, as it does sober, instead of melting away and in at every square. After the trip, an object out of sight keeps the random letter it was last seen with (display.c:1094) and turns into what it is when seen again, in place: that change never glides, so nothing flies where nothing moved (T-118). Nothing marks a pet or a statue. While the trip is on, every standing letter's ink outline stands solid (letters_ink, X-165), and a light letter's grows from 3 to 5 pixels of the atlas's 64 (ink::TRIP_WIDTH_PX, one amount for every letter: the stone's color at a square is the shader's, not known where the letter is drawn), so a letter on a body of color of its own hue still stands apart from it on its own edge, the stone round it left alone (N-522; the pool and then the bloom on the stone, D-89 and D-93, are gone). Nothing else is done to a letter in a trip: the color printed off its ink line, filmed, was dropped (D-106; the director: "Thicker edges are good."). The things trip too (N-709, D-163): while Hallu shows, the letters of monsters and things swell and sink a twentieth of their size on a slow breath that runs across the room (letters_breathe), each out of step with its neighbor and none jumping as it glides, deeper at a wave's peak (codex.trip_waves); and at a peak each letter the game rolls again is thrown as an echo (letters_echo): the melt's own thinning copy swells to twice its size and takes four times as long to go, while the new letter gathers at its own pace, so there is a letter to read at once. The hero's own @ never breathes and never echoes. Size only: no letter leaves its square, turns or changes color.
- Id
codex.trip_melt- Exact state
- Built, not reviewed
- Playtests
50-trip,51-trip-wave- Settings
hallucination.letters_melt_seconds,hallucination.letters_ink,hallucination.letters_breathe,hallucination.letters_echo- Code
crates/nh-moments/src/trip.rs,crates/nh-moments/src/lib.rs,crates/nh-plays/src/flight.rs,crates/nh-plays/src/melt.rs,crates/nh-plays/src/underway/view/letters.rs,crates/nh-plays/src/underway/plays.rs,crates/nh-plays/src/lib.rs,crates/codex-client/src/draw/melt.rs,crates/codex-client/src/pov.rs,crates/codex-client/src/ink.rs,crates/nh-plays/src/underway/view/materials.rs,crates/codex-client/src/draw/materials.rs
| N-110 | Built, not reviewed | Hallucination, the trip |
| X-165 | Built, not reviewed | Letters stand in solid ink while the trip is on |
| T-118 | Built, not reviewed | A trip's map, checked |
| N-709 | Built, not reviewed | The trip, greatly enhanced: waves, light, a figure in the stone, and the things tripping too |
While hallucinating, a few soft points of the trip's light drift where the game describes them.
Builtneeds reviewReaction to an event
Details
Soft points of light that rise, circle, swim, dance, burst from a swelling globe or fly off, in the room's hues or a named color, for seven seconds, nothing at either end. Three sights the game describes start them round the hero (N-489b), the crystal ball's two only while vision_opacity is 0 (otherwise they lie over the view, codex.crystal_ball): "You see tiny snowflakes spinning around a miniature farmhouse." turns 96 pale motes slowly round the hero, as far as three squares out, a snow globe; "You see goldfish swimming above fluorescent rocks." swims 28 warm orange motes low over the floor, as far as three squares out, while the floor and the walls glow; "You disseminate a kaleidoscopic display of floating butterflies." (an instrument played in a trip) brings a murmuration of 3024 small butterflies with beating wings, in the room's three hues, for twenty-four seconds (the director, 2026-11-13 and 14: "a convergence of thousands of butterflies in a murmuration", "from chaos to complexity", "more kaleidoscopic, like it feels like you're in one"). It is one continuous change (the director: "a continuous progression between the stages", "half circle ... then donut then tornado"). They break out of the hero as a half circle to one side, one loose body that breathes, ripples, parts and reforms as it flies round the hero; the half circle opens into a ring; the ring becomes a tessellation in place, from the hero outward, each butterfly already standing where its place in it will be: three garlands of twelve butterflies, one low, one at the eye, one overhead, and their 84 mirror images about the hero and six centers round the hero, as a three-mirror kaleidoscope would show them. The three garlands are one figure run at three harmonics, so the three colored patterns slide through each other, two of them meeting now and then, and all three falling into one figure near the end with every wing beating together. Once it is turning the pattern stands up tall, an inverted pyramid about the hero that spreads its three garlands from near the floor to just under the walls' tops (the director: "more immersive and tall ... a column of room ... an inverted pyramid shape"). Then the one figure draws into a spinning crown over the hero's head, and the crown bursts. In first person the eye goes up at once as they break out ("I'd be shocked and looking immediately up!"), further as the pattern stands up, and stays up a moment after the last has gone. How many rides on visions; none with it at 0. A sacrifice in a trip starts them, from the rim of the altar's top under the hero (in first person a square ahead of the eye, which stands in that square; the view does that, and draws the points larger far from the eye). Each ending is one body of motes with a seat each, built from what the butterflies are built from (N-511). "sprouts wings and a propeller and roars away": 96 rise into one body over the hero's head, drawn as a plane so it reads nose-first from any height: a fuselage running back from a blunt nose to a small tailplane, two wings near the nose that beat with a wave running out to their tips, and a small three-bladed propeller at the nose that spins up; it draws back, its wings level out, and it roars away nose-first eight squares along its heading, climbing, stretching into a streak. "puffs up, swelling bigger and bigger, and pops": 120 rise to the skin of a small globe over the hero's head, which swells in three puffs, each bigger, with waves running over its skin, and bursts out and up a square and a half. "collapses into a cloud of dancing particles and fades away": 432 rise into the kaleidoscope's figures about the altar, three garlands and their mirror images, which slide through each other, fall into one figure and thin away, each garland from one end to the other. One light, the trip's, for every altar; the letter on the altar is left clear below its head; none while the hero is blind.
- Id
codex.trip_motes- Exact state
- Built, not reviewed
- Playtests
50-trip,replay-trip-visions,gallery-trip-moments- Settings
hallucination.visions,hallucination.sacrifice_in_light,hallucination.butterflies_largest_on_screen- Code
crates/nh-plays/src/motes.rs,crates/codex-client/src/draw/letters.rs,crates/codex-client/src/draw/glow.rs,crates/codex-client/src/draw/motes.rs,assets/shaders/motes.wesl,crates/codex-client/src/pov.rs,crates/codex-client/src/draw/in_flight.rs,crates/nh-moments/src/catalog/trip/sacrifice.rs
| N-489 | Done | The visions |
| N-490 | Built, not reviewed | Sacrifices in a trip |
| X-175 | Done | Motes |
| X-274 | Built, not reviewed | Snow, goldfish and butterflies |
| X-202 | Built, not reviewed | Motes unseen in a game |
| X-337 | Built, not reviewed | Motes drawn from one buffer |
While hallucinating, a made-up name never switches a play off or shows what the words hid.
Builtneeds reviewReaction to an event
Details
Nothing new is drawn (N-494). Every recognizer that reads a name is proved against the trip's 373 made-up names (21 of them personal, with no article: "Dudley hits!", "Blork the orc bites!"), their plurals, "the poor <name>", the 21 currencies and the real ones, and gives nothing away: no pet mark, no peaceful, no alignment, no blessed or cursed (the moments carry no such field). A monster named with no article, sober ("Medusa bites!") or in a trip, and the thick-skinned hero's "kicks." are heard as hits, so the attacker's knock-back, the wash's color and the trip's ring from the hit's square play as for "The jackal bites!"; who struck is found by the square (the one monster beside the hero), never by the name. A swing ("The nymph thrusts her dagger.", printed before the to-hit roll) is no hit. A shop greeted in a trip is named a shop, but its made-up keeper is not kept in the level's memory. Lane P's trip-names replay carries the fight, the temple and the shop in a trip. No knob of its own: the names ride on the plays' own knobs.
- Id
codex.trip_names_hold- Exact state
- Built, not reviewed
- Playtests
gallery-trip-moments- Code
crates/nh-moments/src/catalog.rs,crates/nh-state/src/line.rs,crates/nh-moments/src/rooms.rs,crates/nh-moments/src/tests/trip.rs
| N-494 | Done | The names never break a play |
| X-176 | Built, not reviewed | A hit by a monster named without "The" gives no attacker |
| X-179 | Built, not reviewed | " thrusts her " reads a miss as a hit |
| X-180 | Built, not reviewed | A shop greeting heard in a trip files a made-up keeper |
While hallucinating, slow bodies of color move through the stone, never changing how light it is.
Builtneeds reviewReaction to an event
Details
The room breathes color (N-110, N-471, Dad: "the walls could pulsate colors like big amoebas and lava lamps"). While the status line shows Hallu, bodies of color about two squares across move through the stone of the walls, the floor and the ceiling, in the world and not on the screen. The color is added at equal lightness (OKLab), before lighting, so the lantern lights it and letters keep their contrast. Two hues about 130 degrees apart and a third along each body's edge. How much of the wheel they turn is linger_on_bright_hues: at 0 the whole of it, as it first did, passing through the yellow, olive and orange stretch rather than avoiding it; at 1 they sway between azure inside, magenta outside and blue-violet along the edges, where dark stone holds two or three times the color it holds in yellow, olive, green and teal (X-164). The default is 0.5 (D-89, X-218), the first number with green and olive bodies beside the blue: the palette uses the whole wheel as the design needs, and the wall is handled where it intercedes, not by shrinking the palette (D-86). A color the game names, or a sour mood, takes the room at any setting. Where the far stone is too dark to show a hue it is lifted a little, as thrown light would, instead of going muddy (color_glows), and each letter's ink stands solid on its own edge, the stone round it left alone (letters_ink, codex.trip_melt, N-522). The stone answers what happens: a broad ring of color, more than two squares wide, runs out from a kill, a blow or a door broken down and crosses the room over six seconds (room_answers, X-166; the director's 2 to 5 times); a blow the words name whose striker the map cannot tell (two beside the hero, or none seen) rings from the hero's own square, 2.7 squares wide (unseen_blow_ring 1.125, the director's choice at the integration of D-108; 3 makes it 7.2 squares, the whole room), trading all of the room's colors as it passes (unseen_blow_ring_color 1, X-397; 0.6 is a seen blow's). Every ring, the wall's and the black light's shockwave among them, passes under the letters it meets: a square that holds a letter (the hero, a monster, a thing: `nh_site::letters`) keeps the ground it would have with no ring, with a soft edge a third of a square wide, so the color flows round the letter instead of taking its ground (rings_keep_off_letters 1; X-398, D-111). The wall the hero talks to in a trip answers too, with a narrower ring (a square or so) that runs longer than a blow's and swings its hue fuller as it passes, at the stone's lightness, the guffaw's widest and longest, and whose face first holds the ring's color a beat so first person sees the wall itself answer (wall_face_holds, D-94; N-496, the director's "about 2-5x": the square the player's own direction key named at #chat's "Talk to whom?", never the map; a secret door answers as a wall does in the game, sounds.c:1342, so its ring gives nothing away; "doesn't seem to be interested." answers nothing). The color is about as much as lit stone can hold at its lightness (the director, 2026-11-10, "a heroic trip"). The bodies are about two squares across, change shape within seconds and meet with no line between them. Faint rings of hue leave the hero and small shapeless swells come and go in the far stone, nothing outlined (stone_patterns), the light on the far walls swells and sinks as if the stone breathed (walls_breathe), and the far stone itself sways a hand's width, never toward another square, from above too (walls_move; the director kept the wobbly outline in the map view, X-167), and the glow round bright letters grows (glow_grows). It arrives from the farthest stone inward over comes_on_seconds and drains over wears_off_seconds; a chest's gas brings the trip out from the hero's square instead, the same soft front running outward from the hero as drawn, which lets go over two seconds once the trip's own front has come in, so the gas's color reaches the farthest stone while it holds (N-487, under words_color_the_room). Weakest on the hero's square and the squares beside it, half in the map view, a third on remembered squares. The mist and the lantern's light take a little of it. Doors, stairs, altars, fountains, letters and the hero are not touched. The game never hallucinates the room (display.h); this is Codex's.
- Id
codex.trip_room- Exact state
- Built, not reviewed
- Playtests
gallery-hallucination,50-trip- Settings
hallucination.strength,hallucination.comes_on_seconds,hallucination.wears_off_seconds,hallucination.walls_color,hallucination.color_body_squares,hallucination.color_drift_speed,hallucination.calm_around_you_squares,hallucination.from_above,hallucination.lantern_tint,hallucination.stone_patterns,hallucination.walls_breathe,hallucination.glow_grows,hallucination.walls_move,hallucination.linger_on_bright_hues,hallucination.color_glows,hallucination.room_answers,hallucination.unseen_blow_ring,hallucination.unseen_blow_ring_color,hallucination.rings_keep_off_letters,hallucination.wall_face_holds- Code
crates/nh-plays/src/trip.rs,crates/nh-plays/src/trip/step.rs,crates/nh-plays/src/trip/color.rs,crates/nh-plays/src/trip/ripple.rs,crates/nh-moments/src/catalog/trip/wall.rs,crates/nh-plays/src/trip/gel.rs,crates/nh-plays/src/trip/look.rs,crates/codex-client/src/conditions.rs,crates/codex-client/src/pov.rs,crates/nh-plays/src/underway/view/materials.rs,crates/codex-client/src/draw/materials.rs,crates/codex-client/src/draw/stone.rs,assets/shaders/stone_trip.wesl,assets/shaders/stone.wesl,assets/shaders/stone_light.wesl,assets/shaders/stone_prepass.wesl,assets/shaders/mist.wesl,crates/nh-moments/src/trip.rs
| N-110 | Built, not reviewed | Hallucination, the trip |
| X-163 | Built, not reviewed | The trip, seen as the family would |
| X-164 | Built, not reviewed | The color lingers on what dark stone shows brightly, and glows where it can't |
| X-166 | Built, not reviewed | The room answers what happens |
| X-167 | Dropped | The map view keeps the room's outline |
| X-218 | Built, not reviewed | The trip's palette, the whole wheel again |
In a trip the butterflies can instead be points of light gathered into a turning structure.
Builtneeds reviewReaction to an event
Details
A bake-off for the director to pick from (N-736, 2026-11-28: "the rotating shapes and constellation of points is an interesting idea that is more DMT oriented ... refinement we can do with the little motes we've created as a primitive"). The moment is the butterflies' own and nothing else: "You disseminate a kaleidoscopic display of floating butterflies." (an instrument played in a trip, music.c:569), the same 3024 motes from the same buffer for the same twenty-four seconds, in the room's three hues. With trip_butterflies_structure at 0 they are butterflies, bit for bit as before (codex.trip_motes). From 1 to 5 each mote is a plain soft point instead: the points break out of the hero as the butterflies do, drift round the hero as a loose cloud, and each takes its seat in its own time, so a line draws itself from one end; the figure turns slowly; and the points go out in the same order near the end. 1, the field: two poles stand 2.3 squares either side of the hero, and 84 dotted lines run from one to the other as arcs of circles through both, flat ones near the axis and wide ones out to the sides and up under the walls' tops, each line one hue, the points running along it and thinning to nothing at the poles; the whole turns about the hero. 2, the solids: twelve cubes, each with an octahedron inside it, drawn in points along their edges, six small and near in one ring and six larger, further and higher in another, each turning about its own axis with its octahedron turning the other way, the two rings going round opposite ways. 3, the rosettes: one spirograph's rosette of ten looped lobes lying overhead about the hero, and twelve small ones standing upright round the hero, facing the hero, turning alternately each way as wheels that mesh. 4, the rings: nine rings one inside another about the hero, which gather as one level disc, tilt apart about lines that turn at different rates into a sphere of rings, and lie down again. 5, the constellation: the field with fewer lines, a turning solid at each pole where the lines thin away, and three level rings low on the floor about it. In every one the hero's column is kept clear by a square (no seat stands nearer, and no point shows within 0.7 of a square of it), nothing stands over the walls' tops or under the floor, and nothing shows at either end of the play. How many points rides on visions, as the butterflies do; none while the hero is blind. Not built, with a row: strings of glyphs riding along the lines (N-5530: letters in the room that the game did not put there).
- Id
codex.trip_structure- Exact state
- Built, not reviewed
- Playtests
butterflies-structure- Settings
animations.trip_butterflies_structure- Code
crates/nh-plays/src/motes/structure.rs,crates/nh-plays/src/motes.rs,crates/codex-client/src/draw/motes.rs
| N-736 | Done | The trip's motes organized into structure, a bake-off |
| X-337 | Built, not reviewed | Motes drawn from one buffer |
While hallucinating, the trip peaks about once a minute, the stone glowing with a figure in it.
Builtneeds reviewReaction to an event
Details
The trip comes in waves (N-709, D-163; Danny, 2026-11-24: "Can you greatly enhance the hallucination/trip visualizations?", and all four of the directions offered). A potion lasts five to fifteen minutes of play (potion.c:704), and the room was the same at minute ten as at second ten. Now, while the status line shows Hallu, a wave begins twelve seconds in and then about every minute, no two rests alike (wave_every_seconds, wave_seconds): it rises over a third of its length, holds a third and lets go over the rest. At a peak the color is fuller by six tenths, the room breathes and its far stone sways nearly twice as deep, the close views see five degrees wider so the far walls draw away, and the letters' auras stand half as wide again. A wave is placed by how long the color has drifted and by nothing else, never by the turns the game has left to the trip, which the game does not show: it tells the player nothing. Light, not dye (light_from_within): the stone gives off its color as light of its own, about a third of it between waves and all of it at a peak, so the trip is luminous and the dark stone the lantern does not reach carries it too; never round the hero, less on a square that holds a letter, and never on stone the map does not know. A figure in the stone (figure_in_the_stone): at a peak the shapes the eye is said to see in a trip (Kluver's form constants) surface in the stone round the hero in the room's two colors, with no line drawn: rings that run outward and widen as a tunnel's do, leaning into a six-armed spiral, then a second spiral of the other hand crossing the first in a lattice, one figure changing and never three handing over; the rings climb the walls, so floor, wall and ceiling carry one figure, and it is the first thing to go as the wave lets go. peak_held holds the trip at a peak the whole time for a player who wants that; the gallery's picture of a peak is taken with it. Not built: a wave heard in the camera's own motion beyond the wider view; the figure from above in a narrow room reads as bands and patches more than as a figure (N-710).
- Id
codex.trip_waves- Exact state
- Built, not reviewed
- Playtests
gallery-hallucination,51-trip-wave- Settings
hallucination.waves,hallucination.wave_every_seconds,hallucination.wave_seconds,hallucination.peak_held,hallucination.light_from_within,hallucination.figure_in_the_stone- Code
crates/nh-plays/src/trip/wave.rs,crates/nh-plays/src/trip/step.rs,crates/nh-plays/src/trip/look.rs,crates/nh-plays/src/trip.rs,assets/shaders/stone_trip.wesl,assets/shaders/stone.wesl
| N-709 | Built, not reviewed | The trip, greatly enhanced: waves, light, a figure in the stone, and the things tripping too |
| N-110 | Built, not reviewed | Hallucination, the trip |
While hallucinating, the game's own words lead the trip, and a color it names takes the room.
Builtneeds reviewReaction to an event
Details
The words lead (N-110, N-474, Danny: "deeply attuned to the text being displayed"). The game's trip is mostly text. When it names one of its 74 made-up colors where it names a color ("You are surrounded by a paisley glow.", "There is a plaid flash as the dagger hits the altar."), the room takes that word for named_color_seconds (20 s; a bright word fills the color two and a half times as full). A pattern word draws its pattern in the stone, soft-edged, in the room's hues. A hue or a pigment sets the hues. A light word fills the color. An anti-color ("colorless") stops it. A tempo word speeds or stills it. A taste does nothing, which is the joke. "Oh wow, man: Fractals!" draws a Julia set in the stone round the hero for seven seconds, its bands crisp and turning (the director, 2026-11-10: "much more precise and intense"); "The floor runs like butter!" runs the color three times as fast. "Wow! Modern art.", which the game prints only for magic mapping read in a trip on a level that cannot be mapped (read.c:2115), draws bold lines of six-sided cells through the stone for three seconds, each cell crossed by a figure of its own in thinner lines (spokes, a smaller hexagon, a triangle, a six-pointed star), the lines in the room's first hue and the cells in its second, antialiased so they never crawl, with twice the trip's color and reaching into the calm round the hero so they run under the hero's feet, then lets go: the drawn lattice the trip at rest leaves out (X-154), back for one beat because here the game says lines. "Your mind is filled with crazy lines!", which the sober reader sees too, draws nothing. "The floor runs like butter!" runs the color six times as fast (three before the director's "2-5x"). The voice's ups ("Oh wow", "groovy") fill the color to as much as lit stone holds and swell its bodies nearly twice as large, and its downs ("Bummer! You've hit the ground.", "freaked out", the munchies) sigh (N-528, the director: "film the sigh"): the camera breathes out once, sinking a hand's width and tipping down a degree over 0.75 s, holds a breath and comes back over 1.5 s, eased all the way; under it the trip's motion (the color's drift, its chord and pulse, the room's breath) winds down to a tenth, like a record losing power, and picks up again with it. The color's fullness and hue are left as they are. The whole sigh in first person and close behind, a third of the sink and no tip from the director's view, nothing in the map view; the sink comes before the camera's last word on the walls, so it never enters a wall or the floor. All 37 down lines play it, the five that say the hero came down (Moment Trip::Fall) among them; with down_line "blue" they turn the colors blue instead (N-524: blue in the bodies, blue-violet round them, indigo along their edges, 238°, 266°, 252°, in over 0.75 s, held 2 s, back over 3, with the view 3° wider), the first answer, which read as a color, not as down. About 40 more of the voice's lines, up and down, do the same (N-492): up, "There's a tiger in your tank.", "This food ration is gnarly!", "The jumbo shrimp seems really chill.", "You briefly feel oriented."; down, "Bummer! You've hit the ground.", "You are getting the munchies.", "You are at Death's door. She is inviting you in.", "You hear the studio audience applaud!". The deadpan lines, whose joke is the words alone ("Batteries have not been invented yet."), move nothing. All of it rides on mood_swings. At "Everything looks SO boring now." the stone drains a little grayer than it is, then comes back. Each line is a whole message or a fixed opening from NetHack's source, and counts only while the status line shows Hallu. Since N-493 every place a player sees the game name a color is heard, 70 kinds of line: besides prayer, altars, enchanting, the sink, potions mixing, shields, also casting protection and its fading ("The air around you begins to shimmer with a paisley haze."), strangling and sliming ("You're turning plaid."), the mirror ("You look octarine."), the chaotic crowning's sword, Stormbringer, the Book of the Dead, the hands' glow spent, a cursed tin, a dipped potion (only its new color), the faucet, a monster slimed, a confused enchant, and Sting's warning ("Sting flickers plaid!"). Where the line is about the hero, the color takes the room, never the hero. No knob of its own: words_color_the_room and named_color_seconds govern them all. The ways in are heard as the game words them (N-487): "The crystal ball zaps your mind!" starts the full onset as the potion's line does, and the look a trip begins plays one swell, never two (D-86); "You are caught in a blast of kaleidoscopic light!" is heard as a sight of its own besides its onset: the black light's blast (X-289, the director: "25x"), the kaleidoscope's fold over the whole room (25 squares out, 25 times the crystal ball's area) with the whole wheel folded in it, the color running out from the hero as the trip comes on, and one bloom of light from within the stone on every surface, up in 0.8 s, held, settling over 4 s: the one moment the trip grows brighter, lighter from above; black_light_blast at 0 plays the crystal ball's kaleidoscope instead; a chest's gas starts the trip in the real color the line names (rndcolor's 16, since the hero is not yet hallucinating when it prints), coming out from the hero's square, and "colorless" no longer starts it stopped; mid-trip the same line names a made-up color, heard as any color named. Which reading is kept is decided by the look Hallu comes in, never guessed. At the director's word (2026-11-13: "drive up the others about 2-5x"), the trip's first swell brings three times the extra color an up line once brought and lasts 13.5 seconds, as long as an up line (onset_swell; X-386), and the gas fills the room with its hue at a light word's fuller color for twenty seconds instead of eight (gas_cloud_seconds): more hue, never more light. When the game says how a trip ends, it ends that way (N-488a), and the lens, the roll and the wider view drain with the color: "Looks like you are back in Kansas." (pray.c:588, the game quoting The Wizard of Oz) turns the whole picture into an old sepia photograph for about three seconds, then the plain room: the stone drains through the sepia, and in the lens everything else (the water, the letters, the prayer's light) takes the same one tone at its own brightness, the highlights pale as paper shows through, under a fine grain that stands still (a print's, not a film's), its corners softly darker as an old print's (at the photograph's fullest the very corners about 45% darker close by, kansas_corners 1.6, and about 15% from above, kansas_corners_from_above 1.25, where the corners are mostly the dark beyond the room; never the middle; D-98, D-108, X-395), in every view, the map view too (kansas_photograph; the director, 2026-11-14: "would need it done really well for it to work"); "You are shocked back to your senses!" (potion.c:1008, a potion of sickness) takes it in a quarter second, the far stone's brightness held, with no flat beat (neither prints the "boring" line). The last flare (X-193, D-87): when "Far out! Everything is all cosmic again!" (potion.c:280) or another lift of the voice comes in the look the trip ends (full healing cures the blindness first), its surge plays for half a second, the color held where it was at twice its fullness, then the trip fades, in the order printed; a down line, a sight or a color said there stays unheard. And for one second when the game says a hidden trip's vision flattens ("Your vision seems to flatten for a moment but is normal now.", potion.c:409: a trip that ran hidden under Grayswandir or gold dragon scales ran out), the stone goes all the way to a flat gray at its own brightness and the picture's depth goes a little (the camera's projection pressed toward a flat one, the frame holding still round what the camera looks at: what is farther comes forward a little, what is nearer draws in; the camera itself never moves, so it passes through no wall), for one second, then comes back, the one beat that plays with no Hallu showing (N-488b, D-86); blind, the game says "Your eyes momentarily itch." and nothing plays. words_color_the_room and named_color_seconds govern the colors; the voice and the last flare ride on mood_swings; named_endings turns the ways out; the flatten line rides on boring_moment, and view_flattens sets how far its picture's depth goes close by (0.4), view_flattens_from_above in the director's view and the map view (0.7, D-95, D-108), and between them by how high the view stands. The sights the game describes ride on visions instead (X-272), each for about seven seconds (a crystal ball's vision ten, since the director's "drive up the others about 2-5x"), then the room goes back to the trip. A crystal ball gazed into while hallucinating lays its vision over the view (codex.crystal_ball); with vision_opacity at 0 the room shows it: "You grok some groovy globs of incandescent lava." grows the bodies of color three times as wide and lifts them three squares, in incandescent reds and oranges, twice as full, coming and going over two seconds: a lava lamp, Dad's words and the game's; "Oh wow... like a kaleidoscope!" folds the bodies into six mirrored sectors round the hero, within ten squares of the hero (the ordinary trip beyond twelve); "Whoa! Psychedelic colors, babe!" draws the whole wheel at once, half as full again; "The crystal pulses with sinister plaid light!" darkens the frame from its rim almost to the middle for one slow breath while the named color takes the room; "All you see is funky plaid haze." gives the mist the named color, as saturated as it will go, at the mist's own lightness, so the unknown stays as dark as it was. "You see parts of the floor melting!" (two globs merging) runs the color as "The floor runs like butter!" does, six times as fast. With vision_opacity at 0, "You see goldfish swimming above fluorescent rocks." makes the floor's and the walls' stones glow from within in cold green and violet (never the stone round the hero, which keeps the letter's ground), warm motes swimming low above them (codex.trip_motes); "You see tiny snowflakes spinning around a miniature farmhouse." leaves the room as it is and brings pale motes turning round the hero; "You disseminate a kaleidoscopic display of floating butterflies." (an instrument played in a trip, music.c:569) folds the room as the kaleidoscope does, while thousands of butterflies break out of the hero as a half circle, which opens into a ring, which becomes a kaleidoscope's pattern round the hero, and end in a crown overhead that bursts (codex.trip_motes).
- Id
codex.trip_words- Exact state
- Built, not reviewed
- Playtests
50-trip,gallery-trip-moments,replay-trip-visions- Settings
hallucination.words_color_the_room,hallucination.named_color_seconds,hallucination.mood_swings,hallucination.down_line,hallucination.sigh_depth,hallucination.onset_swell,hallucination.gas_cloud_seconds,hallucination.view_flattens,hallucination.view_flattens_from_above,hallucination.boring_moment,hallucination.named_endings,hallucination.kansas_photograph,hallucination.kansas_corners,hallucination.kansas_corners_from_above,hallucination.visions,hallucination.black_light_blast- Code
crates/nh-moments/src/catalog/trip.rs,crates/nh-moments/src/catalog/trip/colors.rs,crates/nh-moments/src/trip.rs,crates/nh-plays/src/trip/said.rs,crates/nh-plays/src/trip/step.rs,crates/codex-client/src/pov.rs,assets/shaders/stone.wesl,crates/nh-moments/src/catalog/trip/voice.rs,crates/nh-moments/src/catalog/trip/ways.rs,crates/nh-plays/src/trip/lens.rs,assets/shaders/trip.wesl,crates/nh-moments/src/catalog/trip/sights.rs
| N-110 | Built, not reviewed | Hallucination, the trip |
| X-154 | Built, not reviewed | No drawn lattice at rest |
Applies to everything on the map (4)
- A monster is its letter, standing upright and glowing in its own color so it shows in the dark.
- The window port passes what the game chose for each glyph as the tty would show it, and no more.
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
- The map is drawn as a 3D world of walls and floors, lit by the hero's torch and a faint glow.
Accepted pictures and playtests
A change to how this looks is compared with these pictures before it is accepted.
gallery-hallucination, trip. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.gallery-trip-moments, voice. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-trip-moments, replay-trip-visions, gallery-hallucination, trip-far-is-comedy, 50-trip, 51-trip-wave, butterflies-structure
Planned and proposed
Idea A player's own form plays its idle movement while it stands.
In progress Letters seen from afar resolve into their forms up close.
Asked for in these words: “Danny, 2026-10-28 (NORTH_STAR.md, notes from the director): "Or maybe the letters are visible from afar and as the monsters come closer they step-through into focus where they are actually rendered"”
Left to do: Which letters are drawn inside themselves next is the director's choice.
In progress Blind, hallucinating, swallowed, underwater or floating, the whole screen shows it.
Left to do: Hallucinating, underwater, levitating and the deadly countdowns are still to build.
In progress A condition or a place changes the squares, the light, the plays and the camera together.
Left to do: Blindness over the whole place judged with frames, the scene's spell lights, and a second condition or a place's own look.
Idea Hallucinating, a color word is drawn in itself and each message opens with an animated initial.
Planned The trip has its own sound.
In progress Points of soft light that rise, circle, swim, dance or burst, started by what the game says.
Left to do: The butterflies are drawn from one buffer, and every other play's motes are still an entity each.
In progress When the game describes a sight, the room shows it a few seconds, lava-lamp globs or a kaleidoscope.
Asked for in these words: “Danny, 2026-11-11 (N-489): "propose ways to build in all of those"”
Left to do: The butterflies' murmuration, on the kaleidoscope's lane.
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 Once Codex has sound, each hearing the trip rewords gets its own sound, a soda fountain or dishes.
Idea In a trip, a ray streams as the thing the game names it.
Asked for in these words: “Danny, 2026-11-14 (D-102, N-520): "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.
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: hallucination. Lexicon subjects: creature.hallucinated, condition.hallucinating, voice.hallucination.
Design notes from NetHack
A random monster glyph at each redraw; bogus names from Zork, Discworld, Star Wars, Lewis Carroll, Monty Python and Dr. Who; 'Oh wow! Everything looks so cosmic!'
Messages use the words 'cosmic', 'trippy', 'far out', 'bummer', and random monster names, colors and liquids; seen monsters and objects are random at every redraw.
Impossible color words ("sky blue-pink", "light black") and 373 made-up monster names.
Backlog rows
| N-507 | Done | The crystal ball's visions, as the words say them |
| N-714 | Built, not reviewed | The trip's tone and what causes it, studied |
| N-709 | Built, not reviewed | The trip, greatly enhanced: waves, light, a figure in the stone, and the things tripping too |
| N-110 | Built, not reviewed | Hallucination, the trip |
| X-168 | Built, not reviewed | Tracers as streaks, never copies |
| N-489 | Done | The visions |
| X-165 | Built, not reviewed | Letters stand in solid ink while the trip is on |
| T-118 | Built, not reviewed | A trip's map, checked |
| N-490 | Built, not reviewed | Sacrifices in a trip |
| X-175 | Done | Motes |
| X-274 | Built, not reviewed | Snow, goldfish and butterflies |
| X-202 | Built, not reviewed | Motes unseen in a game |
| X-337 | Built, not reviewed | Motes drawn from one buffer |
| N-494 | Done | The names never break a play |
| X-176 | Built, not reviewed | A hit by a monster named without "The" gives no attacker |
| X-179 | Built, not reviewed | " thrusts her " reads a miss as a hit |
| X-180 | Built, not reviewed | A shop greeting heard in a trip files a made-up keeper |
| X-163 | Built, not reviewed | The trip, seen as the family would |
| X-164 | Built, not reviewed | The color lingers on what dark stone shows brightly, and glows where it can't |
| X-166 | Built, not reviewed | The room answers what happens |
| X-167 | Dropped | The map view keeps the room's outline |
| X-218 | Built, not reviewed | The trip's palette, the whole wheel again |
| N-736 | Done | The trip's motes organized into structure, a bake-off |
| X-154 | Built, not reviewed | No drawn lattice at rest |
| N-354 | Done | A player's form stands still |
| N-2 | Built, not reviewed | Letter↔form study and prototype (letters at distance resolve into forms up close), behind a toggle. |
| N-351 | Built, not reviewed | The next letters to draw inside themselves |
| P-4 | To do | Whole-screen conditions: |
| X-63 | Built, not reviewed | Changes to the whole drawing |
| X-340 | Built, not reviewed | A place's lanes and the picture's, out of the trip |
| N-475 | Dropped | The message line trips, legibly |
| N-477 | Dropped | The trip's sound |
| X-276 | Built, not reviewed | The lattice for three seconds |
| N-495 | Dropped | Hearings, for when sound comes |
| N-520 | Dropped | A hallucinated ray as what it is named |
| X-338 | Built, not reviewed | One front |








