diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-01-26 23:10:14 +0100 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-03-11 22:54:41 -0400 |
commit | c5434703b61cb9c3befa8a0969812b8ba2841f35 (patch) | |
tree | 93ca524ae310fc170cff2a1bf53a15be9f77f5f0 /crawl-ref/source/spl-goditem.cc | |
parent | e1215c86b0e34c506d8775575b1ec7b8a4aeb5f3 (diff) | |
download | crawl-ref-c5434703b61cb9c3befa8a0969812b8ba2841f35.tar.gz crawl-ref-c5434703b61cb9c3befa8a0969812b8ba2841f35.zip |
Remove `auto_list` option
It has been defaulting to `true` for a while now. That setting provides
a nicer interface overall and there is little reason to support alter-
nate input methods.
Some prompts asking for a letter have not been adjusted, for example
evoking a rod with multiple spells. Those are hopefully gone soon
anyways.
[Committer's note: The option had no known uses except by bots, and
those could work without it. And, of course, multi-spell rods are
gone.]
Diffstat (limited to 'crawl-ref/source/spl-goditem.cc')
-rw-r--r-- | crawl-ref/source/spl-goditem.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-goditem.cc b/crawl-ref/source/spl-goditem.cc index 9bbf01d2cb..25510f727b 100644 --- a/crawl-ref/source/spl-goditem.cc +++ b/crawl-ref/source/spl-goditem.cc @@ -92,8 +92,7 @@ int identify(int power, int item_slot, bool alreadyknown, string *pre_msg) && (!is_deck(item) || top_card_is_known(item))) { mpr("Choose an unidentified item, or Esc to abort."); - if (Options.auto_list) - more(); + more(); item_slot = -1; continue; } @@ -137,7 +136,7 @@ int identify(int power, int item_slot, bool alreadyknown, string *pre_msg) learned_something_new(HINT_INACCURACY); } - if (Options.auto_list && id_used > identified) + if (id_used > identified) more(); // In case we get to try again. @@ -663,8 +662,7 @@ static bool _selectively_remove_curse(string *pre_msg) || &item == you.weapon() && !is_weapon(item)) { mpr("Choose a cursed equipped item, or Esc to abort."); - if (Options.auto_list) - more(); + more(); continue; } @@ -751,8 +749,7 @@ static bool _selectively_curse_item(bool armour, string *pre_msg) { mprf("Choose an uncursed equipped piece of %s, or Esc to abort.", armour ? "armour" : "jewellery"); - if (Options.auto_list) - more(); + more(); continue; } |