[B42] Auto-Drink Revert [SP/MP]
Изображение 1 из 7. Материалы автора из Steam Workshop.
О материале
«[B42] Auto-Drink Revert [SP/MP]» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
### "God Drink, Fight Milk, Combat Drink. Call it whatever you want. If it's mostly Water, Auto-Drink it. Just like old times"
In Build 42.19, The Indie Stone changed the Auto-Drink system. In IsoGameCharacter.java, the getWaterSource() function was updated to call a newly added function isWaterOnlySource() (located in FluidContainer.java) instead of the existing isWaterSource(). This changed the behaviour so that Auto-Drink will now only trigger from containers where every fluid present belongs to the water category, effectively requiring 100% water-only contents. Previously, getWaterSource() used isWaterSource(), which only required that water was the primary fluid by volume.
Example of Fluid Containers that were eligible Auto-Drink containers pre-42.19, but not after 42.19:
- A 1L Bottle containing 510ml Water & 490ml Cow's Milk
- A 1L Bottle containing 400ml Water, 300ml Cola & 300ml Cow's Milk
- A 2L Bottle containing 400ml Water, 300ml Cola, 300ml Bubblegum Soda, 300ml Cow's Milk, 300ml Apple Juice, 300ml Orange Juice & 100ml Whiskey (Delicious!)
This Mod reverts that change, restoring the pre-42.19 behaviour. Your character will once again automatically drink from any container where water is the primary fluid by volume.
-
Sidebar Icon: Opens the Auto-Drink Settings Menu. Can be converted to a draggable Icon via its right-click Context Menu.
-
Master Toggle: Controls Auto-Drinking behaviour for Mixed Beverages where Water is the primary fluid type. This setting does not affect pure water Auto-Drink, which is controlled only by vanilla's own global Auto-Drink option, exactly as it always has been.
-
Auto-Drink Priority: Lets you choose whether Auto-Drink Revert drinks the Most or Least Thirst reducing eligible Container first, then whichever has the least fluid remaining if two are equally effective.
-
Allow Auto-Drink from Equipped Bags: Searches your main inventory first, and only checks worn/carried bags if nothing valid is found there.
-
Fluid Context Menu Options: (Fluid > Auto-Drink Revert > Enable/Disable Auto-Drink for this Container) lets you include or exclude specific Containers individually, without needing to switch Auto-Drink off entirely.
-
Item Icon Overlay: Shows a small blue dot icon on eligible Fluid Containers that currently have Auto-Drink enabled, so you can see at a glance what your character will drink from.
The Mod hooks into the Auto-Drink function in IsoGameCharacter.java via a shared dispatcher, suppressing the vanilla Auto-Drink logic entirely and replacing it with a re-implementation that uses isWaterSource() instead of isWaterOnlySource().
All other vanilla behaviour is preserved (the minimum fluid amount threshold is maintained, and syncItemFields() is called after drinking to ensure the item stays in sync in Multiplayer environments).
Auto-Drink Revert prevents your Character from Auto-Drinking Tainted Water or any other Hazardous or Poisonous fluid in all topologies and settings.
- Build 42.19+
- Requires no other Mods as dependencies. This Mod is a standalone and clean fix using existing game functions
- Compatible with Singleplayer & Multiplayer
- Uses server authoritative drinking and synchronises Fluid Containers in Multiplayer
- Preferences/Settings are saved and reapplied per Player/Character through Relogs and Server Restarts
- Safe to add & remove mid-save
- This Mod does not alter any game files and should be compatible with any other Mod that does not also hook into AutoDrink (Completely safe and designed to be used in tandem with my other Auto-Drink Mods).
- Includes Translations for all supported Project Zomboid Languages
By design, this Mod stays focused on Auto-Drink behaviour where the primary fluid is Water. A 100% Orange Juice bottle, for example, will never trigger Auto-Drink with Auto-Drink Revert
Check out the rest of the Auto-Drink Family
All three Mods use a shared Auto-Drink dispatcher. By design, they can safely be installed individually or together in any combination without competing for the same AutoDrink hook or consuming from multiple containers during the same cycle.
Or click below to explore more of my Project Zomboid Mods
*** This Mod is actively maintained and updated. If you would like to Report a Bug or share Feedback or Suggestions, please do so via one of the image links below***
Want to Support my work? Rating, Liking, Favouriting or Subscribing is more than enough. If you want to go further, you can buy me a Bottle of Bleach or become a Ko-Fi Subscriber via the image below.
♡ I greatly appreciate any and all support for my Work ♡
Workshop ID: 3737205872 Mod ID: [B42.19]AutoDrinkRevert
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.