summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 18:57:20 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 18:57:20 +0000
commitb578218b05ae153f3425278bedbb8efca48e259e (patch)
treea8af5dd35615281510b5b2d695f54160e9b4048c /crawl-ref/source/describe.cc
parent8b8f4a7e0af566887a0f5e09b5ac90cf0e45fb1b (diff)
downloadcrawl-ref-b578218b05ae153f3425278bedbb8efca48e259e.tar.gz
crawl-ref-b578218b05ae153f3425278bedbb8efca48e259e.zip
Add various undead-related fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4754 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 1e993a65bd..754f1b6d1a 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1626,11 +1626,17 @@ std::string get_item_description( const item_def &item, bool verbose,
{
if (player_mutation_level(MUT_SAPROVOROUS) == 3)
description << "It looks nice and ripe.";
- else if (you.is_undead != US_UNDEAD)
+ else
{
description << "In fact, it is "
- "rotting away before your eyes. "
- "Eating it would probably be unwise.";
+ "rotting away before your eyes.";
+
+ if (you.is_undead != US_UNDEAD
+ && you.species != SP_VAMPIRE)
+ {
+ description << " Eating it would "
+ "probably be unwise.";
+ }
}
}
else if (player_mutation_level(MUT_SAPROVOROUS) < 3)