Commit Graph

53 Commits (b57284d81d0c95e84fc346be7d00bef9e370ca34)

Author SHA1 Message Date
Vanessa Dannenberg b57284d81d fix order of exit checks
(prevented saving the casino name)
2018-09-16 16:51:52 -04:00
Vanessa Dannenberg 64e7073153 minor doc tweaks 2018-09-16 16:29:42 -04:00
Vanessa Dannenberg ab7c7efabb don't display "Help" button on cash-out screen :-P 2018-09-15 22:23:16 -04:00
Vanessa Dannenberg 5a114d00e3 move "Malfunction voids..." label off of main UI
(put it on pay table/pay lines help screen)
2018-09-15 22:19:05 -04:00
Vanessa Dannenberg 9b0280dbf4 Implement an admin/config screen
(at the moment, it only shows the balance and lets the owner
configure the "casino name" seen on the cashout voucher screen)

Automatically locks-out other players while the admin form is open.

Plus some misc ownership control fixes
2018-09-15 21:32:48 -04:00
Vanessa Dannenberg 7e37f00d82 add some useful info to the itemstack description 2018-09-15 14:19:53 -04:00
Vanessa Dannenberg 5b3cdf0af6 make machine remember its state on dig
(so e.g. if it has a balance, that balance is restored
on-place instead of just preventing dig)
2018-09-15 14:10:29 -04:00
Vanessa Dannenberg 82bf98b475 add two-column feature with "@wrap" key to pay table
screen, to match pay lines screen.
Make 5-reel machine use it
2018-09-15 12:25:03 -04:00
Vanessa Dannenberg bd04e3b212 implement a "show pay lines layout" screen
(accessible from the "help/pays" screen)
2018-09-15 12:02:31 -04:00
Vanessa Dannenberg 50065585c3 clean-up close handling 2018-09-15 08:25:35 -04:00
Vanessa Dannenberg e405d40f55 fix missing "Malfunction voids..." label on 5-reel :-) 2018-09-15 00:44:01 -04:00
Vanessa Dannenberg 2fb754983e implement in-game paytable display 2018-09-15 00:39:55 -04:00
Vanessa Dannenberg ea0e89d16f simplify 3-reel machine's pay table
change some pay values to follow
2018-09-14 20:44:32 -04:00
Vanessa Dannenberg f0888f8b9e fix screwy number-to-word behavior
(sometimes an extra "THOUSAND" or "MILLION",
sometimes spurious "ZERO"s.)
2018-09-14 20:09:18 -04:00
Vanessa Dannenberg 4455906f99 implement a basic print-line routine
use it to print the cashout amount in words and figures,
the "machine number" (a hash of the machine's in-world
position), and the "casino name" from meta.

renders the supplied string into a big "[composite" string,
appended to an "image[" tag.  Only builds a single line.

Uses Liberation Sans regular, condensed, and bold fonts (as images)

