Conveyors can only have their movedir set to 2 in away missions.
Opened this issue · 2 comments
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
I don't even see how this is possible:
/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()
if you want to map edit it, map edit it using the proper vars
eg:
dir = NORTH
forward = NORTH
backwards = SOUTH