mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
AI/borg med HUD fix
- Fixes bug causing AI's and borgs with medical sensor augmentation set to not see med huds - Status icon displayed if suit sensors set to binary or higher - Health bar displayed if suit sensors set to vitals or higher - Wearable med huds will always display all info, including mounted borg huds
This commit is contained in:
@@ -12,12 +12,12 @@ proc/process_med_hud(var/mob/M, var/local_scanner, var/mob/Alt)
|
|||||||
if(P.Mob.see_invisible < patient.invisibility)
|
if(P.Mob.see_invisible < patient.invisibility)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if(!(local_scanner || hassensorlevel(P, SUIT_SENSOR_VITAL)))
|
if(!(local_scanner || hassensorlevel(patient, SUIT_SENSOR_BINARY)))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
P.Client.images += patient.hud_list[HEALTH_HUD]
|
|
||||||
if(local_scanner)
|
|
||||||
P.Client.images += patient.hud_list[STATUS_HUD]
|
P.Client.images += patient.hud_list[STATUS_HUD]
|
||||||
|
if(local_scanner || hassensorlevel(patient, SUIT_SENSOR_VITAL))
|
||||||
|
P.Client.images += patient.hud_list[HEALTH_HUD]
|
||||||
|
|
||||||
//Security HUDs. Pass a value for the second argument to enable implant viewing or other special features.
|
//Security HUDs. Pass a value for the second argument to enable implant viewing or other special features.
|
||||||
proc/process_sec_hud(var/mob/M, var/advanced_mode, var/mob/Alt)
|
proc/process_sec_hud(var/mob/M, var/advanced_mode, var/mob/Alt)
|
||||||
|
|||||||
Reference in New Issue
Block a user