You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to have a little casino in an NPC. It could even possibly be linked to the creators of the NPC, so that the creator will receive any winning that the gambler gets.
Betting can be done with economy money, or a configurable currency item.
Games:
Simple Chance Games: (Should be fairly simple to code)
Flip a coin: Bet X, and then flip a coin. If you win, you get 2X. (With configurable chances and rewards)
Roll a dice: Bet X, then roll an N-sided die. The result is M. You get 2(M/N)X. (With configurable chances, die sides, and rewards)
Lottery/Roulette: Bet X on a number from 1 to N. If you win, you get N*X. (Configurable yada yada)
Not so simple chance games:
Blackjack/21: Same as in real life. Would basically have to code a blackjack game.
3/5-reel slots: Configurable reels, wins, and payouts. The config might look something like this:
The idea is to have a little casino in an NPC. It could even possibly be linked to the creators of the NPC, so that the creator will receive any winning that the gambler gets.
Betting can be done with economy money, or a configurable currency item.
Games:
The text was updated successfully, but these errors were encountered: