diff options
author | Alex MacDonald <alex@alexjmacdonald.com> | 2009-11-17 15:38:23 -0500 |
---|---|---|
committer | David Ploog <dploog@users.sourceforge.net> | 2009-11-18 00:21:21 +0100 |
commit | b9a8bf470ada7bda89d43d38ca443196c0a0d39c (patch) | |
tree | 457bbb069eb9daa56e4ea6eeee3c4e40f3c39c78 /crawl-ref/source/wiz-dgn.cc | |
parent | ed68368fe1c0ab6d048934ec94509750ba2eafb6 (diff) | |
download | crawl-ref-b9a8bf470ada7bda89d43d38ca443196c0a0d39c.tar.gz crawl-ref-b9a8bf470ada7bda89d43d38ca443196c0a0d39c.zip |
Added wizard command to reveal all traps on level ('}').
Signed-off-by: David Ploog <dploog@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/wiz-dgn.cc')
-rw-r--r-- | crawl-ref/source/wiz-dgn.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-dgn.cc b/crawl-ref/source/wiz-dgn.cc index 69f5e1ec2a..cbecfbdfd5 100644 --- a/crawl-ref/source/wiz-dgn.cc +++ b/crawl-ref/source/wiz-dgn.cc @@ -412,6 +412,12 @@ void wizard_list_branches() } } +void wizard_reveal_traps() +{ + int traps_revealed = reveal_traps(1000); + mprf("Revealed %d traps.", traps_revealed); +} + void wizard_map_level() { if (testbits(env.level_flags, LFLAG_NOT_MAPPABLE) |