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

tram_controls

Vars

tram_refWeakref to the tram piece we control

Procs

find_tramFinds the tram from the console
get_destinationsFinds the destinations for the tram console gui
try_send_tramAttempts to sends the tram to the given destination

Var Details

tram_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.

try_send_tram

Attempts to sends the tram to the given destination