Shuttle dock detection, added system to box, admin var edit support

This commit is contained in:
MrStonedOne
2016-07-27 21:49:42 -07:00
parent 9e7816b456
commit 6d5ee15997
3 changed files with 275 additions and 127 deletions
+8
View File
@@ -21,6 +21,14 @@
for(var/obj/machinery/door/D in orange(1, src))
addtimer(src, "close", 0, TRUE)
/obj/machinery/door/airlock/onShuttleMove()
shuttledocked = 0
for(var/obj/machinery/door/airlock/A in orange(1, src))
A.shuttledocked = 0
. = ..()
shuttledocked = 1
for(var/obj/machinery/door/airlock/A in orange(1, src))
A.shuttledocked = 1
/mob/onShuttleMove()
if(!move_on_shuttle)
return 0