mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01: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."
|
||||
|
||||
@@ -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))
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user