/tg/ Station 13 - Modules - Types — Var Details - Proc Details

candela_node

Component that handles stationary node behavior for the Candela mining navigation network

Vars

beam_visualsList of beam visuals we're using for connections
blockers_activeTrack if mob blocker is active. Unfortunately necessary due to complicated order of operations with merging networks.
connection_pixel_xX offset for our beam connection point
connection_pixel_yY offset for our beam connection point
fulton_pointCan this node be teleported to using fultons?
networkNetwork we're connected to
power_flagsIs this node a valid network power source? If yes, what type?

Procs

on_network_power_changedWhen the network's power state changes, update respawn blockers on or off
update_blockersIf we have no network or the network is not powered, remove respawn blockers from the parent. Otherwise, add them.
update_connectionsRefresh visual connections of our node

Var Details

beam_visuals

List of beam visuals we're using for connections

blockers_active

Track if mob blocker is active. Unfortunately necessary due to complicated order of operations with merging networks.

connection_pixel_x

X offset for our beam connection point

connection_pixel_y

Y offset for our beam connection point

fulton_point

Can this node be teleported to using fultons?

network

Network we're connected to

power_flags

Is this node a valid network power source? If yes, what type?

Proc Details

on_network_power_changed

When the network's power state changes, update respawn blockers on or off

update_blockers

If we have no network or the network is not powered, remove respawn blockers from the parent. Otherwise, add them.

update_connections

Refresh visual connections of our node