diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 19:52:14 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-21 19:52:14 +0000 |
commit | 6fe9d2d6362915f3ab999971c87dd2f4d09e905f (patch) | |
tree | 3815ce19535e80e61c54ab53234616c885688d2a /crawl-ref/source/initfile.cc | |
parent | 2846de53110f56c1732a3e9b2ab71b396af3c5a0 (diff) | |
download | crawl-ref-6fe9d2d6362915f3ab999971c87dd2f4d09e905f.tar.gz crawl-ref-6fe9d2d6362915f3ab999971c87dd2f4d09e905f.zip |
* Tweak spell number of randart books some more.
* Loosen restrictions on spell levels of unknown spells for normal books,
so there are more matches even for untrained schools.
* Add a new option dump_book_spells that, if set to true (default), will
dump the spells even for non-randart book. Useful if you don't know
the books' contents by heart and want to know spells at your disposal
without checking some spoilers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9143 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index a65b50e635..671264c652 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -836,6 +836,7 @@ void game_options::reset_options() dump_message_count = 7; dump_item_origins = IODS_ARTEFACTS | IODS_RODS; dump_item_origin_price = -1; + dump_book_spells = true; drop_mode = DM_MULTI; pickup_mode = -1; @@ -2958,6 +2959,7 @@ void game_options::read_option_line(const std::string &str, bool runscript) if (dump_item_origin_price < -1) dump_item_origin_price = -1; } + else BOOL_OPTION(dump_book_spells); else BOOL_OPTION(level_map_title); else BOOL_OPTION(target_zero_exp); else BOOL_OPTION(target_oos); |