From 02dd4205015dd1fc1e27ed6422031c8bbb5c39cc Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 28 Mar 2008 12:28:16 +0000 Subject: 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 --- crawl-ref/source/ouch.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/ouch.cc') 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) -- cgit v1.2.3-54-g00ecf