From ffde77678b0f2c062ba14d381c79154b14f3d08e Mon Sep 17 00:00:00 2001 From: Codeatmos Date: Mon, 6 Apr 2020 13:27:28 -0500 Subject: [PATCH] string2datum --- .../carbon/human/species_types/preternis/preternis.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm b/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm index 78d27cb90238..c11d6fb5e42d 100644 --- a/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm +++ b/yogstation/code/modules/mob/living/carbon/human/species_types/preternis/preternis.dm @@ -92,13 +92,13 @@ adjust_charge - take a positive or negative value to adjust the charge level /datum/species/preternis/handle_chemicals(datum/reagent/chem, mob/living/carbon/human/H) . = ..() - if(H.reagents.has_reagent("oil")) + if(H.reagents.has_reagent(/datum/reagent/oil)) H.adjustFireLoss(-2*REAGENTS_EFFECT_MULTIPLIER,FALSE,FALSE, BODYPART_ANY) - if(H.reagents.has_reagent("welding_fuel")) + if(H.reagents.has_reagent(/datum/reagent/fuel)) H.adjustFireLoss(-1*REAGENTS_EFFECT_MULTIPLIER,FALSE,FALSE, BODYPART_ANY) - if(H.reagents.has_reagent("teslium",10)) //10 u otherwise it wont update and they will remain quikk + if(H.reagents.has_reagent(/datum/reagent/teslium,10)) //10 u otherwise it wont update and they will remain quikk H.add_movespeed_modifier("preternis_teslium", update=TRUE, priority=101, multiplicative_slowdown=-2, blacklisted_movetypes=(FLYING|FLOATING)) if(H.health < 50 && H.health > 0) H.adjustOxyLoss(-1*REAGENTS_EFFECT_MULTIPLIER)