This commit is contained in:
Gboster-0
2025-02-01 06:18:15 +01:00
committed by GitHub
parent 078f7a6734
commit fef2a63727
5 changed files with 29 additions and 13 deletions

View File

@@ -254,12 +254,16 @@
/datum/mutation/human/thickskin/on_acquiring(mob/living/carbon/human/owner)
. = ..()
if(.)
return
if(owner.physiology)
owner.physiology.brute_mod *= 0.8
owner.physiology.burn_mod *= 0.9
/datum/mutation/human/thickskin/on_losing(mob/living/carbon/human/owner)
. = ..()
if(.)
return
if(owner.physiology)
owner.physiology.brute_mod /= 0.8
owner.physiology.burn_mod /= 0.9
@@ -471,7 +475,8 @@
power_coeff = 1
/datum/mutation/human/densebones/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
owner.physiology.armor.melee += 5
owner.physiology.armor.wound += 10
@@ -479,7 +484,8 @@
ADD_TRAIT(owner, TRAIT_HARDLY_WOUNDED, "genetics")
/datum/mutation/human/densebones/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
owner.physiology.armor.melee -= 5
owner.physiology.armor.wound -= 10
@@ -496,13 +502,15 @@
instability = 70
/datum/mutation/human/cerebral/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
owner.physiology.stamina_mod *= 0.7
owner.physiology.stun_mod *= 0.85
/datum/mutation/human/cerebral/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
owner.physiology.stamina_mod /= 0.7
owner.physiology.stun_mod /= 0.85

View File

@@ -7,13 +7,15 @@
difficulty = 8
/datum/mutation/human/radproof/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
ADD_TRAIT(owner, TRAIT_RADIMMUNE, type)
owner.physiology.tox_mod *= 1.5
/datum/mutation/human/radproof/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
REMOVE_TRAIT(owner, TRAIT_RADIMMUNE, type)
owner.physiology.tox_mod /= 1.5

View File

@@ -9,14 +9,16 @@
instability = 10 //could be an upside maybe, or could force it on some poor sap while stabilized
/datum/mutation/human/ravenous/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
ADD_TRAIT(owner, TRAIT_EAT_MORE, "ravenous")
ADD_TRAIT(owner, TRAIT_BOTTOMLESS_STOMACH, "ravenous")
ADD_TRAIT(owner, TRAIT_VORACIOUS, "ravenous")
/datum/mutation/human/ravenous/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
REMOVE_TRAIT(owner, TRAIT_EAT_MORE, "ravenous")
REMOVE_TRAIT(owner, TRAIT_BOTTOMLESS_STOMACH, "ravenous")

View File

@@ -12,13 +12,15 @@
var/passive_bleed_modifier = 0.6
/datum/mutation/human/sapblood/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
ADD_TRAIT(owner, TRAIT_COAGULATING, GENETIC_MUTATION)
owner.physiology?.bleed_mod *= passive_bleed_modifier
/datum/mutation/human/sapblood/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
REMOVE_TRAIT(owner, TRAIT_COAGULATING, GENETIC_MUTATION)
owner.physiology?.bleed_mod /= passive_bleed_modifier

View File

@@ -7,12 +7,14 @@
instability = 5
/datum/mutation/human/alcohol_tolerance/on_acquiring(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
ADD_TRAIT(owner, TRAIT_ALCOHOL_TOLERANCE, GENETIC_MUTATION)
/datum/mutation/human/alcohol_tolerance/on_losing(mob/living/carbon/human/owner)
if(..())
. = ..()
if(.)
return
REMOVE_TRAIT(owner, TRAIT_ALCOHOL_TOLERANCE, GENETIC_MUTATION)
@@ -25,4 +27,4 @@
/datum/mutation/human/alcohol_generate/on_life()
if(prob(15))
owner.reagents.add_reagent(/datum/reagent/consumable/ethanol, 3)
owner.reagents.add_reagent(/datum/reagent/consumable/ethanol, 3)