mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
HUD Glasses/Goggles Bugfixes and Tweaks (#35754)
* science goggle fix and prescriptions fix * observer sechud multihud bugfix * Fixes secborgs having partial security huds
This commit is contained in:
@@ -320,6 +320,7 @@
|
||||
item_state = "investigation"
|
||||
darkness_view = -1
|
||||
eyeprot = 1
|
||||
nearsighted_modifier = -3
|
||||
hud_types = list(/datum/visioneffect/security/arrest,
|
||||
/datum/visioneffect/job,
|
||||
/datum/visioneffect/implant)
|
||||
@@ -383,6 +384,7 @@
|
||||
icon_state = "wagemonocle"
|
||||
species_fit = list(VOX_SHAPED)
|
||||
mech_flags = MECH_SCAN_ILLEGAL
|
||||
nearsighted_modifier = -3
|
||||
hud_types = list(/datum/visioneffect/accountdb/wage,
|
||||
/datum/visioneffect/job)
|
||||
|
||||
@@ -412,6 +414,7 @@
|
||||
icon_state = "aviators_gold"
|
||||
darkness_view = -1
|
||||
eyeprot = 1
|
||||
nearsighted_modifier = -3
|
||||
hud_types = list(/datum/visioneffect/job)
|
||||
|
||||
/*
|
||||
|
||||
@@ -179,7 +179,7 @@
|
||||
hud_types = list(/datum/visioneffect/pathogen)
|
||||
|
||||
glasses_fit = TRUE
|
||||
on = TRUE
|
||||
on = FALSE
|
||||
|
||||
/obj/item/clothing/glasses/scanner/science/prescription
|
||||
name = "prescription science goggles"
|
||||
@@ -187,9 +187,12 @@
|
||||
species_fit = list(GREY_SHAPED, INSECT_SHAPED)
|
||||
|
||||
/obj/item/clothing/glasses/scanner/science/update_icon()
|
||||
return
|
||||
/*
|
||||
if (!on)
|
||||
icon_state = "mesonoff"
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
*/
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -61,11 +61,13 @@
|
||||
for(var/datum/visioneffect/H in huds)
|
||||
if(istype(H,/datum/visioneffect/security))
|
||||
remove_hud(H)
|
||||
detected_hud = TRUE
|
||||
else if(istype(H,/datum/visioneffect/job))
|
||||
remove_hud(H)
|
||||
detected_hud = TRUE
|
||||
else if(istype(H,/datum/visioneffect/implant))
|
||||
remove_hud(H)
|
||||
detected_hud = TRUE
|
||||
detected_hud = TRUE
|
||||
if(detected_hud)
|
||||
to_chat(src, "<span class='notice'><B>Security HUD disabled.</B></span>")
|
||||
else
|
||||
|
||||
@@ -144,6 +144,8 @@
|
||||
if("Security")
|
||||
sensor_mode = SEC_HUD
|
||||
apply_hud_by_type(/datum/visioneffect/security/arrest)
|
||||
apply_hud_by_type(/datum/visioneffect/job)
|
||||
apply_hud_by_type(/datum/visioneffect/implant)
|
||||
to_chat(src, "<span class='notice'>Security records overlay enabled.</span>")
|
||||
if("Medical")
|
||||
sensor_mode = MED_HUD
|
||||
|
||||
Reference in New Issue
Block a user