Multitools can change the I/O dirs of ORMs (#24460)

* Multitools can change the I/O dirs of ORMs

* remie

* invert!
This commit is contained in:
XDTM
2017-02-28 18:03:25 +13:00
committed by oranges
parent e817ca06d0
commit 9f7bffa1b2
2 changed files with 9 additions and 16 deletions
@@ -110,6 +110,12 @@
inserted_id = I
interact(user)
return
if(istype(W, /obj/item/device/multitool) && panel_open)
input_dir = turn(input_dir, -90)
output_dir = turn(output_dir, -90)
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(exchange_parts(user, W))
return