Sparroh-BatchScrapping icon

BatchScrapping

Mark upgrades for trash, batch-scrap marked or non-favorite upgrades, true instant scrap, and undo last scrap (5 deep).

Last updated 2 weeks ago
Total downloads 707
Total rating 0 
Categories Mods Gameplay Client-Side
Dependency string Sparroh-BatchScrapping-2.1.3
Dependants 0 other packages depend on this package

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
Sparroh-SparrohUILib-1.1.1 icon
Sparroh-SparrohUILib

Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.

Preferred version: 1.1.1

README

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 trashcan icon.

  • Scrap Marked: Action bar button to scrap all trash-marked upgrades for the current gear (with confirmation).

  • Scrap No-Fav: Action bar 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.05s).

  • Fixed Scrap Timer: Optional config to use a fixed hold duration instead of the default scrap timer.

  • Undo Scrap: Restore up to the last 5 scrap actions (single or batch). Reverses destroyed upgrades and claws back scrap rewards when possible. The button shows remaining stack depth as Undo (N).

  • Skins Support: Works in both upgrade and skin modes.

  • Vanilla scrap rewards: Batch scrap grants the same resources as single scrap (scrip/scrap mats, oyster pity on skins, strange components from turbocharged Exotic upgrades).

  • Consolidated pickup toasts: Large batches show one toast per resource type instead of queuing hundreds of popups.

Getting Started

Dependencies

  • Mycopunk (base game)
  • BepInEx - Version 5.4.2403 or compatible (Thunderstore: BepInEx-BepInExPack_Mycopunk)
  • SparrohUILib - Version 1.1.1 or compatible ( Thunderstore: Sparroh-SparrohUILib)

Installing

Via Thunderstore (Recommended):

  1. Download and install via Thunderstore Mod Manager / r2modman
  2. Dependencies are installed automatically
  3. The mod is placed in the correct plugins directory

Manual Installation:

  1. Install BepInEx and SparrohUILib first
  2. Place BatchScrapping.dll in 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 Trash Mark Keybind T Key to toggle trash mark on hovered upgrades
General Instant Scrap false Enable near-instant scrapping (~0.05s hold)
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

  1. Open a gear details window.
  2. Hover upgrades and press T (or your bound key) to mark them for trash.
  3. Use Scrap Marked or Scrap No-Fav on the gear action bar.
  4. Confirm the action in the popup.
  5. Use Undo / Undo (N) 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. Favorites cannot be trash-marked with the keybind.

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 and SparrohUILib are 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; action bar buttons only appear while the gear menu is open. Confirm SparrohUILib is installed.
  • Instant scrap not working? Enable Instant Scrap in 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.