You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fairly self-explanatory. Normally on the station, creating a conveyor and setting its direction (dir) will cause items to start moving in the direction (movedir). In away missions this is not the case, as conveyors that I have set to 4 (east) instead have a movedir of 2, even if they are literally copy pasted from the station and only have an ID change.
Movedir is not a variable normally set in the map maker as no conveyor piece uses it. It's generated when the game starts. It will be reset from whatever you edit it to if the lever is flipped.
The text was updated successfully, but these errors were encountered:
WJohn
changed the title
Treadmills can only have their movedir set to 2 in away missions.
Conveyers can only have their movedir set to 2 in away missions.
Jul 14, 2014
WJohn
changed the title
Conveyers can only have their movedir set to 2 in away missions.
Conveyors can only have their movedir set to 2 in away missions.
Jul 14, 2014
/obj/machinery/conveyor/New(loc, newdir)
..(loc)
if(newdir)
dir = newdir
switch(dir)
if(NORTH)
forwards = NORTH
backwards = SOUTH
if(SOUTH)
forwards = SOUTH
backwards = NORTH
if(EAST)
forwards = EAST
backwards = WEST
if(WEST)
forwards = WEST
backwards = EAST
if(NORTHEAST)
forwards = EAST
backwards = SOUTH
if(NORTHWEST)
forwards = SOUTH
backwards = WEST
if(SOUTHEAST)
forwards = NORTH
backwards = EAST
if(SOUTHWEST)
forwards = WEST
backwards = NORTH
/obj/machinery/conveyor/proc/setmove()
if(operating == 1)
movedir = forwards
else
movedir = backwards
update()
Fairly self-explanatory. Normally on the station, creating a conveyor and setting its direction (dir) will cause items to start moving in the direction (movedir). In away missions this is not the case, as conveyors that I have set to 4 (east) instead have a movedir of 2, even if they are literally copy pasted from the station and only have an ID change.
Movedir is not a variable normally set in the map maker as no conveyor piece uses it. It's generated when the game starts. It will be reset from whatever you edit it to if the lever is flipped.
Station:
http://i.imgur.com/9ezZMUR.png
Away mission:
http://i.imgur.com/cYA2zMh.png
The text was updated successfully, but these errors were encountered: