conveyor ![code/modules/recycling/conveyor.dm 11](git.png)
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 ![code/modules/recycling/conveyor.dm 44](git.png)
weakref to attached cable if wire mode
backwards ![code/modules/recycling/conveyor.dm 24](git.png)
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 ![code/modules/recycling/conveyor.dm 36](git.png)
Are we currently conveying items?
flipped ![code/modules/recycling/conveyor.dm 34](git.png)
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 ![code/modules/recycling/conveyor.dm 22](git.png)
This is the default (forward) direction, set by the map dir.
id ![code/modules/recycling/conveyor.dm 30](git.png)
The control ID - must match at least one conveyor switch's ID to be useful.
inverted ![code/modules/recycling/conveyor.dm 32](git.png)
Inverts the direction the conveyor belt moves when true.
movedir ![code/modules/recycling/conveyor.dm 26](git.png)
The actual direction to move stuff in.
neighbors ![code/modules/recycling/conveyor.dm 38](git.png)
Direction -> if we have a conveyor belt in that direction
operating ![code/modules/recycling/conveyor.dm 20](git.png)
The current state of the switch.
speed ![code/modules/recycling/conveyor.dm 28](git.png)
The time between movements of the conveyor belts, base 0.2 seconds
wire_mode ![code/modules/recycling/conveyor.dm 40](git.png)
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.