summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 8db29f022c..7b0d2197b0 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -682,6 +682,19 @@ static void handle_wizard_command( void )
static_cast<dungeon_feature_type>( atoi(specs) );
break;
+ case ')':
+ mpr("Create which feature (by name)? ", MSGCH_PROMPT);
+ get_input_line(specs, sizeof specs);
+ if (*specs)
+ {
+ const dungeon_feature_type feat = dungeon_feature_by_name(specs);
+ if (feat == DNGN_UNSEEN)
+ canned_msg(MSG_OK);
+ else
+ grd(you.pos()) = feat;
+ }
+ break;
+
case ']':
if (!debug_add_mutation())
mpr( "Failure to give mutation." );