diff --git a/code/_onclick/hud/hud.dm b/code/_onclick/hud/hud.dm index 9ab596feaa..d9624d1d5d 100644 --- a/code/_onclick/hud/hud.dm +++ b/code/_onclick/hud/hud.dm @@ -13,6 +13,7 @@ var/list/global_huds = list( global_hud.thermal, global_hud.meson, global_hud.science, + global_hud.material, global_hud.holomap ) @@ -31,6 +32,7 @@ var/list/global_huds = list( var/obj/screen/thermal var/obj/screen/meson var/obj/screen/science + var/obj/screen/material var/obj/screen/holomap /datum/global_hud/proc/setup_overlay(var/icon_state) @@ -68,6 +70,7 @@ var/list/global_huds = list( thermal = setup_overlay("thermal_hud") meson = setup_overlay("meson_hud") science = setup_overlay("science_hud") + material = setup_overlay("material_hud") // The holomap screen object is actually totally invisible. // Station maps work by setting it as an images location before sending to client, not diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index c6528a109e..f7806ad245 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -191,6 +191,9 @@ BLIND // can't see anything vision_flags = SEE_OBJS enables_planes = list(VIS_FULLBRIGHT) +/obj/item/clothing/glasses/material/New() + ..() + overlay = global_hud.material /obj/item/clothing/glasses/material/prescription name = "prescription optical material scanner" diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 56f07b2bc6..c1ac369064 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1094,7 +1094,7 @@ ..() - client.screen.Remove(global_hud.blurry, global_hud.druggy, global_hud.vimpaired, global_hud.darkMask, global_hud.nvg, global_hud.thermal, global_hud.meson, global_hud.science, global_hud.whitense) + client.screen.Remove(global_hud.blurry, global_hud.druggy, global_hud.vimpaired, global_hud.darkMask, global_hud.nvg, global_hud.thermal, global_hud.meson, global_hud.science, global_hud.material, global_hud.whitense) if(istype(client.eye,/obj/machinery/camera)) var/obj/machinery/camera/cam = client.eye diff --git a/icons/obj/hud_full.dmi b/icons/obj/hud_full.dmi index 04a2b548c6..ee980e9d7d 100644 Binary files a/icons/obj/hud_full.dmi and b/icons/obj/hud_full.dmi differ