diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-24 02:06:00 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-24 02:06:00 +0100 |
commit | f3a2bd25f4f0be1eb5fe20360efa4cfe85635906 (patch) | |
tree | 1d71a35aaa67df77b5dc15d45a4b692f55b3e0b7 /crawl-ref/source/spl-book.cc | |
parent | aec5c4ad5f4778f3f10d49f4c494e23eb2a6cc1e (diff) | |
download | crawl-ref-f3a2bd25f4f0be1eb5fe20360efa4cfe85635906.tar.gz crawl-ref-f3a2bd25f4f0be1eb5fe20360efa4cfe85635906.zip |
Remove support for "highlevel author".
After purging of pan lords, all that was left was Conj, and authors of
regular Conj are Lehudib, Iskenderun and w:2 Lee, the first two being for
sure valid for high-level as well, while there's no data that would preclude
Lee from not being a newbie, too.
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 060673c80c..3374e68b30 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -2276,9 +2276,6 @@ bool make_book_theme_randart(item_def &book, owner = god_name(god, false); else if (god_gift && one_chance_in(3) || one_chance_in(5)) { - bool highlevel = (highest_level >= 7 + random2(3) - && (lowest_level > 1 || coinflip())); - if (disc1 != disc2) { string schools[2]; @@ -2287,11 +2284,7 @@ bool make_book_theme_randart(item_def &book, sort(schools, schools + 2); string lookup = schools[0] + " " + schools[1]; - if (highlevel) - owner = getRandNameString("highlevel " + lookup + " owner"); - - if (owner.empty() || owner == "__NONE") - owner = getRandNameString(lookup + " owner"); + owner = getRandNameString(lookup + " owner"); if (owner == "__NONE") owner = ""; @@ -2300,11 +2293,8 @@ bool make_book_theme_randart(item_def &book, if (owner.empty() && all_spells_disc1) { string lookup = spelltype_long_name(disc1); - if (highlevel && disc1 == disc2) - owner = getRandNameString("highlevel " + lookup + " owner"); - if (owner.empty() || owner == "__NONE") - owner = getRandNameString(lookup + " owner"); + owner = getRandNameString(lookup + " owner"); if (owner == "__NONE") owner = ""; |