Binary key no longer tells players to shout at coders (#63572)

This commit is contained in:
MrMelbert
2021-12-24 22:32:19 -06:00
committed by GitHub
parent 4b169fa08b
commit 7fefa76038
@@ -11,16 +11,19 @@
/obj/item/encryptionkey/Initialize(mapload)
. = ..()
if(!channels.len)
desc = "An encryption key for a radio headset. Has no special codes in it. You should probably tell a coder!"
if(!channels.len && !translate_binary)
desc += " Has no special codes in it. You should probably tell a coder!"
/obj/item/encryptionkey/examine(mob/user)
. = ..()
if(LAZYLEN(channels))
if(LAZYLEN(channels) || translate_binary)
var/list/examine_text_list = list()
for(var/i in channels)
examine_text_list += "[GLOB.channel_tokens[i]] - [lowertext(i)]"
if(translate_binary)
examine_text_list += "[GLOB.channel_tokens[MODE_BINARY]] - [MODE_BINARY]"
. += span_notice("It can access the following channels; [jointext(examine_text_list, ", ")].")
/obj/item/encryptionkey/syndicate