Toxicity System
I'm turning the old "Food Poisoning" system into the new "Toxicity" system.
Now the system has changed.
From 0 to 100 counts of toxicity in your creature's body your health regeneration gets lower until it turns off at 100 counts of toxicity.
From 100+ to 200 counts of toxicity in your creature's body your health starts to degenerate until it reaches its maximum degeneration at 200 counts of toxicity.
Counts of toxicity will fall off at 1 per sixty seconds while standing/walking/running and will fall off at 1 per thirty seconds while sitting/sleeping.
You need to manually remove these counts of toxicity by drinking freshwater or by eating rare plants, trees, or fish depending on your diet.
Drinking saltwater causes 5 toxicity.
Eating common plants causes between 0.1 and 0.5 toxicity per bite, depending on which biome the plant is from.
Eating uncommon plants causes between 0.6 and 1.0 toxicity per bite, depending on which biome the plant is from.
Eating meat or fish causes between 0 and 25 toxicity depending on how fresh the food is or how rotten it is.
The longer a corpse or carcass sits the more rotten and toxic it becomes.
Taking a bite from a rare plants cleanses 5 toxicity from your body.
Taking a drink of freshwater cleanses 5 toxicity from your body.