Difference between revisions of "Wizard mode"

From CrawlWiki
Jump to: navigation, search
m (1 revision: crawl)
m
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Wizard mode''' is a way for players to create a character and modify it freely.  The player can modify the race, experience level, skill levels, and items of the character.  They can add money, monsters, portals, shops, and stairs to levels.  In this mode the player can go down to zero health, and then if the player chooses to, have their health returned to maximum.
+
{{version030}}
 +
'''Wizard mode''' ('''wizmode''') is ''Crawl<nowiki>'</nowiki>''s debug mode. It allows the player to create a character, modify it freely, avoid [[death]], and test all sorts of situations.  
  
Wizmode is invaluable for researching [[item]]s, [[monsters]], [[species]], [[background]]s, [[god]]s, [[branch]]es, [[vault]]s, and general [[:Category:Game mechanics|game mechanics]]. Performing experiments in wizmode is an excellent way to contribute to [[CrawlWiki|this wiki]] &ndash; please edit our pages and add what you have learned!
+
Wizmode is invaluable for researching [[item]]s, [[monsters]], [[species]], [[background]]s, [[god]]s, [[branch]]es, [[vault]]s, and general [[:Category:Game mechanics|game mechanics]]. Performing experiments in wizmode is an excellent way to contribute to [[Crawl Wiki|this wiki]] &ndash; please edit our pages with what you have learned!
  
==Entering wizard mode==
+
==Entering Wizmode==
When you enter wizmode, the game that you are currently in will have its score invalidated. To get to this mode, type '&' once inside of the game (past the class choosing screen).
+
You can enter wizmode by pressing '&' after creating a character. When you attempt to enter, the game warns you:
  
 
  '''WARNING: ABOUT TO ENTER WIZARD MODE!'''
 
  '''WARNING: ABOUT TO ENTER WIZARD MODE!'''
Line 10: Line 11:
 
  Do you really want to enter wizard mode?
 
  Do you really want to enter wizard mode?
  
Press 'Y' to confirm, then press '?' to list the commands.
+
Type 'yes' to confirm.
  
==Command list (0.10)==
+
Wizard mode is disabled in [[playing online|online servers]], not only for the [[cheating]] aspect, but also because it could be used to easily crash the server. In order to get access to wizmode, download an offline version of Crawl.
  
 +
==Command list==
 +
 +
To list commands, hit '''&''', then '''?'''.
 +
 +
To perform commands, type '''&''' and then the respective command key from the list below.
 
===Player stats===
 
===Player stats===
  
  '''A''' : set all skills to a level
+
  '''A''' : set all skills to level
 
  '''Ctrl-D''' : change enchantments/durations
 
  '''Ctrl-D''' : change enchantments/durations
 
  '''g''' : exercise a skill
 
  '''g''' : exercise a skill
  '''Ctrl-L''' : change experience level
+
  '''k''' : change experience level and skills
 +
'''l''' : change experience level
 +
'''Ctrl-P''' : list props
 
  '''r''' : change character's species
 
  '''r''' : change character's species
  '''s''' : gain 20000 skill points
+
  '''s''' : set skill to level
'''S''' : set skill to level
 
 
  '''x''' : gain an experience level
 
  '''x''' : gain an experience level
  '''$''' : get 1000 gold
+
  '''$''' : set gold to a specified value
  ''']''' : get a mutation
+
  ''']''' : get a mutation by name or category
 
  '''_''' : gain religion
 
  '''_''' : gain religion
 
  '''^''' : set piety to a value
 
  '''^''' : set piety to a value
 
  '''@''' : set Str Int Dex
 
  '''@''' : set Str Int Dex
  '''Z''' : gain lots of Zot Points
+
  '''#''' : load character from a dump file
 +
'''&''' : list all divine followers
 +
'''=''' : show info about skill points
 +
'''n''' : set Zot clock to a value
  
===Create level features===
+
===Create dungeon features===
  
'''l''' : make an entrance to labyrinth
 
 
  '''L''' : place a vault by name
 
  '''L''' : place a vault by name
'''p''': make entrance to pandemonium
 
'''P''' : make a portal
 
 
  '''T''' : make a trap
 
  '''T''' : make a trap
  '''<''' / '''>''' : create up/down staircase
