Project Zomboid

Project Zomboid

31 个评价
[B41/42] Simple Drink Hotkey
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
33.048 KB
2023 年 8 月 22 日 上午 4:26
2024 年 12 月 26 日 下午 7:00
6 项改动说明 ( 查看 )

订阅以下载
[B41/42] Simple Drink Hotkey

描述
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 条留言
UnCheat  [作者] 7 月 30 日 上午 9:29 
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 7 月 30 日 上午 9:13 
@Mr.Dorito Have you favorited the bottle? It should work this way
Nyx2330 5 月 24 日 上午 9:28 
Everytime I use the hotkey an error keeps showing up could you check this
out by any chance?
Guicsr_ 5 月 22 日 下午 4:38 
dont disaper!!! you mod is very necessary.
Guicsr_ 5 月 20 日 下午 8:10 
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 3 月 29 日 下午 7:48 
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 2 月 10 日 下午 1:33 
As Majorx4 said, I'm get a units nil message; it worked for a bit then quit.
xDant 1 月 29 日 上午 10:03 
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 1 月 26 日 下午 2:47 
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  [作者] 1 月 5 日 下午 2:26 
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