Fully implements the ID Card design document (#56910)

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
Timberpoes
2021-03-01 03:26:45 +00:00
committed by GitHub
parent 39db53e42d
commit 890615856e
154 changed files with 4820 additions and 1966 deletions
@@ -65,6 +65,8 @@
var/mob/living/carbon/human/H = user
H.sec_hud_set_ID()
holder.update_slot_icon()
return TRUE
@@ -86,11 +88,16 @@
for(var/p in holder.idle_threads)
var/datum/computer_file/program/computer_program = p
computer_program.event_idremoved(1)
holder.update_slot_icon()
if(ishuman(user))
var/mob/living/carbon/human/human_user = user
human_user.sec_hud_set_ID()
to_chat(user, "<span class='notice'>You remove the card from \the [src].</span>")
playsound(src, 'sound/machines/terminal_insert_disc.ogg', 50, FALSE)
return TRUE
/obj/item/computer_hardware/card_slot/attackby(obj/item/I, mob/living/user)