mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Advanced Health Analyser Fixes (#20226)
Should fix https://github.com/Aurorastation/Aurora.3/issues/18325 Fixes for Advanced Health Analyser for shell and exosuit QoL for Exosuit analyzer full scan, making it clearer which mode you are on, and having the scan print alongside displaying it to the pilot(s) --------- Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
This commit is contained in:
@@ -733,6 +733,13 @@ BREATH ANALYZER
|
||||
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)
|
||||
|
||||
/// Variant of print_scan(), main difference is different method to print the paper
|
||||
/obj/item/device/advanced_healthanalyzer/cyborg/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]) ([worldtime2text()])", M)
|
||||
user.visible_message(SPAN_NOTICE("\The [src] beeps, printing \the [R] after a moment."))
|
||||
playsound(user.loc, /singleton/sound_category/print_sound, 50, 1)
|
||||
R.forceMove(user.loc)
|
||||
|
||||
/obj/item/device/advanced_healthanalyzer/proc/get_occupant_data(var/mob/living/carbon/human/H)
|
||||
if (!ishuman(H))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user