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 | a month ago |
| Version | 1.0.6 |
| Download link | RJs_REPO_Mods-GambitGambler-1.0.6.zip |
| Downloads | 5877 |
| Dependency string | RJs_REPO_Mods-GambitGambler-1.0.6 |
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 into a high-stakes, quota-scaling machine.
- Rewards scale with your current Level Quota.
- Punishments scale with your current Run Currency.
- Big wins become physical money bags you must extract.
Multiplayer Requirement
All players in the lobby must have this mod installed.
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.
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)
Rewards are calculated from your current Level Quota:
- White (JACKPOT): Pays 100% of your quota as one money bag.
- Yellow (GOLD): Pays 50% of your quota as 2 money bags
(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
Not all wins spawn bags:
- Direct Deposit: Small Green wins are deposited directly into your run currency.
- Money Bags: Big wins spawn physical loot bags (so you still have to extract them).
- Bag Sizing: The mod picks Small / Medium / Big bag prefabs based on how much each bag is worth.
- Pile Feel: Yellow payouts split into multiple bags for a more satisfying “stack of cash” moment.
Percentage-Based Punishments (Wallet-Based)
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 is forced to stay visible briefly after deposits/steals so you can actually see changes.
Manual Installation
- Install BepInExPack for R.E.P.O.
- Place
GambitGambler.dllinto:...\steamapps\common\R.E.P.O\BepInEx\plugins\
- Launch the game, find a Gambit wheel, and test your luck.
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.