Slot Machines mini-games engine
This package provides a simple "engine" to drive slimmed-down slot machines. It takes-in and pays-out in Minegeld, the money from Dan's currency mod, spins reels, awards wins, and so forth.
It features wild cards, variable matching, multiple pay lines, and scatter wins and bonus rounds (though that one's only just barely implemented right now). It even "prints" a mock cashout voucher like the kind commonly used in a casino (though the engine just puts the money in your inventory -- I may make it give you a voucher item to be redeemed at a separate machine in the future, as in a real casino).
Machines are fully themeable, from the biggest parts of the UI graphics to the smallest details of the labels and numerals. Most of the important UI elements' sizes and positions can be controlled.
Each slot machine is completely self-contained with its own running balance and behavior.
In-game displays and animations are created by abusing the crap out of Minetest's formspecs. :-)
Two example machines named "Golden 7's" and "Golden 7's Deluxe" are included. Yes, I know the pay tables suck.
The hope is that others will take this and run with it, perhaps fine-tuning the example machines or using them and the graphics work files to create more machines, either as new machines to be included in the modpack, or as external mods/modpacks.
No craft recipes yet, but then again I'm not entirely sure a mod like this needs 'em.
Download: https://gitlab.com/VanessaE/minislots/- ... master.zip
...or browse the code: https://gitlab.com/VanessaE/minislots
Depends: Minetest 0.4.17.1 or 5.0.0-dev, corresponding minetest_game, currency (my fork, which has 50 Mg notes).
License: LGPL 3.0 for code and CC-by-SA 4.0 for media and everything else.