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

CompareUpgrades

Press a hotkey on an upgrade to lock it, then hover another upgrade to compare tooltips side-by-side.

Date uploaded 18 hours ago
Version 2.0.1
Download link Sparroh-CompareUpgrades-2.0.1.zip
Downloads 4
Dependency string Sparroh-CompareUpgrades-2.0.1

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

CompareUpgrades

A BepInEx mod for Mycopunk that lets you lock one upgrade tooltip and compare it side-by-side with another.

How to use

  1. Open a gear details window.
  2. Hover an upgrade and press C (configurable) to lock it for comparison.
  3. Hover a different upgrade — the locked upgrade's tooltip appears next to the normal one.
  4. Press C again (on the same upgrade, a different one, or empty space) to unlock.
  5. Closing or reopening the gear window also clears the lock.

The compare hotkey is ignored while a search or text input field is focused.

Configuration

BepInEx/config/sparroh.compareupgrades.cfg

Section Setting Default Description
Keybinds Compare Key C Hotkey to lock/unlock an upgrade for side-by-side comparison while the gear details window is open

Dependencies

Building

dotnet build --configuration Release

Output: bin/Release/netstandard2.1/CompareUpgrades.dll

Install

Place CompareUpgrades.dll in BepInEx/plugins/, or install via Thunderstore.

Notes

  • Client-side only.
  • Locks the upgrade data, not the list row, so sorting and scrolling do not break the lock.
  • The comparison tooltip is display-only (no scrap, favorite, or unlock bindings).
  • A selection mark highlights the locked row when that row is still on screen.
  • The comparison tooltip is placed beside the main tooltip (right first, then left, then clamped on screen).

License

MIT

CHANGELOG

Changelog

2.0.1

  • Refactor

2.0.0

Changed

  • Ground-up rewrite of comparison mode for stability
  • Lock stores UpgradeInstance data 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 HoverInfoDisplay clone 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)