Goonstation 13 - Modules - TypesVar Details - Proc Details

conveyor belt

Vars

deconstructableDetermines whether the conveyor can be modified and deconstructed. (Whether the cover is open.)
dir_inDirection for objects going into the conveyor.
dir_outDirection for objects going out of the conveyor.
divdirif diverting, will be conveyer dir needed to divert (otherwise dense)
divertif non-zero, direction to divert items
idthe control ID, what the conveyor switch refers to when looking for new conveyors at world init.
linked_switcheslist of conveyor_switches that have us in their conveyors list
move_lagThe lag at which the movement happens. Lower = faster
operabletrue if can operate (no broken segments in this belt run)
operatingThe direction the conveyor is going to. 1 if running forward, -1 if backwards, 0 if off
protectedDetermines whether the conveyor can have it's cover open, that is, whether it can be deconstructable at all.
stored_operatingStored operating direction for conveyors without linked switches

Procs

set_operableset the operable var if ID matches, propagating in the given direction
setdirset the dir and target turf depending on the operating direction
updateupdate the icon depending on the operating condition

Var Details

deconstructable

Determines whether the conveyor can be modified and deconstructed. (Whether the cover is open.)

dir_in

Direction for objects going into the conveyor.

dir_out

Direction for objects going out of the conveyor.

divdir

if diverting, will be conveyer dir needed to divert (otherwise dense)

divert

if non-zero, direction to divert items

id

the control ID, what the conveyor switch refers to when looking for new conveyors at world init.

linked_switches

list of conveyor_switches that have us in their conveyors list

move_lag

The lag at which the movement happens. Lower = faster

operable

true if can operate (no broken segments in this belt run)

operating

The direction the conveyor is going to. 1 if running forward, -1 if backwards, 0 if off

protected

Determines whether the conveyor can have it's cover open, that is, whether it can be deconstructable at all.

stored_operating

Stored operating direction for conveyors without linked switches

Proc Details

set_operable

set the operable var if ID matches, propagating in the given direction

setdir

set the dir and target turf depending on the operating direction

update

update the icon depending on the operating condition