Since from the sound of this FFF we may be approaching the last chance to get requests like this in....
I would like a way to override LuaSurface.darkness.
Even if the value itself remains read only, I would like to be able to edit the upper and lower bounds of this value.
I would like a way to override darkness
Re: I would like a way to override darkness
That's already possible by modifying these properties: http://lua-api.factorio.com/latest/LuaS ... rface.dusk
"darkness" is a calculation of those values and as such isn't something that can be written directly. You adjust it by setting dusk, dawn, and so on.
"darkness" is a calculation of those values and as such isn't something that can be written directly. You adjust it by setting dusk, dawn, and so on.
If you want to get ahold of me I'm almost always on Discord.
Re: I would like a way to override darkness
But you cannot change the upper and lower bounds (1.0, 0.15) by altering those values.Rseding91 wrote:That's already possible by modifying these properties: http://lua-api.factorio.com/latest/LuaS ... rface.dusk
"darkness" is a calculation of those values and as such isn't something that can be written directly. You adjust it by setting dusk, dawn, and so on.
Re: I would like a way to override darkness
I guess a better question would be: what's the use-case for this?
Did you want the visual to be brighter or did you want to change what solar panels produce? Or something else?
Did you want the visual to be brighter or did you want to change what solar panels produce? Or something else?
If you want to get ahold of me I'm almost always on Discord.