From 1ba53e566e48086be70085c76f23857d25561c87 Mon Sep 17 00:00:00 2001 From: DeltaFire Date: Sun, 2 Jan 2022 23:25:55 +0100 Subject: [PATCH] miner stuff Miner suits can also suitlink. I can't just balance base cooling for lavaland because it's random now :) --- code/modules/mob/living/carbon/life.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index d5c4ab8e7d..bfd45f52f9 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -687,8 +687,10 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put /mob/living/carbon/proc/get_environment_cooling_efficiency() - if(istype(get_item_by_slot(SLOT_HEAD), /obj/item/clothing/head/helmet/space) && istype(get_item_by_slot(SLOT_WEAR_SUIT), /obj/item/clothing/suit/space)) - return 1 //If you are wearing full EVA gear, assume it has been made to accomodate your cooling needs. + var/suit_item = get_item_by_slot(SLOT_WEAR_SUIT) + var/head_item = get_item_by_slot(SLOT_HEAD) + if((istype(head_item, /obj/item/clothing/head/helmet/space) && istype(suit_item, /obj/item/clothing/suit/space)) || (istype(head_item, /obj/item/clothing/head/hooded/explorer) && istype(suit_item, /obj/item/clothing/suit/hooded/explorer))) + return 1 //If you are wearing full EVA or lavaland hazard gear, assume it has been made to accomodate your cooling needs. var/datum/gas_mixture/environment = loc.return_air() if(!environment) return 0