conveyor_switch
Procs | |
interact | Called when a user clicks on this switch with an open hand. |
---|---|
update_linked_conveyors | Updates all conveyor belts that are linked to this switch, and tells them to start processing. |
update_linked_switches | Finds any switches with same id as this one, and set their position and icon to match us. |
update_position | Updates the switch's position and last_pos variable. Useful so that the switch can properly cycle between the forwards, backwards and neutral positions. |
Proc Details
interact
Called when a user clicks on this switch with an open hand.
update_linked_conveyors
Updates all conveyor belts that are linked to this switch, and tells them to start processing.
update_linked_switches
Finds any switches with same id
as this one, and set their position and icon to match us.
update_position
Updates the switch's position
and last_pos
variable. Useful so that the switch can properly cycle between the forwards, backwards and neutral positions.