Migrate encryption key to the new attack chain. (#32269)

* Migrate encryption key to the new attack chain.

* Apply suggestion from CRUNCH review.

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-07-24 19:39:48 +00:00
committed by GitHub
co-authored by CRUNCH
parent d93c05a145
commit 8f548fcda9
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -61,9 +61,12 @@
for(var/channel in SSradio.radiochannels)
channels[channel] = 1 // yeah, all channels, sure, probably fine
/obj/item/encryptionkey/syndicate/all_channels/attack_self__legacy__attackchain(mob/user, pickupfireoverride)
/obj/item/encryptionkey/syndicate/all_channels/activate_self(mob/user)
if(..())
return ITEM_INTERACT_COMPLETE
change_voice = !change_voice
to_chat(user, "You switch [src] to [change_voice ? "" : "not "]change your voice on syndicate communications.")
to_chat(user, SPAN_NOTICE("You switch [src] to [change_voice ? "" : "not "]change your voice on syndicate communications."))
return ITEM_INTERACT_COMPLETE
/obj/item/encryptionkey/syndicate/all_channels/AltClick(mob/user)
var/new_name = tgui_input_text(user, "Enter new fake agent name...", "New name", max_length = MAX_NAME_LEN)