+
  ''',''' / '''.''' : create up/down staircase
 
  '''(''' : turn cell into feature
 
  '''(''' : turn cell into feature
 
  '''\''' : make a shop
 
  '''\''' : make a shop
 +
'''Ctrl-K''' : mark all vaults as unused
 +
 +
===Other level related commands===
 +
 +
'''Ctrl-A''' : generate new Abyss area
 +
'''b''' : controlled blink
 +
'''B''' : controlled teleport
 +
'''Ctrl-B''' : banish yourself to the Abyss
 +
'''R''' / '''ctrl-R''' : regenerate current level
 +
'''Ctrl-S''' : change Abyss speed
 +
'''u''' / '''d''' : shift player up/down one level
 +
'''~''' : go to a specific branch and level
 +
''':''' : find branches and overflow temples in the dungeon
 +
''';''' : list known levels and counters
 +
'''{''' : magic mapping
 +
'''}''' : detect all traps on level
 +
'''Ctrl-W''' : change Shoals' tide speed
 +
'''Ctrl-E''' : dump level builder information
 +
'''P''' : create a level based on a vault
  
 
===Other player related effects===
 
===Other player related effects===
  
 
  '''c''' : card effect
 
  '''c''' : card effect
  '''h/H''' : heal yourself (super-Heal)
+
  '''h''' / '''H''' : heal yourself (super-Heal)
'''Ctrl-H''' : set hunger rate
 
 
  '''X''' : make Xom do something now
 
  '''X''' : make Xom do something now
 
  '''z''' : cast spell by number/name
 
  '''z''' : cast spell by number/name
 +
'''!''' : memorise spell
 
  '''W''' : god wrath
 
  '''W''' : god wrath
 
  '''w''' : god mollification
 
  '''w''' : god mollification
  '''Ctrl-V''' : toggle xray vision
+
  '''p''' : polymorph into a form
 +
'''V''' : toggle xray vision
 +
'''E''' : (un)freeze time
  
 
===Monster related commands===
 
===Monster related commands===
  
 +
'''m''' / '''M''' : create specified monster by number/name
 
  '''D''' : detect all monsters
 
  '''D''' : detect all monsters
 
  '''G''' : dismiss all monsters
 
  '''G''' : dismiss all monsters
'''m/M''' : create monster by number/name
 
 
  '''"''' : list monsters
 
  '''"''' : list monsters
  
Line 63: Line 91:
  
 
  '''a''' : acquirement
 
  '''a''' : acquirement
  '''C''' : (un)curse item
+
  '''i''' / '''I''' : identify/unidentify inventory
  '''i/I''' : identify/unidentify inventory
+
  '''y''' / '''Y''' : identify/unidentify item types and properties
 
  '''o''' / '''%''' : create an object
 
  '''o''' / '''%''' : create an object
 
  '''t''' : tweak object properties
 
  '''t''' : tweak object properties
  '''v''' : show gold value of an item
+
  '''v''' : recharge all XP evokers
 +
'''Ctrl-V''' : show gold value of an item
 
  '''-''' : get a god gift
 
  '''-''' : get a god gift
  '''|''' : create all [[unrand|predefined]] artefacts
+
  '''|''' : create all [[unrand]] artefacts
 
  '''+''' : make randart from item
 
  '''+''' : make randart from item
  <b>'</b> : list items
+
  <b>'</b> : list items (current floor)
  '''J''' : Jiyva off-level sacrifice  
+
  '''J''' : Jiyva off-level sacrifice
 
 
===Other level related commands===
 
 
 
'''Ctrl-A''' : generate new abyss area
 
'''b''' : controlled blink
 
'''Ctrl-B''' : controlled teleport
 
'''B''' : banish yourself to the Abyss
 
'''k''' : shift section of a labyrinth
 
'''R''' : change monster spawn rate
 
'''Ctrl-S''' : change Abyss speed
 
'''u''' / '''d''' : shift up/down one level
 
'''~''' : go to a specific level
 
''':''' : find branches and overflow temples in the dungeon
 
''';''' : list known levels and counters
 
'''{''' : magic mapping
 
'''}''' : detect all traps on level
 
''')''' : change Shoals' tide speed
 
'''Ctrl-E''' : dump level builder information
 
'''Ctrl-R''' : regenerate current level
 
  
 
===Debugging commands===
 
===Debugging commands===
  
  '''f''' : player combat damage stats
+
  '''f''' : quick fight simulation (fsim)
  '''F''' : combat stats with fsim_kit
+
  '''F''' : single scale fsim
  '''Ctrl-F''' : combat stats (monster vs PC)
+
  '''Ctrl-F''' : double scale fsim
 
  '''Ctrl-I''' : item generation stats
 
  '''Ctrl-I''' : item generation stats
 
  '''O''' : measure exploration time
 
  '''O''' : measure exploration time
  '''Ctrl-T''' : enter in-game Lua interpreter
+
  '''Ctrl-T''' : enter in-game dungeon (d)Lua interpreter
 +
'''Ctrl-U''' : enter in-game client (c)Lua interpreter
 +
'''Ctrl-Y''' : temporarialy suppress wizmode
 
  '''Ctrl-X''' : Xom effect status
 
  '''Ctrl-X''' : Xom effect status
 +
'''Ctrl-C''' : force a crash
  
 
===Other wizard commands===
 
===Other wizard commands===
(not prefixed with '''&'''!)
+
 
 +
(not prefixed with '''&''')
 
  '''x?''' : list targeted commands
 
  '''x?''' : list targeted commands
 
  '''X?''' : list map-mode commands
 
  '''X?''' : list map-mode commands
 +
 +
====Wizard targeting commands====
 +
 +
After hitting '''x'''.
 +
 +
'''Ctrl-C''' : cycle through beam paths
 +
'''D''' : get debugging information about the monster
 +
'''o''' : give item to monster
 +
'''F''' : cycle monster friendly/peaceful/neutral/hostile
 +
'''G''' : make monster gain XP
 +
'''Ctrl-H''' : heal the monster to full hit points
 +
'''P''' : apply divine blessing to monster
 +
'''m''' : move monster or player
 +
'''M''' : cause spell miscast for monster or player
 +
'''s''' : force monster to shout or speak
 +
'''S''' : make monster a summoned monster
 +
'''w''' : calculate shortest path to any point on the map
 +
'''"''' : get debugging information about a portal
 +
'''~''' : polymorph monster to specific type
 +
''',''' : bring down the monster to 1 HP
 +
'''(''' : place a mimic
 +
'''Ctrl-B''' : banish monster
 +
'''Ctrl-K''' : kill monster
 +
 +
====Wizard (map-mode) commands====
 +
 +
After hitting '''X'''.
 +
 +
'''T''' : Teleport to cursor.
 +
 +
==Strategy==
 +
You obviously can't go into wizmode if you want your game to be [[scoring|scored]]. However, ''Crawl'' is an offline game, you're free to do what you want. There's nothing stopping you from, say, grabbing the [[Axe of Woe]], setting [[Death's Door]] duration to infinity, and crushing the game.
 +
 +
Players can use wizmode to test a number of things useful in regular games, not limited to the list below:
 +
*'''f/F''' has a fight simulator, allowing you to test your weapon DPS and damage taken against any given monster (spawn enemies with '''M''').
 +
*The level of skill / intelligence required to cast a spell. Use '''A''' and '''s''' to set skills to desired points, '''@''' to set Str/Int/Dex, and '''o''' to create any desired armour.
 +
*Create a [[vault]], to see it in-game.
 +
*Details on how a given mechanic works.
  
 
[[Category:Crawl]]
 
[[Category:Crawl]]

Latest revision as of 00:12, 15 October 2023

Version 0.30: This article may not be up to date for the latest stable release of Crawl.

Wizard mode (wizmode) is Crawl's debug mode. It allows the player to create a character, modify it freely, avoid death, and test all sorts of situations.

Wizmode is invaluable for researching items, monsters, species, backgrounds, gods, branches, vaults, and general game mechanics. Performing experiments in wizmode is an excellent way to contribute to this wiki – please edit our pages with what you have learned!

Entering Wizmode

You can enter wizmode by pressing '&' after creating a character. When you attempt to enter, the game warns you:

WARNING: ABOUT TO ENTER WIZARD MODE!
If you continue, your game will not be scored!
Do you really want to enter wizard mode?

Type 'yes' to confirm.

Wizard mode is disabled in online servers, not only for the cheating aspect, but also because it could be used to easily crash the server. In order to get access to wizmode, download an offline version of Crawl.

Command list

To list commands, hit &, then ?.

To perform commands, type & and then the respective command key from the list below.

Player stats

A : set all skills to level
Ctrl-D : change enchantments/durations
g : exercise a skill
k : change experience level and skills
l : change experience level
Ctrl-P : list props
r : change character's species
s : set skill to level
x : gain an experience level
$ : set gold to a specified value
] : get a mutation by name or category
_ : gain religion
^ : set piety to a value
@ : set Str Int Dex
# : load character from a dump file
& : list all divine followers
= : show info about skill points
n : set Zot clock to a value

Create dungeon features

L : place a vault by name
T : make a trap
, / . : create up/down staircase
( : turn cell into feature
\ : make a shop
Ctrl-K : mark all vaults as unused

Other level related commands

Ctrl-A : generate new Abyss area
b : controlled blink
B : controlled teleport
Ctrl-B : banish yourself to the Abyss
R / ctrl-R : regenerate current level
Ctrl-S : change Abyss speed
u / d : shift player up/down one level
~ : go to a specific branch and level
: : find branches and overflow temples in the dungeon
; : list known levels and counters
{ : magic mapping
} : detect all traps on level
Ctrl-W : change Shoals' tide speed
Ctrl-E : dump level builder information
P : create a level based on a vault

Other player related effects

c : card effect
h / H : heal yourself (super-Heal)
X : make Xom do something now
z : cast spell by number/name
! : memorise spell
W : god wrath
w : god mollification
p : polymorph into a form
V : toggle xray vision
E : (un)freeze time

Monster related commands

m / M : create specified monster by number/name
D : detect all monsters
G : dismiss all monsters
" : list monsters

Item related commands

a : acquirement
i / I : identify/unidentify inventory
y / Y : identify/unidentify item types and properties
o / % : create an object
t : tweak object properties
v : recharge all XP evokers
Ctrl-V : show gold value of an item
- : get a god gift
| : create all unrand artefacts
+ : make randart from item
' : list items (current floor)
J : Jiyva off-level sacrifice

Debugging commands

f : quick fight simulation (fsim)
F : single scale fsim
Ctrl-F : double scale fsim
Ctrl-I : item generation stats
O : measure exploration time
Ctrl-T : enter in-game dungeon (d)Lua interpreter
Ctrl-U : enter in-game client (c)Lua interpreter
Ctrl-Y : temporarialy suppress wizmode
Ctrl-X : Xom effect status
Ctrl-C : force a crash

Other wizard commands

(not prefixed with &)

x? : list targeted commands
X? : list map-mode commands

Wizard targeting commands

After hitting x.

Ctrl-C : cycle through beam paths
D : get debugging information about the monster
o : give item to monster
F : cycle monster friendly/peaceful/neutral/hostile
G : make monster gain XP
Ctrl-H : heal the monster to full hit points
P : apply divine blessing to monster
m : move monster or player
M : cause spell miscast for monster or player
s : force monster to shout or speak
S : make monster a summoned monster
w : calculate shortest path to any point on the map
" : get debugging information about a portal
~ : polymorph monster to specific type
, : bring down the monster to 1 HP
( : place a mimic
Ctrl-B : banish monster
Ctrl-K : kill monster

Wizard (map-mode) commands

After hitting X.

T : Teleport to cursor.

Strategy

You obviously can't go into wizmode if you want your game to be scored. However, Crawl is an offline game, you're free to do what you want. There's nothing stopping you from, say, grabbing the Axe of Woe, setting Death's Door duration to infinity, and crushing the game.

Players can use wizmode to test a number of things useful in regular games, not limited to the list below:

  • f/F has a fight simulator, allowing you to test your weapon DPS and damage taken against any given monster (spawn enemies with M).
  • The level of skill / intelligence required to cast a spell. Use A and s to set skills to desired points, @ to set Str/Int/Dex, and o to create any desired armour.
  • Create a vault, to see it in-game.
  • Details on how a given mechanic works.