mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user