Project Zomboid

Project Zomboid

265 ratings
[B42] Extended Battery Life
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
12.664 KB
Dec 19, 2024 @ 12:26pm
Dec 31, 2024 @ 5:45pm
3 Change Notes ( view )

Subscribe to download
[B42] Extended Battery Life

Description
A simple mod that makes batteries last longer. The duration can be configured in sandbox settings.

Compared to other mods, this one dynamically scans for items that accept batteries and sets the drain rate accordingly.

As long as the item has an "InsertBattery" recipe, it will be affected. This means that non-vanilla items would also be affected.

Does not affect car batteries.

Features
  • Configurable battery life multiplier
  • Default setting makes batteries last twice as long (multiplier = 0.5)
  • Works with all battery-powered devices that have an "InsertBattery" recipe
  • Multiplayer compatible
  • Safe to add or remove from existing saves

Configuration
In Sandbox Settings, look for "Extended Battery Life":
  • Battery Life Multiplier: 0.0 to 1.0 (default: 0.5)
  • Lower values make batteries last longer
  • 1.0 = vanilla duration
  • 0.5 = twice as long
  • 0.25 = four times as long
  • 0.0 = infinite

Compatibility
  • Requires Build 42+
  • Safe to use with other mods
  • Compatible with multiplayer

Bug Reports
If you find any issues, please report them on the Steam Workshop page.

License
MIT License - Feel free to use this in modpacks or modify it for personal use.

Workshop ID: 3387462212
Mod ID: extendedBatteryLife
38 Comments
Higgins Apr 20 @ 11:11am 
Exactly was i i was looking for. Thanks for this little gem of a mod!
Lithographer Mar 21 @ 10:57am 
yess this also needs the mask filter multiplier asap :pillow::bleach::spiffo:
poopsock Mar 20 @ 8:56pm 
I havent seen a mod that does this yet, or at least i cant find it, but could you add a filter life multiplier mod? I hate how gas mask filters last only like 1 hour in game.
NationGamer090 Feb 3 @ 12:47pm 
Is there anything I am missing? I have it all activated but that extra window in the Sandbox options for the Server doesn't show a section for Extended Battery Life
Tori Jan 24 @ 1:15am 
@Zara It was fixed in 42.1 now but your comment is helpful to me. Thank you!
There's no issue now
Zara ♡ Jan 18 @ 10:59am 
@Tori You have to get a mod that fixes that. I think that is a B42 issue itself because I was having that problem BEFORE I installed this mod, so I think that's the case. There is a mod to fix it though!
https://steamcommunity.com/sharedfiles/filedetails/?id=3400920118&searchtext=battery
Zara ♡ Jan 18 @ 10:54am 
Ayy Its gamerpoets! Im subbed to him lol
Zara ♡ Jan 18 @ 10:53am 
Thank you for this! I have the mod that fixes batteries from draining completely after reloading the game; Then I noticed they go out quickly! I don't remember them going out that fast in B41. So thank you for this! Its like the devs tried to make things toooo "realistic" that they instead made things unnecessarily tedious and unrealistic lol
gamerpoets Jan 9 @ 11:28am 
I love that you added the ability for us to customize it. I can now host for my friends while they complain that my settings are too low for them lol = ) Thanks for your work. I put it in a video that I just made. https://www.youtube.com/watch?v=JBm6fo0EkDI
Tori Jan 5 @ 9:50am 
Every time I load the game the flashlight battery multiplier is reset to default.
Can you check it?
I'm changing the batteries every time I launch the game now.