summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-07-21 01:15:13 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-07-21 01:58:51 +0200
commit294db2cc0f0053d87eb9ef87ba149f5f7e617e22 (patch)
treebb893186e7db58f286bc5b8cdaaf46c964b6d95c /crawl-ref/source/stash.h
parent156035582ff3d16b24331e962f2cebff84468e38 (diff)
downloadcrawl-ref-294db2cc0f0053d87eb9ef87ba149f5f7e617e22.tar.gz
crawl-ref-294db2cc0f0053d87eb9ef87ba149f5f7e617e22.zip
Allow searching by equipment slot.
The keywords are: cloak helmet gloves boots shield body
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index 92ebb860db..98cbf97a55 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -427,6 +427,9 @@ std::vector<item_def> item_list_in_stash(const coord_def& pos);
std::string userdef_annotate_item(const char *s, const item_def *item,
bool exclusive = false);
+std::string stash_annotate_item(const char *s,
+ const item_def *item,
+ bool exclusive = false);
#define STASH_LUA_SEARCH_ANNOTATE "ch_stash_search_annotate_item"
#define STASH_LUA_DUMP_ANNOTATE "ch_stash_dump_annotate_item"