summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-10 15:47:04 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-10 15:47:04 +0000
commit49acbb9fe34fcd43074bc243569c7f3bfe064986 (patch)
treef4229dd8d81224f9415a3076db5e26aa33b13031 /crawl-ref/source/directn.cc
parent7d68c463cb8255d473bf294ed159146087caa608 (diff)
downloadcrawl-ref-49acbb9fe34fcd43074bc243569c7f3bfe064986.tar.gz
crawl-ref-49acbb9fe34fcd43074bc243569c7f3bfe064986.zip
Indicate in a monster's description if it's mindless. This is mostly
for healers, since mindless things can't be pacified. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10132 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 49e6007702..bf16ea1fbd 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -3105,6 +3105,9 @@ static std::string _get_monster_desc(const monsters *mon)
if (mon->haloed())
text += pronoun + " is illuminated by a divine halo.\n";
+ if (mons_intel(mon) <= I_PLANT)
+ text += pronoun + " is mindless.\n";
+
// Give an indication of monsters being capable of seeing/sensing
// invisible creatures.
if (mons_behaviour_perceptible(mon) && !mons_is_sleeping(mon)