Merge pull request #1315 from Citadel-Station-13/upstream-merge-27866

[MIRROR] Makes VV'ing ID cards easier.
This commit is contained in:
LetterJay
2017-06-08 03:43:31 -05:00
committed by GitHub
@@ -92,6 +92,13 @@
if(mapload && access_txt)
access = text2access(access_txt)
/obj/item/weapon/card/id/vv_edit_var(var_name, var_value)
. = ..()
if(.)
switch(var_name)
if("assignment","registered_name")
update_label()
/obj/item/weapon/card/id/attack_self(mob/user)
user.visible_message("<span class='notice'>[user] shows you: \icon[src] [src.name].</span>", \
"<span class='notice'>You show \the [src.name].</span>")