mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user