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

AutoUpCraft

Auto-upcrafts scrap one tier when a pickup would overcap. Uses vanilla craft costs; no cascade.

Date uploaded 2 months ago
Version 1.0.0
Download link Sparroh-AutoUpCraft-1.0.0.zip
Downloads 127
Dependency string Sparroh-AutoUpCraft-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

AutoUpCraft

Automatically converts upgrade scrap to the next rarity tier when a pickup would go past the resource cap.

In Mycopunk, scrap from dismantling upgrades is capped per rarity. Extra scrap past the cap is normally lost. This mod runs the vanilla upcraft recipes for you when a scrap pickup would overflow:

  • Standard scrapRare scrap
  • Rare scrapEpic scrap
  • Epic scrapExotic scrap

Each overcap converts one step only (e.g. Standard overflow → Rare; Rare is not auto-converted unless it later overcaps on its own). Costs match the in-game Crafting menu exactly.

Requirements

Installing

Thunderstore / r2modman (recommended)
Install from Thunderstore, or add a local profile install of the built package.

Manual
Copy AutoUpCraft.dll to:

<Mycopunk>/BepInEx/plugins/

Building

dotnet build --configuration Release

Output:

bin/Release/netstandard2.1/AutoUpCraft.dll

Notes

  • Client-side only (local player inventory / PlayerData)
  • Uses the same upcraft costs as the vanilla Crafting window
  • Only runs when a scrap pickup would go past the cap (not when you are merely at max, and not when opening craft or spending scrap)
  • Overflow past the cap is kept for the conversion math (e.g. 299/300 + 2 scrap with a 10-cost upcraft leaves 291, not 290)

License

MIT — see LICENSE.

CHANGELOG

Changelog

1.0.0

  • Initial release
  • Auto-upcrafts Standard/Rare/Epic scrap one tier up when that scrap specifically overcaps
  • No cascade — higher tiers only convert when they themselves overcap
  • Uses vanilla CraftingWindow upcraft recipe costs
  • Preserves overflow past the cap when auto-upcrafting (e.g. 299 + 2 with a 10-cost recipe → 291, not 290)
  • Only converts on true overcap from gaining scrap (not when sitting at max or opening the craft menu)