From 9c5acba4e83e52e80cb8b4b8d76c31901a629399 Mon Sep 17 00:00:00 2001
From: Evankhell561 <49106866+Evankhell561@users.noreply.github.com>
Date: Sat, 21 Sep 2019 12:42:19 -0400
Subject: [PATCH] Mech id upload buttons (#12364)
---
code/game/mecha/mecha_topic.dm | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/code/game/mecha/mecha_topic.dm b/code/game/mecha/mecha_topic.dm
index 36269a11303..c4367056e03 100644
--- a/code/game/mecha/mecha_topic.dm
+++ b/code/game/mecha/mecha_topic.dm
@@ -172,12 +172,17 @@
Following keycodes are present in this system:
"}
for(var/a in operation_req_access)
output += "[get_access_desc(a)] - Delete
"
+
+ output += "
Delete All
"
+
output += "
Following keycodes were detected on portable device:
"
for(var/a in id_card.access)
if(a in operation_req_access) continue
- var/a_name = get_access_desc(a)
- if(!a_name) continue //there's some strange access without a name
- output += "[a_name] - Add
"
+ if(!get_access_desc(a))
+ continue //there's some strange access without a name
+ output += "[get_access_desc(a)] - Add
"
+
+ output += "
Add All
"
output += "
Finish (Warning! The ID upload panel will be locked. It can be unlocked only through Exosuit Interface.)"
output += "