Meals Never Cause Food Poisoning
Okay, it turns out that there is already a setting in game to disable food poisoning.
Okay, it turns out that there is already a setting in game to disable food poisoning. You set this in the custom storyteller difficulty. When choosing a storyteller, pick the "custom" option which is at the bottom of the list. You should see the food poisoning slider there, move it to 0 to disable food poisoning.
Thanks to gator in comments for pointing this out! I don't know how I missed that custom difficulty settings were a thing for so long.
Cooked meals will never cause food poisoning.
I was getting sick of all my colonists repeatedly getting food poisoning during early game,
so this mod simply stops cooked meals giving food poisoning.
Should work when added to an existing save, and is unlikely to conflict with other mods.
The change should be effective on mods adding new foods, although it is not tested with any specific ones.