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

elevator

Vars

lift_weakrefA weakref to the transport_controller datum we control

Procs

call_elevatorActually calls the elevator. Returns FALSE if we failed to setup the move. Returns TRUE if the move setup was a success, EVEN IF the move itself fails afterwards
check_buttonCallback for move_to_zlevel / general proc to check if we're still in a button
get_liftGets the elevator associated with our assembly / button

Var Details

lift_weakref

A weakref to the transport_controller datum we control

Proc Details

call_elevator

Actually calls the elevator. Returns FALSE if we failed to setup the move. Returns TRUE if the move setup was a success, EVEN IF the move itself fails afterwards

check_button

Callback for move_to_zlevel / general proc to check if we're still in a button

get_lift

Gets the elevator associated with our assembly / button