mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 09:31:30 +00:00
Now possible to place police tape on airlocks
Also resprite for tape in general.
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user