summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-08-06 23:23:47 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-08-06 23:23:47 +0200
commite756234482a18ffc266c04a1b0a663570cde5676 (patch)
treeb2172f30f89592bc6c7d17f054d8430226ef6331 /crawl-ref/source/travel.h
parent7ff7e2ba6580ac5151af3adeb7ec518bb8ad46bb (diff)
downloadcrawl-ref-e756234482a18ffc266c04a1b0a663570cde5676.tar.gz
crawl-ref-e756234482a18ffc266c04a1b0a663570cde5676.zip
New option for explore_stop: greedy_sacrificiable.
Defaults on. Makes explore go to sacrificiable items without the mess of the previous implementation. Should fix #5849, #6002 and #6003.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 7cbb0c47cf..0ac71d5332 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -197,6 +197,9 @@ enum explore_stop_type
ES_ARTEFACT = 0x1000,
ES_RUNE = 0x2000,
ES_BRANCH = 0x4000,
+
+ // Explored into view of an item which can be sacrificied
+ ES_GREEDY_SACRIFICIABLE = 0x8000,
};
////////////////////////////////////////////////////////////////////////////