From 49acbb9fe34fcd43074bc243569c7f3bfe064986 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 10 Jul 2009 15:47:04 +0000 Subject: 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 --- crawl-ref/source/directn.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/directn.cc') 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) -- cgit v1.2.3-54-g00ecf