Diurnal Dynamics

by DataCpt

Make nights pitch black, customise the lengths of day/night cycles, enable night only attacks and darken space platforms/distant planets as they get further from the sun! All configurable.

Content
a month ago
2.0
8.60K
Combat Enemies Environment Power

a Modded planets that should be excluded

4 months ago
(updated 4 months ago)

If you know of modded surfaces like Maraxsis's Maraxsis Trench that should be excluded from brightness/colour changes then please post them here!

If you are a mod author and would like to use this feature then as of v0.13.0 you are able to use the following example code to exclude it and reset the colours back to how you want them for existing saves:

in control.lua

script.on_configuration_changed(function(event)
    local surface_to_exclude = "maraxsis-trench"
    local brightness_visual_weights = nil
    -- brightness_visual_weights    = {r = 0, g = 0, b = 0} -- default (optional)
    brightness_visual_weights       = {r = 1, g = 1, b = 1} -- pitch black (optional)
    remote.call("diurnal-dynamics", "exclude_surface_name", surface_to_exclude, brightness_visual_weights)
end)

New response