mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
var/syndie = FALSE
|
||||
var/change_voice = FALSE
|
||||
var/list/channels = list()
|
||||
new_attack_chain = TRUE
|
||||
|
||||
/obj/item/encryptionkey/syndicate
|
||||
name = "syndicate encryption key"
|
||||
|
||||
Reference in New Issue
Block a user