From 86d488e3efa0b1d8ec12223527235e3ef3a5fec2 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 31 Dec 2008 08:41:27 +0000 Subject: Add arena mode, activated on the command-line by 'crawl -arena "monster v monster"' (eg: crawl -arena "Sigmund v Jessica") to let monsters fight each other undisturbed by the player. Good to examine monster AI and monster behaviour when the player is AWOL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8059 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/message.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/message.cc') diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index f47545b7a1..1efdc0f2a5 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -909,6 +909,13 @@ void more(void) } #endif + if (crawl_state.arena) + { + delay(Options.arena_delay); + mesclr(); + return; + } + if (crawl_state.is_replaying_keys() || autoclear_more) { mesclr(); -- cgit v1.2.3-54-g00ecf