diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-12-17 12:44:24 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-12-17 13:55:30 +0100 |
commit | 4e4b1a4ba1a1d4a0b32be6f46a431413526f63f5 (patch) | |
tree | 332c8524225924a303bccd893d4849183be7259a /crawl-ref/source/items.h | |
parent | bcae4a5cc4ade008e80f65f90db1394d273211e8 (diff) | |
download | crawl-ref-4e4b1a4ba1a1d4a0b32be6f46a431413526f63f5.tar.gz crawl-ref-4e4b1a4ba1a1d4a0b32be6f46a431413526f63f5.zip |
For single items of quantity > 1 'g' now prompts for an amount.
This behaviour is already possible in Tiles (via mouseclick), so it
should also work in the console version.
If you'd like to switch 'g' and ',' use the bindkey option:
bindkey = [g] CMD_PICKUP
bindkey = [,] CMD_PICKUP_QUANTITY
For multi-item stacks, the two commands are interchangeable and work
as before.
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r-- | crawl-ref/source/items.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h index 26a419663c..315e02d426 100644 --- a/crawl-ref/source/items.h +++ b/crawl-ref/source/items.h @@ -71,7 +71,7 @@ void lose_item_stack(const coord_def& where); void item_check(bool verbose); void request_autopickup(bool do_pickup = true); -void pickup(void); +void pickup(bool partial_quantity = false); int item_name_specialness(const item_def& item); void item_list_on_square(std::vector<const item_def*>& items, |