True Nightvision

by dupraz

Fully disables the day-night cycle visual effect while night-vision is on.

Tweaks
2 days ago
2.1
42
Cheats

g Move changes to data-final-fixes stage to override other mods?

rename data.lua to data-final-fixes.lua would make it override other mods that made changes to nightvision in earlier stages, in my use case AAI industry

Nvm that didn't work with AAI at all, ignore this and just keep the mod as is😭

4 days ago

Which property is being modified by your mod? color_lookup?

not my mod, https://mods.factorio.com/mod/aai-industry modifies color lookup table

3 days ago

From what I can see, it's already being conditioned by a runtime setting called "enhanced-nightvision", but also doing a bunch more color tweaking to night and sunset LUTs, and maybe even daylight timings, not sure why the current behavior of overriding with the daylight identity whenever the game detects the onset of "darkness" (maybe just some hardcoded timing?) wouldn't work here, but if you actively use 2 mods with contradicting goals I can't really make that decision for you.
I've used data.lua since I would rather assume to only be making modifications to mods I explicitely depend on and can reasonably support, for now it's just the base game, as opposed to my more trivially universal mods where I use data-updates.lua instead.

Pretty sure 99.9%+ of people who install AAI industry isn't for the LUT stuff but to play Space Exploration. Also looks like it doesn't have runtime stuff related to this either, it's all data stage, in phase-1/light.lua.

It's okay if you don't want to mess with other mods and keep yours as is though.

2 days ago

I had to manually check for you, and there quite literally is. https://x0.at/factorio_1783589908_KYRR.png
Also, the mod default behavior seems to just work as expected, so not sure what you're going on about.
If it's about the second of transition left, it's effectively a bug, see: https://forums.factorio.com/viewtopic.php?p=698557
I've updated the mod to overwrite any mod behavior by default, hopefully it doesn't break anything.

a day ago
(updated a day ago)

You call data stage settings runtime, then tell me I'm wrong??? Tell me what the 2 stages listed here beside settings stage is called. Yea factorio modding is a mistake judging from the type of people I interacted with.

a day ago
(updated a day ago)

See how you call it yourself "data stage settings" and not "prototype stage settings" as it's technically called, by the same abuse of language, I would call the "runtime settings" the "control stage settings" since it's more explicit what is meant by that, because when I said "at runtime" (in the context of my sentence), I only meant it's a mod setting that's user-exposed at runtime, implying it should have been available to you, the user of said mod, if you looked into any of its settings, which relates directly to you saying you "don't use this mod for the LUT effects", but haven't really looked into whether it allows you to ignore them to begin with.
Also it should be obvious that LUTs defines are data stage, and can't be controlled by the runtime API.

New response