Project Zomboid

Project Zomboid

314 ratings
Pill Duration
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
142.392 KB
19 Jan, 2023 @ 5:17pm
10 Mar, 2023 @ 8:15am
7 Change Notes ( view )

Subscribe to download
Pill Duration

Description
Pill Duration

This mod allows you to see the remaining duration of medical pills (Beta Blockers, Painkillers, Anti-Depressants, Sleeping Tablets and Antibiotics).
You can change which of the bars is displayed in the window with the mod "Mod Options" (link).
If you want to disable the borders arround the objects you can disable them as well with "Mod Options".

The remaining time is shown in ingame minutes.

The information window can be set visible by clicking the new floating button on your screen:



The position of the toggle button and the window are saved when you exit the game and applied when you load it. I used the mod "PZ-ClothingUI" mod as reference to implement this.

I removed the button from the health panel because it could potentially cause problems with other mods that change it.

Adding Support for other mods
A lot of people have asked about adding support for pills from other mods. I will definitely look into it, but I can't promise anything. Currently I don't have the time to work on adding support, but I hope I'll manage to do it in the near future.
Mods people have asked for already:
  • They Knew
  • More Medical
  • Immersive Medicine Revised

Translations

If you want add a translation head over to the translation discussion

Check out my other mods!

Or click here to visit my workshop page!

Permission
You can use this mod in your own creations, but please credit me if you do so.

[theindiestone.com]

Workshop ID: 2920624796
Mod ID: PillDuration
Popular Discussions View All (3)
15
15 Aug, 2023 @ 11:42am
PINNED: Translations
Cpt. Metal
11
15 Apr, 2023 @ 5:41am
PINNED: Bugs and errors
Cpt. Metal
7
15 Jun, 2023 @ 1:55am
PINNED: Suggestions
Cpt. Metal
41 Comments
BrokenBuck 7 Sep @ 10:49pm 
if only this mod actually let you alter the pill duration
Amesdrak 6 Aug @ 6:14pm 
the strange letters in the "tildes" appear in all the mods, it must be a problem with some patch that does not recognize the letters with "tilde" :/ (or at least I have the same problem with other mods)
Bodomy 2 Aug @ 7:09am 
Hi! In the Spanish translation there are these annoying letters where the accent should be (in somníferos, analgésicos y antibióticos) and I was wondering if it could be fixed somehow?
Thank you!
Prof.Liebstrumpf 20 Nov, 2023 @ 11:18am 
The Pill time duration not exactly the same as ingame time.
BetaBlocker shows 120 mins.
Played with 1hour gametime = ~1,5hours the pill timer is gone.
Played with 2hours gametime = ~42minutes the pill timer is gone.
Played with 3hours gametime = ~30minutes the pill timer is gone.
and so on...
No matter what gametime i set, in realtime it is ~3m:40s to ~3m:50s.
Maybe it depends on ticks? (Haven't check that)
fin fin fin 6 Aug, 2023 @ 4:17am 
did you add compatibility with they knew mod? dont want to risk my save to finding out you didnt add it yet btw great Qol mod
AnotherGamerGuy 2 Aug, 2023 @ 10:49pm 
Can you add compatibility with the schizophrenia mod? They have meds in game to help with the condition, and my brother refuses to play without it, thanks!
yoshuzapat 27 Jul, 2023 @ 1:05pm 
It could work only as a bar that appears when you are under the effect of drugs and then disappears. So as not to interfere with the UI
ShredderCody 17 Jul, 2023 @ 3:44pm 
A sandbox option to only be able to see pill duration based on medical skill could be a neat feature.
Cpt. Metal  [author] 16 Jul, 2023 @ 8:29am 
@raffle sorry to hear that, I just tried it myself and it saves the position correctly
@Murasame yes, I didn't even know this and tested it, it works fine
Murasame 13 Jul, 2023 @ 11:00pm 
Does this works with alcohol because it has the similar effect with painkillers