the iron ball and chain
A punished hero drags a heavy iron ball on a chain.
Builtneeds review2 changes builtSeen rarelyLast touched November 15, 2026: a change of its own was written or changed. Commit ab9a6ad6f.
In the terminal
A cyan '0'. Read a cursed scroll of punishment (or offend a god) and 'You are being punished for your misbehavior!': a ball is chained to the hero's leg, '(chained to you)'; each further punishment makes it 'very heavy'. The hero drags it, carries it or throws it. A boulder symbol set to '0' shares its character.
A cyan '_' on the square between hero and ball while punished ('(attached to you)'); loose iron chains also occur. '_' is also an altar's character (feature.altar).
Quotes from NetHack
You("are being punished for your misbehavior!");
2 more quotes
Sprintf(buf, "%sheavy iron ball", (obj->owt > ocl->oc_weight) ? "very " : "");
An altar, or an iron chain.
Decisions
Things look like they feel. Boulders are stones, iron balls are iron, bars are bars.
Codex draws itFull text
Things look like they feel (director): heavy things look heavy. First: boulders are big lumpy stones (an exception to letters-as-letters), iron balls are iron, iron bars are bars.
Backlog decisions: D-18A letter for a whole class stays a letter, evolved in place. The tool box was taken back.
Letter kept, changed in placeFull text
A glyph for a whole class stays its letter, evolved in place (Dad, director, 2026-10-29). Revises D-52: a box for every ( ("including the lamp") "short-circuits the creative constraint and forces it to transmogrify too much"; keep tools "as close as possible to the default NetHack experience but tastefully incorporating new evolutions". A glyph that is one thing (a boulder) may still become that thing (D-18). tool_forms stays as a knob, off.
Backlog decisions: D-54, D-52In Codex
An iron ball is a small heavy iron sphere resting on the floor.
Built3D form
Based on the real thing: An iron ball is a heavy dark sphere the size of a head, dull metal that takes one glint.
Details
An iron ball is iron (D-18): a small heavy sphere (radius 0.22) resting on the floor, in dark metallic iron. The iron chain stays its letter (with body, metal by its cyan).
- Id
codex.iron_ball- Exact state
- Built
- Code
crates/nh-scene/src/build/occupant.rs,crates/codex-client/src/draw/world.rs
An object is its letter made solid, standing on the floor in a material chosen by its color.
Builtneeds reviewLetter
Details
Object letters with body (D-54): each object stays its terminal letter, given thickness (object_thickness of its size) with sides built from the font's own outline, resting on the floor stones and turning to face the camera, made of what its color means among NetHack's objects (objects.h: brown HI_WOOD as wood, cyan HI_METAL as metal, yellow HI_GOLD and HI_COPPER as brass, gray HI_SILVER and HI_MINERAL as stone or silver, bright cyan HI_GLASS as glass, others matte), lit by the torch like the stone and burning in its own color (object_glow 32: white-hot at the core, its color at the edges, inside a glow of its own shape blurred, object_halo 24 and object_halo_size 1.6; N-331, the director: 'I kind of liked the white-hot glow... made them special when encountered', produced on purpose after the old edge smoothing had made it by accident; N-280: color is identity in NetHack, brown mold against yellow mold, a potion's appearance, a kind of trap), its base color half the palette's so the torch only shades it; metal is told by its sheen, metallic at most 0.25, since a metallic surface has nothing to reflect in the dark and a yellow '(' drew darker than a brown one. A corpse is its '%' in the corpse's color, made of that color's material. Only class, character and color reach the client, so every object of a look is the same solid letter. object_thickness 0 gives flat upright letters instead.
- Id
codex.object_body- Exact state
- Built, not reviewed
- Playtests
gallery-forms- Settings
characters.object_thickness,characters.object_glow,characters.object_halo,characters.object_halo_size,characters.feature_glow,characters.object_size,dungeon.floor_stones- Code
crates/nh-scene/src/build/occupant.rs,crates/codex-client/src/atlas.rs,crates/codex-client/src/draw/world.rs
| N-54 | Done | A box should look like a chest |
Applies to everything on the map (2)
- 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-forms, forms. Accepted November 21, 2026. Renderer: NVIDIA GeForce GTX 1660 Super.Playtests: gallery-forms
Planned and proposed
Planned A player's own forms for the hero, objects and features, not only monsters.
Details for builders
Id: ball_chain. Lexicon subjects: object.ball, object.chain.
Design notes from NetHack
A cyan '0' chained to the hero and dragged along; each further punishment makes it 'very heavy'.
The encyclopedia quotes Marley's ghost: 'It is a ponderous chain!'
A cyan '_' on the square between the hero and the ball, moving as the hero moves.
Backlog rows
| N-54 | Done | A box should look like a chest |
| N-353 | To do | Own forms for the hero, objects and features |