rework cashout ticket image for better sharpness
2018-09-14 19:47:39 -04:00
Vanessa Dannenberg 0ddcbe3047 misc fixups to cash slot screen work file 2018-09-14 11:49:55 -04:00
Vanessa Dannenberg 4b76338c7c doc tweak 2018-09-14 10:32:36 -04:00
Vanessa Dannenberg e2ff46ade4 state machine: go to idle/stopped after 60s 2018-09-14 10:28:44 -04:00
Vanessa Dannenberg c77990865c implement wild card multiplier
(demo machines don't use it)
for 'n' wilds that contribute to a win,
multiply the line win * n * wild multiplier value
2018-09-14 10:28:44 -04:00
Vanessa Dannenberg ac1476379c implement corresponding wild matching for sub lists
(drop support for `nil` in sublists,
such a thing doesn't make any sense anyway)
2018-09-14 10:28:36 -04:00
Vanessa Dannenberg e24938e196 implement wild-doesn't-match list
make both machines use it
2018-09-14 09:13:57 -04:00
Vanessa Dannenberg ba1a11ca53 tweak about 5.0.0-dev 2018-09-11 17:54:12 -04:00
Vanessa Dannenberg 1e94a1c7b1 add link to currency mod 2018-09-11 17:52:51 -04:00
Vanessa Dannenberg d6d745d987 minor doc tweak 2018-09-11 16:28:33 -04:00
Vanessa Dannenberg 3520aa93d6 add disclaimer to README 2018-09-11 16:27:25 -04:00
Vanessa Dannenberg 311ce84319 explain how the matches table works 2018-09-11 13:42:53 -04:00
Vanessa Dannenberg 9e03647711 allow reels to be positioned explicitly
(instead of always at (1,1))
2018-09-11 09:23:34 -04:00
Vanessa Dannenberg 04c11108a3 remove debug print 2018-09-11 08:43:18 -04:00
Vanessa Dannenberg 465feb9298 allow sub-lists in match entries
i.e. allows matches like:

reel 1: foo
reel 2: foo
reel 3: one of foo, bar, or baz

without requiring wild cards

made 5-reel machine allow matches consisting of five "7", "77", and/or "777"
symbols, or five "bar", "2bar", and/or "3bar".
2018-09-11 08:39:11 -04:00
Vanessa Dannenberg 98626a15ce make machines default to 1 line, 1 Mg bet 2018-09-11 07:49:44 -04:00
Vanessa Dannenberg a9400b3a9f doc tweak 2018-09-11 07:44:56 -04:00
Vanessa Dannenberg feaa0212ff fix hardcoded (spinning) -> (spinning slower) cutover points in state machine
make demo machines finish their spins in half the existing time
2018-09-11 07:27:31 -04:00
Vanessa Dannenberg 4dbe145b4c fix hard-coded position of cashout voucher
(only worked on 3-reel, should work on all now)
also added check for engine 5.0.x, auto-adjust h-scale if found
2018-09-10 18:16:05 -04:00
Vanessa Dannenberg 76a83768a3 add "loaded!" message 2018-09-10 17:15:12 -04:00
Vanessa Dannenberg 5c49f944a8 update 5-reel cabinet gfx 2018-09-10 14:24:07 -04:00
Vanessa Dannenberg 11d18baa87 remove debug prints 2018-09-10 14:06:58 -04:00
Vanessa Dannenberg 147e149e0d add in all my GIMP work files 2018-09-10 14:03:37 -04:00
Vanessa Dannenberg ea14bd6b07 refreshed all "n Lines" and "Bet n" buttons
added 15 line mode to 5-reel machine
2018-09-10 13:52:37 -04:00
Vanessa Dannenberg 3f59617b90 added several lower-value wins to 5-reel machine
three- and four-symbol matches for melon, cherry, 7, 77, 777.
also two-symbol match for lemons and cherries
2018-09-10 12:43:02 -04:00
Vanessa Dannenberg 657892f816 tabs -> spaces in README
plus some minor wording tweaks
2018-09-09 10:12:18 -04:00
Vanessa Dannenberg 5106d51996 move README to modpack top level, expand on it a bit 2018-09-09 09:55:57 -04:00
Vanessa Dannenberg 83885bf7b8 add currency mod to depends.txt 2018-09-09 09:52:52 -04:00
Vanessa Dannenberg 6edd866a99 add my name to engine, tweak in machines 2018-09-09 09:39:25 -04:00
Vanessa Dannenberg 12f5632cbf add license 2018-09-09 09:22:02 -04:00
Vanessa Dannenberg 0dd60c9db1 more doc tweaks/fixes
trimmed some "geometry" redundancy in ther 5-reel section
2018-09-09 08:37:31 -04:00
Vanessa Dannenberg 02728c0b20 fix "Deluxe" machine cabinet graphics
minor tweaks to machine def comments
2018-09-09 07:00:59 -04:00
Vanessa Dannenberg 844454ec24 adjust lower section screen size, move buttons accordingly
(also added a "cheat" to make the 5-reel machine show
the win I will put in the cabinet graphics)
2018-09-09 06:54:20 -04:00
Vanessa Dannenberg b431d84d2d fix "Deluxe" machine's Scatter/Bonus highlight image sizes
Forgot to make the height the same as on the 3-reel machine, since the
5-reel machine's reels are the same height as those.  Makes the actual
boxes look square like they should be.

Misc. documentation fixups.
2018-09-09 06:35:15 -04:00
Vanessa Dannenberg 39a88d0be6 took engine out of "scatters only" mode. 2018-09-08 22:45:32 -04:00
Vanessa Dannenberg ffed9fce0b moved the notes out of the two machines' defs and into engine README 2018-09-08 22:44:27 -04:00