mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Adds Contaminant Detector HUD (#15970)
This commit is contained in:
@@ -105,6 +105,15 @@
|
||||
display_name = "Medical HUD Aviators, prescription (Medical)"
|
||||
path = /obj/item/clothing/glasses/hud/health/aviator/prescription
|
||||
|
||||
/datum/gear/eyes/janitor
|
||||
display_name = "Contaminant HUD (Janitor)"
|
||||
path = /obj/item/clothing/glasses/hud/janitor
|
||||
allowed_roles = list("Janitor")
|
||||
|
||||
/datum/gear/eyes/janitor/prescriptionjan
|
||||
display_name = "Contaminant HUD, prescription (Janitor)"
|
||||
path = /obj/item/clothing/glasses/hud/janitor/prescription
|
||||
|
||||
/datum/gear/eyes/meson
|
||||
display_name = "Optical Meson Scanners (Engineering, Science, Mining)"
|
||||
path = /obj/item/clothing/glasses/meson
|
||||
|
||||
@@ -41,3 +41,18 @@
|
||||
item_state_slots = list(slot_r_hand_str = "sunglasses", slot_l_hand_str = "sunglasses")
|
||||
vision_flags = SEE_MOBS
|
||||
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
||||
|
||||
/obj/item/clothing/glasses/hud/janitor
|
||||
name = "Contaminant Detector HUD"
|
||||
desc = "A heads-up display that scans the environment for contaminations."
|
||||
icon_state = "janhud"
|
||||
item_state_slots = list(slot_r_hand_str = "headset", slot_l_hand_str = "headset")
|
||||
body_parts_covered = 0
|
||||
enables_planes = list(VIS_JANHUD)
|
||||
|
||||
/obj/item/clothing/glasses/hud/janitor/prescription
|
||||
name = "Prescription Contaminant Detector HUD"
|
||||
desc = "A heads-up display that scans the environment for contaminations."
|
||||
prescription = 1
|
||||
icon_state = "janhudpresc"
|
||||
item_state_slots = list(slot_r_hand_str = "glasses", slot_l_hand_str = "glasses")
|
||||
|
||||
@@ -1619,6 +1619,7 @@
|
||||
/obj/item/clothing/gloves/black = 5,
|
||||
/obj/item/weapon/storage/belt/janitor = 5,
|
||||
/obj/item/clothing/shoes/galoshes = 5,
|
||||
/obj/item/clothing/glasses/hud/janitor = 5,
|
||||
/obj/item/weapon/cartridge/janitor = 5
|
||||
)
|
||||
req_log_access = access_hop
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -24,19 +24,26 @@
|
||||
build_path = /obj/item/clothing/glasses/hud/security
|
||||
sort_string = "EAAAB"
|
||||
|
||||
/datum/design/item/hud/janitor
|
||||
name = "contaminant detector"
|
||||
id = "janitor_hud"
|
||||
req_tech = list(TECH_MAGNET = 2)
|
||||
build_path = /obj/item/clothing/glasses/hud/janitor
|
||||
sort_string = "EAAAC"
|
||||
|
||||
/datum/design/item/hud/mesons
|
||||
name = "optical meson scanner"
|
||||
id = "mesons"
|
||||
req_tech = list(TECH_MAGNET = 2, TECH_ENGINEERING = 2)
|
||||
build_path = /obj/item/clothing/glasses/meson
|
||||
sort_string = "EAAAC"
|
||||
sort_string = "EAAAD"
|
||||
|
||||
/datum/design/item/hud/material
|
||||
name = "optical material scanner"
|
||||
id = "material"
|
||||
req_tech = list(TECH_MAGNET = 3, TECH_ENGINEERING = 3)
|
||||
build_path = /obj/item/clothing/glasses/material
|
||||
sort_string = "EAAAD"
|
||||
sort_string = "EAAAE"
|
||||
|
||||
/datum/design/item/hud/graviton_visor
|
||||
name = "graviton visor"
|
||||
@@ -44,4 +51,4 @@
|
||||
req_tech = list(TECH_MAGNET = 5, TECH_ENGINEERING = 3, TECH_BLUESPACE = 3, TECH_PHORON = 3, TECH_ARCANE = 1)
|
||||
materials = list(MAT_PLASTEEL = 2000, MAT_GLASS = 3000, MAT_PHORON = 1500, MAT_DIAMOND = 500)
|
||||
build_path = /obj/item/clothing/glasses/graviton
|
||||
sort_string = "EAAAE"
|
||||
sort_string = "EAAAF"
|
||||
Reference in New Issue
Block a user