LW_SlotMachine
A slot machine with three reels of IconSet icons, a pay table and a win limit.
Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.
A casino corner in your game.
Highlights
- Three reels with icons from your IconSet and a pay table
- Weights per symbol, so you decide the odds
- A jackpot with its own music and a win limit for fair play
- Any bet, set per machine from the event
- Works with the keyboard, the mouse and a gamepad
Ideas for your game
- A casino town on the coast
- A machine at the festival that pays out tickets
- A secret jackpot prize for players who keep trying
Works well with
Introduction
Requires LW_Core. Works with LW_Currency and LW_Gamepad.
{CROSS} spins, {CROSS} during the spin stops the next reel, {CIRCLE} leaves. Reels that are left alone stop on their own. Every spin is paid right away, so leaving early never cheats the player.
The last symbol in the list is the jackpot and plays the Jackpot Music. Use the weights to set the odds: with the default list a reel has 21 stops, and the jackpot is on one of them.
With a Win Limit the machine pays out at most that much until your event resets the Limit Variable. The machine can't be started while the limit is reached.
Plugin Commands
LW_SlotMachine open the machine with the default bet LW_SlotMachine open 500 the machine with a bet of 500
The event waits until the player leaves the machine.
Terms of Use
See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.
Changelog
Version 1.0.0 - 2026-11-21 - First release.
Plugin commands in MZ
In MZ these come as Plugin Command in the event editor, with fields to fill in. Old MV text commands from copied events keep working.
Open Slot Machine
Opens the machine. The event waits until the player leaves.
- Bet (number): 0 = Default Bet parameter. Default: 0.
Introduction
Requires LWZ_Core. Works with LWZ_Currency and LWZ_Gamepad.
{CROSS} spins, {CROSS} during the spin stops the next reel, {CIRCLE} leaves. Reels that are left alone stop on their own. Every spin is paid right away, so leaving early never cheats the player.
The last symbol in the list is the jackpot and plays the Jackpot Music. Use the weights to set the odds: with the default list a reel has 21 stops, and the jackpot is on one of them.
With a Win Limit the machine pays out at most that much until your event resets the Limit Variable. The machine can't be started while the limit is reached.
Plugin Commands
Open Slot Machine the machine, with the default bet or your own
The event waits until the player leaves the machine. Events copied from MV with "LW_SlotMachine open" or "LW_SlotMachine open 500" keep working.
Terms of Use
See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.
Changelog
Version 1.0.0 - First release for MZ.
Get it
LW_SlotMachine is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.