summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cmd-keys.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-03 21:18:27 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-03 21:34:33 +0200
commit5602fed78dac19419cc905ebeefb5dfff4680490 (patch)
treef05fa5a884c6d29f30d9b90f5aa2296604642313 /crawl-ref/source/cmd-keys.h
parenta8768fd11e36aa1b32b11bd18a890a07512fab85 (diff)
downloadcrawl-ref-5602fed78dac19419cc905ebeefb5dfff4680490.tar.gz
crawl-ref-5602fed78dac19419cc905ebeefb5dfff4680490.zip
A new command: "pick item at cursor" (xg).
It marks the item for autopickup then issues a move command. In case the move is interrupted, autoexplore will go there although unlike the initial movement, it won't necessarily go for it first if other valid items to pickup are closer. That's probably ok, you might have walked around (to kill the monster, etc) before restarting. TODO: what if autopickup is off (Ctrl-A)?
Diffstat (limited to 'crawl-ref/source/cmd-keys.h')
-rw-r--r--crawl-ref/source/cmd-keys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cmd-keys.h b/crawl-ref/source/cmd-keys.h
index fc06874183..d2414605f6 100644
--- a/crawl-ref/source/cmd-keys.h
+++ b/crawl-ref/source/cmd-keys.h
@@ -163,7 +163,7 @@
{'F', CMD_TARGET_WIZARD_MAKE_FRIENDLY},
{'P', CMD_TARGET_WIZARD_BLESS_MONSTER},
{'s', CMD_TARGET_WIZARD_MAKE_SHOUT},
-{'g', CMD_TARGET_WIZARD_GIVE_ITEM},
+{'o', CMD_TARGET_WIZARD_GIVE_ITEM},
{'m', CMD_TARGET_WIZARD_MOVE},
{'w', CMD_TARGET_WIZARD_PATHFIND},
{'G', CMD_TARGET_WIZARD_GAIN_LEVEL},
@@ -198,6 +198,7 @@
{CONTROL('L'), CMD_TARGET_TOGGLE_MLIST},
{'p', CMD_TARGET_PREV_TARGET},
{'f', CMD_TARGET_SELECT},
+{'g', CMD_TARGET_GET},
{'-', CMD_TARGET_CYCLE_BACK},
{'+', CMD_TARGET_CYCLE_FORWARD},
{'=', CMD_TARGET_CYCLE_FORWARD},