Turrets detect targets through metal foam.

This commit is contained in:
Mechoid
2017-10-15 13:48:38 -07:00
parent 768dc2d7c0
commit 9a04744ab6
5 changed files with 31 additions and 5 deletions
+4 -2
View File
@@ -150,8 +150,10 @@
/obj/structure/foamedmetal/ex_act(severity)
qdel(src)
/obj/structure/foamedmetal/bullet_act()
if(metal == 1 || prob(50))
/obj/structure/foamedmetal/bullet_act(var/obj/item/projectile/P)
if(istype(P, /obj/item/projectile/test))
return
else if(metal == 1 || prob(50))
qdel(src)
/obj/structure/foamedmetal/attack_hand(var/mob/user)