Merge pull request #4078 from Mechoid/Projectile_Turretfunctions

Turret Targetting Update
This commit is contained in:
Anewbe
2017-10-16 14:03:05 -05:00
committed by GitHub
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)