Aolion-GrabRecharge icon

GrabRecharge

Hold Z to recharge any grabbed battery item. Works in singleplayer and multiplayer for all players. Supports vanilla items, drones, guns, and modded items.

Last updated 5 months ago
Total downloads 147
Total rating 0 
Categories Mods Client-side Server-side
Dependency string Aolion-GrabRecharge-3.0.1
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

GrabRecharge v3.0.0

Grab any battery-powered item and hold Z to recharge it. Works in singleplayer and multiplayer — all players can recharge, not just the host.

All players must have this mod installed.

How to Use

  • Grab any battery item (gun, drone, orb, flashlight, and more)
  • Hold Z to charge it — your mod power drains as you charge
  • Mod power regenerates automatically when you stop charging
  • If mod power hits zero a short cooldown starts before it regens
  • A Charge % bar appears on your HUD showing your current mod power

Multiplayer

All players need this mod installed. Any player can charge any item they're holding, regardless of whether they're the host.

Configuration

Found in BepInEx/config/modx.playergrabrecharge.cfg after first launch.

Setting Description Default
RechargeKey Key to hold to recharge Z
ToggleMode false = hold, true = tap to toggle false
RechargeRate Battery % charged per second (1–30) 10
ShowChargeBar Show mod power bar on HUD true
DebugLogging Verbose logs for troubleshooting false

Compatibility

Should work with all vanilla and modded items that use the game's ItemBattery component.

Changelog

v3.0.0

  • Complete rewrite — now works in singleplayer and for all players in multiplayer
  • Fixed empty battery charging (0 bars now correctly charges up from nothing)
  • Fixed wrong battery being found when grabbing items near other items
  • Charging animation plays on the player holding Z and stops when they release
  • Supports the full item hierarchy (drones, orbs, modded items)

v2.0.0

  • Added mod power system, cooldown, toggle mode, HUD bar

v1.0.0

  • Initial release

Credits

Original mod by modx. v3.0.0 rewrite with multiplayer support and bug fixes.