From b4c4fc99959dbb558d43d4d8a7b0415cce02ec01 Mon Sep 17 00:00:00 2001 From: Aztectornado Date: Sat, 24 Feb 2018 21:05:56 -0600 Subject: [PATCH] Adds Hollow Bones trait --- .../human/species/station/traits_vr/negative.dm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm index 4aaae08daf..307fc537ee 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm @@ -96,6 +96,17 @@ cost = -1 var_changes = list("flash_mod" = 2.0) +/datum/trait/hollow + name = "Hollow Bones/Aluminum Alloy" + desc = "Your bones and robot limbs are much easier to break." + cost = -2 //I feel like this should be higher, but let's see where it goes + +/datum/trait/hollow/apply(var/datum/species/S,var/mob/living/carbon/human/H) + ..(S,H) + for(var/obj/item/organ/external/O in H.organs) + O.min_broken_damage *= 0.5 + O.min_bruised_damage *= 0.5 + /datum/trait/lightweight name = "Lightweight" desc = "Your light weight and poor balance make you very susceptible to unhelpful bumping. Think of it like a bowling ball versus a pin."