the engulfing frame
Swallowed, the hero sees the engulfer drawn on the eight squares around them.
No changes builtSeen rarelyLast touched November 15, 2026: a change of its own was written or changed. Commit ab9a6ad6f.
In the terminal
The screen is cleared (cls) and only the hero and the eight squares around show: '/' '-' '\' on top, '|' at the sides, '\' '-' '/' below, in the engulfer's monster color (green in defsyms only as a placeholder). Each frame glyph is per monster species (GLYPH_SWALLOW_OFF + mnum*8 + position); hallucinating, each of the eight can be a different random monster's color ("a patchwork monster"). The frame moves with the engulfer.
Quotes from NetHack
Order: 1 2 3 4 5 6 7 8 9
3 more quotes
Display the hero surrounded by the monster's stomach.
If you don't want a patchwork monster while hallucinating, decide on a random monster in swallowed() and don't use what_mon() here.
Sprintf(buf, "interior of %s", mon_nam(u.ustuck));
In Codex
Nothing is added here. Codex draws it as the terminal shows it, in 3D.
Applies to everything on the map (2)
- Engulfed, the hero stands inside eight stone columns tinted the engulfer's color.
- Every symbol is a plain keyboard character, even when the player's symbol set draws lines.
Accepted pictures and playtests
No accepted pictures or playtests yet.
Details for builders
Id: engulf_frame. Lexicon subjects: effect.swallow.
Design notes from NetHack
The map is cleared; eight glyphs in the engulfer's color surround the hero and move with it. Tiles 120-127 (other.txt): a red fleshy lining.
