Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
GambitGambler
Overhauls the Gambit Wheel to scale rewards and punishments based on your Quota and current Money. Gambit now gambles your money instead of your life.
| Date uploaded | 3 weeks ago |
| Version | 1.1.0 |
| Download link | RJs_REPO_Mods-GambitGambler-1.1.0.zip |
| Downloads | 23 |
| Dependency string | RJs_REPO_Mods-GambitGambler-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
Gambit Gambler
Gambit Gambler is a gameplay overhaul mod for R.E.P.O. that turns the Gambit wheel into a high-stakes, quota-scaling machine.
- Rewards scale with your current Level Quota.
- Punishments scale with your current Run Currency.
- By default, big wins become physical money bags you must extract; settings can change payout delivery.
Multiplayer Requirement
All players in the lobby must have this mod installed.
Everyone must use the same mod version. The host controls gameplay settings, currency changes, and spawning. Clients receive the host's settings, including when joining after settings have changed. Each player's menu keybind remains local.
This mod force-overrides the wheel layout/colors and can directly modify shared run currency. If only some players have it installed, you may get desyncs and confusing visuals.
Settings (F6)
Press F6 to open or close settings while in-game, including the truck/lobby/shop when no native menu is open. Close the pause menu, terminal, or other mod settings before opening Gambit settings. The F6 keybind can be changed using the MENU KEYBIND row at the bottom of each tab.
Use the mouse wheel or drag the small cyan square on the scrollbar to reach all controls. RESET TO DEFAULT SETTINGS restores the host's gameplay defaults and their menu keybind to F6.
| Tab | Setting | Range or Options | Default |
|---|---|---|---|
| Encounters | Extra encounters | ON / OFF | OFF |
| Encounters | Additional spawn chance | 0%-100% | 50% |
| Encounters | Maximum Gambits | 1-5 | 3 |
| Encounters | Spawn Gambit Now | Host/singleplayer action | Available during a loaded mission below the limit |
| Rewards | Reward multiplier | 0.0x-5.0x | 1.0x |
| Rewards | Payout delivery | Current / Bags Only / Deposit | Current |
| Penalties | Steal multiplier | 0.0x-3.0x | 1.0x |
| Penalties | Bankruptcy loss | 0%-100% | 100% |
| Penalties | Alert nearby enemies | ON / OFF | ON |
Encounters and Spawning
Enable EXTRA ENCOUNTERS before loading the next mission to use the spawn-chance slider. The host rolls that chance once during enemy selection if no Gambit was naturally selected. A successful roll adds one Gambit through the game's normal generation pipeline.
- OFF or 0%: No additional Gambit; natural encounters remain possible.
- 50%: A 50% chance to add one when no Gambit was naturally selected.
- 100%: Attempts to include one on every eligible mission, without duplicating a naturally selected Gambit.
SPAWN GAMBIT NOW works independently of the extra-encounter toggle. It requires a fully loaded mission and selects a level point outside the truck, at least 12 metres from every player, preferring points farthest from the truck. Gambit does not appear beside you; you will need to find it. The menu status reports preparation, success, or missing assets/placement failures.
MAXIMUM GAMBITS defaults to 3 and can be set from 1 to 5 by the host. Each click of SPAWN GAMBIT NOW adds one Gambit until the limit is reached. Existing Gambits count toward the limit, including natural spawns and temporarily despawned ones. For example, with one natural Gambit and a limit of 3, you can manually add two more. The button is disabled while spawning or at the limit.
The Encounters tab shows Gambits in level: X / Y directly above the spawn button. This live counter includes natural, manually spawned, and temporarily despawned Gambits. It turns orange and shows Limit reached when the count meets or exceeds the host's limit. Hosts and clients can both see it; clients see ? for the limit until the host's settings arrive.
Lowering the limit does not remove existing Gambits, and the mod does not restrict the game's own natural spawns. Automatic extra encounters still add at most one Gambit per mission when none was naturally selected; raising the limit does not increase that roll's count. Unlike reward settings, the maximum applies to the next spawn attempt, including a request still preparing its assets. Clients see the host's limit but cannot change it or spawn enemies.
Spawned Gambits join the level's normal enemy lifecycle and can return after normal despawning. This is not a separate resurrection system for killed or destroyed enemies. Loading the next level removes those instances and starts a new encounter selection.
Rewards and Penalties
Reward multiplier scales the quota-based payouts described below. Steal multiplier scales the red outcome's deduction, including its minimum charge. Bankruptcy loss controls the percentage of shared run currency lost on black. Alert nearby enemies controls the broke/cannot-pay alert penalty.
Reward and penalty settings are captured when a spin is selected. Changing them during that spin applies to the next spin. Encounter-chance changes apply to the next mission.
When You Are a Client
The menu displays HOST SETTINGS - READ ONLY below the scrolling area. You can browse tabs, scroll, and change your own menu keybind. Gameplay settings, reset, and spawning are locked to the host. Slider values and toggles display the host's synchronized rules.
Joining another host does not overwrite your saved gameplay preferences. When you host your own lobby, your preferences are used. If you become host during an existing session, the mod adopts that session's synchronized rules for the remainder of that room.
Normal host preferences are saved in BepInEx/config/GambitGambler.cfg in the active game installation or mod-manager profile. Waiting/version-mismatch messages mean the host settings are not ready or the installed mod versions differ.
Features
Fixed Wheel Layout (and Odds)
The wheel is always forced to this 9-slice layout:
[ Red | White | Black | Red | Green | Red | Yellow | Red | Green ]
Tile odds (by slice count):
- Red (STEAL): 4 / 9
- Green (CASH): 2 / 9
- White (JACKPOT): 1 / 9
- Yellow (GOLD): 1 / 9
- Black (BANKRUPTCY): 1 / 9
Dynamic Scaling Rewards (Quota-Based)
At the default 1.0x reward multiplier, rewards are calculated from your current Level Quota:
- White (JACKPOT): Pays 100% of your quota.
- Yellow (GOLD): Pays 50% of your quota as 2 money bags in Current/Bags Only mode (or 3 bags if the payout is large enough).
- Green (CASH): Pays 15%–30% of your quota (randomized), with a small minimum.
Smart Payout Delivery
Choose how rewards are delivered:
- Current: White pays one bag. Yellow pays two bags, or three when its total payout exceeds $10,000. Green pays one bag when its payout exceeds $5,000; otherwise it deposits directly into run currency.
- Bags Only: Positive rewards are delivered as physical money bags, including small Green wins.
- Deposit: All rewards are deposited into shared run currency without spawning bags.
- Bag Sizing: The mod picks Small / Medium / Big bag prefabs based on how much each bag is worth.
Physical bags still need to be extracted. Deposits use whole-thousand currency units, so fractional thousands are discarded; for example, a $2,500 payout deposits $2K. Bag payouts are divided into whole-dollar values per bag, so splitting can also discard a small remainder.
Percentage-Based Punishments (Wallet-Based)
At the default 1.0x steal multiplier, 100% bankruptcy loss, and alerts ON, punishments scale with your current run currency:
- Red (STEAL): Gambit steals a percentage of your money.
- Normal Steal: 15%–30% (more common)
- High-roll Steal: 31%–50% (rarer)
- Includes a minimum bill floor tied to your quota, so “low wallet” spins can still hurt.
- Debt Check: If Gambit tries to steal an amount that you cannot repay completely, Gambit takes what you have and alerts nearby enemies.
- Black (BANKRUPTCY):
- If you have money: your session currency is set to 0 instantly.
- If you’re already broke: Gambit gets mad and alerts nearby enemies.
Extra Feedback & UI Behavior
- Custom win/loss focus messages per outcome (JACKPOT vs normal win).
- Currency UI stays visible for 2.5 gameplay seconds after a Gambit currency notification, then the mod releases it to the game's normal hide animation.
Manual Installation
- Install BepInExPack 5.4.2305 for R.E.P.O.
- Place
GambitGambler.dllinto:...\steamapps\common\R.E.P.O\BepInEx\plugins\
- Launch the game. Press F6 in-game to configure encounters, rewards, and penalties, or find a naturally spawned Gambit and test your luck.
CHANGELOG
v1.1.2
Fixed
- Fixed focus messages keeping Gambit's outcome color after a spin.
- Wins flash green, losses red, and Gold/Jackpot yellow, then smoothly fade back to the normal text color.
v1.1.1
Changed
- Shortened the README for easier reading. No gameplay changes.
v1.1.0
Added
- Added an F6 settings menu with a customizable keybind.
- Added Encounters, Rewards, and Penalties tabs to customize spawn chance, payouts, and punishments.
- Added a host-only Spawn Gambit Now button and a configurable Maximum Gambits limit (1-5, default 3).
- Added a live Gambit count in the Encounters tab, with a highlighted notice when the limit is reached.
- Existing Gambits, including natural spawns and temporarily despawned ones, count toward the limit. Lowering the limit does not remove existing Gambits.
- Spawned Gambits can return after normal despawning; additional encounter chances apply to each new level.
- Host settings are shared with clients, including players joining later. Clients can view settings in read-only mode.
- Added shared win/loss messages and mod-version status indicators.
Fixed
- Fixed the money display staying on-screen after currency updates.
- Fixed currency rewards and penalties for spins involving clients.
- Updated compatibility with R.E.P.O. v0.5.0.
v1.0.7
Changed
- Updated Thunderstore BepInExPack dependency to
5.4.2305/ BepInEx5.4.23.5. - Rebuilt against local BepInEx
5.4.23.5.
v1.0.6
Changes
- Renamed Tax terminology to Steal: The README.md and the Mod Script will refer to the TAX as STEAL.
- Nothing else was changed.
v1.0.5 — The Currency Logic Overhaul
Critical Fixes
- Fixed Stat vs. Valuable Scaling: Resolved a critical unit mismatch. The mod now distinguishes between Run Currency (where an integer of 1 = $1,000) and Valuable Object values (where an integer of 1,000 = $1,000).
- Physical Bag Logic: Physical loot bags now spawn with their correct raw dollar values. Previously, bags often failed to spawn or appeared the wrong size because the code compared raw rewards (e.g., 2500) against "K" thresholds (e.g., 5).
- Bag Sizing Consistency: Loot bag prefabs (Small/Medium/Big) now precisely mirror the sizing thresholds found in the game’s Extraction Point logic:
- Small: $1 – $5,000.
- Medium: $5,001 – $10,000.
- Big: $10,001+.
- Tax Safety Check: Fixed a math error where ExecuteTax could incorrectly trigger a total wipeout. The code now converts the level Haul Goal into "K" units before calculating the minimum tax floor, preventing the game from thinking a player with money is "broke".
- Quota Calculation: Reward amounts are now correctly derived from the raw Haul Goal integer, ensuring payouts scale accurately with the level's difficulty.
Balance & Game Logic Updates (Gambit Roulette)
- Green Outcome: Rewards are now strictly 15%–30% of the Haul Goal.
- Direct Deposit vs. Loot Bag: Wins under $5,000 are now consistently handled as a Direct Deposit to your Run Currency. Wins of $5,000 or more spawn physical loot bags to be hauled.
- Red Tax (ExecuteTax):
- Normal Roll: 15%–30% deduction (80% chance).
- Greedy Roll: 31%–51% deduction (20% chance).
- Dynamic Alert Messaging: The "Broke" penalty now features context-aware messages:
- Bankrupt: Triggered if you land on a penalty while already at $0.
- Fool: Triggered if you have money, but not enough to pay the Gambit's specific tax demand.
- Black Outcome (ExecuteBankruptcy): If a player lands on Black while at $0, it now correctly triggers the TriggerEnemyAlert penalty instead of just displaying a redundant message.
Technical Explanation
- The "Unit Mismatch" Fix: The mod now correctly interfaces with the two separate currency systems used in the game's core:
- Run Currency (Stat): Handled in "K" units (e.g., 5 = $5,000).
- Valuable Objects: Handled in raw dollar units (e.g., 5000 = $5,000).
- Extraction Point Compatibility: By assigning the raw dollar value to the
dollarValueOverridefield, bags spawned by the Gambit now correctly contribute the full amount toward the Haul Goal when processed by an Extraction Point.
v1.0.4
- Corrected Version Dependency for BepInExPack
- Updated README.md
v1.0.3
- I promise this is the final hotfix. Updated README with clearer installation instructions.
- Transferred all changelogs from README.md to CHANGELOG.md
v1.0.2
- Fixed an oopsie. Uploaded the wrong file and forgot to include .dll!
v1.0.1
- Attempted to fix the oopsie.
v1.0.0
- Initial Release.
- Implemented Quota-based scaling for rewards.
- Implemented Percent-based scaling for taxes/bankruptcy.
- Added "Smart Bag" spawning to reduce item clutter on big wins.