git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2018 c06c8d41-db1a-0410-9941-cceddc491573
7HMVMNBIRU5WDSIWYK6RX57E4LA35N3HLT7RPIAGCDLEKAEEDX2QC static bool prompt_eat_chunk(const item_def &item, bool rotten){if (rotten && you.species != SP_GHOUL && you.species != SP_KOBOLD&& you.species != SP_TROLL && you.species != SP_OGRE&& you.species != SP_HILL_ORC&& !yesno("Are you sure you want to eat this rotten meat?",false, 'n')){canned_msg(MSG_OK);return (false);}return (true);}
if (rotten && you.species != SP_GHOUL && you.species != SP_KOBOLD&& you.species != SP_TROLL && you.species != SP_OGRE&& you.species != SP_HILL_ORC&& !yesno("Are you sure you want to eat this rotten meat?", false, 'n')){canned_msg(MSG_OK);
if (!prompt_eat_chunk(you.inv[which_inventory_slot], rotten))
if (rotten && you.species != SP_GHOUL && you.species != SP_KOBOLD&& you.species != SP_TROLL && you.species != SP_OGRE&& you.species != SP_HILL_ORC&& !yesno("Are you sure you want to eat this rotten meat?", false, 'n')){canned_msg(MSG_OK);
if (!prompt_eat_chunk(mitm[item_link], rotten))