diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-08 23:15:03 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-08 23:16:37 +1000 |
commit | de30595826d2800afff619d6a1dc01c0d3610950 (patch) | |
tree | d13c4ae7a49f217a6c104a02edcce1c06ee50e54 /crawl-ref/docs | |
parent | 9840acaf22b2fc6690b3ce54c1a0f4a778d4af2f (diff) | |
download | crawl-ref-de30595826d2800afff619d6a1dc01c0d3610950.tar.gz crawl-ref-de30595826d2800afff619d6a1dc01c0d3610950.zip |
Allow vaults to create specifically themed randart books.
It is basically a simple wrapper onto spl-book.cc's
make_book_theme_randart. More documentation can be found in syntax.txt.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r-- | crawl-ref/docs/develop/levels/syntax.txt | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/crawl-ref/docs/develop/levels/syntax.txt b/crawl-ref/docs/develop/levels/syntax.txt index 5dd29559a8..cc6de15206 100644 --- a/crawl-ref/docs/develop/levels/syntax.txt +++ b/crawl-ref/docs/develop/levels/syntax.txt @@ -490,8 +490,38 @@ ITEM: (list of items, separated by comma) Limitations: You can't specify specific pluses or number of charges. You also can't lay down corpses, skeletons, or chunks. - You can place multiple items on the same square by using the KITEM - directive. See that section for more information. + Randart spell books + ------------------- + + You can specify random artefact spell books using: + + * "any fixed theme book" will generate a book with a fixed theme + (set of spell schools). + * "any fixed level book" will generate a book with a fixed set of + spells around the same level. + + You can further specify artefact spell books using "randbook" and any + combination of the following tags: + + * "disc:spell_school", the first spell school that should be included + in the book. For example, "disc:earth" or "disc:ice". + * "disc2:spell_school" an optional second spell school that can be + included in the book. Note: specifying two spell schools doesn't + mean that they will both definitely be included, just that they + might be. + * "numspells:number" a number of spells to include in the book. Will + not always be followed. + * "slevels:max_levels" the total, combined level of spells to include + in the book. "slevels:6" will use three level two spells, two level + three spells, a level two and a level four spell, and so on. + * "spell:spell" a spell to include in the book. All of "_" will be + replaced with " " and will be parsed as such. + * "owner:name" will be used to generate the title of the book if + provided. For example, "owner:Roxanne" may create "Roxanne's + Treatise on Mountains". + + NOTE: You can place multiple items on the same square by using the + KITEM directive. See that section for more information. MONS: (list of monsters) These are used to help place specific monsters at specific places |