Now possible to place police tape on airlocks

Also resprite for tape in general.
This commit is contained in:
comma
2012-04-17 06:06:01 +03:00
parent 93392dcc34
commit ee37ebd13d
3 changed files with 11 additions and 0 deletions

View File

@@ -165,3 +165,12 @@
del(src)
return
/obj/item/policetaperoll/afterattack(var/atom/A, mob/user as mob)
if (istype(A, /obj/machinery/door/airlock))
var/turf/T = get_turf(A)
var/obj/item/policetape/P = new/obj/item/policetape(T.x,T.y,T.z)
P.loc = locate(T.x,T.y,T.z)
P.icon_state = "door"
P.layer = 3.2
user << "\blue You finish placing the police tape."