Skip to content

Commit

Permalink
smoke protection
Browse files Browse the repository at this point in the history
  • Loading branch information
PotatoTomahto committed Feb 10, 2025
1 parent b495173 commit 58be610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/mob/living/carbon/human/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 58be610

Please sign in to comment.