From de48f1d83f0b533e7874aa47e352bbddef8a31af Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 12 Jan 2009 07:10:20 +0000 Subject: Add a special description to summoned monsters. This does introduce a balancing change since AFAIK it was previously impossible to distinguish between a summoned and a permanent monster. It's possible that this change leads to players always having to check a monster's description, in which case we might want to add a line to the monster's 'x' description, stating "It has been summoned." git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8424 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 7c09dc3707..624b13a6d1 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2987,6 +2987,13 @@ void describe_monsters(const monsters& mons) << " is incapable of using stairs.$"; } + if (mons_is_summoned(&mons)) + { + body << "$" << "This monster has been summoned, and is thus only " + "temporary. Killing it yields no experience, nutrition " + "or items.$"; + } + std::string symbol_suffix = "__"; symbol_suffix += symbol; symbol_suffix += "_suffix"; -- cgit v1.2.3-54-g00ecf