Gaming_and_Pringles-MoreBattery icon

MoreBattery

Customizable battery multiplier for flashlights & lanterns. Features standalone Debug HUD with persistent state overlays supporting Reserved slots. Original by Dausen_Bugg.

Last updated 6 hours ago
Total downloads 103
Total rating 0 
Categories Tweaks & Quality Of Life AI Generated
Dependency string Gaming_and_Pringles-MoreBattery-1.2.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

MoreBattery

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.

Credits & Attribs

  • Original Mod & Concept: Dausen_Bugg - Original creator who designed the mod to balance the game's light mechanics when paired with atmospheric/darkness mods.
  • Update & Re-Implementation: Updated and expanded by Antigravity (AI Coding Assistant) to add generic component detection, custom item matching, and a BepInEx config system to seamlessly replace the old mod for future modpacks.

Features

  • Generic Flashlight Detection: Automatically applies to all items inheriting from the standard FlashlightItem class (covers vanilla flashlights, pro-flashlights, laser pointers, and most modded flashlights like the Elite Flashlight).
  • Custom Item Support: A configuration list allows you to apply the multiplier to custom light-source items (like modded lanterns or custom battery-powered items) that do not inherit from the standard class.
  • Debug HUD Overlay: Shows a basic, high-contrast text overlay on the left side of your screen when holding or actively using any battery-operated item. Fully compatible with slot/hotbar mods (like ReservedFlashlightSlot!). It displays:
    • The item's name.
    • Its vanilla (original) max battery duration.
    • Its current modified max battery duration.
    • Its current remaining charge percentage and estimated seconds remaining.
    • Persistent Status: Even when you aren't using a battery item, the overlay will stay visible and display "Status: Active & Loaded" to give you instant confirmation that the mod is working before you get a flashlight!
  • Fully Customizable Multiplier: Default is 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).
  • Robust Integration: Uses Unity lifecycle hooks (Start) and a single-application cache, which prevents compounding multiplications if an item is spawned multiple times.

Configuration

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.