digging

Through walls, down through the floor, up a grave.

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 on some levelsLast touched November 29, 2026: a backlog row it names changed (N-516). Commit bfd1a5180.

In the terminal

"In what direction do you want to dig? [yubn> or .]" (only diggable directions offered; < and > for up and down), then "You start digging." (chipping the statue, hitting the boulder, chopping at the door, cutting the tree), "You hit the rock with all your might.", and when through: "You succeed in cutting away some rock." (the square becomes corridor), "You make an opening in the wall." (a doorless doorway; floor in mazes), "You break through the door with your pick-axe.", "You break through a secret door!", "The boulder falls apart." (rocks), "The statue shatters.", "You cut down the tree.". Interrupted and resumed: "You continue digging.". With autodig, moving into rock digs. Undiggable: "This wall is too hard to dig." (in a shop: "This wall seems too hard to dig."); the Earth level: "The debris from your digging comes to life!" (an earth elemental or xorn), or a cave-in.

Quotes from NetHack

You hit the %s with all your might.
src/dig.c:562
4 more quotes
You succeed in cutting away some rock.
src/dig.c:485
You make an opening in the wall.
src/dig.c:501
The boulder falls apart.
src/dig.c:464
The debris from your digging comes to life!
src/dig.c:532

In Codex

Nothing is added here. Codex draws it as the terminal shows it, in 3D.

Accepted pictures and playtests

No accepted pictures or playtests yet.

Planned and proposed

Idea Digging, the hero chips at the wall and rubble falls as the square opens.

Idea Sparks or frost fly where the game says they do.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-516): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

Details for builders

Id: dig. Lexicon subjects: moment.dig.

Design notes from NetHack

'You hit the rock with all your might.' for several turns, then the square changes (corridor, a doorway, rocks from a boulder, a felled tree). Shopkeepers and the watch object.

A pit (^ under the hero), then a hole and 'You fall through...' to the next level; or 'the hole fills with water!' and a pool appears.

'You unearth a corpse.', 'The grave's owner is very upset!' (a Z), 'You've disturbed a tomb!' (an M), or 'The grave is unoccupied. Strange...'; the grave becomes a pit.

'Sparks fly as you whack the boulder.', 'Clang!' (iron bars), 'Splash!' (water or lava), 'Clash!' (the map's edge), 'You swing your pick-axe through thin air.'

A white * moves square by square along the line (8 to 25 squares) and the squares behind it become corridor or doorway; undiggable walls 'glow then fade'.

'Crash! The ceiling collapses around you!' and boulders fill the squares around the hero; or 'A mysterious force creates a cave around you!' and they open.

Backlog rows

N-516To doSparks and frost