Finally fixed the net breaking mechanics.

This commit is contained in:
Useroth
2019-06-13 15:19:12 +02:00
parent 39bedb8341
commit 2d977becb5
@@ -108,19 +108,9 @@ It is possible to destroy the net by the occupant or someone else.
playsound(affecting, 'sound/effects/sparks2.ogg', 50, 1)
new /obj/effect/temp_visual/dir_setting/ninja/phase(affecting.drop_location(), affecting.dir)
/obj/structure/energy_net/attackby(obj/item/I, mob/user, params)
if(istype(user, /mob/living/carbon/alien/humanoid)) //so that aliums aren't completely cucked by nets
return attack_hand(user)
if(!I)
return
if(!I.force)
return
return attack_hand(user)
/*/obj/structure/energy_net/attack_paw(mob/user)
return attack_hand()*/ //How about no barehanded breaking of the net?
/obj/attack_alien(mob/living/carbon/alien/humanoid/user)
if(attack_generic(user, 15, BRUTE, "melee", 0)) //Aliens normally deal 60 damage to structures. They'd one-shot nets without this.
playsound(src.loc, 'sound/weapons/slash.ogg', 100, 1)
/obj/structure/energy_net/user_buckle_mob(mob/living/M, mob/living/user)
return//We only want our target to be buckled