Merge pull request #3061 from Citadel-Station-13/upstream-merge-31114

[MIRROR] Fixes space vision
This commit is contained in:
LetterJay
2017-10-01 16:56:24 -04:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
var/glass_colour_type = null //colors your vision when worn
/obj/item/clothing/glasses/examine(mob/user)
..()
..()
if(glass_colour_type && ishuman(user))
to_chat(user, "<span class='notice'>Alt-click to toggle its colors.</span>")
@@ -90,6 +90,7 @@
item_state = "glasses"
origin_tech = "materials=4;magnets=4;plasmatech=4;engineering=4"
darkness_view = 8
vision_flags = SEE_BLACKNESS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
glass_colour_type = /datum/client_colour/glass_colour/green

View File

@@ -923,6 +923,7 @@
see_invisible = initial(see_invisible)
see_in_dark = initial(see_in_dark)
sight = initial(sight)
lighting_alpha = LIGHTING_PLANE_ALPHA_VISIBLE
if(client.eye != src)
var/atom/A = client.eye