mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Nitrium makes you more vulnerable to burn damage (#18591)
* Update other_reagents.dm * Update other_reagents.dm
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user