Merge pull request #8366 from lbnesquik/Kot-Traits-Addition

Bring back hemophilia. No, it's not a crime!
This commit is contained in:
Novacat
2020-08-18 20:49:44 -04:00
committed by GitHub
3 changed files with 21 additions and 0 deletions
@@ -90,6 +90,13 @@
cost = -2
var_changes = list("siemens_coefficient" = 2.0) //This makes you extremely weak to tasers.
/datum/trait/haemophilia
name = "Haemophilia - Organics only"
desc = "When you bleed, you bleed a LOT. This trait is only for organics, buggy with synths!"
cost = -2
var_changes = list("bloodloss_rate" = 2)
not_for_synths = 1
/datum/trait/hollow
name = "Hollow Bones/Aluminum Alloy"
desc = "Your bones and robot limbs are much easier to break."
@@ -5,6 +5,7 @@
var/cost = 0 // 0 is neutral, negative cost means negative, positive cost means positive.
var/list/var_changes // A list to apply to the custom species vars.
var/list/excludes // Store a list of paths of traits to exclude, but done automatically if they change the same vars.
var/not_for_synths = 0 // Can freaking synths use those.
//Proc can be overridden lower to include special changes, make sure to call up though for the vars changes
/datum/trait/proc/apply(var/datum/species/S,var/mob/living/carbon/human/H)