Project Zomboid

Project Zomboid

Immersive Medicine - ***A temporary fix!!***
65 Comments
the funny yellow dog 26 Nov, 2024 @ 7:29pm 
Just change this argument in media/lua/client/Component/Drug/EventListener/Drug/MorphineListener from:
if Survivor:getPainReduction() < 70 then
Survivor:setPainReduction(70)
to:
if Survivor:getPainReduction() < 100 then
Survivor:setPainReduction(100)

This easy fix would make morphine worth using in desperate situations where you don't have 50 minutes to spare waiting for painkillers to ramp up and need to stop hurting, NOW, which would better reflect the actual use of morphine irl - something used only in dire/extreme circumstances but always to great effect.
the funny yellow dog 26 Nov, 2024 @ 7:29pm 
Fun fact: Morphine sucks. It's coded to set the player's pain reduction to 70, which sounds good until you realize you've just spent two minutes fiddling with needles, syringes and ampules to set your pain reduction below the effectiveness of painkillers, which hit pain reduction 100 after 50 ingame minutes.

I think most people would agree that Advil beating out Morphine for best painkiller on the market is silly. The mod should be tweaked to make morphine, at the very least, just as effective as painkillers. I think the following changes should result in that.
Monti 25 Nov, 2024 @ 10:35am 
*Bug/incompatibility * Hello everyone. I noticed that this mod does not work together with the "Replace Bandage" mod. If you have a "replace" mod and injections or powders do not work, then try to remove the "replace bandage"

*Баг/несовместимость* Привет всем. Заметил, что данный мод не работает вместе с модом "Replace Bandage". Если у вас стоит мод "replace" и не работают инъекции или порошки - то попробуйте убрать именно "replace bandage"
KhanTheMad 24 Sep, 2024 @ 4:02pm 
does this make bleeding do no damage and act as its own health/debuff system? always found it odd you can die from a mere scratch
Busco 24 Aug, 2024 @ 5:04am 
Понял, большое спасибо. Буду пересматривать конфликтующие моды
LevchenkoGames  [author] 24 Aug, 2024 @ 4:59am 
В ванили этого, увы, нет.
Модификация открывала доступ, но из-за конфликта с модами оно может работать некорректно.
Busco 24 Aug, 2024 @ 4:56am 
Есть вопрос. В оригинальной игре возможность видеть список частей тела нет? Просто при прохождении банально измерить пульс было возможно при вопрежденной/забинтованой конечности. Никто не знает, как открыть список всех частей тела в меню?
YouHub 10 Aug, 2024 @ 12:29pm 
@marcuzz

Does your mod need this version of the mod or this one? - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2709866494
joinzglue 3 Aug, 2024 @ 12:38pm 
не работает в коопе
{playername(-1)} 27 Jul, 2024 @ 9:50am 
Mod popo
marcuzz 25 Jul, 2024 @ 10:51am 
feel free to use this mod https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3290132940 - its compatibility patch for onlycure + imeds + first aid overhaul, no hardcoded dependency so it will work for repacks/modpacks. its jsut patch so u need some version of original mods
Srixen 4 Jun, 2024 @ 8:20am 
I've made a patch to this mod, making it compatible with the only cure - revisited version.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3257698814
John Sandstorm 1 Jun, 2024 @ 3:21am 
if this mod gets a compatibility with "only cure" it would be amazing. im using this mod in every playthrough and enjoying it really
froggx 12 May, 2024 @ 11:36pm 
@Christian

"only cure" is the problem. this mod, "only cure", "replace bandage", and most other mods that change options in health panel will have compatibility issues.

The last mod in the load order that changes the health panel is going to be the only one that you'll see UI options for due to the way the health panel is designed.

common sense would make you think that each mod would start with the vanilla health panel as a base and just inject it's couple of options into the already existing panel. naturally, it was decided not to use common sense. :omg_desolate:

