diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-30 14:25:22 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-30 14:25:22 +0000 |
commit | a8878308615ed621f4e0f3d041c3bd13403258e3 (patch) | |
tree | c9f57d16fcc2b23f3d087db7a19fd6a2119ef61d /crawl-ref/source/initfile.cc | |
parent | cbd9791cd0bd50b017312d12d8110580b90873ec (diff) | |
download | crawl-ref-a8878308615ed621f4e0f3d041c3bd13403258e3.tar.gz crawl-ref-a8878308615ed621f4e0f3d041c3bd13403258e3.zip |
Implemented 1633998: summary line for large stacks, controlled by the
item_stack_summary_minimum option. Artefacts and glowing/runed items
get yellow and white, respectively.
Also, the entire item list on the floor will be displayed if it fits
onto the screen (and not if there are five or less items, as before.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1699 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 1c6d28bac8..0b4c918362 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -719,6 +719,8 @@ void game_options::reset_options() fire_order[1] = FIRE_DART; // then only consider darts fire_order[2] = FIRE_STONE; // and then chuck stones + item_stack_summary_minimum = 5; + #ifdef WIZARD fsim_rounds = 40000L; fsim_mons = "worm"; @@ -775,6 +777,7 @@ void game_options::reset_options() mp_colour.push_back(std::pair<int, int>(100, LIGHTGREY)); mp_colour.push_back(std::pair<int, int>(50, YELLOW)); mp_colour.push_back(std::pair<int, int>(25, RED)); + never_pickup.clear(); always_pickup.clear(); note_monsters.clear(); @@ -2265,6 +2268,10 @@ void game_options::read_option_line(const std::string &str, bool runscript) dos_use_background_intensity = read_bool(field, dos_use_background_intensity); } + else if (key == "item_stack_summary_minimum") + { + item_stack_summary_minimum = atoi(field.c_str()); + } else if (key == "explore_stop") { if (!plus_equal && !minus_equal) |