conveyor

Vars | |
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. |
operating | The current state of the switch. |
speed | The time between movements of the conveyor belts, base 0.2 seconds |
Procs | |
LateInitialize | Leaving onto conveyor detection won't work at this point, but that's alright since it's an optimization anyway Should be fine without it |
update_move_direction | Proc to handle updating the directions in which the conveyor belt is moving items. |
Var Details
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.
operating

The current state of the switch.
speed

The time between movements of the conveyor belts, base 0.2 seconds
Proc Details
LateInitialize
Leaving onto conveyor detection won't work at this point, but that's alright since it's an optimization anyway Should be fine without it
update_move_direction
Proc to handle updating the directions in which the conveyor belt is moving items.