diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-29 11:11:32 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-29 11:11:32 +0000 |
commit | 7fcfce7d250e09f85bc09f9e720dda5cf723e68e (patch) | |
tree | f70f14cb977e44bcded985b8527e7cd01ad50663 /crawl-ref/source/initfile.cc | |
parent | 10a49dc866d7cb5b0d5fe0400ae02f30e8be4d85 (diff) | |
download | crawl-ref-7fcfce7d250e09f85bc09f9e720dda5cf723e68e.tar.gz crawl-ref-7fcfce7d250e09f85bc09f9e720dda5cf723e68e.zip |
* Dump spells contained in randart spellbooks, marking memorised spells
with an asterisk.
* Sif Muna no longer gifts the books specific to Kiku and Vehumet
(Necronomicon, Annihilations, Demonology) though the spells contained
there-in may crop up in randart books.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8011 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 14e9e69f57..bbd6dcdc4f 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -2832,15 +2832,21 @@ void game_options::read_option_line(const std::string &str, bool runscript) { const std::string &ch = choices[i]; if (ch == "artefacts" || ch == "artifacts" - || ch == "artefact" || ch == "artifact") + || ch == "artefact" || ch == "artifact") + { dump_item_origins |= IODS_ARTEFACTS; + } else if (ch == "ego_arm" || ch == "ego armour" - || ch == "ego_armour") + || ch == "ego_armour") + { dump_item_origins |= IODS_EGO_ARMOUR; + } else if (ch == "ego_weap" || ch == "ego weapon" - || ch == "ego_weapon" || ch == "ego weapons" - || ch == "ego_weapons") + || ch == "ego_weapon" || ch == "ego weapons" + || ch == "ego_weapons") + { dump_item_origins |= IODS_EGO_WEAPON; + } else if (ch == "jewellery" || ch == "jewelry") dump_item_origins |= IODS_JEWELLERY; else if (ch == "runes") |