NerdOrg-PerkShare icon

PerkShare

Using a perk applies it to everyone in the lobby instead of just the user.

By NerdOrg
Last updated 4 days ago
Total downloads 978
Total rating 1 
Categories Mods
Dependency string NerdOrg-PerkShare-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

Perk Share

Perks are now a team buff. When anyone in the lobby uses a perk (Upgrade item — Gambler's Confidence, Insurance, Stakeholder, Bonus Draw), the exact same upgrade is granted to every player in the lobby, not just the person who used it.

How it works

The host owns the upgrade table. This mod hooks UpgradeManager.ChangeUpgradeData and, right after the original user gets their perk, replays the same change for every other synced player. Because it re-uses the game's own upgrade call, the special Insurance stacking math stays correct and the upgrade HUD updates for everyone through the game's existing network messages — no custom netcode.

Multiplayer

  • The host must have the mod for perks to be shared (perk application is server-authoritative).
  • Guests benefit even without the mod, but installing it on everyone keeps the perk HUD correct on every screen.

Requirements

BepInEx 5.4.x.

Changelog

1.0.0 — Initial release. Perks apply to the whole lobby.