Project Zomboid

Project Zomboid

More Medical
Anolyia May 6, 2023 @ 1:02am
Bug with Adrenalin and NasalSpray/CoughBottle
I've read lua files in order to know which drug do what. I've seen 2 problems :
Adrenalin syrette sets stress to 25 but is between 0 and 1. Comment says "25%" so I think you should change lua/server/more_medical_OnEat.lua line 31. (stress + 0.25)

When you use FluMedication, you don't use "mmSneezeTimerMin". When you use CoughBottle or NasalSpray, you use "mmSneezeTimerMin" but only change NastyColdSneezeTimerMin. When you reset data in lua/client/more_medical_EveryHours.lua, you trigger sneezeCought and activate it. It creates a visual bug with CoughBottle and NasalSpray after 6 hours. You have to reload game to stop sneezing.
< >
Showing 1-7 of 7 comments
separat.mn May 23, 2023 @ 7:10pm 
Yes I have this same bug
ChocoMaxXx May 26, 2023 @ 7:11am 
same
Jane Helldiver Feb 5, 2024 @ 9:47pm 
Same
해밀 Jun 15, 2024 @ 4:36am 
I love this mod but there are too many problems 😭 hope he comeback and fix problems
xRobyx93 Aug 13, 2024 @ 3:51am 
he dont even care about update their mods
Penguin Mar 5 @ 2:11pm 
Judging from Lua, FluMedication appears to be a fever reducer.
Lines 8 and 9 of more_medical_EveryHours.lua look bad. If comment it out, it will probably not trigger a sneeze and will just change the time.
"mmSneezeTimerMin" is a variable name so there is no problem.
R3xxion Apr 20 @ 3:53am 
The mod author seem to be MIA, if they won't fix it, I might take a look at it
< >
Showing 1-7 of 7 comments
Per page: 1530 50