feeding issues. Oh, and they're poison resistant now.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1886 c06c8d41-db1a-0410-9941-cceddc491573
JXOE7KJIEAJHPLMZAJ6O4YHDTRB6BGNP6XT3ZSEFYGSIUMHR77KQC
case CE_CONTAMINATED:
food_value = mass / (random2(3) + 1);
mpr( "Somehow that blood was not very filling!" );
break;
case CE_POISONOUS:
food_value = random2(mass) - mass/2;
mpr( "Blech - that blood tastes nasty!" );
break;
case CE_MUTAGEN_RANDOM:
food_value = random2(mass);
mpr( "That blood tastes really weird!" );
mutate(RANDOM_MUTATION);
xom_is_stimulated(100);
break;
}
lessen_hunger(45 + random2avg(59, 2), true);
int food_value = 0;
if (chunk_type == CE_CLEAN)
food_value = 45 + random2avg(59, 2);
else if (chunk_type == CE_CONTAMINATED)
food_value = 22 + random2avg(29, 2);
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT)
food_value -= 5 + random2(16);
lessen_hunger(food_value, true);