Gamble PvP
Turns the co-op survival run into a 3-day free-for-all. Take loans, wager head-to-head, hire goons, snitch on rivals, haunt the living after you die. The mob still wants their cut.
What it does
- Multi-day match. Host adjusts day count (1–10, default 3) before play. Hard stop at the final day, then a podium screen with payouts.
- Per-player ledger. Every bet's win or loss attributed via
MoneyManager. Your wealth = starting stake + cumulative gambling delta − active loan payback owed.
- Daily bankroll boost. Day 2 adds 2× starting cash, day 3 adds 4×. Comebacks stay possible.
- House clawback ending. End-of-final-day: outstanding debt comes off the top, survivor with the most cash wins. 50/30/20 weighted payout for top 3.
- Death cutscene routing. When the game ends, host transitions everyone to
LoseStateScene so the mob-death sequence plays under the standings overlay.
The booths
A cluster of three glowing kiosks spawns near the nearest casino game when you enter the casino floor:
Loan Shark (gold)
- Day-scaling principal cap ($500 day 1, $1000 day 2, $2000 day 3)
- Stacking loans, escalating interest: 1st = 1.5× → 2nd = 2.5× → 3rd = 5× → 4th attempt = instant death
- Good-customer discount: pay back a loan and your next same-day loan is 1.25×
- Default at day-end = wounded (red vignette + half bankroll the next day, then clears). Default on final day = death.
Wager Booth (blue)
- Head-to-head coin flip vs. another living player
- $50 / $100 / $250 / $500 stakes
- 60s cooldown per challenger, 50/50 RNG
Mob Favors (red/black)
- Snitch (free): 50/50 RNG. Win → target loses 25% wealth, you get 10% finder's fee. Lose → you pay a 10% false-accusation fine. 30s cooldown.
- Hire Goons ($500): Pay $500, target loses $750. 90s cooldown.
During play
- Happy Hour: Random 30s windows every 60–120s where all casino payouts are +50%.
- Right-side player widget (base game native): Repurposed to show live PvP wealth (net of loans owed), sorted descending, green-up / red-down. The same nameplate art the base game uses.
- Profit line graph (base game native): Repurposed to track cumulative PvP wealth across the day.
- Tab stats panel: Per-day per-player ledger snapshots with delta-coloring (green/red), gold/silver/bronze ranks, auto-sized for any day count.
- Local HUD (top-left): Current day, wealth, active loan + payback owed, wounded/dead status.
- Lobby UI (top-right): Host adjusts days per game from any pre-casino scene. Press F2 to toggle the picker anywhere. Use
+ / - / 0 keys to bump the day count (mouse can't reach IMGUI buttons during gameplay due to camera lock).
Round-end summary
The base game's "STATS FOR DAY N" screen gets fully repurposed:
- Title becomes "PvP Standings · End of Day N"
- Top stat bar shows your Loans taken, Sabotages used, Wagers Won (replacing the legacy QUOTA/BALANCE/PROFIT)
- Profit graph shows your cumulative PvP wealth
- Right box shows ranked player standings with $wealth, plus PvP ticket awards:
- +2 🎟 per surviving player
- +3 🎟 to top earner
- The shared ticket pool credits the base game's UPGRADES screen — earn PvP, spend on upgrades
Ghost Mode
When you die, a panel appears bottom-right with a target cycler and a HAUNT button. Once per minute you can curse a living player for 30 seconds — their casino payouts are halved while haunted. Losing isn't the end of the game.
Installation
Install via the Thunderstore mod manager — click Install. All friends must install the same version for multiplayer to work properly. Manual install: drop GambleWithYourFriendsPvP.dll into BepInEx/plugins/.
Config
BepInEx/config/com.chals.gamblepvp.cfg exposes:
InterestMultiplier — first-loan interest (default 1.5)
InterestMultiplierAfterPayback — good-customer discount (default 1.25)
StartingMoneyPerPlayer — day 1 starting cash (default 1000)
DaysPerGame — match length (default 3)
StripQuotaCheck — disable mob-kills-you-on-miss-quota (default true)
Known limitations
- No sound effects yet. Unity 6's runtime audio API is broken for procedural clips; will revisit when the engine cooperates.
- Booth visuals are primitive geometry. Functional, not pretty.
- Mixed-version multiplayer is unsupported. Update everyone at the same time.
Credits
Designed and tested by mothfinger.
Co-developed with Claude (Anthropic), who wrote the bulk of the C# / Harmony / Mirror plumbing.
Icon art by mothfinger.
Thanks to the BepInEx team for the framework that makes any of this possible, and to the Gamble With Your Friends devs for making a game worth ruining friendships over.