=== Debug Commands ===


Debug commands are entered as an "underlying command" (a single key)
plus a variety of optional or required arguments.

The debug commands are used for debugging and experimenting. The game
will not be scored if you use debug commands.

=== Command List Summary ===

 a  Autorestore                          A  Show all stats
 b  Teleport to target                   B  HP to zero
 c  Create object                        C  Create artifact
 d  Detect all                           D  Teleport to the wilderness
 e  Edit character attributes            E  Change grid's mana
 f  *IDENTIFY*                           F  Features
 g  Create good item                     G  (unused)
 h  Change life rating                   H  Hostile monster creation
 i  Identify                             I  (unused)
 j  Jump to other level                  J  (unused)
 k  Check attributes                     K  (unused)
 l  Learn about objects                  L  (unused)
 m  Magic Mapping                        M  Gain corruption
 n  Summon named monster                 N  Summon _friendly_ named monster
 o  Edit object attributes               O  (unused)
 p  Phase door                           P  Panic save
 q  Get a quest                          Q  (unused)
 r  Gain reward                          R  Create a trap
 s  Summon monster                       S  Change the feature of the map
 t  Teleport                             T  Teleport to a town
 u  Complete map                         U  Become undead
 v  Random artifact/ego item             V  (unused)
 w  Wizard light the level               W  Wish
 x  XP boost                             X  (unused)
 y  (unused)                             Y  (unused)
 z  Zap monsters                         Z  (unused)
 !  (unused)                            ^A  (unused)
 @  Increment monster level             ^B  (unused)
 #  (unused)                            ^C  (unused)
 $  (unused)                            ^D  (unused)
 %  (unused)                            ^E  (unused)
 ^  (unused)                            ^F  (unused)
 &  (unused)                            ^G  (unused)
 *  Lose special powers                 ^H  (unused)
 (  (unused)                            ^I  (unused)
 )  (unused)                            ^J  (unused)
 {  (unused)                            ^K  (unused)
 }  (unused)                            ^L  (unused)
 [  (unused)                            ^M  (unused)
 ]  (unused)                            ^N  (unused)
 -  Create object                       ^O  (unused)
 _  The path to the god dark            ^P  (unused)
 +  Gain a fate                         ^Q  (unused)
 =  Align monster                       ^R  (unused)
 ;  (unused)                            ^S  (unused)
 :  (unused)                            ^T  (unused)
 '  (unused)                            ^U  (unused)
 "  Create spoiler                      ^V  (unused)
 ,  (unused)                            ^W  (unused)
 <  (unused)                            ^X  (unused)
 .  (unused)                            ^Y  (unused)
 >  Lua script                          ^Z  (unused)
 \  (unused)                             |  (unused)
 `  (unused)                             ~  (unused)
 /  Summon monster                       ?  Help
                                        ^\  (unused)

===  Command Descriptions ===

        The following command descriptions are listed as the command name
plus the "underlying command" key. Then comes a brief description of the
command. Some commands use the "repeat count" to automatically repeat the
command several times, while others use the "repeat count" as an "argument",
for example, commands which need a "quantity" will use the "repeat count"
instead of asking for a quantity, allowing the use of "0d" for "drop all".
Commands which ask for a quantity will convert any "letters" into the
maximal legal value.
---  General Commands ---
Autorestore (a)
        Restores all your stats.  This includes HP, SP, hunger, lost levels, etc.
Show all stats (A)
        This brings up the Character status menu, where you can view
        all the stats about your character.
Teleport to target (b)
        You first need to have a monster targeted, then you can use
        this command to teleport next to the monster.
HP to zero (B)
        Bring your health down to zero.
Create object (c)
        Allows you to select and create a new object where you stand.
        This brings up a menu where you can choose what type of object
        you want created.
Create artifact (C)
        Allows you to select and create a new artifact where you stand.
        Use the "Command count", aka 0, to specify a number from
        a_info.txt to put it on the ground where you are standing.
        For example : 03^AC will create the Arkenstone of Thrane (+3)
Detect all (d)
        Sense ways out/monsters/objects/traps.
Teleport to the wilderness (D)
        From a dungeon this will teleport you to the wilderness level
        and if used in the wilderness it acts like teleport.
Edit character attributes (e)
        Edit character attributes including Str, Int, Dex, experience, gold, luck, etc.
Change grid's mana (E)
        Alter how much mana a grid has.
        Use the "Command count", aka 0, to specify the amount of mana
        that you want.
*IDENTIFY* (f)
        Like a Scroll of *Identify*.
Features (F)
        Use the "Command count", aka 0, to specify a number from
        f_info.txt to put a feature on the ground where you are
        standing.
Create good item (g)
        Create a random good item where you stand.
Change life rating (h)
        Change your life rating.
Hostile monster creation (H)
        Summons a Pack of Creatures of the same kind. Will only work
        if MONSTER_HORDES has been defined at compile time.
Identify (i)
        Like a Scroll of Identify.
Jump to other level (j)
        Jump to other dungeon level. This does not work in the
        wilderness as it is treated as all one level.
Check attributes (k)
        Displays your characters attributes.
Learn about objects (l)
        Make you know about all objects. Not sure how this works.
Magic Mapping (m)
        Like a Scroll of Magic mapping.
Gain corruption (M)
        Allows your character to gain a corruption.
Summon named monster (n)
        Summon a monster that will appear next to you.
        Use the "Command count", aka 0, to specify a number from
        r_info.txt to summon a monster.
Summon _friendly_ named monster (N)
        The same as n but the creature will be your pet. Try this
        with number 861, Darkgod is now your pet.
Edit object attributes (o)
        Allows you to alter the attributes of any object that you
        have in your backpack.
Phase door (p)
        Like a Scroll of Phase Door.
Panic save (P)
        Save and quit the game, which is the same as doing a ^X.
Get a quest (q)
        Get a quest.
        Use the "Command count", aka 0, to specify a number from
        1 to 25, as defined in defines.h ( the QUEST_XXX items ).
        For example : 04^Aq will get you the thieves quest.
Gain reward (r)
        Some high being grants you a reward.
Create a trap (R)
        Use the "Command count", aka 0, to specify a number from
        tr_info.txt to put a trap on the ground where you are
        standing.
Summon monster (s)
        Summon a random monster, next to where you stand.
Change the feature of the map (S)
        This allows you to change the "special" field of the current
        grid. This special field is used to store things like quest
        ids, dungeon entries, and so on, not to be used unless
        one knows what it's doing.
Teleport (t)
        Like a Scroll of Teleport.
Teleport to a town (T)
        Teleports you to a specific town.
        Use the "Command count", aka 0, to specify a number from
        wf_info.txt for where you want to go.
        standing.
        For example : 02^AT will teleport you to Gondolin
Complete map (u)
        Displays the complete map of the dungeon.
Become undead (U)
        This is supposed to make you undead (as in the Necromantic power).
Random artifact/ego item (v)
        Create a random artifact/ego item where you stand.
Wizard light the level (w)
        Looks like the same as u.
Wish (W)
        Makes all your wishes come true.

        Read the wishing spoiler to see how these work.
XP boost (x)
        Use the "Command count", aka 0, to specify the increment,
        if you do not specify a parameter it doubles your XP,
        otherwise it increments by the specified amount.
Zap monsters (z)
        All monsters in sight range vanish like Mass Genocide, only with no
        HP price.
Increment monster level (@)
        Level up a monster.
Lose special powers (*)
        Returns your powers to a normal level.
Create object (-)
        Allows you to create a new object where you stand. You must
        specify an object number from k_info.txt.
The path to the god dark (_)
        Do not use this as it is used by DarkGod as a test for Lua
        and will CRASH the game. You have been warned.
Gain a fate (+)
        Unearth more of your prophecy.
Align monster (=)
        Use the "Command count", aka 0, to specify one of the following
        alignment types:
            0 monster becomes enemy
            1 monster becomes neutral
            2 monster becomes friendly
            3 monster becomes pet
            4 monster becomes companion
        You then point at an enemy and press space.
Create spoiler (")
        Brings up a menu that allows you to create a spoiler file.
Lua script (>)
        Allows you to run a Lua script.
Summon monster (/)
        Summons a random monster next to you.
Help (?)
        Displays the main help file.