Update trait exclusions for hollow ,boneless and dense traits (#19211)

* Update trait exclusions for hollow and boneless traits

* Update dense bones trait exclusions

* Removes comments, standardizes code.

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Sharkmare
2026-02-21 22:03:12 +01:00
committed by GitHub
parent eb3af3ac41
commit 332f9df255
2 changed files with 4 additions and 3 deletions
@@ -138,7 +138,7 @@
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
excludes = list(/datum/trait/negative/boneless, /datum/trait/positive/densebones)
excludes = list(/datum/trait/negative/boneless, /datum/trait/negative/boneless/major, /datum/trait/positive/densebones)
/datum/trait/negative/hollow/apply(var/datum/species/S,var/mob/living/carbon/human/H)
..()
@@ -634,13 +634,14 @@
hidden = FALSE
///How much our limbs max_damage is multiplied by.
var/limb_health = 1
excludes = list(/datum/trait/negative/hollow)
excludes = list(/datum/trait/negative/hollow, /datum/trait/positive/densebones, /datum/trait/negative/boneless/major)
/datum/trait/negative/boneless/major
name = "Boneless, Major"
desc = "You have no bones! Your limbs are also much, much easier to gib in exchange. (Seriously this can result in one shot deaths and similar)"
cost = -6 //For reference, getting hit in the head with a welder 3 times kills you. Head has 37.5 HP. Reaching that cap = instant death
limb_health = 0.5
excludes = list(/datum/trait/negative/hollow, /datum/trait/positive/densebones, /datum/trait/negative/boneless)
/datum/trait/negative/boneless/apply(var/datum/species/S,var/mob/living/carbon/human/H)
..()
@@ -556,7 +556,7 @@
name = "Dense Bones"
desc = "Your bones (or robotic limbs) are more dense or stronger then what is considered normal. It is much harder to fracture your bones, yet pain from fractures is much more intense. Bones require 50% more damage to break, and deal 2x pain on break."
cost = 3
excludes = list(/datum/trait/negative/hollow)
excludes = list(/datum/trait/negative/hollow, /datum/trait/negative/boneless, /datum/trait/negative/boneless/major)
/datum/trait/positive/densebones/apply(var/datum/species/S,var/mob/living/carbon/human/H)
..()