Update lava.dm

This commit is contained in:
LetterJay
2018-05-22 07:58:44 -05:00
committed by GitHub
parent b90ca78092
commit 63aa6eeee6
+4 -3
View File
@@ -10,6 +10,7 @@
light_range = 2
light_power = 0.75
light_color = LIGHT_COLOR_LAVA
bullet_bounce_sound = 'sound/items/welder2.ogg'
/turf/open/lava/ex_act(severity, target)
contents_explosion(severity, target)
@@ -127,10 +128,10 @@
continue
if(iscarbon(L))
var/mob/living/carbon/C = L
var/obj/item/clothing/S = C.get_item_by_slot(slot_wear_suit)
var/obj/item/clothing/H = C.get_item_by_slot(slot_head)
var/obj/item/clothing/S = C.get_item_by_slot(SLOT_WEAR_SUIT)
var/obj/item/clothing/H = C.get_item_by_slot(SLOT_HEAD)
if(S && H && S.flags_2 & LAVA_PROTECT_2 && H.flags_2 & LAVA_PROTECT_2)
if(S && H && S.clothing_flags & LAVAPROTECT && H.clothing_flags & LAVAPROTECT)
return
L.adjustFireLoss(20)