diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index d5698fd4be32..dda517cf1f9f 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -1324,6 +1324,10 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list( var/active = FALSE var/det_time = 40 +/obj/item/clothing/head/helmet/marine/specialist/hefa/Initialize(mapload, list/new_protection) + . = ..() + pockets.bypass_w_limit = list(/obj/item/explosive/grenade/high_explosive/frag) + /obj/item/clothing/head/helmet/marine/specialist/hefa/proc/apply_explosion_overlay() var/obj/effect/overlay/O = new /obj/effect/overlay(loc) O.name = "grenade" diff --git a/code/modules/clothing/suits/marine_armor.dm b/code/modules/clothing/suits/marine_armor.dm index df7a8bc65b19..db69230b77da 100644 --- a/code/modules/clothing/suits/marine_armor.dm +++ b/code/modules/clothing/suits/marine_armor.dm @@ -1598,6 +1598,7 @@ specialty = "HEFA Knight" icon_state = "hefadier" flags_atom = NO_NAME_OVERRIDE|NO_SNOW_TYPE + flags_item = NO_CRYO_STORE flags_marine_armor = ARMOR_LAMP_OVERLAY armor_bullet = CLOTHING_ARMOR_VERYHIGH armor_melee = CLOTHING_ARMOR_VERYHIGH diff --git a/code/modules/gear_presets/fun.dm b/code/modules/gear_presets/fun.dm index 8eacbb8161d2..e3511722af36 100644 --- a/code/modules/gear_presets/fun.dm +++ b/code/modules/gear_presets/fun.dm @@ -185,7 +185,7 @@ new_human.equip_to_slot_or_del(M, WEAR_BODY) var/shoes_success = new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/marine/knife(new_human), WEAR_FEET) new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/combat(new_human), WEAR_HANDS) - new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/marine/specialist/hefa(new_human), WEAR_HEAD) + var/helmet_success = new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/marine/specialist/hefa(new_human), WEAR_HEAD) new_human.equip_to_slot_or_del(new /obj/item/storage/pouch/firstaid/ert(new_human), WEAR_L_STORE) var/jacket_success = new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/M3G/hefa(new_human), WEAR_JACKET) var/satchel_success = new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/marine/satchel(new_human), WEAR_BACK) @@ -232,6 +232,12 @@ for(var/i in 1 to W.hold.storage_slots) new_human.equip_to_slot_or_del(new /obj/item/explosive/grenade/high_explosive/frag(new_human.back), WEAR_IN_ACCESSORY) + // Helmet + if(helmet_success) + var/obj/item/clothing/head/helmet/marine/hefa_helmet = new_human.head + for(var/i in 1 to hefa_helmet.pockets.storage_slots) + new_human.equip_to_slot_or_del(new /obj/item/explosive/grenade/high_explosive/frag(new_human.head), WEAR_IN_HELMET) + /datum/equipment_preset/fun/santa name = "Fun - Santa" paygrade = "C"