PressureCookerFix
Fixes the Pressure Cooker bug that allows reloading while charging.
| Last updated | 3 weeks ago |
| Total downloads | 33 |
| Total rating | 0 |
| Categories | Gameplay |
| Dependency string | Sparroh-PressureCookerFix-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_Mycopunk
BepInEx pack for Mycopunk. Preconfigured and ready to use.
Preferred version: 5.4.2403README
PressureCookerFix
A BepInEx mod for MycoPunk that fixes reload interruptions during the Pressure Cooker charging phase.
Description
This client-side mod addresses a critical issue with the Pressure Cooker (Globbler) weapon where the charging phase could be interrupted by reload inputs. When the Globbler has a chargeTimePerAmmo setting greater than 0, reloading (both hold and tap reload) would interrupt the ongoing charge, potentially losing progress or requiring the entire charge sequence to restart.
The mod patches the reload input handling methods to check if the Globbler is currently charging, and blocks the reload action until charging completes. This ensures the integrity of charge-based attacks and maintains consistent Pressure Cooker behavior.
Getting Started
Dependencies
- MycoPunk (base game)
- BepInEx - Version 5.4.2403 or compatible
- .NET Framework 4.8
Building/Compiling
- Clone this repository
- Open the solution file in Visual Studio, Rider, or your preferred C# IDE
- Build the project in Release mode
Alternatively, use dotnet CLI:
dotnet build --configuration Release
Installing
Option 1: Via Thunderstore (Recommended)
- Download and install using the Thunderstore Mod Manager
- Search for "PressureCookerFix" under MycoPunk community
- Install and enable the mod
Option 2: Manual Installation
- Ensure BepInEx is installed for MycoPunk
- Copy
PressureCookerFix.dllfrom the build folder - Place it in
<MycoPunk Game Directory>/BepInEx/plugins/ - Launch the game
Executing program
Once installed, the mod works automatically and affects Pressure Cooker weapons:
Fixed Behavior:
- Charging Preservation: Reload cannot interrupt ongoing charge phase
- Buff Retention: Damage bonuses and stat modifications maintained during charge
- Proper Timing: Hold reload properly blocked while
WantsToFire && chargeTimePerAmmo > 0
Affected Interactions:
- Hold reload input blocked during charging
- Tap reload input blocked during charging
- Charging can only be interrupted by weapons, abilities, or other explicit actions
Help
- Still getting interrupted? Make sure the Globbler has chargeTimePerAmmo configured and not set to 0
- Reload works sometimes? The mod only blocks reload when actively charging - normal reloads when not charging work fine
- Other weapons affected? This mod only affects Globbler/Pressure Cooker weapons
- Performance impact? Minimal - only checks flags during reload attempts
- Conflicts with mods? May interfere with mods that modify reload behavior or Globbler mechanics
- Testing charge blocking? Try holding/tapping reload during a charge sequence - input should be ignored
Authors
- Sparroh
- funlennysub (original mod template)
- @DomPizzie (README template)
License
- This project is licensed under the MIT License - see the LICENSE.md file for details