summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-03-05 01:07:27 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-03-05 12:35:26 +0100
commit4ddab215118a0929020f63d9a63e0b2bcc1aae4b (patch)
treebef94dbdd4aed22bcf572056d97f2c50ee4ebea7 /crawl-ref/source/spl-book.h
parent648f61d6cda9bca6a22ed71efc99459f343647a7 (diff)
downloadcrawl-ref-4ddab215118a0929020f63d9a63e0b2bcc1aae4b.tar.gz
crawl-ref-4ddab215118a0929020f63d9a63e0b2bcc1aae4b.zip
Autoinscribe books "beyond your understanding" with {highlevel}.
This is so the player doesn't wonder "What is this book I apparently haven't read yet?" the first few times until they remember. I didn't feel like adding an option for this one.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index cbd7390cc7..287b3b949e 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -29,6 +29,7 @@ bool is_valid_spell_in_book( int splbook, int spell );
void mark_had_book(const item_def &book);
void mark_had_book(int booktype);
+void inscribe_book_highlevel(item_def &book);
int read_book( item_def &item, read_book_action_type action );