mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Switch to material glasses
This commit is contained in:
@@ -177,6 +177,15 @@
|
||||
flags = NODROP
|
||||
flags_cover = null
|
||||
|
||||
/obj/item/clothing/glasses/material/lighting
|
||||
name = "Neutron Goggles"
|
||||
desc = "These odd glasses use a form of neutron-based imaging to completely negate the effects of light and darkness."
|
||||
origin_tech = null
|
||||
vision_flags = 0
|
||||
|
||||
flags = NODROP
|
||||
lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE
|
||||
|
||||
/obj/item/clothing/glasses/regular
|
||||
name = "prescription glasses"
|
||||
desc = "Made by Nerd. Co."
|
||||
|
||||
@@ -1786,17 +1786,3 @@
|
||||
item_color = "voxbodysuit"
|
||||
body_parts_covered = HEAD|UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
|
||||
species_fit = list("Vox")
|
||||
|
||||
/obj/item/clothing/glasses/night/fluff/reyblood //Reyblood: All characters
|
||||
name = "Custom Night Vision Goggles"
|
||||
desc = "These customized night vision goggles completely remove all darkness."
|
||||
lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE
|
||||
|
||||
var/limited_to_ckey = "reyblood"
|
||||
|
||||
/obj/item/clothing/glasses/night/fluff/reyblood/mob_can_equip(mob/user, slot)
|
||||
. = ..()
|
||||
|
||||
if(. && user.ckey != limited_to_ckey)
|
||||
to_chat(user, "<span class='warning'>These glasses can only be used by [limited_to_ckey], as they are not able to play the game with lighting enabled due to hardware limitations.")
|
||||
. = FALSE
|
||||
|
||||
Reference in New Issue
Block a user