Merge pull request #6318 from PsiOmegaDelta/EyeOfTheNinja

Ninja-night vision now works.
This commit is contained in:
Chinsky
2014-09-13 03:53:07 +04:00
6 changed files with 119 additions and 85 deletions

View File

@@ -15,6 +15,8 @@ var/datum/global_hud/global_hud = new()
var/list/vimpaired
var/list/darkMask
var/obj/screen/nvg
var/obj/screen/thermal
var/obj/screen/meson
/datum/global_hud/New()
//420erryday psychedellic colours screen overlay for when you are high
@@ -33,11 +35,25 @@ var/datum/global_hud/global_hud = new()
nvg = new /obj/screen()
nvg.screen_loc = "1,1"
nvg.icon = 'icons/obj/nvg_hud_full.dmi'
nvg.icon = 'icons/obj/hud_full.dmi'
nvg.icon_state = "nvg_hud"
nvg.layer = 17
nvg.mouse_opacity = 0
thermal = new /obj/screen()
thermal.screen_loc = "1,1"
thermal.icon = 'icons/obj/hud_full.dmi'
thermal.icon_state = "thermal_hud"
thermal.layer = 17
thermal.mouse_opacity = 0
meson = new /obj/screen()
meson.screen_loc = "1,1"
meson.icon = 'icons/obj/hud_full.dmi'
meson.icon_state = "meson_hud"
meson.layer = 17
meson.mouse_opacity = 0
var/obj/screen/O
var/i
//that nasty looking dither you get when you're short-sighted