diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-27 11:55:58 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-27 11:55:58 +0000 |
commit | ae7a8697e6ea3eec6b31983496dbb96d8bf6032b (patch) | |
tree | 7070239dd86ae59762802ce2ed32f79a649b2273 /crawl-ref/source/describe.cc | |
parent | 973a85d8d2980c5572da3d4f4839110647864873 (diff) | |
download | crawl-ref-ae7a8697e6ea3eec6b31983496dbb96d8bf6032b.tar.gz crawl-ref-ae7a8697e6ea3eec6b31983496dbb96d8bf6032b.zip |
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
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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<monster_type>(mons.type), + PRONOUN_CAP, true) + << " is incapable of using stairs.$"; + } + std::string symbol_suffix = "__"; symbol_suffix += symbol; symbol_suffix += "_suffix"; |