mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Merge pull request #15815 from datlo/heat-resist-fix
Make the heat resistance trait fully fireproof
This commit is contained in:
@@ -365,6 +365,9 @@
|
||||
bodytemperature += (BODYTEMP_HEATING_MAX + (fire_stacks * 12))
|
||||
|
||||
/mob/living/carbon/human/proc/get_thermal_protection()
|
||||
if(HAS_TRAIT(src, TRAIT_RESISTHEAT))
|
||||
return FIRE_IMMUNITY_MAX_TEMP_PROTECT
|
||||
|
||||
var/thermal_protection = 0 //Simple check to estimate how protected we are against multiple temperatures
|
||||
if(wear_suit)
|
||||
if(wear_suit.max_heat_protection_temperature >= FIRE_SUIT_MAX_TEMP_PROTECT)
|
||||
|
||||
Reference in New Issue
Block a user