FairShare

版本 v1.0.1·更新於 2026-09-13

Automatically shares any skin you win from the Reel of Fortune with everyone else in your lobby.

模組介紹 作者原文

FairShare

Whenever you win a new skin from the Reel of Fortune ("drip machine"), this mod

automatically unlocks that same skin for every other player in your lobby too.

How it works

  • The game's own SlotMachine.OnRollFinished() already decides locally whether

you were the one who rolled (_playerWhoRolled.Owner.IsLocalClient), and if

so calls SaveManager.UnlockSkin(itemID, skinIndex) to save it to your local

save file. This mod adds a Harmony postfix to that exact method, so it only

fires at the same moment the base game itself unlocks the skin for you.

  • It then sends a small FishNet broadcast message (SkinShareBroadcast) to the

host, who relays it to every other connected client.

  • Each client that receives it calls the game's own

SaveManager.UnlockSkin(itemID, skinIndex) - the exact same public method the

base game uses - so the skin is unlocked and saved to their save file too,

the same way as if they'd rolled it themselves.

No save-file format was reverse engineered or hand-edited - the mod only calls

methods the game already ships.

Requirements

  • BepInEx 5.4.23 (Mono) - confirmed against your BepInExPack v5.4.2305 install.
  • Works in any lobby where FishNet networking is active (i.e. actually playing

co-op together, not local single player).

Installing

  • Build (see below) or grab FairShare.dll from the release.
  • Drop FairShare.dll into BepInEx/plugins/FairShare.
  • Launch the game - every player in the lobby needs this mod installed for

sharing to work both ways.

Building it yourself

Requires Mono's mcs compiler (or any C# compiler) and these reference DLLs,

which are NOT redistributed here - copy them from your own game install and

BepInEx pack into lib:

  • Assembly-CSharp.dll, FishNet.Runtime.dll, UnityEngine.CoreModule.dll,

UnityEngine.dll, GameKit.Dependencies.dll, netstandard.dll

(from How to Fish_Data/Managed)

  • BepInEx.dll, 0Harmony.dll (from BepInEx/core)

Then run build.sh (Linux/Mac/WSL) or the equivalent mcs command on Windows

with Mono installed.

Notes / things to decide

  • Currently this is permanent - the shared skin gets written into each

player's save file exactly like a real unlock, so it persists across

sessions. If you'd rather it only apply for the current session (no save

mutation), that's a small change - just say the word.

  • If you want unlocks to only sync one-directionally (e.g. only the host's

rolls get shared, not everyone's), that's also a quick tweak to the Harmony

patch guard.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
FairShare-1.0.1.zip
檔案大小
96.0 KiB