bank_account
Vars | |
account_balance | How many credits are currently held in the bank account. |
---|---|
account_holder | Name listed on the account, reflected on the ID card. |
account_id | The Unique ID number code associated with the owner's bank account, assigned at round start. |
account_job | The job datum of the account owner. |
account_pin | A randomly generated 5-digit pin to access the bank account. This is stored as a string! |
add_to_accounts | Should this ID be added to the global list of accounts? If true, will be subject to station-bound economy effects as well as income. |
bank_cards | List of the physical ID card objects that are associated with this bank_account |
being_dumped | Is there a CRAB 17 on the station draining funds? Prevents manual fund transfer. pink levels are rising |
payday_modifier | If there are things effecting how much income a player will get, it's reflected here 1 is standard for humans. |
replaceable | Can this account be replaced? Set to true for default IDs not recognized by the station. |
Procs | |
_adjust_money | Performs the math component of adjusting a bank account balance. |
adjust_money | Adjusts the balance of a bank_account as well as sanitizes the numerical input. |
bank_card_talk | This sends a local chat message to the owner of a bank account, on all ID cards registered to the bank_account. If not held, sends out a message to all nearby players. |
dumpeet | Sets the bank_account to behave as though a CRAB-17 event is happening. |
has_money | Returns TRUE if a bank account has more than or equal to the amount, amt. Otherwise returns false. |
payday | This proc handles passive income gain for players, using their job's paycheck value. Funds are taken from the given bank account unless null. This can result in payment brown-outs if the company is poor. |
setup_unique_account_id | Proc guarantees the account_id possesses a unique number.
If it doesn't, it tries to find a unique alternative.
It then adds it to the SSeconomy.bank_accounts_by_id global list. |
transfer_money | Performs a transfer of credits to the bank_account datum from another bank account. *datum/bank_account/from: The bank account that is sending the credits to this bank_account datum. *amount: the quantity of credits that are being moved between bank_account datums. |
Var Details
account_balance
How many credits are currently held in the bank account.
account_holder
Name listed on the account, reflected on the ID card.
account_id
The Unique ID number code associated with the owner's bank account, assigned at round start.
account_job
The job datum of the account owner.
account_pin
A randomly generated 5-digit pin to access the bank account. This is stored as a string!
add_to_accounts
Should this ID be added to the global list of accounts? If true, will be subject to station-bound economy effects as well as income.
bank_cards
List of the physical ID card objects that are associated with this bank_account
being_dumped
Is there a CRAB 17 on the station draining funds? Prevents manual fund transfer. pink levels are rising
payday_modifier
If there are things effecting how much income a player will get, it's reflected here 1 is standard for humans.
replaceable
Can this account be replaced? Set to true for default IDs not recognized by the station.
Proc Details
_adjust_money
Performs the math component of adjusting a bank account balance.
adjust_money
Adjusts the balance of a bank_account as well as sanitizes the numerical input.
bank_card_talk
This sends a local chat message to the owner of a bank account, on all ID cards registered to the bank_account. If not held, sends out a message to all nearby players.
dumpeet
Sets the bank_account to behave as though a CRAB-17 event is happening.
has_money
Returns TRUE if a bank account has more than or equal to the amount, amt. Otherwise returns false.
payday
This proc handles passive income gain for players, using their job's paycheck value. Funds are taken from the given bank account unless null. This can result in payment brown-outs if the company is poor.
setup_unique_account_id
Proc guarantees the account_id possesses a unique number.
If it doesn't, it tries to find a unique alternative.
It then adds it to the SSeconomy.bank_accounts_by_id
global list.
transfer_money
Performs a transfer of credits to the bank_account datum from another bank account. *datum/bank_account/from: The bank account that is sending the credits to this bank_account datum. *amount: the quantity of credits that are being moved between bank_account datums.