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

tram_controls

Vars

available_facesWhat sign face prefixes we have icons for
install_typeIf we are window mounted, split window mounted, or standalone
sign_faceThe sign face we're displaying
specific_transport_idThe ID of the tram we're controlling
transport_refWeakref to the tram piece we control

Procs

find_tramFinds the tram from the console
get_destinationsFinds the destinations for the tram console gui
link_circuitLinks the specific_transport_id of the circuitboard and the tram controls machine. By default it will only link machines that don't yet have a specific_transport_id.

Var Details

available_faces

What sign face prefixes we have icons for

install_type

If we are window mounted, split window mounted, or standalone

sign_face

The sign face we're displaying

specific_transport_id

The ID of the tram we're controlling

transport_ref

Weakref to the tram piece we control

Proc Details

find_tram

Finds the tram from the console

Locates tram parts in the lift global list after everything is done.

get_destinations

Finds the destinations for the tram console gui

Pulls tram landmarks from the landmark gobal list and uses those to show the proper icons and destination names for the tram console gui.

Links the specific_transport_id of the circuitboard and the tram controls machine. By default it will only link machines that don't yet have a specific_transport_id.

Arguments: