Project Zomboid

Project Zomboid

[41+42] Food Allergy Traits by TwinCrows
23 Comments
Codemonkey3 5 Aug @ 10:11am 
I love the trait! Unfortunately I think the new patch introduced a lua error when right clicking.
greenpeapea 23 Jun @ 8:52am 
Finally, I can roleplay as myself with fish and peanut allergies. Banger mod, I was hoping for this :steamhappy:
Rooford 9 May @ 4:14pm 
*I have four candidates for what mod was doing this, and Im commenting on each of them- This mod may cause an error to occur where your minimap doesnt appear, and your dash board in the car is gone*
AwesomeGreen 9 May @ 3:23pm 
can you add celiac
The Gaming Gazimon 1 May @ 2:21pm 
having read the comment on why you're not including epi-pens.
what about adding benedryl or generic antihistamines to help reduce severity? as this was generally the at home treatment for an allergic reaction in the early 1990s. major side effect being sleepiness which should be easily applicable using in game mechanics
Clone4082 21 Mar @ 4:26am 
Extremely impressed by the detail you went through for thins answer. You’re awesome, thank you
TwinCrows  [author] 13 Mar @ 7:26pm 
Zomboid's setting in 1993 is an interesting time for allergies. 'EpiPens' were uncommon, having only been approved for US sale in 1987, six years before the Zomboid apocalypse.

In 1993, the EpiPen patent was owned by Survival Technology, a company in Maryland that produced "nerve gas antidote auto-injectors" for the Department of Defense, similarly named "AtroPens."

It wasn't until 1997 that a subsidiary of Merck (German multinational pharma) bought the company owning the these technologies and began to market EpiPens for widespread use.

Much of the awareness of severe allergies stems from lobbying and marketing by patent-holders to promote the sale of EpiPens to schools. Today the EpiPen has similar name-recognition to "Kleenex," but in 1993 would have been unknown.

Long story short: I'm not planning on adding EpiPens, as it would be anachronistic by about 5 years. Excellent question though, as it unearthed some interesting history and nuance about allergies in 1993.
Clone4082 10 Mar @ 5:10pm 
Would epi-pens be available in this mod as a way to counteract the negative effects?
TwinCrows  [author] 9 Mar @ 12:45am 
@Poorlius Thanks! I appreciate the topic of balance. I tried to balance it best as I could, and I insist that it's worth +3 trait points.

Particularly because this mod has some powerful trait interactions with:
- Weak Stomach (+20% Allergen Poison, +10% Severity & -10% Recovery Speed)
- Slow Healer (+10% Allergen Poison, -20% Recovery Speed)
- Prone to Illness (+30% Allergen Poison, +30% Severity)

Those traits I would usually consider "free", and together give +3, +3, and +4. If you're already minmaxing, you'll be taking all of these with Peanut Allergy for a total 13 points.

However, this combination exponentially stacks Poison, such that even 1 ingredient in a meal will probably kill. That's equivalent to 1/4 jar of peanut butter. I balanced it so that under normal circumstances without those traits, it takes 2 ingredients to have a chance to die.
Poorlii 4 Mar @ 4:59pm 
Hey, this is a fantastic concept for a mod! But I feel like Peanut Allergy gives you too many points for what it is. Peanuts are already kind of an uncommon ingredient that's very easy to avoid eating, so you basically get 3 points for free. Do you think you could lower it to maybe 2 or 1?
This is such a strong concept that would basically be perfect if you would tweak a few of the balancing :D
Dragongod2o0 3 Mar @ 8:39am 
could there be some kind of randomization so you get a big old surprise that peanut/seafood is actually bad for you? I think that'd be funny.
TwinCrows  [author] 27 Feb @ 4:22pm 
Whew, just patched in the new B42 fish. There's about double what there used to be.
Because of this I decided to increase the Trait Points from +4 to +5 for Seafood Allergy. This only affects B42.

Fun fact: Seafood Allergy is also set off by Cat Treats!
TwinCrows  [author] 27 Feb @ 3:17pm 
I've decided to update to B42 by simply trimming out Lactose Intolerance trait for now. The other two traits seem to work fine in my testing. Hope you enjoy!
TwinCrows  [author] 27 Feb @ 3:04pm 
Not available for B42 quite yet, but I did begin my testing. The only thing that is troublesome to update is the new liquids system for Milk. Milk is no longer a food, but a liquid, so I shall have to wait and see if others crack the code for how to detect what 'liquid' is being consumed.

For now, I may just update this to B42 absent Lactose Intolerance, but still keeping the other 2 allergies (Peanuts and Shellfish).
Tyu248 12 Feb @ 10:18pm 
Will this be coming to build 42? Really wanna roleplay my IRL peanut allergy lmao
TwinCrows  [author] 9 Feb @ 12:16pm 
I'm open to suggestions, but can't make promises.

Wheat Allergy would be a sensible next step. I'm open to any real-world allergies that cause Anaphylactic Shock. Send the ideas over.
jezzydash 8 Feb @ 3:14pm 
could you add celiac disease? is basically an allergy aganist gluten (wheat etc.)
TwinCrows  [author] 26 Jan @ 1:11pm 
Added: Pizza/Burrito/Taco also trigger Allergic Reactions. Fish tacos are not safe!
TwinCrows  [author] 26 Jan @ 2:15am 
No, I don't have any items for treating allergies implemented. It would be possible though.
maboo 26 Jan @ 2:12am 
Can allergies be treated
TwinCrows  [author] 26 Jan @ 1:35am 
OK, I have finished my "release" balancing of the moodles.

"Deadly Allergic Reaction" will most definitely kill you.
"Severe Allergic Reaction" may kill you if it's on too long.
"Allergic Reaction" should prove a headache.
"Minor Allergic Reaction" lingers for a long time and can lead to fever.

There is a increased chance for you to gain sickness depending on Reaction strength, with stronger ones giving you a lot more sickness. This means that the worse Allergic Reactions may cause fevers, which will finish you off.

Quite deadly!
TwinCrows  [author] 26 Jan @ 12:08am 
I'll be tweaking the moodles a bit still, so standby for an update.
TwinCrows  [author] 25 Jan @ 11:42pm 
This is the first mod I've released for Zomboid, so let me know if you have difficulty getting it to work, as it could easily be something on my end. Enjoy!