BusiTeam-ShopRoulette icon

ShopRoulette

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

Last updated an hour ago
Total downloads 20
Total rating 1 
Categories Mods Modpacks Valuables Upgrades Client-side
Dependency string BusiTeam-ShopRoulette-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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 Thunderstore profile. A Thunderstore zip is written to bin/Release/.