Shiptest 13 - Modules - TypesProc Details

roulette

Machine that lets you play roulette. Odds are pre-defined to be the same as European Roulette without the "En Prison" rule

Procs

attackbyHandles setting ownership and the betting itself.
check_bartender_fundsReturns TRUE if the owner has enough funds to payout
check_winReturns TRUE if the player bet correctly.
dispense_prizeFills a list of bundles that should be dropped.
drop_cashRecursive function that runs until it runs out of bundles to drop.
finish_playRan after a while to check if the player won or not.
playProc called when player is going to try and play
prize_theftFills a list of bundles that should be dropped.

Proc Details

attackby

Handles setting ownership and the betting itself.

check_bartender_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 bundles that should be dropped.

drop_cash

Recursive function that runs until it runs out of bundles to drop.

finish_play

Ran after a while to check if the player won or not.

play

Proc called when player is going to try and play

prize_theft

Fills a list of bundles that should be dropped.