Update lava.dm
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user