Project Zomboid

Project Zomboid

30 ratings
[B41/42] Simple Drink Hotkey
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
33.048 KB
22 Aug, 2023 @ 4:26am
26 Dec, 2024 @ 7:00pm
6 Change Notes ( view )

Subscribe to download
[B41/42] Simple Drink Hotkey

Description
Adds a Drink hotkey under Options -> Key Bindings.
Pefers favorited containers.

Bottle(even modded) can be in any backpack on your character (script will take it from there drink and put back)

Favorite water containers have higher priority (even if you have unpacked unfavorite bottle and favorite bottle iside you backpack you'll drink favorite one of available).

If you want to use one specific water container then make it favorite and unfavorite others

You can combine it with autodrink so when main inventory water will deplete you can press button to drink water from you backpach water containers

Fix: favorite bottle changes now have higher priority than cached last used bottle

My other mods:

Workshop ID: 3024063146
Mod ID: SimpleDrinkHotkey
22 Comments
UnCheat  [author] 30 Jul @ 9:29am 
Did not play for a long time.. I hope release is soon so I check all mods work on 42 stable...
Currently I've no time to support unstable changes so if someone would like to reupload unstable fixes it's cool!
Reanimated 30 Jul @ 9:13am 
@Mr.Dorito Have you favorited the bottle? It should work this way
Nyx2330 24 May @ 9:28am 
Everytime I use the hotkey an error keeps showing up could you check this
out by any chance?
Guicsr_ 22 May @ 4:38pm 
dont disaper!!! you mod is very necessary.
Guicsr_ 20 May @ 8:10pm 
Hi, I really liked the mod, very immersive, but it doesn't seem like it detects the mouse button, you know? Those helpers? I can put it in the hotkey menu but when I press it it doesn't register, I only understand the keyboard button, can you make this adjustment?
Mr.Dorito 29 Mar @ 7:48pm 
Can you make it so i can drink with a bottle being in a backpack? its anoying to have to take the bottle out so i can use the hotkey.
Loccatpowersdog 10 Feb @ 1:33pm 
As Majorx4 said, I'm get a units nil message; it worked for a bit then quit.
xDant 29 Jan @ 10:03am 
Hi! I was looking for a fix for the vanilla auto drink mechanic that only works if there's water main inventory. Is this the mod ?
Does it allow auto drink from any container?
Major Major Major Major 26 Jan @ 2:47pm 
Doesn't work for me. Doesn't throw up any errors but whenever I try to use the hotkey it just says "units nil" and doesn't do anything.
UnCheat  [author] 5 Jan @ 2:26pm 
Interesting idea!
But I have to check real hydration by sodas in b42 for proper calculation.. I am sure that it's not like water
If I'll found that I need I might add this option