diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-12 07:10:20 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-12 07:10:20 +0000 |
commit | de48f1d83f0b533e7874aa47e352bbddef8a31af (patch) | |
tree | b552c3dcd5b64410ea7c9c091eb9d6512c9d9c09 /crawl-ref/source/describe.cc | |
parent | a8f3beb7df924aa35785a9eccc7e9312f8c6cdaf (diff) | |
download | crawl-ref-de48f1d83f0b533e7874aa47e352bbddef8a31af.tar.gz crawl-ref-de48f1d83f0b533e7874aa47e352bbddef8a31af.zip |
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
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 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"; |