ShopRoulette

版本 v1.0.0·更新於 2026-09-27

A real spinning roulette table in the shop. Bet the team's money on Red, Black or Green. Let it ride!

模組介紹 作者原文

Shop Roulette

Let it ride!

The shop now has a roulette table. Bet the team's hard-earned money on Red, Black or Green, watch the ball ride the rim, rattle over the diamonds and bounce between the pockets, then cheer (or cry).

How to play

  • Walk up to the table and look at a betting zone.
  • [E] puts a chip down. [Scroll] picks the chip: $1K, $5K, $10K, $25K or $100K.
  • [Left click] takes your bet on that zone back (only before the spin).
  • The first chip starts a 20-second countdown. Hit either red SPIN button to spin right away.
  • Everyone can bet, and each player's chips carry their color.

| Bet | Odds | Pays |

|---|---|---|

| Red | 18 / 37 | 2× |

| Black | 18 / 37 | 2× |

| Green | 1 / 37 | 36× |

Money comes out of the team's shop balance when you place a chip and winnings go straight back in. If you leave the shop before a spin finishes, open bets are refunded.

Honest wheel

The ball is physically simulated with rolling friction, a sloped track, 8 brass diamond deflectors and bouncing frets, from a random seed. Nothing is decided in advance by a dice roll. Over thousands of test spins, every pocket came up equally often.

Multiplayer

Everyone needs the mod. The host runs the table and the money. Each client replays the exact same spin from the host's seed, so everybody sees the same ball in the same pocket.

Config (BepInEx/config/Adir.ShopRoulette.cfg)

| Key | Default | |

|---|---|---|

| General.Enabled | true | |

| Rounds.BetTime | 20 | Seconds from the first chip to the spin |

| Rounds.MaxBetPerPlayer | 0 | $K limit per player per round (0 = none) |

| Visuals.Shadows | false | Table lights cast shadows |

| Debug.UnlockDevCommands | false | Lets the host use the game's hidden chat commands (/level shop, /cash 500) for testing |

Building

dotnet build -c Release references the game DLLs from your Steam install and copies the DLL into the adir profile. A zip is written to bin/Release.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
ShopRoulette-1.0.0.zip
檔案大小
203.0 KiB