I've wrote my own little mod to tackle this. I'm not publishing because it's such a niche case that is likely just noise for other players. I'll share it here so you can add it to this mod if you think it's worth it.
Imo it would make sense to enable this when the night-vision research is complete (in BNW).
To enable locally;
- create a dir in appdata/factorio/mods like; 'forever-night-vision_0.0.1'
- add
info.json
with
{
"name": "forever-night-vision",
"version": "0.0.1",
"title": "Forever Night Vision",
"author": "Mortu",
"factorio_version": "1.1",
"dependencies": ["base >= 1.1"],
"description": "Enable night vision. No questions asked."
}
- add
data-updates.lua
with;
-- insert the nightvision LookUpTable (LUT) from core,
-- over the night-LUT for the player/default;
local filename = "__core__/graphics/color_luts/nightvision.png"
local drd = data.raw["utility-constants"].default
local dc = drd.daytime_color_lookup
dc[4][2]=filename
dc[5][2]=filename
-- ...and for the map;
local ztwdc = drd.zoom_to_world_daytime_color_lookup
ztwdc[2][2]=filename
ztwdc[3][2]=filename
I've took inspiration from the code of Vil's clear NV
, Night Brightness
, Afraid of the Dark
.