summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-19 11:48:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-19 11:48:04 +0000
commit6154ce26f08678558f0e59dc19506bd5af6eeb9c (patch)
tree885875dc55b187ccdd2af5ebce09d134a63036f8 /crawl-ref/source/initfile.cc
parentb652f0fadfb222d17c816c01a81e5ea27966e691 (diff)
downloadcrawl-ref-6154ce26f08678558f0e59dc19506bd5af6eeb9c.tar.gz
crawl-ref-6154ce26f08678558f0e59dc19506bd5af6eeb9c.zip
* Properly print (non-spoily) resists descriptions for ghosts/pandemonium
lords, using mons_class_resists (currently only poison) instead of mons_resists(). * Add option note_xom_effects (defaults to true) that causes note-taking for all Xom effects, hopefully spoiler free. * Autoinscribe hides from unique monsters' corpses with the monster name, as suggested on rgrm. Currently only applies to Snorg and Tiamat. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9652 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 592a237440..8f09c0597e 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -745,8 +745,9 @@ void game_options::reset_options()
user_note_prefix = "";
note_all_skill_levels = false;
- note_skill_max = false;
- note_all_spells = false;
+ note_skill_max = true;
+ note_all_spells = true;
+ note_xom_effects = true;
note_hp_percent = 5;
ood_interesting = 8;
rare_interesting = 9;
@@ -2463,6 +2464,7 @@ void game_options::read_option_line(const std::string &str, bool runscript)
else BOOL_OPTION(note_all_skill_levels);
else BOOL_OPTION(note_skill_max);
else BOOL_OPTION(note_all_spells);
+ else BOOL_OPTION(note_xom_effects);
else BOOL_OPTION(delay_message_clear);
else if (key == "flush")
{