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

GamblingMachineAtTheCompany

**UPDATED VER WITH CONFIGURABLE COOLDOWN**

Date uploaded 2 years ago
Version 1.1.2
Download link adam759-GamblingMachineAtTheCompany-1.1.2.zip
Downloads 411
Dependency string adam759-GamblingMachineAtTheCompany-1.1.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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" (your interaction key). Gambling machine

Features

  • Gambling
  • Configurable fields for gambling chances and multipliers
  • Client's configuration automatically syncs with the host

Configurable Fields

  • General Settings
    • Cooldown Time
  • 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! https://github.com/JunyDeveloper/GamblingModLethalCompany/issues

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: https://github.com/JunyDeveloper/GamblingModLethalCompany/issues

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

Support me for more mods :)

https://ko-fi.com/jundevlethal

CHANGELOG

CHANGELOG

1.1.2

  • Fix gambling result audio not playing for other players

1.1.1

  • Maybe fixed bug that allowed multiple people to constantly spam the machine (gambling addicts...) which caused strange gambling outcomes!
  • Maybe helped alleviate some desync for scrap value
  • For the default configuration, increase halve chance by 3% and decrease double by 3%

1.1.0

  • Update readme

1.0.9

  • For the default configuration, increase double chance by 3% and decrease zero chance by 3%

1.0.8

  • Fix gambling machine activating multiple times in one interaction

1.0.7

  • Fix interaction key showing up incorrectly

1.0.6

  • Changed scrap value currency dollar icon to match the ingame currency icon
  • Update interaction key displayed on screen to be the user's set interaction key

1.0.5

  • Updated readme for feature request

1.0.4

  • Updated readme

1.0.3

  • Configurable fields to enable music and to set music volume

1.0.2

  • Update readme format

1.0.1

  • Update readme

1.0.0

  • Release