From ae7a8697e6ea3eec6b31983496dbb96d8bf6032b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 27 Dec 2008 11:55:58 +0000 Subject: Don't place zombified monsters using PROX_NEAR_STAIRS. Mention the incapability of leaving levels in the descriptions of zombified monsters, and also for Animate Dead/Skeleton. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7993 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 3d7e0720fd..3764151469 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2579,6 +2579,13 @@ void describe_monsters(const monsters& mons) break; } + if (!mons.can_use_stairs()) + { + body << mons_pronoun(static_cast(mons.type), + PRONOUN_CAP, true) + << " is incapable of using stairs.$"; + } + std::string symbol_suffix = "__"; symbol_suffix += symbol; symbol_suffix += "_suffix"; -- cgit v1.2.3-54-g00ecf