A BepInEx mod for Lethal Company that increases the battery life of flashlights, lanterns, and other light sources.
This is a modern re-implementation of the classic MoreBattery mod, expanded to dynamically support all modded light sources (such as the Elite Flashlight or custom lanterns) with a fully customizable configuration file and a built-in HUD overlay showing original and current battery durations.
FlashlightItem class (covers vanilla flashlights, pro-flashlights, laser pointers, and most modded flashlights like the Elite Flashlight).ReservedFlashlightSlot!). It displays:
"Status: Active & Loaded" to give you instant confirmation that the mod is working before you get a flashlight!1.5 (+50% battery capacity), but can be adjusted to any multiplier (e.g. 2.0 for double, 3.0 for triple, or 1.0 to keep it vanilla).Start) and a single-application cache, which prevents compounding multiplications if an item is spawned multiple times.Upon launching the game once with this mod installed, a configuration file will be generated at BepInEx/config/MoreBattery.cfg.
You can customize the following fields:
| Section | Setting | Default Value | Description |
|---|---|---|---|
| General | BatteryMultiplier |
1.5 |
The multiplier applied to the battery life (duration in seconds) of flashlights and light sources. 1.5 represents a 50% increase. |
| General | ApplyToAllFlashlights |
true |
If true, automatically applies the battery multiplier to all items inheriting from FlashlightItem. |
| General | CustomItemNames |
Lantern |
A comma-separated list of additional item names (case-insensitive) to apply the battery multiplier to (e.g., Lantern, Green Flashlight). |
| General | ExcludedItemNames |
(empty) | A comma-separated list of item names to exclude from receiving the battery multiplier. |
| General | ShowDebugUI |
false |
If true, shows a basic text overlay on the screen when holding or using a battery-operated item, displaying its original and current battery durations. |