diff --git a/code/WorkInProgress/Ported/policetape.dm b/code/WorkInProgress/Ported/policetape.dm index 8e0e1e094b..65eb17d4f5 100644 --- a/code/WorkInProgress/Ported/policetape.dm +++ b/code/WorkInProgress/Ported/policetape.dm @@ -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." diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 81c0dd07d5..b7a8cf2fdc 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -356,6 +356,8 @@ Airlock index -> wire color are { 9, 4, 6, 7, 5, 8, 1, 2, 3 }. //world << text("airlock attackby src [] obj [] mob []", src, C, user) if(istype(C, /obj/item/device/detective_scanner)) return + if(istype(C, /obj/item/policetaperoll)) + return if (!istype(usr, /mob/living/silicon)) if (src.isElectrified()) if(src.shock(user, 75)) diff --git a/icons/policetape.dmi b/icons/policetape.dmi index f2736418da..dfa39a1467 100644 Binary files a/icons/policetape.dmi and b/icons/policetape.dmi differ