From 722243eb20be246b6042a36deb016f48091bb6aa Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sun, 22 Nov 2009 00:19:13 -0800 Subject: explore_stop: new condition greedy_pickup_thrown explore_stop condition greedy_pickup_smart no longer stops for items which were thrown by the player. The new condition greedy_pickup_thrown can be used by those who wish to stop auto-explore when thrown items are auto-pickup'd. --- crawl-ref/source/initfile.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 9a8be9dde2..744f72cb0a 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -1605,6 +1605,8 @@ int game_options::read_explore_stop_conditions(const std::string &field) const conditions |= ES_GREEDY_PICKUP; else if (c == "greedy_pickup_smart" || c == "greedy pickup smart") conditions |= ES_GREEDY_PICKUP_SMART; + else if (c == "greedy_pickup_thrown" || c == "greedy pickup thrown") + conditions |= ES_GREEDY_PICKUP_THROWN; else if (c == "shop" || c == "shops") conditions |= ES_SHOP; else if (c == "stair" || c == "stairs") -- cgit v1.2.3-54-g00ecf