Dark Night

by Skrundz

Makes night completely dark

Tweaks
2 years ago
0.18 - 2.0
18.4K

i 2.1 Update

2 months ago

When do you think you will update this great mod to 2.1?

a month ago

I updated the version number but I am getting this error when I try to load it:
Failed to load mods: DarkNight/data-updates.lua:9: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
DarkNight/data-updates.lua:9: in main chunk

a month ago

Delete that line completely.

for _, table in pairs(data.raw["utility-constants"]["default"].zoom_to_world_daytime_color_lookup) do
table[2] = convertPath(table[2])
end

In this line it used the constant zoom_to_world_daytime_color_lookup. They deleted it.
It used to resolve the moment when you zoom in the map and at some point it changes from map view to real world view. Apparently that was merged and doesn't need a separate constant anymore. So just delete it, everything else works like a charm.

a month ago

Thanks for the insights @Ignalion.
An official update would be nice, otherwise I'd like to make a fork for that.

New response