RS-Casino documentation · v1.0.0
Scratch card machine
Print a ticket, scratch the foil off six fields, and three alike win.
#The machine
The same one-block cabinet as the slot machine, with a lit panel in the window where the ticket appears.
#How to play
- Insert a chip (right-click with it) and press START. The machine prints a ticket.
- The ticket has six fields (3 by 2) under foil. Click a field to scratch it clear, or sneak and click to clear them all. An empty hand works, so does a chip.
- Three equal numbers win. The number is the multiple of your stake.
- The win is paid when the last field is clear.
The result is drawn when you buy the ticket; the numbers are laid out so exactly that result is visible. There is never a different number that appears three times.
#Prizes and chances
| Prize (times stake) | Chance per 1,000 tickets |
|---|---|
| 100 | 2 |
| 25 | 6 |
| 10 | 20 |
| 5 | 40 |
| 2 | 40 |
| 1 | 110 |
The default return to player is about 94.0%. You can change the six prizes and six chances in the config (scratch_pay_1 to scratch_pay_6, scratch_chance_1 to scratch_chance_6). The six prizes must all differ, and the chances together may not exceed 1,000, otherwise the defaults are used.
#Rules around the machine
- One ticket per machine at a time. Others see "occupied".
- An untouched ticket clears itself after 60 seconds (
scratch_idle_seconds); a finished one stays for 5 (scratch_shown_seconds). - The stake must be inside the casino's minimum and maximum.
- The bank must cover the top prize.
Something missing or wrong? Tell us on Discord. This documentation describes v1.0.0.
