From d08a570c5fd611bf62e435072e5b51ca95b84142 Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Thu, 18 Aug 2022 21:51:39 -0700 Subject: [PATCH] Makes binary translator not show a wrong description --- code/game/objects/items/devices/radio/encryptionkey.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/radio/encryptionkey.dm b/code/game/objects/items/devices/radio/encryptionkey.dm index 9ad75b5d8f..abc81b0f8e 100644 --- a/code/game/objects/items/devices/radio/encryptionkey.dm +++ b/code/game/objects/items/devices/radio/encryptionkey.dm @@ -11,7 +11,7 @@ /obj/item/encryptionkey/Initialize(mapload) . = ..() - if(!channels.len) + if(!length(channels) && !translate_binary) desc = "An encryption key for a radio headset. Has no special codes in it. You should probably tell a coder!" /obj/item/encryptionkey/examine(mob/user) @@ -22,6 +22,8 @@ examine_text_list += "[GLOB.channel_tokens[i]] - [lowertext(i)]" . += "It can access the following channels; [jointext(examine_text_list, ", ")]." + if(translate_binary) + . += "It also allows access to the special binary channel used by silicons." /obj/item/encryptionkey/syndicate name = "syndicate encryption key"