Ports /tg/ Brain Trauma (#3979)

This commit is contained in:
LordFowl
2018-01-27 13:13:19 -05:00
committed by Lohikar
parent 6fe90002dd
commit ad00601b81
57 changed files with 1971 additions and 85 deletions

View File

@@ -245,6 +245,9 @@
user.visible_message("<span class='notice'>[user] repairs [target]'s [I.name] with [tool].</span>", \
"<span class='notice'>You repair [target]'s [I.name] with [tool].</span>" )
I.damage = 0
var/obj/item/organ/brain/sponge = target.internal_organs_by_name["brain"]
if(sponge && istype(I, sponge))
target.cure_all_traumas()
fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)