use multitool on open panel orm to change dir of input and output

This commit is contained in:
uraniummeltdown
2017-03-02 18:04:10 +04:00
parent 72f904e0cc
commit f5de924915
+4
View File
@@ -114,6 +114,10 @@
if(istype(W, /obj/item/weapon/crowbar))
empty_content()
default_deconstruction_crowbar(W)
if(ismultitool(W))
input_dir = turn(input_dir, -90)
output_dir = turn(output_dir, -90)
to_chat(user, "<span class='notice'>You change [src]'s I/O settings, setting the input to [dir2text(input_dir)] and the output to [dir2text(output_dir)].</span>")
return
if(default_unfasten_wrench(user, W))
return