SE-Forever Bright

by zhuying

The Space Age2.0,All planets,Forever Day,Don't be dark

Content
a month ago
1.1 - 2.0
1.03K

b Error loading without a third-party mod

1 year, 4 months ago

When loading your mod together with a clean SE factorio gives an error.

factorio-current.log

If mod Afraid Of The Dark is present in the build when loading, then the error does not appear. (Not enough dependency?)

1 year, 4 months ago

if not has_omni_light then
table.insert(lights,
{
minimum_darkness = my_light_minimum_darkness,
intensity = my_light_intensity * iif(add_omni_full,1,0.5),
size =iif(add_omni_full,my_light_size,20),
}
There is a code error here to update 0.0.4

if not has_omni_light then
table.insert(lights,
{
minimum_darkness = my_light_minimum_darkness,
intensity = my_light_intensity * (add_omni_full and 1 or 0.5),
size = add_omni_full and my_light_size or 20,
}
)
end

New response