mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Ninja-night vision now works.
A ninja now uses proper glasses instead of using its own hack. Fixed a bug that would override the old ninja-night vision unless one also wore additional glasses in the glasses-inventory slot. Adds overlays to thermals and mesons as well. Slightly reduces the intensity of the night vision overlay.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user