conveyor belt
Vars | |
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. |
Procs | |
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 |
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.
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