/tg/ Station 13 - Modules - TypesVar Details - Proc Details

conveyor

Vars

backwardsThe opposite of forwards. It's set in a special var for corner belts, which aren't using the opposite direction when in reverse.
conveyingAre we currently conveying items?
flippedIs 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.
forwardsThis is the default (forward) direction, set by the map dir.
idThe control ID - must match at least one conveyor switch's ID to be useful.
invertedInverts the direction the conveyor belt moves when true.
movedirThe actual direction to move stuff in.
operatingThe current state of the switch.
speedThe time between movements of the conveyor belts, base 0.2 seconds

Procs

examineLeaving 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_directionProc 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

examine

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.