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

mining_beacon_network

Candela beacon network datum

Vars

linked_beacon_itemsList of beacon items tracking our network
linked_mobsList of mobs currently attached to the network via handler items for centralized movement tracking (mob -> all handlers on them)
linked_nodesList of all beacon nodes within our network (node -> its connections)
poweredWhat types of power providers we have in the network

Procs

check_network_separationTry to reassemble the network in case of possible separation Node that caused separation should already be removed from linked_nodes Returns FALSE if the network was not split, TRUE if it was
on_user_movedA mob linked to the network moved, check if they still can connect to us and if not, check if any handlers object and then cut the connection
update_powerRefresh our power state, returns previous power state

Var Details

linked_beacon_items

List of beacon items tracking our network

linked_mobs

List of mobs currently attached to the network via handler items for centralized movement tracking (mob -> all handlers on them)

linked_nodes

List of all beacon nodes within our network (node -> its connections)

powered

What types of power providers we have in the network

Proc Details

check_network_separation

Try to reassemble the network in case of possible separation Node that caused separation should already be removed from linked_nodes Returns FALSE if the network was not split, TRUE if it was

on_user_moved

A mob linked to the network moved, check if they still can connect to us and if not, check if any handlers object and then cut the connection

update_power

Refresh our power state, returns previous power state