diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-31 01:16:03 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-31 01:24:15 +0100 |
commit | 346ac24ae4aa6c35afc6120c7cb2247ef6fd7469 (patch) | |
tree | cd4161cbea747dc58bfb9302ae99d6ec9f6b1602 /crawl-ref/source/spl-book.h | |
parent | 4a5bff4ddecc2168551f7feaf6d8d5b9c494a22a (diff) | |
download | crawl-ref-346ac24ae4aa6c35afc6120c7cb2247ef6fd7469.tar.gz crawl-ref-346ac24ae4aa6c35afc6120c7cb2247ef6fd7469.zip |
Allow predefining several spells for randart books in map defs.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index 02dee1c018..e801c4ee0d 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -69,6 +69,11 @@ bool make_book_theme_randart(item_def &book, int num_spells = -1, int max_levels = -1, spell_type incl_spell = SPELL_NO_SPELL, std::string owner = "", std::string title = ""); +bool make_book_theme_randart(item_def &book, + std::vector<spell_type> incl_spells, + int disc1 = 0, int disc2 = 0, + int num_spells = -1, int max_levels = -1, + std::string owner = "", std::string title = ""); void make_book_Roxanne_special(item_def *book); bool book_has_title(const item_def &book); |