summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-30 11:59:23 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-30 11:59:23 +0000
commit17d8bd89a7e6f4884334c0a8aa38907c43df5f81 (patch)
treeafac3746a2146ac097c8d31426af07db1e7a1170 /crawl-ref/docs
parentb92ab27580d7d18a9458e3478d85ff8b8633106c (diff)
downloadcrawl-ref-17d8bd89a7e6f4884334c0a8aa38907c43df5f81.tar.gz
crawl-ref-17d8bd89a7e6f4884334c0a8aa38907c43df5f81.zip
Added autopickup_exceptions option modeled on NetHack's, so that it's easy to
request stuff to pick up without inscribing with =g. ban_pickup is now semi-deprecated. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@908 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r--crawl-ref/docs/crawl_options.txt36
1 files changed, 32 insertions, 4 deletions
diff --git a/crawl-ref/docs/crawl_options.txt b/crawl-ref/docs/crawl_options.txt
index f492c658e8..921798e3f5 100644
--- a/crawl-ref/docs/crawl_options.txt
+++ b/crawl-ref/docs/crawl_options.txt
@@ -18,10 +18,10 @@ The contents of this text are:
gearset.lua, eat.lua, trapwalk.lua
4- Interface.
4-a Dropping and Picking up.
- autopickup, default_autopickup, safe_autopickup,
- autopickup_no_burden, safe_zero_exp, pickup_thrown,
- pickup_dropped, assign_item_slot, ban_pickup, drop_mode,
- pickup_mode, drop_filter;
+ autopickup, autopickup_exceptions, default_autopickup,
+ safe_autopickup, autopickup_no_burden, safe_zero_exp,
+ pickup_thrown, pickup_dropped, assign_item_slot,
+ ban_pickup, drop_mode, pickup_mode, drop_filter;
lua: ch_autopickup (advanced autopickup exceptions)
4-b Targeting.
target_zero_exp, target_oos, target_los_first,
@@ -229,6 +229,32 @@ autopickup = $?!+"/%
If you teleport or blink onto a square with interesting items, these
will not be picked up.
+autopickup_exceptions = <pickup-regex, >don't-pickup-regex, ...
+ A set of regexes that force matching items to be picked up (if prefixed
+ with <), or never picked up (if prefixed with >). Excludes (>) take
+ precedence over includes (<), so if the same item is matched by both
+ an exclude and an include, it will not be subject to autopickup.
+
+ An example:
+ autopickup_exceptions = <(poisoned|curare-tipped) needle
+ Forces autopickup to grab all poisoned and curare-tipped needles, even
+ if missiles are not set in the "autopickup" option.
+
+ Whitespace between <> and the match expression is significant, so this
+ is a mistake:
+ autopickup_exceptions = < ebony casket
+
+ autopickup_exceptions is a superset of ban_pickup (see below). Using
+ autopickup_exceptions = >decay, >degeneration
+ is the same as using
+ ban_pickup = decay, degeneration
+
+ If the regexes are not prefixed with < or >, > is implied. So the option
+ setting above can also be written as
+ autopickup_exceptions = decay, degeneration
+
+ You can use multiple autopickup_exceptions lines.
+
default_autopickup = true
When set false, the game starts with autopickup turned off. You can
still toggle autopickup in-game with Ctrl-A.
@@ -278,6 +304,8 @@ ban_pickup = <regex>
ban_pickup = scrolls? of paper, immolation, curse armour, curse weapon
ban_pickup = forgetfulness, uselessness, noise, torment
+ See also autopickup_exceptions, which is a superset of ban_pickup.
+
drop_mode = (multi | single)
Single is the classic behaviour; when you select an inventory letter,
that item will be dropped immediately. Multidrop allows you to select