From a8878308615ed621f4e0f3d041c3bd13403258e3 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 30 Jun 2007 14:25:22 +0000 Subject: 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 --- crawl-ref/source/initfile.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/initfile.cc') 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(100, LIGHTGREY)); mp_colour.push_back(std::pair(50, YELLOW)); mp_colour.push_back(std::pair(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) -- cgit v1.2.3-54-g00ecf