checkoutmachine 
Vars | |
accounts_to_rob | List of bank accounts to take money from, determines in start_dumping() |
---|---|
bogdanoff | The original user of the suspicious phone |
canwalk | Are we able to start moving? |
internal_account | Our own internal bank account, serves as a fallback to transfer money to if Bogdanoff doesn't have one |
Procs | |
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 Bogdanoff's account. If Bogdanoff did not have a bank account, stores the funds in the checkout's internal_account. 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. |
start_dumping | Grabs the accounts to be robbed and puts them in accounts_to_rob, tells the accounts they're being drained and calls dump() to start draining. |
stop_dumping | Goes through accounts_to_rob and tells every account that the drain has stopped. |
Var Details
accounts_to_rob 
List of bank accounts to take money from, determines in start_dumping()
bogdanoff 
The original user of the suspicious phone
canwalk 
Are we able to start moving?
internal_account 
Our own internal bank account, serves as a fallback to transfer money to if Bogdanoff doesn't have one
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 Bogdanoff's account. If Bogdanoff did not have a bank account, stores the funds in the checkout's internal_account. 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.
start_dumping
Grabs the accounts to be robbed and puts them in accounts_to_rob, tells the accounts they're being drained and calls dump() to start draining.
stop_dumping
Goes through accounts_to_rob and tells every account that the drain has stopped.