Food poisoning



Food poisoning is an effect induced by eating either raw chicken or rotten flesh, which turns the hunger bar green and slowly drains food. Rotten flesh has a high chance (~75%) to cause food poisoning, and raw chicken has a fairly low chance to cause it (~30%).

Behavior
Food poisoning lasts 30 seconds, and drains to  over the duration. In peaceful mode, the hunger bar turns green, but does not get drained.

The duration of food poisoning doesn't stack, so if the player eats many poisonous foods at once, he or she will only feel the negative effects of a bit more than one of the poisonous foods.