You are viewing a potentially older version of this package. View all versions.
RJs_REPO_Mods-GambitGambler-1.1.2 icon

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.2
Download link RJs_REPO_Mods-GambitGambler-1.1.2.zip
Downloads 2033
Dependency string RJs_REPO_Mods-GambitGambler-1.1.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305

README

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, unless you choose direct deposits.

Multiplayer Requirement

All players must have the same version installed. The host controls gameplay settings and spawning. Clients can view the host's settings in read-only mode.

Settings (F6)

Press F6 to open the settings menu. You can change your menu keybind and reset settings to defaults.

  • Encounters: Enable an extra Gambit spawn chance for each new mission, or use Spawn Gambit Now during a mission.
  • Rewards: Adjust the reward multiplier and choose between the default payouts, bags only, or direct deposits.
  • Penalties: Adjust stealing, bankruptcy loss, and whether Gambit alerts nearby enemies.

Maximum Gambits ranges from 1 to 5 (default 3). Natural spawns count toward this limit, and a live counter shows how many are in the level. Lowering the limit won't remove existing Gambits or restrict natural spawns.

Extra encounters are off by default and can add one Gambit when none was naturally selected. Spawned Gambits appear elsewhere in the level and can return after normal despawning.

Features

Fixed Wheel Layout

The wheel is always forced to this 9-slice layout:

[ Red | White | Black | Red | Green | Red | Yellow | Red | Green ]

Quota-Based Rewards

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.
  • Green (CASH): Pays 15%-30% of your quota, with a small minimum.

Smart Payout Delivery

By default, small Green wins go straight into run currency. Bigger wins become physical money bags, with Yellow payouts split across multiple bags. Bags Only and Deposit let you choose a different delivery style.

Wallet-Based Punishments

With default settings:

  • Red (STEAL): Takes 15%-30% of your money, or a rarer 31%-50%, with a minimum charge tied to your quota. If you can't pay, Gambit takes what you have and alerts nearby enemies.
  • Black (BANKRUPTCY): Wipes your run currency. If you're already broke, Gambit alerts nearby enemies.

Outcome messages briefly flash green for wins, red for losses, or yellow for Gold and Jackpot, then fade back to normal.

Manual Installation

  1. Install BepInExPack 5.4.2305 for R.E.P.O.
  2. Place GambitGambler.dll in the game's BepInEx\plugins folder.
  3. Launch the game, press F6 to customize your settings, 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 / BepInEx 5.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 dollarValueOverride field, 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.