Alt Click Madness

This commit is contained in:
Fox-McCloud
2016-07-22 16:09:16 -04:00
parent 5a9681b5cd
commit 451044863e
6 changed files with 60 additions and 0 deletions
@@ -96,6 +96,16 @@
dir = turn(dir, -90)
update()
/obj/structure/disposalconstruct/AltClick(mob/user)
..()
if(user.incapacitated())
to_chat(user << "<span class='warning'>You can't do that right now!</span>")
return
if(!in_range(src, user))
return
else
rotate()
/obj/structure/disposalconstruct/verb/flip()
set name = "Flip Pipe"
set src in view(1)