conveyor 
Vars | |
attached_wire_ref | weakref to attached cable if wire mode |
---|---|
backwards | The opposite of forwards. It's set in a special var for corner belts, which aren't using the opposite direction when in reverse. |
conveying | Are we currently conveying items? |
flipped | Is the conveyor's belt flipped? Useful mostly for conveyor belt corners. It makes the belt point in the other direction, rather than just going in reverse. |
forwards | This is the default (forward) direction, set by the map dir. |
id | The control ID - must match at least one conveyor switch's ID to be useful. |
inverted | Inverts the direction the conveyor belt moves when true. |
movedir | The actual direction to move stuff in. |
neighbors | Direction -> if we have a conveyor belt in that direction |
operating | The current state of the switch. |
speed | The time between movements of the conveyor belts, base 0.2 seconds |
wire_mode | are we operating in wire power mode |
Procs | |
update_move_direction | Proc to handle updating the directions in which the conveyor belt is moving items. |
Var Details
attached_wire_ref 
weakref to attached cable if wire mode
backwards 
The opposite of forwards. It's set in a special var for corner belts, which aren't using the opposite direction when in reverse.
conveying 
Are we currently conveying items?
flipped 
Is the conveyor's belt flipped? Useful mostly for conveyor belt corners. It makes the belt point in the other direction, rather than just going in reverse.
forwards 
This is the default (forward) direction, set by the map dir.
id 
The control ID - must match at least one conveyor switch's ID to be useful.
inverted 
Inverts the direction the conveyor belt moves when true.
movedir 
The actual direction to move stuff in.
neighbors 
Direction -> if we have a conveyor belt in that direction
operating 
The current state of the switch.
speed 
The time between movements of the conveyor belts, base 0.2 seconds
wire_mode 
are we operating in wire power mode
Proc Details
update_move_direction
Proc to handle updating the directions in which the conveyor belt is moving items.