From 58be610bebfe1851d378bcca7c4011f36cb3efb1 Mon Sep 17 00:00:00 2001 From: PotatoTomahto Date: Fri, 7 Feb 2025 21:40:16 -0800 Subject: [PATCH] smoke protection --- code/modules/mob/living/carbon/human/species.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index 4824136013..19240d6bdb 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -2533,7 +2533,8 @@ GLOBAL_LIST_EMPTY(roundstart_races) H.emote("pain") var/final_damage = CLAMP(burn_damage, 0, CONFIG_GET(number/per_tick/max_fire_damage)) H.apply_damage(final_damage, BURN, spread_damage = TRUE) - H.apply_damage(final_damage/4, OXY) // simulating smoke inhalation + if(!H.has_smoke_protection()) + H.apply_damage(final_damage/4, OXY) // simulating smoke inhalation else if(H.bodytemperature < BODYTEMP_COLD_DAMAGE_LIMIT && !HAS_TRAIT(H, TRAIT_RESISTCOLD)) SEND_SIGNAL(H, COMSIG_CLEAR_MOOD_EVENT, "hot")