/tg/ Station 13 - Modules - TypesVar Details - Proc Details

bank_account

Vars

account_balanceHow many credits are currently held in the bank account.
account_debtDebt. If higher than 0, A portion of the credits is earned (or the whole debt, whichever is lower) will go toward paying it off.
account_holderName listed on the account, reflected on the ID card.
account_idThe Unique ID number code associated with the owner's bank account, assigned at round start.
account_jobThe job datum of the account owner.
add_to_accountsShould 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_cardsList of the physical ID card objects that are associated with this bank_account
being_dumpedIs there a CRAB 17 on the station draining funds? Prevents manual fund transfer. pink levels are rising
bitrunning_pointsPoints for bit runner's vendor. Awarded for completing virtual domains.
bountiesIf player is currently picking a civilian bounty to do, these options are held here to prevent soft-resetting through the UI.
bounty_timerCooldown timer on replacing a civilain bounty. Bounties can only be replaced once every 5 minutes.
civilian_bountyReference to the current civilian bounty that the account is working on.
mining_pointsHow many mining points (shaft miner credits) is held in the bank account, used for mining vendors.
pay_tokenA special semi-tandom token for tranfering money from NT pay app
payday_modifierIf there are things effecting how much income a player will get, it's reflected here 1 is standard for humans.
redeemed_couponsA lazylist of coupons redeemed with the Coupon Master pda app associated with this account.
replaceableCan this account be replaced? Set to true for default IDs not recognized by the station.
transaction_historyList with a transaction history for NT pay app

Procs

add_log_to_historyAdd log to transactions history. Deletes the oldest log when the history has more than 20 entries. Main format: Category: Reason in Reason. Example: Vending: Machinery Using Arguments:
adjust_moneyAdjusts the balance of a bank_account as well as sanitizes the numerical input. Arguments:
bank_card_talkThis 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. Arguments:
bounty_numReturns the required item count, or required chemical units required to submit a bounty.
bounty_textReturns a string with the civilian bounty's description on it.
bounty_valueProduces the value of the account's civilian bounty reward, if able.
dumpeetSets the bank_account to behave as though a CRAB-17 event is happening.
has_moneyReturns TRUE if a bank account has more than or equal to the amount, amt. Otherwise returns false. Arguments:
pay_debtCalled when a portion of a debt is to be paid. It'll return the amount of credits put forwards to extinguish the debt.
paydayThis proc handles passive income gain for players, using their job's paycheck value. Funds are taken from the parent department account to hand out to players. This can result in payment brown-outs if too many people are in one department. Arguments:
reset_bountyPerforms house-cleaning on variables when a civilian bounty is replaced, or, when a bounty is claimed.
setup_unique_account_idProc 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_moneyPerforms a transfer of credits to the bank_account datum from another bank account. Arguments:

Var Details

account_balance

How many credits are currently held in the bank account.

account_debt

Debt. If higher than 0, A portion of the credits is earned (or the whole debt, whichever is lower) will go toward paying it off.

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.

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

bitrunning_points

Points for bit runner's vendor. Awarded for completing virtual domains.

bounties

If player is currently picking a civilian bounty to do, these options are held here to prevent soft-resetting through the UI.

bounty_timer

Cooldown timer on replacing a civilain bounty. Bounties can only be replaced once every 5 minutes.

civilian_bounty

Reference to the current civilian bounty that the account is working on.

mining_points

How many mining points (shaft miner credits) is held in the bank account, used for mining vendors.

pay_token

A special semi-tandom token for tranfering money from NT pay app

payday_modifier

If there are things effecting how much income a player will get, it's reflected here 1 is standard for humans.

redeemed_coupons

A lazylist of coupons redeemed with the Coupon Master pda app associated with this account.

replaceable

Can this account be replaced? Set to true for default IDs not recognized by the station.

transaction_history

List with a transaction history for NT pay app

Proc Details

add_log_to_history

Add log to transactions history. Deletes the oldest log when the history has more than 20 entries. Main format: Category: Reason in Reason. Example: Vending: Machinery Using Arguments:

adjust_money

Adjusts the balance of a bank_account as well as sanitizes the numerical input. Arguments:

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. Arguments:

bounty_num

Returns the required item count, or required chemical units required to submit a bounty.

bounty_text

Returns a string with the civilian bounty's description on it.

bounty_value

Produces the value of the account's civilian bounty reward, if able.

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. Arguments:

pay_debt

Called when a portion of a debt is to be paid. It'll return the amount of credits put forwards to extinguish the debt.

payday

This proc handles passive income gain for players, using their job's paycheck value. Funds are taken from the parent department account to hand out to players. This can result in payment brown-outs if too many people are in one department. Arguments:

reset_bounty

Performs house-cleaning on variables when a civilian bounty is replaced, or, when a bounty is claimed.

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. Arguments: