makes people get hurt when thrown at each other (#20084)

* makes people get hurt when thrown at each other

* why the space indeed
This commit is contained in:
PKPenguin321
2016-08-26 14:12:06 +12:00
committed by oranges
parent d309ae6753
commit 11a500d3b7
@@ -16,6 +16,14 @@
if(hit_atom.density && isturf(hit_atom))
Weaken(1)
take_organ_damage(10)
if(iscarbon(hit_atom))
var/mob/living/carbon/victim = hit_atom
victim.Weaken(1)
Weaken(1)
victim.take_organ_damage(10)
take_organ_damage(10)
visible_message("<span class='danger'>[src] crashes into [victim], knocking them both over!</span>", "<span class='userdanger'>You violently crash into [victim]!</span>")
playsound(src,'sound/weapons/punch1.ogg',50,1)
/mob/living/carbon/attackby(obj/item/I, mob/user, params)
if(lying && surgeries.len)