mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Binary key no longer tells players to shout at coders (#63572)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user