Space Station 13 - Modules - TypesVar Details - Proc Details

conveyor_switch

Vars

conveyor_max_speedMaximum speed delay this switch can provide to linked conveyors
conveyor_min_speedMinimum speed delay this switch can provide to linked conveyors
conveyor_speedCurrent set time between movements of the conveyor belts
idThe ID of the switch, must match conveyor IDs to control them.
invert_iconIf the lever points the opposite direction when it's turned on.
one_wayIf the switch only operates the conveyor belts in a single direction.
positionThe current state of the switch.

Procs

update_linked_conveyorsUpdates all conveyor belts that are linked to this switch, and tells them to start processing.
update_linked_switchesFinds any switches with same id as this one, and set their position and icon to match us.
update_positionUpdates the switch's position and last_pos variable. Useful so that the switch can properly cycle between the forwards, backwards and neutral positions.

Var Details

conveyor_max_speed

Maximum speed delay this switch can provide to linked conveyors

conveyor_min_speed

Minimum speed delay this switch can provide to linked conveyors

conveyor_speed

Current set time between movements of the conveyor belts

id

The ID of the switch, must match conveyor IDs to control them.

invert_icon

If the lever points the opposite direction when it's turned on.

one_way

If the switch only operates the conveyor belts in a single direction.

position

The current state of the switch.

Proc Details

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.