Space Station 13 - Modules - TypesVar Details - Proc Details

checkoutmachine

Vars

accounts_to_robList of bank accounts to take money from, determines in start_dumping()
canwalkAre we able to start moving?
held_creditsHow much money do we have?
moneyboxThe box to send money
thiefThe original user of the suspicious phone

Procs

check_if_finishedCheck whether any accounts in the accounts_to_rob list are still being drained. Returns TRUE if no accounts are being drained, FALSE otherwise
dumpFor each account being drained, pulls a random percentage of cash out the account and sends it to the machine. Then, send a portion to the money box. If there is no money box, just hold onto the money Sets a timer to call itself again after an interval.
expel_cashSplits the balance of the internal_account into several smaller piles of cash and scatters them around the area.
startUpStarts the dumping process and plays a start-up animation before the checkout starts walking.

Var Details

accounts_to_rob

List of bank accounts to take money from, determines in start_dumping()

canwalk

Are we able to start moving?

held_credits

How much money do we have?

moneybox

The box to send money

thief

The original user of the suspicious phone

Proc Details

check_if_finished

Check whether any accounts in the accounts_to_rob list are still being drained. Returns TRUE if no accounts are being drained, FALSE otherwise

dump

For each account being drained, pulls a random percentage of cash out the account and sends it to the machine. Then, send a portion to the money box. If there is no money box, just hold onto the money Sets a timer to call itself again after an interval.

expel_cash

Splits the balance of the internal_account into several smaller piles of cash and scatters them around the area.

startUp

Starts the dumping process and plays a start-up animation before the checkout starts walking.