Adds Contaminant Detector HUD (#15970)

This commit is contained in:
Heroman3003
2024-05-09 19:37:19 +10:00
committed by GitHub
parent f13c34f8e2
commit bf490b78ac
21 changed files with 70 additions and 14 deletions
@@ -155,6 +155,7 @@
/mob/living/silicon/robot/handle_regular_hud_updates()
var/fullbright = FALSE
var/seemeson = FALSE
var/seejanhud = src.sight_mode & BORGJAN
var/area/A = get_area(src)
if(A?.no_spoilers)
@@ -209,6 +210,7 @@
if(plane_holder)
plane_holder.set_vis(VIS_FULLBRIGHT,fullbright)
plane_holder.set_vis(VIS_MESONS,seemeson)
plane_holder.set_vis(VIS_JANHUD,seejanhud)
..()
@@ -514,6 +514,7 @@ var/global/list/robot_modules = list(
src.modules += new /obj/item/weapon/mop(src)
src.modules += new /obj/item/pupscrubber(src)
src.modules += new /obj/item/device/lightreplacer(src)
src.modules += new /obj/item/borg/sight/janitor(src)
var/obj/item/weapon/reagent_containers/spray/LS = new /obj/item/weapon/reagent_containers/spray(src)
src.emag += LS
LS.reagents.add_reagent("lube", 250)
+2 -1
View File
@@ -40,6 +40,7 @@
plane_masters[VIS_ADMIN3] = new /obj/screen/plane_master{plane = PLANE_ADMIN3} //For admin use
plane_masters[VIS_MESONS] = new /obj/screen/plane_master{plane = PLANE_MESONS} //Meson-specific things like open ceilings.
plane_masters[VIS_JANHUD] = new /obj/screen/plane_master{plane = PLANE_JANHUD} //Meson-specific things like open ceilings.
plane_masters[VIS_BUILDMODE] = new /obj/screen/plane_master{plane = PLANE_BUILDMODE} //Things that only show up while in build mode
@@ -113,7 +114,7 @@
alter_values(SP, values)
////////////////////
// The Plane Master