You are viewing a potentially older version of this package. View all versions.
Sparroh-TempStorageBugfix-1.0.0 icon

TempStorageBugfix

Fixes Gear Details temp storage becoming unusable after storing 12 upgrades.

Date uploaded a day ago
Version 1.0.0
Download link Sparroh-TempStorageBugfix-1.0.0.zip
Downloads 5
Dependency string Sparroh-TempStorageBugfix-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_Mycopunk-5.4.2403 icon
BepInEx-BepInExPack_Mycopunk

BepInEx pack for Mycopunk. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

TempStorageBugfix

A BepInEx client-side mod for Mycopunk that fixes Gear Details temporary upgrade storage becoming unusable after storing 12 upgrades.

The Bug

Temp storage is meant to hold up to 12 upgrades while you rearrange your grid. Vanilla tracks capacity with the size of its internal UI pool list, but removing an upgrade only deactivates the slot instead of shrinking that list.

After 12 upgrades have ever been placed in temp storage for that window instance, every further add fails — even if the tray is empty. Storage becomes unusable until the UI is fully recreated.

The Fix

This mod patches GearDetailsWindow.AddUpgradeToTempStorage so the 12-slot limit counts currently active temp-storage entries, not the lifetime pool size. Removing an upgrade frees a slot immediately, as intended.

Dependencies

Installing

Via Thunderstore (recommended):

  1. Install with a Thunderstore mod manager (e.g. r2modman or the Thunderstore App).

Manual installation:

  1. Install BepInEx for Mycopunk if you have not already.
  2. Copy TempStorageBugfix.dll into <Mycopunk Directory>/BepInEx/plugins/.

Building

dotnet build --configuration Release

The built assembly is written to bin/Release/netstandard2.1/TempStorageBugfix.dll.

Authors

  • Sparroh

Links

License

This project is licensed under the MIT License — see the LICENSE file for details.

CHANGELOG

Changelog

1.0.0

Fixed

  • Gear Details temp storage no longer becomes unusable after 12 upgrades have been stored
  • Capacity now counts active temp-storage slots instead of the lifetime UI pool size