Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Apr 25, 2024
1 parent 4d7a5d1 commit f9f9184
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions code/defines/procs/announcement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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))
. += ""
. += "<a href='?MapView=1'>View Tactical Map</a>"
if(mobility_aura)
Expand Down

0 comments on commit f9f9184

Please sign in to comment.