spellbooks

The +. Each unknown book has a cover's color.

Terminal
No picture of this is on the site yet.
Codex

Builtneeds review1 change builtSeen on some levelsLast touched November 15, 2026: a change of its own was written or changed. Commit ab9a6ad6f.

In the terminal

'+' in its cover's color (14 colors). 41 cover descriptions are shuffled among the 41 spellbooks each game, color and material going with the cover; 'plain' (blank paper), 'paperback' (the novel) and 'papyrus' (the Book of the Dead) are fixed. In 3.7 a spellbook not seen up close is a gray generic '+' (the novel and the Book of the Dead excepted). Names: 'spellbook', '<cover> spellbook', 'spellbook called <name>', 'spellbook of <spell>'. Reading teaches the spell or backfires; books fade with use: 'This spellbook is too faint to be read any more.' The '+' is also a closed door's character.

Quotes from NetHack

Spellbooks are tomes of mighty magic.
doc/Guidebook.mn:3122
2 more quotes
From the forest came the monotonous tick of a beetle. His hands reached for the cover. Taran gasped in pain and snatched them away.
dat/data.base: *spellbook*, The Book of Three, by Lloyd Alexander
pline("As you read the book, it %s in your %s!", explodes, body_part(FACE));
src/spell.c:174, a cursed book's backfire: 'radiates explosive energy' (spell.c:111); others: 'a wrenching sensation', 'coated with contact poison', runes 'too much to comprehend'

Decisions

A letter for a whole class stays a letter, evolved in place. The tool box was taken back.

Letter kept, changed in place
Full 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-52

In Codex

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-54DoneA 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

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: spellbooks. Lexicon subjects: object.spellbook.

Design notes from NetHack

Covers name a material, wear or pattern (parchment, vellum, ragged, dog eared, mottled, stained, cloth, leathery, velvet, plaid, wrinkled, dusty, glittering, shining, dull, thin, thick, checkered) or a color from pink to indigo; written with a marker, a book 'warps strangely, then turns' a new color.

'This spellbook is too faint to be read any more.'; a book read too often becomes a 'plain spellbook'.

A bright blue 'paperback book'; read, a Discworld passage in a text window.

Messages: 'You turn the pages of the Book of the Dead...', cursed 'The runes appear scrambled', a missing relic 'A chill runs down your spine.', and 'You raised the dead!'

Backlog rows

N-54DoneA box should look like a chest
N-353To doOwn forms for the hero, objects and features