GambitGambler
Overhauls the Gambit Wheel to scale rewards and punishments based on your Quota and current Money.
| Date uploaded | 3 months ago |
| Version | 1.0.0 |
| Download link | RJs_REPO_Mods-GambitGambler-1.0.0.zip |
| Downloads | 121 |
| Dependency string | RJs_REPO_Mods-GambitGambler-1.0.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.2304README
Gambit Gambler
Gambit Gambler is a gameplay overhaul mod for R.E.P.O. that turns the "Gambit" wheel enemy into a high-stakes, quota-scaling machine. Prizes scale with your current Quota, but the punishments are equally severe.
Multiplayer Requirement
All players in the lobby must have this mod installed! Since this mod changes the wheel's colors and the shared run currency, having it installed only on the host (or only on the client) will cause desyncs and visual bugs.
Features
Dynamic Scaling Rewards
Prizes are no longer random pocket change. They are calculated based on your current Level Quota.
- White (JACKPOT): Instantly pays 100% of your current Quota.
- Yellow (GOLD): Pays 50% of your current Quota.
- Green (CASH): Pays between 10% - 30% of your Quota.
Percentage-Based Punishments
The house always wins if you aren't careful. Punishments scale with your Current Wallet.
- Red (TAX): Gambit takes a 15% - 25% cut of your current funds.
- Black (BANKRUPTCY): Market Crash! You lose 50% of your money instantly, and the loud noise alerts all nearby enemies to your location.
Smart Loot System
- Direct Deposit: Smaller wins are added directly to your balance to save time.
- Loot Bags: Huge wins (Jackpots) spawn physical heavy loot bags.
- Lag Prevention: If the payout is massive, the mod consolidates value into fewer, "heavier" bags rather than spawning 50 small ones.
The Odds
The wheel has been rigged with a specific layout to balance high risk with high reward:
[ Red | White | Black | Red | Green | Red | Yellow | Red | Green ]
Manual Installation
- Install BepInEx: Download and install BepInExPack for R.E.P.O.
- Download Mod: Download the
GambitGambler.zipfile. - Extract: Unzip the file and copy
GambitGambler.dll. - Place File: Paste the dll into your game's plugin folder:
\steamapps\common\R.E.P.O\BepInEx\plugins\
- Launch: Launch the game and find a Gambit Wheel and test your luck.
Changelog
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.
CHANGELOG
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.