summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-19 20:32:18 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-19 20:40:15 -0800
commit9c717124d2f48858824a1bfdf3fe4ff62f223e72 (patch)
treed6583372c94afdf2336cad576049149c8b3f8d5b /crawl-ref/source/travel.h
parent8ae09e1699c95d66263264540e13d09fcac63f59 (diff)
downloadcrawl-ref-9c717124d2f48858824a1bfdf3fe4ff62f223e72.tar.gz
crawl-ref-9c717124d2f48858824a1bfdf3fe4ff62f223e72.zip
explore_stop: greedy_pickup_smart, pickup_ignore
* Added the explore_stop option "greedy_pickup_smart", which is like greedy_pickup, but only stops for thrown items and items different than any in your inventory (and for fruit if you worship Fedhas). * Added the option explore_stop_pickup_ignore. Any items matching any of the regexes in the list will *not* cause "explore_stop = greedy_pickup" (or greedy_pickup_smart) to stop auto-explore. * "explore_stop = greedy_pickup" no longer stops when picking up gold. * "explore_stop = greedy_pickup" (or greedy_pickup_smart) now stops auto-explore after auto-pickup has happened, rather than right before it happens. * Removed obsolete ES_PICKUP.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 5a79e6b046..2b0b8240b9 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -157,18 +157,19 @@ extern travel_distance_grid_t travel_point_distance;
enum explore_stop_type
{
- ES_NONE = 0x000,
- ES_ITEM = 0x001,
- ES_PICKUP = 0x002,
- ES_GREEDY_PICKUP = 0x004,
- ES_GREEDY_ITEM = 0x008,
- ES_STAIR = 0x010,
- ES_SHOP = 0x020,
- ES_ALTAR = 0x040,
- ES_PORTAL = 0x080,
- ES_GLOWING_ITEM = 0x100,
- ES_ARTEFACT = 0x200,
- ES_RUNE = 0x400
+ ES_NONE = 0x000,
+ ES_ITEM = 0x001,
+ ES_GREEDY_PICKUP = 0x002,
+ ES_GREEDY_PICKUP_SMART = 0x004,
+ ES_GREEDY_PICKUP_MASK = (ES_GREEDY_PICKUP | ES_GREEDY_PICKUP_SMART),
+ ES_GREEDY_ITEM = 0x008,
+ ES_STAIR = 0x010,
+ ES_SHOP = 0x020,
+ ES_ALTAR = 0x040,
+ ES_PORTAL = 0x080,
+ ES_GLOWING_ITEM = 0x100,
+ ES_ARTEFACT = 0x200,
+ ES_RUNE = 0x400
};
////////////////////////////////////////////////////////////////////////////