diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-28 21:28:15 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-28 21:33:11 +0100 |
commit | cae11402d8c8c0c103e1d3f8168d62aac5c50dee (patch) | |
tree | 60f0cb7a19b8a8047a59c8efff18b7d6c4706272 /crawl-ref/source/spl-book.h | |
parent | 07a9c8fbec1cf5c51fb4eefc70db1478a7f6abb8 (diff) | |
download | crawl-ref-cae11402d8c8c0c103e1d3f8168d62aac5c50dee.tar.gz crawl-ref-cae11402d8c8c0c103e1d3f8168d62aac5c50dee.zip |
Tweak randbook mapdef tags: predefined title, player name as owner.
* New tag: title, replaces the usual database lookup depending on disc.
* If owner == "player", use you.your_name as owner.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index 768ec5eae5..8eeb079081 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -68,7 +68,7 @@ bool make_book_theme_randart(item_def &book, int disc1 = 0, int disc2 = 0, int num_spells = -1, int max_levels = -1, spell_type incl_spell = SPELL_NO_SPELL, - std::string owner = ""); + std::string title = "", std::string owner = ""); void make_book_Roxanne_special(item_def *book); bool book_has_title(const item_def &book); |