summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-08-09 00:43:31 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-08-09 00:43:31 +0200
commita6f323efd0d24a20b5aa17ad7ad100188b1827b8 (patch)
treee619e8cc7537bcabbda8090a5f8b19c4ce08df74 /crawl-ref/source/godprayer.h
parentebff929d04b0896b82602891e5ffb5319ac6e1d3 (diff)
downloadcrawl-ref-a6f323efd0d24a20b5aa17ad7ad100188b1827b8.tar.gz
crawl-ref-a6f323efd0d24a20b5aa17ad7ad100188b1827b8.zip
A few fixes to greedy_sacrificiable.
Disabling autopickup doesn't disable it. It respects disabled item types for Nemelex. It ignores dropped and thrown items. Might still have some issues with some of the explore_stop options, I haven't tested.
Diffstat (limited to 'crawl-ref/source/godprayer.h')
-rw-r--r--crawl-ref/source/godprayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/godprayer.h b/crawl-ref/source/godprayer.h
index b0acc966ae..d983093d5f 100644
--- a/crawl-ref/source/godprayer.h
+++ b/crawl-ref/source/godprayer.h
@@ -12,6 +12,7 @@ std::string god_prayer_reaction();
void pray();
piety_gain_t sacrifice_item_stack(const item_def& item, int *js = 0);
+bool check_nemelex_sacrificing_item_type(const item_def& item);
int zin_tithe(item_def& item, int quant, bool quiet);
#endif