summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-10-06 23:30:50 +0200
committerRaphael Langella <raphael.langella@gmail.com>2010-10-06 23:30:50 +0200
commit39da56d7ad9d005851e83852d46fc6a904d01205 (patch)
tree30dcb61b0d68f2cd5995845b3da6a1bc1986d2d4 /crawl-ref/source/spl-book.h
parent97a5ac3bfc5db3366d19744b5bd4b42f8d4db028 (diff)
downloadcrawl-ref-39da56d7ad9d005851e83852d46fc6a904d01205.tar.gz
crawl-ref-39da56d7ad9d005851e83852d46fc6a904d01205.zip
Sif Muna's destroy spellbook conduct
Destroying a spellbook by forgetting a spell from it or tossing it in lava cost piety and penance. The cost is based on the highest spell level from the book: maxlevel + 5 For books gifted by Sif or featuring his name, the penance is doubled. The conduct description is only "destroy spellbooks". I don't know how to explain the gift and name higher cost without making a huge line
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index af461f76bb..dffba6c8fa 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -75,4 +75,6 @@ bool book_has_title(const item_def &book);
bool is_dangerous_spellbook(const item_def &book);
bool is_dangerous_spellbook(const int book_type);
+
+void destroy_spellbook(const item_def &book);
#endif