Nitrium makes you more vulnerable to burn damage (#18591)

* Update other_reagents.dm

* Update other_reagents.dm
This commit is contained in:
SapphicOverload
2023-04-21 17:30:42 -04:00
committed by GitHub
parent fc1c03a1c9
commit 1ff89d4b02

View File

@@ -1334,10 +1334,16 @@
. = ..() . = ..()
ADD_TRAIT(L, TRAIT_STUNIMMUNE, type) ADD_TRAIT(L, TRAIT_STUNIMMUNE, type)
ADD_TRAIT(L, TRAIT_SLEEPIMMUNE, type) ADD_TRAIT(L, TRAIT_SLEEPIMMUNE, type)
if(ishuman(L))
var/mob/living/carbon/human/H = L
H.physiology.burn_mod *= 1.5
/datum/reagent/nitrium_low_metabolization/on_mob_end_metabolize(mob/living/L) /datum/reagent/nitrium_low_metabolization/on_mob_end_metabolize(mob/living/L)
REMOVE_TRAIT(L, TRAIT_STUNIMMUNE, type) REMOVE_TRAIT(L, TRAIT_STUNIMMUNE, type)
REMOVE_TRAIT(L, TRAIT_SLEEPIMMUNE, type) REMOVE_TRAIT(L, TRAIT_SLEEPIMMUNE, type)
if(ishuman(L)) // physiology gets reset anyway if you get turned into something that doesn't have it
var/mob/living/carbon/human/H = L
H.physiology.burn_mod /= 1.5
return ..() return ..()
/datum/reagent/nitrium_low_metabolization/on_mob_life(mob/living/carbon/M) /datum/reagent/nitrium_low_metabolization/on_mob_life(mob/living/carbon/M)