Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.0.3
- Added an option to configure the spin mode, 'holding' for holding the spinning in slot machines until you release the spin key and 'toggleable' for toggle on/off the spinning when you press the spin key. - Now it correctly spin the slot machines according to the number you wrote in 'SpinSlotMachinesNumber'. - I added some check about the configuration so like if you put some bad value, it will defaulting to the default value. - Now the values will be updated each time you go in-game (when you press continue in the menu), so it means that 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 (and will be checked too). - The spinKey has been edited a bit, see the description or the MelonPreferences.cfg file for details. - And i changed some configuration, so the "SpinUseYourCash" accept as value 'yes' or 'no' instead, and the max value of 'SpinBetAmount' is 2147483647.
Version 1.0.2
- Fixed an issue where when you returned to the main menu and returned to the game, the mod would no longer work
Version 1.0.1
- Added an option to use your cash or not to spin the slot machines. - Added an option to configure a custom bet amount. - Now you can hold the key to spin the slot machines indefinitly. Open the MelonPreferences.cfg file for details.
Version 1.0.0
- Initial release.
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.