mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-11 07:02:32 +01:00
25df0f94d4
Reverts last edit and switches access levels to Material Scanners to allow miners to get it. Science doesn't need it and can simply loadout with mesons for xenoarch or print the goggles in the protolathe.
173 lines
5.6 KiB
Plaintext
173 lines
5.6 KiB
Plaintext
//////////////////
|
|
// AR HUD Overlays
|
|
/datum/nifsoft/ar_civ
|
|
name = "AR Overlay (Civ)"
|
|
desc = "Provides a general identification and health status overlay on your vision with no frills."
|
|
list_pos = NIF_CIVILIAN_AR
|
|
cost = 500
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_CIVILIAN)
|
|
incompatible_with = list(NIF_MEDICAL_AR,NIF_SECURITY_AR,NIF_ENGINE_AR,NIF_SCIENCE_AR,NIF_OMNI_AR)
|
|
|
|
/datum/nifsoft/ar_med
|
|
name = "AR Overlay (Med)"
|
|
desc = "Like the civilian model, but provides medical records access and virus database lookup."
|
|
list_pos = NIF_MEDICAL_AR
|
|
cost = 750
|
|
access = access_medical
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_STATUS_R,VIS_CH_BACKUP,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_MEDICAL)
|
|
incompatible_with = list(NIF_CIVILIAN_AR,NIF_SECURITY_AR,NIF_ENGINE_AR,NIF_SCIENCE_AR,NIF_OMNI_AR)
|
|
|
|
/datum/nifsoft/ar_sec
|
|
name = "AR Overlay (Sec)"
|
|
desc = "Like the civilian model, but provides access to arrest status and security records."
|
|
list_pos = NIF_SECURITY_AR
|
|
cost = 750
|
|
access = access_security
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_WANTED,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_SECURITY)
|
|
incompatible_with = list(NIF_CIVILIAN_AR,NIF_MEDICAL_AR,NIF_ENGINE_AR,NIF_SCIENCE_AR,NIF_OMNI_AR)
|
|
|
|
/datum/nifsoft/ar_eng
|
|
name = "AR Overlay (Eng)"
|
|
desc = "Like the civilian model, but provides station alert notices."
|
|
list_pos = NIF_ENGINE_AR
|
|
cost = 750
|
|
access = access_engine
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_ENGINE)
|
|
incompatible_with = list(NIF_CIVILIAN_AR,NIF_MEDICAL_AR,NIF_SECURITY_AR,NIF_SCIENCE_AR,NIF_OMNI_AR)
|
|
|
|
/datum/nifsoft/ar_science
|
|
name = "AR Overlay (Sci)"
|
|
desc = "Like the civilian model, but provides ... well, nothing. For now."
|
|
list_pos = NIF_SCIENCE_AR
|
|
cost = 750
|
|
access = access_research
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_SCIENCE)
|
|
incompatible_with = list(NIF_CIVILIAN_AR,NIF_MEDICAL_AR,NIF_SECURITY_AR,NIF_ENGINE_AR,NIF_OMNI_AR)
|
|
|
|
/datum/nifsoft/ar_omni
|
|
name = "AR Overlay (Omni)"
|
|
desc = "Like the civilian model, but provides most of the features of the medical and security overlays as well."
|
|
list_pos = NIF_OMNI_AR
|
|
cost = 750
|
|
access = access_captain
|
|
a_drain = 0.01
|
|
planes_enabled = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_STATUS_R,VIS_CH_BACKUP,VIS_CH_WANTED,VIS_AUGMENTED)
|
|
vision_flags = (NIF_V_AR_OMNI)
|
|
incompatible_with = list(NIF_CIVILIAN_AR,NIF_MEDICAL_AR,NIF_SECURITY_AR,NIF_ENGINE_AR,NIF_SCIENCE_AR)
|
|
|
|
//////////////
|
|
// Misc Vision
|
|
/datum/nifsoft/corrective
|
|
name = "Corrective AR"
|
|
desc = "Subtly alters perception to compensate for cataracts and retinal misalignment, among other common disabilities."
|
|
list_pos = NIF_CORRECTIVE_GLASS
|
|
cost = 200
|
|
a_drain = 0.025
|
|
vision_flags = (NIF_V_CORRECTIVE)
|
|
|
|
/datum/nifsoft/uvblocker
|
|
name = "Nictating Membrane"
|
|
desc = "A synthetic nictating membrane (aka 'third eyelid') that protects the eyes from UV or hostile atmospheres. Does not protect from photonic stun weapons."
|
|
list_pos = NIF_UVFILTER
|
|
cost = 450
|
|
a_drain = 0.2
|
|
vision_flags = (NIF_V_UVFILTER)
|
|
|
|
/datum/nifsoft/flashprot
|
|
name = "Responsive Filter"
|
|
desc = "Enables a high-speed shielding response to intense light, such as flashes, to block them."
|
|
list_pos = NIF_FLASHPROT
|
|
cost = 600
|
|
access = access_security
|
|
a_drain = 0.05
|
|
vision_flags = (NIF_V_FLASHPROT)
|
|
|
|
////////////////
|
|
// Goggle-alikes
|
|
/datum/nifsoft/mesons
|
|
name = "Meson Scanner"
|
|
desc = "Similar to the worn Optical Meson Scanner Goggles, these allow you to see the base structure and terrain through walls."
|
|
list_pos = NIF_MESONS
|
|
cost = 1000
|
|
a_drain = 0.1
|
|
access = access_engine
|
|
tick_flags = NIF_ACTIVETICK
|
|
planes_enabled = list(VIS_FULLBRIGHT, VIS_MESONS)
|
|
vision_flags = (NIF_V_MESONS)
|
|
incompatible_with = list(NIF_MATERIAL,NIF_THERMALS,NIF_NIGHTVIS)
|
|
|
|
life()
|
|
if((. = ..()))
|
|
var/mob/living/carbon/human/H = nif.human
|
|
H.sight |= SEE_TURFS
|
|
if(H.client)
|
|
H.client.screen |= global_hud.meson
|
|
|
|
/datum/nifsoft/material
|
|
name = "Material Scanner"
|
|
desc = "Similar to the worn Optical Material Scanner Goggles, these allow you to see objects through walls."
|
|
list_pos = NIF_MATERIAL
|
|
cost = 1000
|
|
a_drain = 0.1
|
|
access = access_mining
|
|
tick_flags = NIF_ACTIVETICK
|
|
planes_enabled = list(VIS_FULLBRIGHT)
|
|
vision_flags = (NIF_V_MATERIAL)
|
|
incompatible_with = list(NIF_MESONS,NIF_THERMALS,NIF_NIGHTVIS)
|
|
|
|
life()
|
|
if((. = ..()))
|
|
var/mob/living/carbon/human/H = nif.human
|
|
H.sight |= SEE_OBJS
|
|
if(H.client)
|
|
H.client.screen |= global_hud.material
|
|
|
|
/datum/nifsoft/thermals
|
|
name = "Thermal Scanner"
|
|
desc = "Similar to the worn Thermal Goggles, these allow you to see heat-emitting creatures through walls."
|
|
list_pos = NIF_THERMALS
|
|
cost = 1000
|
|
a_drain = 0.1
|
|
illegal = TRUE
|
|
access = 999
|
|
tick_flags = NIF_ACTIVETICK
|
|
planes_enabled = list(VIS_FULLBRIGHT)
|
|
vision_flags = (NIF_V_THERMALS)
|
|
incompatible_with = list(NIF_MESONS,NIF_MATERIAL,NIF_NIGHTVIS)
|
|
|
|
life()
|
|
if((. = ..()))
|
|
var/mob/living/carbon/human/H = nif.human
|
|
H.sight |= SEE_MOBS
|
|
if(H.client)
|
|
H.client.screen |= global_hud.thermal
|
|
|
|
/datum/nifsoft/nightvis
|
|
name = "Low-Light Amp"
|
|
desc = "Similar to the worn Night Vision Goggles, these allow you to see in complete darkness."
|
|
list_pos = NIF_NIGHTVIS
|
|
cost = 1000
|
|
a_drain = 0.1
|
|
access = access_security
|
|
tick_flags = NIF_ACTIVETICK
|
|
planes_enabled = list(VIS_FULLBRIGHT)
|
|
vision_flags = (NIF_V_NIGHTVIS)
|
|
incompatible_with = list(NIF_MESONS,NIF_MATERIAL,NIF_THERMALS)
|
|
|
|
life()
|
|
if((. = ..()))
|
|
var/mob/living/carbon/human/H = nif.human
|
|
H.see_in_dark += 7
|
|
if(H.client)
|
|
H.client.screen |= global_hud.nvg
|