summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index def7925150..426cba067f 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2952,6 +2952,19 @@ void get_monster_db_desc(const monsters& mons, describe_info &inf,
<< mitm[mons.inv[i]].name(DESC_NOCAP_A, false, true);
}
}
+
+ if (mons.props.exists("blame"))
+ {
+ inf.body << "$$Monster blame chain:$";
+
+ const CrawlVector& blame = mons.props["blame"].get_vector();
+
+ for (CrawlVector::const_iterator it = blame.begin();
+ it != blame.end(); ++it)
+ {
+ inf.body << " " << it->get_string() << "$";
+ }
+ }
#endif
}