diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-28 17:49:03 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-28 17:49:03 +0000 |
commit | 9af02159866bdf8b87800293d2a93916e1c0e96a (patch) | |
tree | a6d63fabfcac5071de29c0587d853b733ab650e4 /crawl-ref/source/initfile.cc | |
parent | ee86ed7bc40c5e93a424f0625ac71be7dda158f6 (diff) | |
download | crawl-ref-9af02159866bdf8b87800293d2a93916e1c0e96a.tar.gz crawl-ref-9af02159866bdf8b87800293d2a93916e1c0e96a.zip |
[1849483] Warn player when fire_items_start option is blocking selection of the only available missile (note that this doesn't entirely address the problem).
[1852034] Added greedy_items option to explore_stop to force greedy explore to stop and announce even items that it plans to pick up.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3137 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 9a8242cef9..ea53949930 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -1369,6 +1369,8 @@ int game_options::read_explore_stop_conditions(const std::string &field) const conditions |= ES_STAIR; else if (c == "altar" || c == "altars") conditions |= ES_ALTAR; + else if (c == "greedy_item" || c == "greedy_items") + conditions |= ES_GREEDY_ITEM; } return (conditions); } |