GamblingMachineAtTheCompany

v1.3.5·Updated 2024-01-18

Adds a gambling machine to gamble your scraps at The Company moon. A great last ditch effort to not get ejected... or maybe you're just a gambling addict. Clients automatically sync with hosts gamblin

Screenshots 1 screenshots

About this mod Author’s original text

Gambling Is The Only Way

Description

"To make your ambitions come true, you have to take risks."

Adds a gambling machine at "The Company" moon. You'll see it right in front of you when you land.

The gamble roll can have 5 results (these are configurable):

  • Jackpot = 10x
  • Triple = 3x
  • Double = 2x
  • Halve = 0.5x (scrap reduced by half)
  • Zero = 0x (scrap is worthless)

The default gambling chances (these are configurable):

  • Jackpot = 3%
  • Triple = 11%
  • Double = 27%
  • Halve = 50%
  • Zero = 9%

How to use the gambling machine

While holding a scrap, walk up to the machine and press "E" (or your interaction key).

Features

  • Gambling
  • Configurable gambling chances
  • Configurable gambling scrap multipliers
  • Configurable additions of gambling machines
  • Configurable number of uses for gambling machine
  • Client's configuration automatically syncs with the host

Configurable Fields

  • General Settings
  • Cooldown Time (reducing this will cause the drumroll sound to not sync & may also cause latency issues)
  • Number of uses per machine
  • Number of machines
  • Gambling Chance fields (make sure these fields add up to 100; if not it'll still work, but math will be inaccurate)
  • Jackpot Chance
  • Triple Chance
  • Double Chance
  • Halve Chance
  • Zero Chance
  • Gambling Multipliers
  • Jackpot Multiplier
  • Triple Multiplier
  • Double Multiplier
  • Halve Multiplier
  • Zero Multiplier
  • Audio (Client side)
  • Enable machine music
  • Machine music volume

Feature/Enhancement request

Feature/Enhancement requests can be put here!

Click on the Green button that says "New Issue" and type in the details of your request!

Bugs

This is my first real mod so there'll be bugs!

Please report any bugs here:

Click on the Green button that says "New Issue" and type in the details of your bug!

Support me for more mods:)

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
GamblingMachineAtTheCompany-1.3.5.zip
File size
9.0 MiB