summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/database/randname.txt
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-16 20:14:41 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-16 20:14:41 +0000
commit60cf3e365d5167e4088b39488de2a8eafe248dab (patch)
tree90a483d5de28bf5c09f22d869a21bb780daad542 /crawl-ref/source/dat/database/randname.txt
parent730cdd33bad2122a564a22264fff2e9687ed9b78 (diff)
downloadcrawl-ref-60cf3e365d5167e4088b39488de2a8eafe248dab.tar.gz
crawl-ref-60cf3e365d5167e4088b39488de2a8eafe248dab.zip
Also add variety to fixed level randarts, distinguishing between "easy"
(1-3), "moderate" (4-6) and "difficult" (7-9). Recount how often each spell school is used and use the two most prominent schools (biasing by their order of definition in spl-util.h if two are tied). This doesn't completely work yet: I got a book of Enchantment and Divination although not a single spell in the book belonged to Divination (5 of them were Enchantment, so that was okay). Also, the way spells are currently selected (from two random disciplines) you can get a spell that does not fit either leading school (as later derived by counting) and might look odd with the title, e.g. a book is built on the premise of Conj/Fire and ends up as Conj/Air with Fire/Trm thrown in. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7848 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/database/randname.txt')
-rw-r--r--crawl-ref/source/dat/database/randname.txt59
1 files changed, 43 insertions, 16 deletions
diff --git a/crawl-ref/source/dat/database/randname.txt b/crawl-ref/source/dat/database/randname.txt
index 7adb246c4f..d797cef042 100644
--- a/crawl-ref/source/dat/database/randname.txt
+++ b/crawl-ref/source/dat/database/randname.txt
@@ -786,6 +786,16 @@ amulet appearance
######################################################
# Books
######################################################
+# Book name should be set in make_book_level_randart() or
+# make_book_theme_randart(), so if this gets picked there's a bug.
+book
+
+Book of Bugginess
+%%%%
+book appearance
+
+@book_adjective@
+%%%%
book_noun
Book
@@ -834,14 +844,21 @@ yellowed
rare
%%%%
+the_book_magic
+
+w:1
+// capitalize later as needed
+the Arcane Arts
+
+w:9
+@book_magic@
+%%%%
book_magic
Magic
Theurgy
-The Arcane Arts
-
Rites and Rhymes
Secret Knowledge
@@ -855,31 +872,41 @@ Sorcery
Witchcraft
Witchery
-
-Bewitchment
-
%%%%
-level book
+# level 1-3
+easy level book
-@book_magic@ 101
+@the_book_magic@ 101
Easy @book_magic@
-@book_magic@ in Simple Steps
+@the_book_magic@ in Simple Steps
-Thorough Guide to @book_magic@
+Early Guide to @book_magic@
-Last Secrets of @book_magic@
+@the_book_magic@ for Beginners
%%%%
-# Book name should be set in make_book_level_randart() or
-# make_book_theme_randart(), so if this gets picked there's a bug.
-book
+# level 4-6
+moderate level book
-Book of Bugginess
+Advanced Steps in @the_book_magic@
+
+Advanced Guide to @the_book_magic@
+
+Further Steps in @the_book_magic@
+
+Improve Your @book_magic@
%%%%
-book appearance
+# level 7-9
+difficult level book
-@book_adjective@
+Thorough Guide to @the_book_magic@
+
+Last Secrets of @the_book_magic@
+
+Arcane Secrets of @book_magic@
+
+Intricacies of @the_book_magic@
%%%%
Conjuration