summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-28 12:28:16 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-28 12:28:16 +0000
commit02dd4205015dd1fc1e27ed6422031c8bbb5c39cc (patch)
tree0b18ba3e4abd94b133bc1fcc3f90c5fd6c828748 /crawl-ref/source/ouch.cc
parent30712a6f0906f3127c49989219c1077a81336c6c (diff)
downloadcrawl-ref-02dd4205015dd1fc1e27ed6422031c8bbb5c39cc.tar.gz
crawl-ref-02dd4205015dd1fc1e27ed6422031c8bbb5c39cc.zip
FR 1927675: Change message for jellies corroding items
from "Your Foo is eaten away!" (misleading to newbies) to "The acid corrodes your Foo!" FR 1926880: Auto-id "Gourmand when eating chunks while not hungry (unless already a chunklover otherwise). Should there be any case where can_ingest is called as a check, without actual eating (suppress_msg == true, I'd guess) the identification should be restricted to actual eating. I haven't found any, though. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3911 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 96f4ab3669..6b12581dd8 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -407,8 +407,10 @@ void item_corrode( int itco )
// handle message output and item damage {dlb}:
if (!suppress_msg)
{
- mprf("%s %s", item.name(DESC_CAP_YOUR).c_str(),
- (it_resists) ? "resists." : "is eaten away!");
+ if (it_resists)
+ mprf("%s resists.", item.name(DESC_CAP_YOUR).c_str());
+ else
+ mprf("The acid corrodes %s!", item.name(DESC_NOCAP_YOUR).c_str());
}
if (!it_resists)