summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/options.h
diff options
context:
space:
mode:
authorCedor <cedordark@yahoo.fr>2014-01-08 22:19:59 +0100
committerNeil Moore <neil@s-z.org>2014-01-09 22:47:36 -0500
commitcabd7f2c335709fb6bc57662287b16202f6e5201 (patch)
tree4833b9e2a6c540d41d6dfb89da41a9328339b615 /crawl-ref/source/options.h
parentf1da993dbd57fa8562912aa95d1d255dda0bc5e6 (diff)
downloadcrawl-ref-cabd7f2c335709fb6bc57662287b16202f6e5201.tar.gz
crawl-ref-cabd7f2c335709fb6bc57662287b16202f6e5201.zip
Menu for pickup : new option 'pickup_menu_limit'
'pickup_menu' option behavior adjusted: * true : same behavior * false : like the old auto:X, X is given with a new option: 'pickup_menu_limit', default 4, negatives value considered as item_stack_summary_minimum. Why 4? starting to 4 questions, you got a --more-- prompt, and starting to 6 items on the square, items are displayed with glyphs instead of full names. [Applied a few minor fixes and simplifications -nfm]
Diffstat (limited to 'crawl-ref/source/options.h')
-rw-r--r--crawl-ref/source/options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h
index 1b419eb058..bb1c887acf 100644
--- a/crawl-ref/source/options.h
+++ b/crawl-ref/source/options.h
@@ -338,7 +338,8 @@ public:
int drop_mode; // Controls whether single or multidrop
// is the default.
bool pickup_menu; // false for single, true for menu
-
+ int pickup_menu_limit; // Over this number of items, menu for
+ // pickup
bool easy_exit_menu; // Menus are easier to get out of
int assign_item_slot; // How free slots are assigned