Yogstation 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.
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.
setting_communicationBoolean on whether downloading communication apps like the Chat client works.
setting_softwaredownloadBoolean on whether downloading software works.

Procs

add_logRecords a message into the station logging system for the network Arguments:
build_software_listsFinds all downloadable programs and adds them to their respective downloadable list.
check_functionChecks whether NTNet is available for a specific function, checking NTNet relays and shutdowns. If none is passed, none is needed.
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.

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.

setting_communication

Boolean on whether downloading communication apps like the Chat client works.

setting_softwaredownload

Boolean on whether downloading software works.

Proc Details

add_log

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

build_software_lists

Finds all downloadable programs and adds them to their respective downloadable list.

check_function

Checks whether NTNet is available for a specific function, checking NTNet relays and shutdowns. If none is passed, none is needed.

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.