Debug Command Descriptions¶
- Create an object
Provides a menu to let you create any object, and drops it on the floor.
- Create an artifact
Provides a menu to let you create any artifact, and drops it on the floor.
- Create a good object
Creates a good object and places it nearby. If you provide a command- count, creates that many good items.
- Create a very good object
Creates a very good (“excellent”) object and places it nearby. If you provide a command-count, creates that many very good items.
- Play with an object
Lets you modify an object by randomly rerolling it as a normal, good, or excellent object, or lets you modify it directly, tweaking the pval and combat values.
- Test kind
Requires a command-count. For the tval given by command-count, creates one object of each sval and drops it nearby.
Detection / Information¶
- Detect all
Detects all traps, doors, stairs, treasure, and monsters nearby.
- Magic Mapping
Maps the nearby dungeon.
- Learn about objects
Requires a command-count. Makes you “aware” of all items with level less than or equal to the command-count.
- Monster recall
Gives you full monster recall on all monsters or on a chosen monster.
- Wipe recall
Resets monster recall on all monsters or on a chosen monster.
- Unhide monsters
Reveals all monsters whose distance to the character is at most 255. If given a command-count, uses that distance instead of 255.
- Wizard-light the level
Lights the entire level, as the Potion of Enlightenment.
- Create spoilers
Lets you create a spoiler file for objects or monsters.
- Teleport level
Allows you to teleport to any dungeon level instantly.
- Phase Door
Teleports you up to 10 spaces away.
Teleports you up to 100 spaces away.
- Teleport to target
Teleports you to the targeted grid (or close to it, if it is occupied).
- Cure all maladies
Removes all curses, restores all stats, xp, hp, and sp, cures all bad effects, and satisfies your hunger.
- Advance the character
Advances your character to level 50, maxes all stats, and gives you a million gold.
- Edit character
Lets you specify your base stats, xp, and gold.
- Increase experience
Doubles your current experience and adds 1. If given a command-count, increases your experience by that much instead.
- Rerate hitpoints
Rerates your hitpoints.
- Summon monster
Prompts you for the name of a monster, then summons that monster nearby. You must give the name exactly as in ‘monster.txt’. You may optionally give a command-count, in which case this command summons the monster with that number nearby instead of prompting you for a name.
- Summon random monster
Summons a random monster next to you. If given a command-count, summons that many monsters instead.
- Zap monsters
Deletes all monsters in sight. If given a command-count, deletes all monsters whose distance to the character is at most the command-count instead.
- Create a trap
Creates a random trap on your square.
- Quit without saving
Quits the game without saving (prompts first).
- Query the dungeon
Light up all the grids with a given square flag (see src/list-square-flags.h).
- Query terrain
Light up all the grids with a given terrain type (see lib/gamedata/terrain.txt).
- Collect stats
Collects stats on monsters and objects present on level generation. Requests number of runs, and whether diving or clearing levels, and outputs the results into the file ‘stats.log’ in the user directory.
- Nick hack
Maps out the reachable grids (by the sound and scent algorithm) in successive distances from the player grid.