Updates the health analyzer TGUI to be prettier (#22498)

This fixes a few minor bugs for non-handheld health analyzers, as well
as updating the UI for them to be prettier.
<img width="521" height="823" alt="image"
src="https://github.com/user-attachments/assets/f0c121f1-e84c-4615-b4c5-1ec1f6620222"
/>
This commit is contained in:
Casper3667
2026-05-26 17:57:40 +00:00
committed by GitHub
parent 58d1241fe7
commit 9b8ebf7e4a
12 changed files with 195 additions and 36 deletions
@@ -28,6 +28,11 @@ BREATH ANALYZER
src.LoadComponent(/datum/component/health_analyzer)
flick("[icon_state]-scan", src)
/obj/item/healthanalyzer/mechanics_hints(mob/user, distance, is_adjacent)
. += ..()
. += "Health analyzers are faster at scanning people, the higher grade it is and the higher the anatomy skill of the user is."
. += "Clicking it in hand will pull up the last scan, if it has not been cleared."
/obj/item/healthanalyzer/attack(mob/living/target_mob, mob/living/user, target_zone)
var/datum/component/health_analyzer/h_analyzer = src.GetComponent(/datum/component/health_analyzer)
if(!h_analyzer)