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

tram

Vars

transport_refWeakref to the tram we're attached

Procs

bumpopenIf you pry (bump) the doors open midtravel, open quickly so you can jump out and make a daring escape.
crushCrush the jerk holding up the tram from moving
examineTram doors can be opened with hands when unpowered
find_tramSet the weakref for the tram we're attached to
try_safety_unlockTram doors can be opened with hands when unpowered
try_to_closePerform a close attempt and report TRUE/FALSE if it worked
verify_statusChecks if the door close action was successful. Retries if it failed

Var Details

transport_ref

Weakref to the tram we're attached

Proc Details

bumpopen

If you pry (bump) the doors open midtravel, open quickly so you can jump out and make a daring escape.

crush

Crush the jerk holding up the tram from moving

Tram doors need their own crush proc because the normal one leaves you stunned far too long, leading to the doors crushing you over and over, no escape!

While funny to watch, not ideal for the player.

examine

Tram doors can be opened with hands when unpowered

find_tram

Set the weakref for the tram we're attached to

try_safety_unlock

Tram doors can be opened with hands when unpowered

try_to_close

Perform a close attempt and report TRUE/FALSE if it worked

Arguments:

verify_status

Checks if the door close action was successful. Retries if it failed

If some jerk is blocking the doors, they've had enough warning by attempt 3, take a chunk of skin, people have places to be!