Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
10 months ago
Downloads
330
Size
71KB

Loot Swap Helper

Shows a short on-screen hint when your scanner updates, suggesting a profitable 1-item swap: drop your cheapest held scrap and pick the best scanned scrap (+profit).

What it does

  • When scan results change, the mod calculates:
    • Best scanned scrap value
    • Cheapest scrap in your inventory (when inventory is full)
  • If the swap is profitable, it shows a single-line hint for a couple seconds: SWAP +X: drop Name:Price -> take Name:Price

Notes

  • The hint only appears when:
    • Scan has active nodes
    • You have 4 held items
    • The best scanned item is worth more than your cheapest held item
  • The overlay is standalone and does not depend on HUD canvases or TextMeshPro.

Config

Config file: BepInEx/config/HoppinHauler.lootswaphelper.cfg

  • General/Enabled (bool, default: true)
    Enable/disable the mod.

  • UI/ShowSeconds (float, default: 2.0)
    How long to show the hint after scan changes.

  • UI/FontSize (int, default: 22)
    Overlay font size.

  • Debug/PollInterval (float, default: 0.12)
    How often the mod checks scan changes.

  • Debug/DebugLog (bool, default: false)
    Logs scan changes and computed values to the BepInEx console.

Compatibility

  • BepInEx 5
  • Uses reflection for scanNodes and inventory slots to reduce version fragility.

Credits

Created by HoppinHauler.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.