the engulfing frame

Swallowed, the hero sees the engulfer drawn on the eight squares around them.

The terminal shows this in words, not as a letter.
Terminal
Not drawn yet. Codex shows the terminal's letter in 3D.
Codex

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
include/defsym.h:215, the swallow symbols' layout around the hero (5)
3 more quotes
Display the hero surrounded by the monster's stomach.
src/display.c:1355
If you don't want a patchwork monster while hallucinating, decide on a random monster in swallowed() and don't use what_mon() here.
src/display.c:2433
Sprintf(buf, "interior of %s", mon_nam(u.ustuck));
src/pager.c:706

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.