roulette
Machine that lets you play roulette. Odds are pre-defined to be the same as European Roulette without the "En Prison" rule
Procs | |
attackby | Handles setting ownership and the betting itself. |
---|---|
check_owner_funds | Returns TRUE if the owner has enough funds to payout |
check_win | Returns TRUE if the player bet correctly. |
dispense_prize | Fills a list of coins that should be dropped. |
drop_coin | Recursive function that runs until it runs out of coins to drop. |
finish_play | Ran after a while to check if the player won or not. |
on_my_card_deleted | deletes the my_card ref to prevent harddels |
play | Proc called when player is going to try and play |
prize_theft | Fills a list of coins that should be dropped. |
Proc Details
attackby
Handles setting ownership and the betting itself.
check_owner_funds
Returns TRUE if the owner has enough funds to payout
check_win
Returns TRUE if the player bet correctly.
dispense_prize
Fills a list of coins that should be dropped.
drop_coin
Recursive function that runs until it runs out of coins to drop.
finish_play
Ran after a while to check if the player won or not.
on_my_card_deleted
deletes the my_card ref to prevent harddels
play
Proc called when player is going to try and play
prize_theft
Fills a list of coins that should be dropped.