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
@@ -322,6 +322,16 @@ obj/structure/windoor_assembly/Destroy()
update_icon()
return
/obj/structure/windoor_assembly/AltClick(mob/user)
..()
if(user.incapacitated())
user << "<span class='warning'>You can't do that right now!</span>"
return
if(!in_range(src, user))
return
else
revrotate()
//Flips the windoor assembly, determines whather the door opens to the left or the right
/obj/structure/windoor_assembly/verb/flip()
set name = "Flip Windoor Assembly"