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

tram_controls

Vars

available_facesWhat sign face prefixes we have icons for
sign_faceThe sign face we're displaying
specific_transport_idThe ID of the tram we're controlling
split_modeIf the sign is adjusted for split type tram windows
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

Var Details

available_faces

What sign face prefixes we have icons for

sign_face

The sign face we're displaying

specific_transport_id

The ID of the tram we're controlling

split_mode

If the sign is adjusted for split type tram windows

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.