diff --git a/code/game/machinery/pipe/pipe_dispenser.dm b/code/game/machinery/pipe/pipe_dispenser.dm index 38ead73631..06cdfcda7d 100644 --- a/code/game/machinery/pipe/pipe_dispenser.dm +++ b/code/game/machinery/pipe/pipe_dispenser.dm @@ -155,6 +155,10 @@ qdel(C) return + + if(href_list["dir"]) + C.setDir(text2num(href_list["dir"])) + C.add_fingerprint(usr) C.update_icon() wait = world.time + 15 diff --git a/code/game/objects/items/RPD.dm b/code/game/objects/items/RPD.dm index dfb522b38b..45798dae7e 100644 --- a/code/game/objects/items/RPD.dm +++ b/code/game/objects/items/RPD.dm @@ -67,7 +67,15 @@ GLOBAL_LIST_INIT(disposal_pipe_recipes, list( var/dirtype = PIPE_BENDABLE /datum/pipe_info/proc/Render(dispenser) - return "
" - dirsel += render_dir_img(SOUTH,"pipe.png","Pipe") + dirsel += render_dir_img(NORTH,"pipe.png","Pipe") dirsel += "
" else dirsel+={" "} @@ -499,8 +508,8 @@ GLOBAL_LIST_INIT(disposal_pipe_recipes, list( if(href_list["eatpipes"]) p_class = EATING_MODE - p_conntype=-1 - p_dir=1 + p_conntype = -1 + p_dir = 1 spark_system.start() playsound(get_turf(src), 'sound/effects/pop.ogg', 50, 0) show_menu(usr) @@ -531,7 +540,8 @@ GLOBAL_LIST_INIT(disposal_pipe_recipes, list( if(href_list["makemeter"]) p_class = METER_MODE - p_conntype = -1 + p_type = text2num(href_list["makemeter"]) + p_conntype = text2num(href_list["type"]) p_dir = NORTH spark_system.start() playsound(get_turf(src), 'sound/effects/pop.ogg', 50, 0)