From b9a8bf470ada7bda89d43d38ca443196c0a0d39c Mon Sep 17 00:00:00 2001 From: Alex MacDonald Date: Tue, 17 Nov 2009 15:38:23 -0500 Subject: Added wizard command to reveal all traps on level ('}'). Signed-off-by: David Ploog --- crawl-ref/source/wiz-dgn.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/wiz-dgn.cc') 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) -- cgit v1.2.3-54-g00ecf