Skip to content

Commit

Permalink
Adding faction frequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
Segrain committed Feb 27, 2024
1 parent d728744 commit dcc7a82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/game/machinery/telecomms/presets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ GLOBAL_LIST_EMPTY(all_static_telecomms_towers)
to_chat(user, SPAN_WARNING("\The [src.name] needs repairs to have frequencies added to its software!"))
return
var/choice = tgui_input_list(user, "What do you wish to do?", "TC-3T comms tower", list("Wipe communication frequencies", "Add your faction's frequencies"))
if(choice == "Wipe frequencies")
if(choice == "Wipe communication frequencies")
freq_listening = null
to_chat(user, SPAN_NOTICE("You wipe the preexisting frequencies from \the [src]."))
return
Expand All @@ -277,12 +277,16 @@ GLOBAL_LIST_EMPTY(all_static_telecomms_towers)
switch(user.faction)
if(FACTION_SURVIVOR)
freq_listening |= COLONY_FREQ
if(FACTION_USCM in user.faction_group) //FORECON survivors
freq_listening |= SOF_FREQ
if(FACTION_CLF)
freq_listening |= CLF_FREQS
if(FACTION_UPP)
freq_listening |= UPP_FREQS
if(FACTION_WY,FACTION_PMC)
freq_listening |= PMC_FREQS
if(FACTION_TWE)
freq_listening |= RMC_FREQ
if(FACTION_YAUTJA)
to_chat(user, SPAN_WARNING("You decide to leave the human machine alone."))
return
Expand Down

0 comments on commit dcc7a82

Please sign in to comment.