mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
boop (#22974)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user