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
JI33MPZAQQV55WDCZE4IHGMZYRYWIYU5MSYKYZB7RX2AWWY2SMCQC 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());elsemprf("The acid corrodes %s!", item.name(DESC_NOCAP_YOUR).c_str());
if (wearing_amulet(AMU_THE_GOURMAND, !reqid)){const int amulet = you.equip[EQ_AMULET];ASSERT(amulet != -1);if (!item_type_known(you.inv[amulet])){set_ident_flags( you.inv[ amulet], ISFLAG_KNOW_TYPE);set_ident_type( OBJ_JEWELLERY, AMU_THE_GOURMAND,ID_KNOWN_TYPE );mpr(you.inv[amulet].name(DESC_INVENTORY, false).c_str());}return true;}