From 7a19d6165bc96d98a42ba58ea532da78b171fe2b Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Fri, 14 Jun 2013 13:03:03 -0700 Subject: [PATCH] Projectile shrapnel tweak for ease of forensics identification. --- code/modules/mob/living/carbon/human/human_damage.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm index 5d4e1da9b69..78038f5c84a 100644 --- a/code/modules/mob/living/carbon/human/human_damage.dm +++ b/code/modules/mob/living/carbon/human/human_damage.dm @@ -238,7 +238,10 @@ else if(istype(used_weapon,/obj/item/projectile)) //We don't want to use the actual projectile item, so we spawn some shrapnel. if(prob(50) && damagetype == BRUTE) + var/obj/item/projectile/P = used_weapon var/obj/item/weapon/shard/shrapnel/S = new() + S.name = "[P.name] shrapnel" + S.desc = "[S.desc] It looks like it was fired from [P.shot_from]." S.loc = src organ.implants += S visible_message("The projectile sticks in the wound!")