Mycopunk

Details

Last Updated
last month
First Uploaded
last month
Downloads
48
Likes
0
Size
19KB
Dependency string
Sparroh-PressureCookerFix-1.0.0
Dependants

Categories

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

  1. Clone this repository
  2. Open the solution file in Visual Studio, Rider, or your preferred C# IDE
  3. Build the project in Release mode

Alternatively, use dotnet CLI:

dotnet build --configuration Release

Installing

Option 1: Via Thunderstore (Recommended)

  1. Download and install using the Thunderstore Mod Manager
  2. Search for "PressureCookerFix" under MycoPunk community
  3. Install and enable the mod

Option 2: Manual Installation

  1. Ensure BepInEx is installed for MycoPunk
  2. Copy PressureCookerFix.dll from the build folder
  3. Place it in <MycoPunk Game Directory>/BepInEx/plugins/
  4. 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
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.