diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-03-28 22:53:44 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-03-28 23:01:58 +0530 |
commit | aa5c7beefc3e61884af918aee4948b4e0cad70cd (patch) | |
tree | 1d26d842a0de57c59da82a3c2bb2a0ac0599ab7c /crawl-ref/source/stash.h | |
parent | 36922283323859b42799f0f97f1bfc23d982bd69 (diff) | |
download | crawl-ref-aa5c7beefc3e61884af918aee4948b4e0cad70cd.tar.gz crawl-ref-aa5c7beefc3e61884af918aee4948b4e0cad70cd.zip |
Add greedy_pickup_gold and greedy_visited_item_stack explore stop options.
The old explore behaviour of stopping when visiting a previously unknown item
stack was useful. This is now controlled by the explore_stop option
greedy_visited_item_stack, enabled by default.
Some players prefer explore to stop when picking up gold. This can be enabled
by greedy_pickup_gold (not enabled by default).
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r-- | crawl-ref/source/stash.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index 3260764196..7fbc42d56b 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -236,6 +236,10 @@ public: bool needs_visit(const coord_def& c) const; bool shop_needs_visit(const coord_def& c) const; + // Returns true if the items at c are not fully known to the stash-tracker + // and can be updated if the character steps on the square. + bool unverified_stash(const coord_def &c) const; + // Add stash at (x,y), or player's current location if no parameters are // supplied void add_stash(int x = -1, int y = -1); |