instead, each mod has to create it's own health panel UI from scratch with the vanilla options along with what it adds, and overrides whatever is currently loaded. so each mod ends up overriding the preceding mods health panel and only the last one in load order isn't overriden. the only exceptions are mods that the author specifically designed to work with another health panel mod (e.g. pie's first aid).
Christian 12 May, 2024 @ 4:04pm 
Yeah I do have the only cure, thats the only thing I can think of.
froggx 12 May, 2024 @ 1:52am 
problem with not showing body parts is definitely mod conflict. i can confirm this mod works as intended on our 200+ mod dedicated servers (load order sorted with mod manager: load order sorter).

do you have some other mod that touches the pop-up menus? i've read that some mods that add other features to the med window, such as "replace bandage", have caused issues in the past. putting this one at the bottom of load order (mods lower down the load order override mods higher up) might help. might not.

also, morphine is the very best, so horde it where no one else can find it.:eselphine:
LevchenkoGames  [author] 12 May, 2024 @ 1:33am 
Could you write about this in the Discord community and attach a list of mods used?
Most likely, some mods conflict.
Christian 12 May, 2024 @ 12:12am 
Yeah, can't see the body parts in the medical menu inorder to administer medication
firewirecompatible 9 May, 2024 @ 4:08pm 
It won't show the body parts in the health panel
St0rm1s 7 May, 2024 @ 10:25am 
Чем отличается от оригинала?
BoredThor 6 May, 2024 @ 10:02am 
This mods (And other versions of it) medicine packages become unopenable when using a mod that changes global action speeds. It seems the packages require a timed action to open and can't be opened if the action is instant? Actions speeds like crafting, eating, equipping etc don't seem to break it. Perhaps its just global action speed.
Gootube 4 May, 2024 @ 1:30am 
Could you use moodle framework to add a new moodle indicating blood loss level? It will feel more immersive than a background mechanic.
Also I want to ask what do the 2 modifier sandbox setting mean?
froggx 29 Apr, 2024 @ 4:50pm 
@Puddings

don't fix stuff if it isn't broken
Puddings 29 Apr, 2024 @ 3:25pm 
idk if I should get this if the og works fine? o.o
LevchenkoGames  [author] 27 Apr, 2024 @ 5:29pm 
Damn it...
Thanks, I'll look into what could be causing it soon.
Morgan 27 Apr, 2024 @ 5:06pm 
So we have this on our sever. We can't inject anything or do anything with the items. We think it is broken or something. Just wanted to let you know.
LevchenkoGames  [author] 27 Apr, 2024 @ 12:41am 
This mod doesn't need any old mod. In fact, this is now the original.
Morgan 26 Apr, 2024 @ 2:20pm 
Do we need the original mod and this mod or just this mod?
bAhAcAn 9 Apr, 2024 @ 10:19am 
Hi. I would like to add zRE Vaccine if possible as well. Are both compatible by any chance?
Archadies Leafwalker 16 Mar, 2024 @ 12:21pm 
Oh, and will this work with zRE Vaccines and the balance mod that makes this and Vaccines work together?
Archadies Leafwalker 16 Mar, 2024 @ 12:16pm 
Will this run WITH the original active as well? I don't see it as a requirement. Perhaps I missed it in the description.
froggx 5 Mar, 2024 @ 6:20pm 
@Archadies Leafwalker

when i looked through the original mod's code there were indications that the author had abandoned development before implementing all the features that they originally intended to... :uritona:
Death Divers 5 Mar, 2024 @ 1:48am 
everything works.. i just dont see when you have slight to massive blood loss, also cant find out how to transfer blood
Archadies Leafwalker 20 Jan, 2024 @ 11:46pm 
Will you be adding support by chance for Replace Bandage? Or does that mod's author need to fix his mod? Just curious, sorry to bother you and thank you for updating and fixing this mod. I always wondered why the original author made the other meds have so many new meds with some that couldn't be used. lol. Thank you very much for this.:praisesun:
Gollias 7 Jan, 2024 @ 9:33am 
1. Theres even an need for updates? I mean, it's still working...

2. Yeah, it's a bug, but it's this way because was meant to be found in packages, not spawned by admin tools, however, if you spawn the "package" on the admin tools you can pick up the medicines and it'll work properly
MeanSmoker 31 Dec, 2023 @ 9:43pm 
Update: @Roddo yeah you were right! and also basically anything that let's you interact with the health panel will conflict with this. @LevchenkoGames love those ideas man it feels like there is wayy to much of the medicine in the world on default "rare" settings
LevchenkoGames  [author] 30 Dec, 2023 @ 11:28am 
There will be a stat rebalance in the coming updates.

At a minimum, I will reduce the chance of spawning and the number of drugs in general.
Perhaps I will change some properties according to the duration of action, but this is not certain.
Harkness 30 Dec, 2023 @ 11:10am 
I like this mod, but the doping drug is sooo overpowered
Roddo 28 Dec, 2023 @ 6:53pm 
If you have "Replace Bandage" activated, it is an incompatibility. I wish they would fix that problem
MeanSmoker 27 Dec, 2023 @ 2:46pm 
I can confirm this patch works as intended allowing you to use the medications as intended through the health panel.. however on my normal heavily modded playthrough it does not, the medications spawn but I simply cannot use them; I get no errors from the mod itself or any others but, if anyone finds out any incompatibilities please let me know!
LevchenkoGames  [author] 26 Dec, 2023 @ 10:37pm 
No, you don't need the original mod. It is enough to enable only my mod and everything will work.

This is not a fix, it's a... Mod update by a new author (:
moke wed 26 Dec, 2023 @ 4:51pm 
I'm assuming i need to have both this mod and the original one installed at the same time ?
this is a patch, not a replacement, right ?
matty.dellindo 22 Dec, 2023 @ 4:50am 
Thank you
LevchenkoGames  [author] 21 Dec, 2023 @ 11:03pm 
❤️
froggx 21 Dec, 2023 @ 4:52pm 
i love how ppl still act like zomboid is the kinda game that lets you fuck with your modlist and not break your save.


@LevGames
thanks for the fix
Titto Hokkaido 21 Dec, 2023 @ 4:52pm 
Alright, I’ll try this one out then! Thx Levchenko!
Titto Hokkaido 21 Dec, 2023 @ 4:51pm 
?*
Titto Hokkaido 21 Dec, 2023 @ 4:51pm 
@Iron Without; have you tried using the health menu for using the meds, such as right clicking the head for drinkable meds (butamirate, umifenovir, etc) and for those injected right clicking arms
LevchenkoGames  [author] 21 Dec, 2023 @ 3:18pm 
Just keep in mind that you can replace them not just in the list of mods, but in the save settings. So it’s better to actually make a backup copy, so that if something goes wrong, you can roll back the save.
LevchenkoGames  [author] 21 Dec, 2023 @ 3:06pm 
matty.dellindo, Christian

After several tests, it was found that things were simply *replaced* with new ones.
So you can safely update your mod builds.

HOWEVER PLEASE NOTE!!
For the safety of your save, it is better to make a backup copy of your save before the update procedure. Just in case.