Science Night Vision Goggles (#65867)

This adds science NV goggles to the game, (chemscan night vision goggles) available after NV tech is researched. And gives a research scanner to science sunglasses.
This commit is contained in:
Ebb-Real
2022-04-07 20:42:46 -05:00
committed by GitHub
parent eb9afbcf71
commit f71fc46350
5 changed files with 25 additions and 4 deletions
+14 -4
View File
@@ -152,6 +152,19 @@
if(slot == ITEM_SLOT_EYES)
return 1
/obj/item/clothing/glasses/science/suicide_act(mob/living/carbon/user)
user.visible_message(span_suicide("[user] is tightening \the [src]'s straps around [user.p_their()] neck! It looks like [user.p_theyre()] trying to commit suicide!"))
return OXYLOSS
/obj/item/clothing/glasses/science/night
name = "night vision science goggles"
desc = "Lets the user see in the dark and recognize chemical compounds at a glance."
icon_state = "scihudnight"
darkness_view = 8
flash_protect = FLASH_PROTECTION_SENSITIVE
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
glass_colour_type = /datum/client_colour/glass_colour/green
/obj/item/clothing/glasses/night
name = "night vision goggles"
desc = "You can totally see in the dark now!"
@@ -162,10 +175,6 @@
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
glass_colour_type = /datum/client_colour/glass_colour/green
/obj/item/clothing/glasses/science/suicide_act(mob/living/carbon/user)
user.visible_message(span_suicide("[user] is tightening \the [src]'s straps around [user.p_their()] neck! It looks like [user.p_theyre()] trying to commit suicide!"))
return OXYLOSS
/obj/item/clothing/glasses/eyepatch
name = "eyepatch"
desc = "Yarr."
@@ -304,6 +313,7 @@
icon_state = "sunhudsci"
desc = "A pair of tacky purple sunglasses that allow the wearer to recognize various chemical compounds with only a glance."
clothing_traits = list(TRAIT_REAGENT_SCANNER)
actions_types = list(/datum/action/item_action/toggle_research_scanner)
/obj/item/clothing/glasses/sunglasses/gar
name = "black gar glasses"
@@ -217,6 +217,16 @@
category = list("Equipment")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
/datum/design/nv_sci_goggles
name = "Night Vision Science Goggles"
desc = "Goggles that lets the user see in the dark and recognize chemical compounds at a glance."
id = "nv_scigoggles"
build_type = PROTOLATHE | AWAY_LATHE
materials = list(/datum/material/iron = 600, /datum/material/glass = 600, /datum/material/plasma = 350, /datum/material/uranium = 1000)
build_path = /obj/item/clothing/glasses/science/night
category = list("Equipment")
departmental_flags = DEPARTMENTAL_FLAG_SCIENCE
/datum/design/roastingstick
name = "Advanced Roasting Stick"
desc = "A roasting stick for cooking sausages in exotic ovens."
@@ -1108,6 +1108,7 @@
"health_hud_night",
"night_visision_goggles",
"nvgmesons",
"nv_scigoggles",
"security_hud_night",
)
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 5000)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB