Difference between revisions of "Wizard mode"

From CrawlWiki
Jump to: navigation, search
m (Add the k command; reword)
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{version020}}
+
{{version030}}
'''Wizard mode''' (or '''wizmode''') 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 gold, 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.
+
'''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 [[Crawl Wiki|this wiki]] &ndash; please edit our pages with 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==
 
+
You can enter wizmode by pressing '&' after creating a character. When you attempt to enter, the game warns you:
When you enter wizmode, the game that you're currently in will have its score invalidated. To get to this mode, type '&' once inside the game (past the class choosing screen).
 
  
 
  '''WARNING: ABOUT TO ENTER WIZARD MODE!'''
 
  '''WARNING: ABOUT TO ENTER WIZARD MODE!'''
Line 13: Line 12:
  
 
Type 'yes' to confirm.
 
Type 'yes' to confirm.
 +
 +
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==
 
==Command list==
Line 18: Line 19:
 
To list commands, hit '''&''', then '''?'''.
 
To list commands, hit '''&''', then '''?'''.
  
 +
To perform commands, type '''&''' and then the respective command key from the list below.
 
===Player stats===
 
===Player stats===
  
Line 37: Line 39:
 
  '''&''' : list all divine followers
 
  '''&''' : list all divine followers
 
  '''=''' : show info about skill points
 
  '''=''' : show info about skill points
 +
'''n''' : set Zot clock to a value
  
===Create level features===
+
===Create dungeon features===
  
 
  '''L''' : place a vault by name
 
  '''L''' : place a vault by name
Line 53: Line 56:
 
  '''B''' : controlled teleport
 
  '''B''' : controlled teleport
 
  '''Ctrl-B''' : banish yourself to the Abyss
 
  '''Ctrl-B''' : banish yourself to the Abyss
  '''K''' : shift section of a labyrinth
+
  '''R''' / '''ctrl-R''' : regenerate current level
'''R''' : change monster spawn rate
 
 
  '''Ctrl-S''' : change Abyss speed
 
  '''Ctrl-S''' : change Abyss speed
 
  '''u''' / '''d''' : shift player up/down one level
 
  '''u''' / '''d''' : shift player up/down one level
Line 64: Line 66:
 
  '''Ctrl-W''' : change Shoals' tide speed
 
  '''Ctrl-W''' : change Shoals' tide speed
 
  '''Ctrl-E''' : dump level builder information
 
  '''Ctrl-E''' : dump level builder information
'''Ctrl-R''' : regenerate current level
 
 
  '''P''' : create a level based on a vault
 
  '''P''' : create a level based on a vault
  
Line 71: Line 72:
 
  '''c''' : card effect
 
  '''c''' : card effect
 
  '''h''' / '''H''' : heal yourself (super-Heal)
 
  '''h''' / '''H''' : heal yourself (super-Heal)
'''e''' : set hunger state
 
 
  '''X''' : make Xom do something now
 
  '''X''' : make Xom do something now
 
  '''z''' : cast spell by number/name
 
  '''z''' : cast spell by number/name
Line 91: 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
 
  '''y''' / '''Y''' : identify/unidentify item types and properties
Line 99: Line 98:
 
  '''Ctrl-V''' : show gold value of an item
 
  '''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 (current floor)
 
  <b>'</b> : list items (current floor)
Line 113: Line 112:
 
  '''Ctrl-T''' : enter in-game dungeon (d)Lua interpreter
 
  '''Ctrl-T''' : enter in-game dungeon (d)Lua interpreter
 
  '''Ctrl-U''' : enter in-game client (c)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
 
  '''Ctrl-C''' : force a crash
Line 118: Line 118:
 
===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
Line 129: Line 129:
 
  '''D''' : get debugging information about the monster
 
  '''D''' : get debugging information about the monster
 
  '''o''' : give item to monster
 
  '''o''' : give item to monster
  '''F''' : cycle monster friendly/good neutral/neutral/hostile
+
  '''F''' : cycle monster friendly/peaceful/neutral/hostile
 
  '''G''' : make monster gain XP
 
  '''G''' : make monster gain XP
 
  '''Ctrl-H''' : heal the monster to full hit points
 
  '''Ctrl-H''' : heal the monster to full hit points
Line 140: Line 140:
 
  '''"''' : get debugging information about a portal
 
  '''"''' : get debugging information about a portal
 
  '''~''' : polymorph monster to specific type
 
  '''~''' : polymorph monster to specific type
  ''',''' : bring down the monster to 1 hp
+
  ''',''' : bring down the monster to 1 HP
 
  '''(''' : place a mimic
 
  '''(''' : place a mimic
 
  '''Ctrl-B''' : banish monster
 
  '''Ctrl-B''' : banish monster
Line 150: Line 150:
  
 
  '''T''' : Teleport to cursor.
 
  '''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.