From f9f918479661c2e266f3e101c5b93638ec77dd34 Mon Sep 17 00:00:00 2001
From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com>
Date: Thu, 25 Apr 2024 17:49:50 +0300
Subject: [PATCH 1/2] a
---
code/defines/procs/announcement.dm | 5 +++++
code/modules/mob/living/carbon/human/human.dm | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/code/defines/procs/announcement.dm b/code/defines/procs/announcement.dm
index 2ebba6a774e8..d6251748f3a0 100644
--- a/code/defines/procs/announcement.dm
+++ b/code/defines/procs/announcement.dm
@@ -42,6 +42,11 @@
continue
if(is_mainship_level(H.z)) // People on ship see everything
continue
+
+ // If they have iff AND a marine headset they will recieve announcements
+ if ((FACTION_MARINE in H.wear_id?.faction_group) && (istype(H.wear_l_ear, /obj/item/device/radio/headset/almayer) || istype(H.wear_r_ear, /obj/item/device/radio/headset/almayer)))
+ continue
+
if((H.faction != faction_to_display && !add_PMCs) || (H.faction != faction_to_display && add_PMCs && !(H.faction in FACTION_LIST_WY)) && !(faction_to_display in H.faction_group)) //faction checks
targets.Remove(H)
diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm
index 4e71b178824d..6bf1f4e27e8e 100644
--- a/code/modules/mob/living/carbon/human/human.dm
+++ b/code/modules/mob/living/carbon/human/human.dm
@@ -115,7 +115,7 @@
. += "Primary Objective: [html_decode(assigned_squad.primary_objective)]"
if(assigned_squad.secondary_objective)
. += "Secondary Objective: [html_decode(assigned_squad.secondary_objective)]"
- if(faction == FACTION_MARINE)
+ if(faction == FACTION_MARINE || (FACTION_MARINE in wear_id.faction_group))
. += ""
. += "View Tactical Map"
if(mobility_aura)
From 9f19be9a437e9c2646889364a993e293c20012a6 Mon Sep 17 00:00:00 2001
From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com>
Date: Sat, 27 Apr 2024 20:04:53 +0300
Subject: [PATCH 2/2] Update human.dm
---
code/modules/mob/living/carbon/human/human.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm
index 6bf1f4e27e8e..4e71b178824d 100644
--- a/code/modules/mob/living/carbon/human/human.dm
+++ b/code/modules/mob/living/carbon/human/human.dm
@@ -115,7 +115,7 @@
. += "Primary Objective: [html_decode(assigned_squad.primary_objective)]"
if(assigned_squad.secondary_objective)
. += "Secondary Objective: [html_decode(assigned_squad.secondary_objective)]"
- if(faction == FACTION_MARINE || (FACTION_MARINE in wear_id.faction_group))
+ if(faction == FACTION_MARINE)
. += ""
. += "View Tactical Map"
if(mobility_aura)