From 47048d8c67a24a6e9be86fa595fe7df59cc4d7b5 Mon Sep 17 00:00:00 2001 From: AmoryBlaine Date: Fri, 30 Aug 2024 15:35:05 -0400 Subject: [PATCH] Earpieces no longer have HUDs --- .../objects/items/devices/helmet_visors.dm | 2 +- .../objects/items/devices/radio/headset.dm | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/code/game/objects/items/devices/helmet_visors.dm b/code/game/objects/items/devices/helmet_visors.dm index 397c96d60d..61befdf717 100644 --- a/code/game/objects/items/devices/helmet_visors.dm +++ b/code/game/objects/items/devices/helmet_visors.dm @@ -89,7 +89,7 @@ if(has_tracker && user.hud_used && user.hud_used.locate_leader) //if we have a headset that also lets us track targets, do not hide the HUD. var/obj/item/device/radio/headset/earpiece = user.get_type_in_ears(/obj/item/device/radio/headset) - var/has_access = earpiece?.misc_tracking || (user.assigned_squad && user.assigned_squad.radio_freq == earpiece.frequency) + var/has_access = earpiece?.misc_tracking || (user.assigned_squad && user.assigned_squad.radio_freq == earpiece?.frequency) if(istype(earpiece) && earpiece.has_hud && has_access) return user.hide_hud_tracker() diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm index d15f508d3b..3b1cbb52a8 100644 --- a/code/game/objects/items/devices/radio/headset.dm +++ b/code/game/objects/items/devices/radio/headset.dm @@ -580,7 +580,7 @@ volume = RADIO_VOLUME_CRITICAL misc_tracking = TRUE locate_setting = TRACKER_CO - has_hud = TRUE + has_hud = FALSE inbuilt_tracking_options = list( "Commanding Officer" = TRACKER_CO, @@ -876,7 +876,7 @@ frequency = PMC_FREQ icon_state = "pmc_headset" initial_keys = list(/obj/item/device/encryptionkey/public, /obj/item/device/encryptionkey/mcom/cl) - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_PMC misc_tracking = TRUE @@ -891,7 +891,7 @@ frequency = CBRN_FREQ initial_keys = list(/obj/item/device/encryptionkey/public, /obj/item/device/encryptionkey/mcom) ignore_z = TRUE - has_hud = TRUE + has_hud = FALSE /obj/item/device/radio/headset/distress/pmc/hvh desc = "A special headset used by corporate personnel. Channels are as follows: :o - colony." @@ -940,7 +940,7 @@ desc = "A special headset used by UPP military. To access the colony channel, use :o." frequency = UPP_FREQ initial_keys = list(/obj/item/device/encryptionkey/colony) - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_UPP minimap_type = MINIMAP_FLAG_UPP @@ -980,7 +980,7 @@ desc = "A special headset used by small groups of trained operatives. Or terrorists. To access the colony channel use :o." frequency = CLF_FREQ initial_keys = list(/obj/item/device/encryptionkey/colony) - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_CLF /obj/item/device/radio/headset/distress/CLF/cct @@ -1011,7 +1011,7 @@ frequency = VAI_FREQ icon_state = "vai_headset" initial_keys = list(/obj/item/device/encryptionkey/public, /obj/item/device/encryptionkey/contractor) - has_hud = TRUE + has_hud = FALSE /obj/item/device/radio/headset/distress/royal_marine name = "Royal Marine Headset" @@ -1019,7 +1019,7 @@ frequency = RMC_FREQ icon_state = "vai_headset" initial_keys = list(/obj/item/device/encryptionkey/public, /obj/item/device/encryptionkey/royal_marine) - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_TWE volume = RADIO_VOLUME_IMPORTANT @@ -1030,7 +1030,7 @@ frequency = CMB_FREQ icon_state = "cmb_headset" initial_keys = list(/obj/item/device/encryptionkey/colony) - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_USCM /obj/item/device/radio/headset/distress/CMB/limited @@ -1075,7 +1075,7 @@ frequency = SOF_FREQ initial_keys = list(/obj/item/device/encryptionkey/soc/forecon) volume = RADIO_VOLUME_QUIET - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_USCM /obj/item/device/radio/headset/almayer/mcom/vc @@ -1092,5 +1092,5 @@ initial_keys = list(/obj/item/device/encryptionkey/upp) volume = RADIO_VOLUME_QUIET ignore_z = FALSE - has_hud = TRUE + has_hud = FALSE hud_type = MOB_HUD_FACTION_UPP