CleverRaven/Cataclysm-DDA — pull request #3082 by i2amroy (2013-09-17 10:52:15+00:00)
Title: [WIP] Update Bite/Infection to use the new bodypart-aligned disease system.

Also updates to a much more realistic infection system, where infections are no longer guaranteed deadly, but are much more debilitating if you survive them.

So far this PR:
1) Updates bites/infections to work on a individual body part basis
2) Adds some new arguments to ::add_disease, which can stop a disease from increasing in duration if it already exists (used for diseases like bite or infection where duration is really a "timer"), and can redirect from lesser body parts (eyes, mouth, hands, feet) onto their respective main ones (for things like bleeding where you couldn't cure eye bleeding).
3) Bites/infections are no longer guaranteed lethal, but recovery chance is based on the player's "health" stat; with a 50% of spontaneous recovery from a bite/infection. 2/3rds of these recoveries will happen during the bite stage, the other 1/3 happen during the infection stage. Players that are still recovering from a previous infection will find it harder to fight off successive ones.
4) The total time before death when bitten/infected has been extended to be the full 30 hours intended.
5) Recovery is now much more painful, and is basically a slightly less harmful version of the bite/infection symptoms in reverse. It also lasts a *lot* longer, with duration being based on how badly infected a person was before healing.

Misc:
1)Removes a bunch of "break;"s that should never trigger anyways and were making Cygwin mad.

TODO:
1) Update items that treat bleeding/bite/infection to automatically do their respective tasks (meaning if you use a bandage on your torso it will stop bleeding). The new system will combine the various healing items into a single iuse function that could easily be expanded to allow for new healing items being added to the jsons (once the json loading has calmed down a little).