CompareUpgrades
Press 'C' on an upgrade to lock for compare, press 'C' again on the same upgrade to unlock.
| Date uploaded | 10 months ago |
| Version | 1.0.0 |
| Download link | Sparroh-CompareUpgrades-1.0.0.zip |
| Downloads | 221 |
| Dependency string | Sparroh-CompareUpgrades-1.0.0 |
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
CompareUpgrades
A BepInEx mod for MycoPunk that enables side-by-side comparison of gear upgrades with intelligent tooltip positioning.
Description
This client-side mod enhances the upgrade selection experience in MycoPunk by allowing players to compare gear upgrades side-by-side. Simply press 'C' while viewing gear upgrades to lock an upgrade for comparison, then hover over other upgrades to see a dual tooltip display showing both the locked upgrade and the currently hovered upgrade simultaneously.
The mod uses Harmony patches to integrate seamlessly with the game's existing tooltip system, creating a companion display that intelligently positions itself to avoid overlap and screen boundaries. When comparison mode is active, you'll see both upgrades' details at once, making it easier to make informed upgrade decisions.
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 "CompareUpgrades" under MycoPunk community
- Install and enable the mod
Option 2: Manual Installation
- Ensure BepInEx is installed for MycoPunk
- Copy
CompareUpgrades.dllfrom the build folder - Place it in
<MycoPunk Game Directory>/BepInEx/plugins/ - Launch the game
Executing program
Once the mod is loaded, comparison mode is available in gear upgrade windows:
-
Lock an upgrade for comparison:
- Open a gear details window
- Hover over any upgrade
- Press the 'C' key to lock that upgrade
-
Compare with other upgrades:
- With an upgrade locked, hover over any other upgrade
- Two tooltips will appear simultaneously - one for the locked upgrade, one for the hovered upgrade
- The comparison tooltip positions itself automatically to avoid overlap
-
Unlock comparison mode:
- Press 'C' again on the same locked upgrade to unlock
- Or close/reopen the gear window to reset
Only one upgrade can be locked at a time. Comparison mode only activates when hovering over a different upgrade from the locked one.
Help
- Tooltips not showing? Make sure you're in a gear details window and have BepInEx properly installed
- 'C' key not working? Ensure you have focus on the gear window and are hovering over an upgrade slot
- Comparison tooltip in wrong position? The mod automatically repositions based on screen space and may adjust if both tooltips would overlap
- Mod not loading? Check BepInEx console for errors (requires BepInEx console enabled)
- Conflicts with other mods? This mod patches HoverInfoDisplay methods. If you have other tooltip modifications, they may interfere
- Performance issues? This mod only processes when in gear windows with comparison mode active
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
CHANGELOG
Changelog
2.0.1
- Refactor
2.0.0
Changed
- Ground-up rewrite of comparison mode for stability
- Lock stores
UpgradeInstancedata instead of a pooled UI row - Comparison tooltip positioned beside the main tooltip (right, then left, then clamp)
- Pressing the compare hotkey while locked always unlocks (same upgrade, different upgrade, or empty space)
Added
- Configurable compare hotkey (default C)
- Selection mark on the locked row when visible
- Safe
HoverInfoDisplayclone that restores the game singleton after instantiate - Display-only locked tooltip via proxy (no interactive scrap, favorite, or unlock bindings)
Fixed
- Proper cleanup on gear window open/close and plugin unload
- Compare hotkey ignored while a search or text input field is focused
1.0.0
- Initial release (legacy implementation)