AtmosphericEnergizersRework
Reworks Atmospheric Energizers (Swarm Gun) auto ammo regeneration behavior.Atmospheric Energizers Rework
A BepInEx mod for Mycopunk that reworks Atmospheric Energizers (Swarm Gun) auto ammo regeneration.
Features
- Regenerates stored ammo (reserve) while hovering bullets are active, instead of magazine ammo
- Configurable delay after last fire before regen can start (default 1 second)
- Uses the weapon's existing auto ammo regen interval (optionally scaled)
- Restores a configurable amount of ammo per tick, up to capacity or a custom cap
- Hot-reloads config from disk while the game is running
Installation
Thunderstore (recommended)
- Install via the Thunderstore Mod Manager (or another compatible manager).
- The mod is placed in the correct BepInEx plugins folder automatically.
Manual
- Install BepInEx for Mycopunk (BepInExPack_Mycopunk 5.4.2403 or compatible).
- Copy
AtmosphericEnergizersRework.dllinto<Mycopunk>/BepInEx/plugins/. - Launch the game. Confirm load in the BepInEx log:
AtmosphericEnergizersRework v1.2.0 loaded successfully.
Dependencies
- Mycopunk
- BepInExPack_Mycopunk 5.4.2403 or compatible
Configuration
Config file (created on first launch):
BepInEx/config/sparroh.atmosphericenergizersrework.cfg
| Option | Default | Description |
|---|---|---|
| Enabled | true |
Master toggle. When off, vanilla SwarmGun regen runs unchanged. |
| Fire Delay | 1 |
Seconds after last fire before regen can start. |
| Ammo Per Tick | 1 |
Stored ammo restored each regen tick (minimum 1). |
| Interval Multiplier | 1 |
Multiplies the weapon's autoAmmoRegenInterval. Below 1 = faster; above 1 = slower. |
| Cap Mode | AmmoCapacity |
AmmoCapacity uses GunData.ammoCapacity. Custom uses Custom Cap. |
| Custom Cap | 999 |
Max StoredAmmo when Cap Mode is Custom. |
Edits to the cfg file are picked up automatically (debounced hot-reload).
Building
- Clone the repository: https://github.com/Little-Sparroh/AtmosphericEnergizersRework
- Ensure the
.csprojreference paths point at your local Mycopunk and BepInEx installs. - Build:
dotnet build --configuration Release
Output DLL: bin/Release/netstandard2.1/AtmosphericEnergizersRework.dll
Troubleshooting
- Mod not loading? Confirm BepInEx is installed and check
BepInEx/LogOutput.logfor errors. - No effect in-game? Ensure you are using Atmospheric Energizers (Swarm Gun), that hovering bullets are active after
firing, and that Enabled is
truein the config. The weapon also needs an auto ammo regen upgrade/interval greater than 0.
Authors
- Sparroh
License
This project is licensed under the MIT License — see the LICENSE file for details.
