From ffd7b999da940618860de7ce6e786175bc9af184 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 27 Feb 2009 21:05:46 +0000 Subject: Implement a very basic attempt at message condensation: Store the most recent message in prev_message and only output it when another non-matching message rolls in or the player gets a turn. Matching messages (must be identical and issued in direct succession, like is the case with the message history condensation) increase the counter, so you end up with messages like: You feel sick. The killer bee misses you. (x3) The killer bee stings you. The killer bee stings you but doesn't do any damage. The killer bee misses you. (x5) ...instead of the 11 lines it would have been in total. This behaviour is controlled by the same option as the condensation in the message history, msg_condense_repeats. There's definitely room for improvement. At the moment the bracketed information is written into the message itself, which will prevent further merging in the message history, or, probably worse, cause ugly double-merging like "The killer bee misses you. (x3) (x2)". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9262 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/docs/options_guide.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crawl-ref/docs/options_guide.txt') diff --git a/crawl-ref/docs/options_guide.txt b/crawl-ref/docs/options_guide.txt index 73346a7c9c..224d86d347 100644 --- a/crawl-ref/docs/options_guide.txt +++ b/crawl-ref/docs/options_guide.txt @@ -1398,10 +1398,12 @@ force_more_message = The syntax is identical to that of travel_stop_message (4-g). msg_condense_repeats = true - If the same message is repeated multiple times, then the Show - Previous Message command (Ctrl-P) will condense them into one - line indicating how many times it was repeated. For example: - You hear a distant "Zot!" (x3) + If the same message is repeated multiple times during the same + turn, then it will be output in a condensed format indicating + how many times it was repeated. If the same output (including the + counter) is repeated over several turns, the Show Previous Message + command (Ctrl-P) will likewise condense them into one. For example: + The killer bee misses you. (x5) 4-k Missiles. ----------------- -- cgit v1.2.3-54-g00ecf