Shiptest 13 - Modules - TypesProc Details

lift_master

Collect and command

Procs

Check_lift_moveCheck destination turfs
MoveLiftMoves the lift UP or DOWN, this is what users invoke with their hand. This is a SAFE proc, ensuring every part of the lift moves SANELY. It also locks controls for the (miniscule) duration of the movement, so the elevator cannot be broken by spamming. Arguments: going - UP or DOWN directions, where the lift should go. Keep in mind by this point checks of whether it should go up or down have already been done. user - Whomever made the lift movement.
MoveLiftHorizontalMoves the lift, this is what users invoke with their hand. This is a SAFE proc, ensuring every part of the lift moves SANELY. It also locks controls for the (miniscule) duration of the movement, so the elevator cannot be broken by spamming.
Rebuild_lift_plaformCollect all bordered platforms
set_controlsSets all lift parts's controls_locked variable. Used to prevent moving mid movement, or cooldowns.

Proc Details

Check_lift_move

Check destination turfs

MoveLift

Moves the lift UP or DOWN, this is what users invoke with their hand. This is a SAFE proc, ensuring every part of the lift moves SANELY. It also locks controls for the (miniscule) duration of the movement, so the elevator cannot be broken by spamming. Arguments: going - UP or DOWN directions, where the lift should go. Keep in mind by this point checks of whether it should go up or down have already been done. user - Whomever made the lift movement.

MoveLiftHorizontal

Moves the lift, this is what users invoke with their hand. This is a SAFE proc, ensuring every part of the lift moves SANELY. It also locks controls for the (miniscule) duration of the movement, so the elevator cannot be broken by spamming.

Rebuild_lift_plaform

Collect all bordered platforms

set_controls

Sets all lift parts's controls_locked variable. Used to prevent moving mid movement, or cooldowns.