[MIRROR] Allows blobs to destroy decals (#5279)

* Allows blobs to destroy decals

* Allows blobs to destroy decals
This commit is contained in:
CitadelStationBot
2018-02-04 23:14:15 -06:00
committed by Poojawa
parent 6a180f7e4a
commit 8fe05c8171
3 changed files with 8 additions and 1 deletions
@@ -8,6 +8,10 @@
if(!isturf(loc) || NeverShouldHaveComeHere(loc))
return INITIALIZE_HINT_QDEL
/obj/effect/decal/blob_act(obj/structure/blob/B)
if(B && B.loc == loc)
qdel(src)
/obj/effect/decal/proc/NeverShouldHaveComeHere(turf/T)
return isspaceturf(T) || isclosedturf(T) || islava(T) || istype(T, /turf/open/water) || ischasm(T)
+3
View File
@@ -20,6 +20,9 @@
pass_flags = PASSTABLE | PASSGRILLE
layer = FLY_LAYER
/obj/effect/decal/chempuff/blob_act(obj/structure/blob/B)
return
/obj/effect/decal/fakelattice
name = "lattice"
desc = "A lightweight support lattice."
+1 -1
View File
@@ -18,7 +18,7 @@
/obj/effect/mech_melee_attack(obj/mecha/M)
return 0
/obj/effect/blob_act()
/obj/effect/blob_act(obj/structure/blob/B)
return
/obj/effect/attack_hulk(mob/living/carbon/human/user, does_attack_animation = 0)