From 083923cdcce25ba5b238a4edfe72ae6bf58cfc17 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Tue, 28 Feb 2017 16:23:13 -0500 Subject: [PATCH] Backup implant HUD icon This was requested while I was coding resleeving and I never got around to it. Makes backup implants show up on medical huds. --- code/defines/procs/hud.dm | 1 + code/defines/procs/hud_vr.dm | 3 +-- code/modules/mob/living/carbon/human/life.dm | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/defines/procs/hud.dm b/code/defines/procs/hud.dm index 4f0aed0d356..d662241c61d 100644 --- a/code/defines/procs/hud.dm +++ b/code/defines/procs/hud.dm @@ -18,6 +18,7 @@ proc/process_med_hud(var/mob/M, var/local_scanner, var/mob/Alt) if(local_scanner) P.Client.images += patient.hud_list[HEALTH_HUD] P.Client.images += patient.hud_list[STATUS_HUD] + P.Client.images += patient.hud_list[IMPLOYAL_HUD] //VOREStation Edit - Commandeered to be backup implant indicator else var/sensor_level = getsensorlevel(patient) if(sensor_level >= SUIT_SENSOR_VITAL) diff --git a/code/defines/procs/hud_vr.dm b/code/defines/procs/hud_vr.dm index 62f1b7ab27f..63c8fa27065 100644 --- a/code/defines/procs/hud_vr.dm +++ b/code/defines/procs/hud_vr.dm @@ -9,12 +9,11 @@ proc/process_omni_hud(var/mob/M, var/mode, var/mob/Alt) P.Client.images += guy.hud_list[ID_HUD] P.Client.images += guy.hud_list[HEALTH_HUD] + P.Client.images += guy.hud_list[IMPLOYAL_HUD] //if(shades.mode == "med") //Medical advanced version //Nothing special to show, really, just records become available. if(mode == "sec") //Security advanced version P.Client.images += guy.hud_list[WANTED_HUD] - P.Client.images += guy.hud_list[IMPLOYAL_HUD] if(mode == "best") //Command/omni advanced version P.Client.images += guy.hud_list[WANTED_HUD] - P.Client.images += guy.hud_list[IMPLOYAL_HUD] \ No newline at end of file diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index d8af255869c..efd0c787a65 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1644,6 +1644,8 @@ holder1.icon_state = "hud_imp_tracking" if(istype(I,/obj/item/weapon/implant/loyalty)) holder2.icon_state = "hud_imp_loyal" + if(istype(I,/obj/item/weapon/implant/backup))//VOREStation Edit - Commandeering this for backup implants + holder2.icon_state = "hud_imp_loyal" //VOREStation Edit if(istype(I,/obj/item/weapon/implant/chem)) holder3.icon_state = "hud_imp_chem"