This commit is contained in:
Fox-McCloud
2016-07-22 19:25:07 -04:00
parent 451044863e
commit d83fe43331
7 changed files with 17 additions and 22 deletions
@@ -71,10 +71,9 @@
if(user.incapacitated())
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
return
if(!in_range(src, user))
if(!Adjacent(user))
return
else
rotate()
rotate()
// Chair types
/obj/structure/stool/bed/chair/wood
@@ -325,12 +325,11 @@ obj/structure/windoor_assembly/Destroy()
/obj/structure/windoor_assembly/AltClick(mob/user)
..()
if(user.incapacitated())
user << "<span class='warning'>You can't do that right now!</span>"
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
return
if(!in_range(src, user))
if(!Adjacent(user))
return
else
revrotate()
revrotate()
//Flips the windoor assembly, determines whather the door opens to the left or the right
/obj/structure/windoor_assembly/verb/flip()
+2 -3
View File
@@ -323,10 +323,9 @@ var/global/wcCommon = pick(list("#379963", "#0d8395", "#58b5c3", "#49e46e", "#8f
if(user.incapacitated())
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
return
if(!in_range(src, user))
if(!Adjacent(user))
return
else
revrotate()
revrotate()
/*
/obj/structure/window/proc/updateSilicate()