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

module

The general code used for machines that want to connect to the network

Vars

allow_boostersThis var is what determines if boosters, such as charger or well, can connect to this module
connected_nodeThe node we are connected to if we find one
connected_turfThis is the turf that we are facing and able to search for connections through
is_boosterThis var is what determines if we are a booster or a logistic module
shield_generatorThe shield generator we are connected to if we find one or a node provides us one

Procs

try_connectchecks for a valid machine in front of us and connects to it

Var Details

allow_boosters

This var is what determines if boosters, such as charger or well, can connect to this module

connected_node

The node we are connected to if we find one

connected_turf

This is the turf that we are facing and able to search for connections through

is_booster

This var is what determines if we are a booster or a logistic module

shield_generator

The shield generator we are connected to if we find one or a node provides us one

Proc Details

try_connect

checks for a valid machine in front of us and connects to it