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
Prompts for the number of objects to create and then creates that many good objects nearby.
- Create a very good object
Prompts for the number of objects to create and then creates that many very good (“excellent”) objects nearby.
- Play with an object
Lets you modify an object by randomly rerolling it as a normal, good, or excellent object or lets you edit its attributes, including quantity, ego type, presence or absence of curses, combat values, and modifiers. There’s also a statistics option to evaluate how likely worse, better, or matching objects of the same kind would be generated.
- Test kind
Will prompt for a tval, as an integer. For that tval, creates one object of each sval and drops it nearby. There is a similar option with the ‘c’ command, but this one will generate any instant artifacts associated with a tval and selects the tval by number rather than name.
Detection / Information¶
- Detect all
Detects all traps, doors, stairs, treasure, and monsters nearby.
- Magic Mapping
Maps the nearby dungeon.
- Learn about objects
Makes you “aware” of all items with level less than or equal to 100.
- 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.
- 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
Prompts for an amount, up to 9999, to add to your current experience.
- Rerate hitpoints
Rerates your hitpoints.
- Summon monster
Prompts you for the name or integer index of a monster, then summons that monster nearby.
- Summon random monster
Prompts for a number and then summons that many random monsters near you.
- Zap monsters
Prompts for a distance, up to the maximum sight range, and deletes all monsters within that distance.
- Hit all in line of sight
Hits all monster in the line of sight for a large, 10000, amount of damage.
- Create a trap
Prompts for the type of trap to create and places it on your square.
- Perform an effect
Prompts for an effect type and its parameters. Then executes that effect.
- 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.
- Collect disconnection stats
Generates several levels to collect statistics about how often all down staircases are inaccessible to the player and about how often a level has non-vault areas that are inaccessible to the player. The results are written to the message window.
- Collect pit stats
Generates several pits of the room type you specify (pit, nest, or other) and computes a histogram of the types of monsters involved. The results are written to the message window.
- Nick hack
Maps out the reachable grids (by the sound and scent algorithm) in successive distances from the player grid.
- Push objects
Pushes objects off the targeted grid as a way of excercising push_object().
- Write a map of the current level
Writes out a map of the current level as an HTML file.
- Animations demo
Displays the graphics or characters used for animating projection effects.
- Key log
Displays the recent keystrokes entered.