BatchScrapping
Mark upgrades for trash, batch-scrap marked or non-favorite upgrades, true instant scrap, and undo last scrap (5 deep).
| Date uploaded | 2 days ago |
| Version | 2.1.0 |
| Download link | Sparroh-BatchScrapping-2.1.0.zip |
| Downloads | 21 |
| Dependency string | Sparroh-BatchScrapping-2.1.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.2403Sparroh-SparrohUILib
Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.
Preferred version: 1.1.1README
Batch Scrapping
A BepInEx mod for Mycopunk that adds trash marking, batch scrapping, instant scrap, and undo for upgrades and skins.
Features
-
Trash Marking: Hover an upgrade and press the configured key (default
T) to mark or unmark it for trash. Marked upgrades show a red favorite icon. -
Scrap Marked: Button in the gear details window to scrap all trash-marked upgrades for the current gear (with confirmation).
-
Scrap Non Favorite: Button to scrap all non-favorite upgrades for the current gear (with confirmation).
-
Instant Scrap: Optional config to make the normal scrap hold complete almost instantly (~0.1s).
-
Fixed Scrap Timer: Optional config to use a fixed hold duration instead of the default scrap timer.
-
Undo Last Scrap: Restore up to the last 5 scrap actions (single or batch). Reverses destroyed upgrades and claws back scrap rewards when possible.
-
Skins Support: Works in both upgrade and skin modes.
Getting Started
Dependencies
- Mycopunk (base game)
- BepInEx - Version 5.4.2403 or compatible
Installing
Via Thunderstore (Recommended):
- Download and install via Thunderstore Mod Manager
- The mod will be automatically installed to the correct directory
Manual Installation:
- Place
BatchScrapping.dllin your<Mycopunk Directory>/BepInEx/plugins/folder
Building
dotnet build --configuration Release
Configuration
Settings are stored at <Mycopunk Directory>/BepInEx/config/sparroh.batchscrapping.cfg:
| Section | Option | Default | Description |
|---|---|---|---|
| Keybinds | Mark for Trash | T |
Key to toggle trash mark on hovered upgrades |
| General | Instant Scrap | false |
Enable instant scrapping without hold timer |
| General | Fixed Scrap Time | false |
Use fixed scrap timer instead of default (ignored when Instant Scrap is on) |
| General | Scrap Duration | 1 |
Duration in seconds for fixed scrap timer |
Usage
- Open a gear details window.
- Hover upgrades and press
T(or your bound key) to mark them for trash. - Use Scrap Marked or Scrap Non Favorite at the bottom of the screen.
- Confirm the action in the popup.
- Use Undo Scrap to restore the last scrap action (up to 5 deep). Works for both vanilla single scrap and batch scrap.
Favorites and trash marks are mutually exclusive. Favoriting an upgrade clears its trash mark, and trash-marking clears favorite.
Undo notes
- Each single scrap or batch scrap is one undo entry (max 5).
- Restores upgrade seed, flags (favorite/turbo/trash mark), unlock state, and equip position when possible.
- Removes scrap rewards granted by that action (clamped to what you still have).
- Does not reverse unrelated side effects (achievements, some counters).
Help
- Mod not loading? Verify BepInEx is installed correctly and check console logs for errors.
- Keybind not working? Ensure no conflicts with other mods or game settings.
- Buttons missing? Open a gear details window; buttons only appear while that window is on top.
- Instant scrap not working? Enable
Instant Scrapin the config and check BepInEx logs for patch success messages.
Authors
- Sparroh
License
This project is licensed under the MIT License - see the LICENSE file for details.
CHANGELOG
Changelog
2.1.0
- Fixed Instant Scrap: was never applying due to wrong type lookup for nested
HoverInfo.UnlockActionParams - Instant Scrap: short hold (~0.1s via game clamp) — no unsafe IL rewrites
- Undo Last Scrap: restore up to the last 5 scrap actions (single or batch)
- Restores upgrade instance data (seed, flags, unlock, equip)
- Claws back scrap rewards when still available
- Undo button on gear details window shows remaining stack depth
- Drop oldest when over depth 5; defer single-scrap record one frame (stable with Instant Scrap)
2.0.0
- Initial release
- Trash-mark upgrades with a configurable keybind (default
T) - Batch scrap all marked upgrades
- Batch scrap all non-favorite upgrades
- Optional instant scrap and fixed scrap timer
1.1.0 (2025-10-16) Added
Batch scrapping functionality for upgrades and skins
Hold-to-confirm buttons for scrapping marked upgrades and all non-favorite upgrades
'T' key marking system - press T to mark/unmark upgrades for scrapping (excludes favorites)
Visual indicators for marked upgrades (red icon) and favorites (white icon)
Batch processing with configurable size and interval
Resource calculation and distribution for scrapped upgrades
Changed
Improved UI integration with gear details window
1.0.0 (2025-08-19) Features
Add MinVer
Add thunderstore.toml for tcli
Add LICENSE and CHANGELOG.md