1 items

File information

Last updated

Original upload

Created by

DarkNes42

Uploaded by

DarkNes42

Virus scan

Safe to use

Tags for this mod

About this mod

This is small mod that let you spin slot machines with a configurable key.

Share
Requirements
Permissions and credits
Changelogs
This is a small mod that let's you spin slot machines by pressing F10 key (can be edited, see below).

The options will appear in the UserData/MelonPreferences.cfg file from your game files when you are in-game with the mod installed.

By default, the all five slot machines will be spin, see below to edit it.

It let's even you spin the slot machines everywhere in the map and even if the casino is closed.

The bet amount will be 10$ since it's the default bet amount, unless you change it in the slot machines directly or you can configure it if you want, see below.

I will try to make bet amount configurable later if this small mod is useful for anybody.
Added since 1.0.1

Configuration in UserData/MelonPreferences.cfg
SpinKey = keyboard key to spin the slot machines. see here for valid value: https://docs.unity3d.com/2022.3/Documentation/ScriptReference/KeyCode.html (default: F10)

SpinSlotMachinesNumber = the number of slot machines that will be spin. (1-5) (default: 5)

SpinUseYourCash = does spin should use your cash for the bet amount in each slot machine. 'yes' or 'no' (default: yes)

SpinBetAmount = the bet amount that each slot machine will be use, 0 mean that the bet in the slot machines will be use. max value=2147483647 (default: 0)

SpinMode = Spin behavior mode, 'holding' spins while holding the SpinKey, 'toggleable' toggles spin on/off with the SpinKey. 'holding' or 'toggleable' (default: holding)

The value will be checked everytime you go in-game, it will print warning in the console if a value is bad and will be defaulting to his default value.

PS: You can edit the value in-game and when you go back to the menu and press continue, the values you edited will be saved.

Installation
Drop the SpinSlotMachines.dll (or SpinSlotMachinesAlternate.dll) in the Mods folder created by MelonLoader.

This is my first mod and i'm not very good at programming and since i only play solo i don't know if it works in multiplayer.