Adds a timestamp to body scanner and CMO hand analyzer printout titles. (#19084)

Adds a timestamp to body scanner and CMO hand analyzer printout titles.

Scan (Person)
becomes
Scan (Person) (Time)
This commit is contained in:
senorsapo
2024-05-06 11:54:37 +00:00
committed by GitHub
parent 1e61e5a8eb
commit 83bd726573
3 changed files with 60 additions and 2 deletions
+1 -1
View File
@@ -721,7 +721,7 @@ BREATH ANALYZER
add_fingerprint(user)
/obj/item/device/advanced_healthanalyzer/proc/print_scan(var/mob/M, var/mob/living/user)
var/obj/item/paper/medscan/R = new /obj/item/paper/medscan(src, connected.format_occupant_data(get_occupant_data(M)), "Scan ([M.name])", M)
var/obj/item/paper/medscan/R = new /obj/item/paper/medscan(src, connected.format_occupant_data(get_occupant_data(M)), "Scan ([M.name]) ([worldtime2text()])", M)
connected.print(R, message = "\The [src] beeps, printing \the [R] after a moment.", user = user)
/obj/item/device/advanced_healthanalyzer/proc/get_occupant_data(var/mob/living/carbon/human/H)