MasterModders-PersistentUpgrades icon

PersistentUpgrades

Upgrades are permanent and shared with the whole lobby instead of resetting each day and only applying to the buyer.

Last updated an hour ago
Total downloads 0
Total rating 0 
Categories Mods
Dependency string MasterModders-PersistentUpgrades-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Persistent Upgrades

Upgrades bought in the shop (Gambler's Confidence, Insurance, Bonus Draw, Stakeholder) are now:

  • Permanent — they no longer reset when a new day starts. Once bought, they stay on your save for the rest of the run.
  • Shared — buying one applies it to every player currently in the lobby, not just whoever bought it.

How it works

The host owns the upgrade table. This mod hooks UpgradeManager.ChangeUpgradeData and, right after a player buys an upgrade, applies the same change to every synced player in the lobby. It also remembers each player's upgrade values and reapplies them right after the game advances to a new day, so nothing gets reset back to zero.

Because it reuses the game's own upgrade call, the existing stacking math stays correct and the upgrade HUD updates for everyone through the game's normal network messages — no custom netcode.

Multiplayer

  • The host must have the mod for upgrades to be shared and persisted — upgrade application is server-authoritative.
  • Guests benefit even without the mod installed, but installing it on everyone keeps each player's own upgrade HUD accurate.

Requirements

BepInEx 5.4.x.

Changelog

1.0.0 — Initial release. Upgrades are permanent and shared across the lobby.