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

modular_computers

Vars

available_antag_softwareList of all programs that can be downloaded from an emagged NTNet store.
available_station_softwareList of all programs available to download from the NTNet store.
chat_channelsList of all chat channels created by Chat Client.
discount_couponsLazylist of coupons used by the Coupon Master PDA app. e.g. "COUPONCODE25" = coupon_code
intrusion_detection_alarmBoolean to show a message warning if there's an active intrusion for Wirecarp users.
intrusion_detection_enabledBoolean on whether the IDS warning system is enabled
modpc_logsList of all logs generated by ModPCs through the round. Stops at MAX_LOG_COUNT and must be purged to keep logging.
next_discountWhen will the next coupon drop?

Procs

add_logRecords a message into the station logging system for the network Arguments:
announce_couponGenerate new coupon codes that can be redeemed with the Coupon Master App
build_software_listsEliminates non-alphanumeri characters, as well as the word "Single-Pack" or "Pack" or "Crate" from the coupon code Don't go any further if the same coupon code has been done alrady or if there's no recipient for the 'promo'. pda message code here Finds all downloadable programs and adds them to their respective downloadable list.
find_ntnet_file_by_nameAttempts to find a new file through searching the available stores with its name.
get_chat_channel_by_idAttempts to find a chatorom using the ID of the channel.
get_next_picture_nameReturns a name which a /datum/picture can be assigned to. Use this function to get asset names and to avoid cache duplicates/overwriting.
purge_logsRemoves all station logs and leaves it with an alert that it's been wiped.

Var Details

available_antag_software

List of all programs that can be downloaded from an emagged NTNet store.

available_station_software

List of all programs available to download from the NTNet store.

chat_channels

List of all chat channels created by Chat Client.

discount_coupons

Lazylist of coupons used by the Coupon Master PDA app. e.g. "COUPONCODE25" = coupon_code

intrusion_detection_alarm

Boolean to show a message warning if there's an active intrusion for Wirecarp users.

intrusion_detection_enabled

Boolean on whether the IDS warning system is enabled

modpc_logs

List of all logs generated by ModPCs through the round. Stops at MAX_LOG_COUNT and must be purged to keep logging.

next_discount

When will the next coupon drop?

Proc Details

add_log

Records a message into the station logging system for the network Arguments:

announce_coupon

Generate new coupon codes that can be redeemed with the Coupon Master App

build_software_lists

Eliminates non-alphanumeri characters, as well as the word "Single-Pack" or "Pack" or "Crate" from the coupon code Don't go any further if the same coupon code has been done alrady or if there's no recipient for the 'promo'. pda message code here Finds all downloadable programs and adds them to their respective downloadable list.

find_ntnet_file_by_name

Attempts to find a new file through searching the available stores with its name.

get_chat_channel_by_id

Attempts to find a chatorom using the ID of the channel.

get_next_picture_name

Returns a name which a /datum/picture can be assigned to. Use this function to get asset names and to avoid cache duplicates/overwriting.

purge_logs

Removes all station logs and leaves it with an alert that it's been wiped.