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

telecomms

Vars

autolinkerslist of text/number values to link with
banned_frequenciesIllegal frequencies that can't be listened to by telecommunication servers.
hideIs it a hidden machine?
ididentification string
linkslist of machines this machine is linked to
links_by_telecomms_typeassociative lazylist list of the telecomms_type of linked telecomms machines and a list of said machines. eg list(telecomms_type1 = list(everything linked to us with that type), telecomms_type2 = list(everything linked to us with THAT type)...)
long_range_linkCan you link it across Z levels or on the otherside of the map? (Relay & Hub)
netspeedhow much traffic to lose per second (50 gigabytes/second * netspeed)
networkthe network of the machinery
soundloopLooping sounds for any servers
telecomms_typethe relevant type path of this telecomms machine eg /obj/machinery/telecomms/server but not server/preset. used for links_by_telecomms_type
toggledIs it toggled on
trafficvalue increases as traffic increases

Procs

add_automatic_linkUsed in auto linking
add_new_linkadds new_connection to src's links list AND vice versa. also updates links_by_telecomms_type
receive_informationreceive information from linked machinery
relay_informationrelay signal to all linked machinery that are of type [filter]. If signal has been sent [amount] times, stop sending
remove_linkremoves old_connection from src's links list AND vice versa. also updates links_by_telecomms_type

Var Details

autolinkers

list of text/number values to link with

banned_frequencies

Illegal frequencies that can't be listened to by telecommunication servers.

hide

Is it a hidden machine?

id

identification string

list of machines this machine is linked to

associative lazylist list of the telecomms_type of linked telecomms machines and a list of said machines. eg list(telecomms_type1 = list(everything linked to us with that type), telecomms_type2 = list(everything linked to us with THAT type)...)

Can you link it across Z levels or on the otherside of the map? (Relay & Hub)

netspeed

how much traffic to lose per second (50 gigabytes/second * netspeed)

network

the network of the machinery

soundloop

Looping sounds for any servers

telecomms_type

the relevant type path of this telecomms machine eg /obj/machinery/telecomms/server but not server/preset. used for links_by_telecomms_type

toggled

Is it toggled on

traffic

value increases as traffic increases

Proc Details

Used in auto linking

adds new_connection to src's links list AND vice versa. also updates links_by_telecomms_type

receive_information

receive information from linked machinery

relay_information

relay signal to all linked machinery that are of type [filter]. If signal has been sent [amount] times, stop sending

removes old_connection from src's links list AND vice versa. also updates links_by_telecomms_type