LuaSurface.darkness -> RW

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

LuaSurface.darkness -> RW

Post by Yehn »

It would be neat if we could write to LuaSurface.darkness. Mostly for when we want things to be reeeeeally dark...
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

Re: LuaSurface.darkness -> RW

Post by Yehn »

Or, since there's already a few variables to customize the day-night cycle... maybe add one to change the "maximum darkness" to be above 86%?
Rseding91
Factorio Staff
Factorio Staff
Posts: 15896
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaSurface.darkness -> RW

Post by Rseding91 »

Darkness is a calculated value based off the current daytime and the daytime length values.
If you want to get ahold of me I'm almost always on Discord.
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

Re: LuaSurface.darkness -> RW

Post by Yehn »

Rseding91 wrote:Darkness is a calculated value based off the current daytime and the daytime length values.
No matter what I set them too -- even with dusk at 0.01, evening at 0.02, morning at 0.94, dawn at 0.95, with a day 750,000 ticks long -- I can't seem to get darkness to go above 85% ish (technically it's like 0.850000024).
Post Reply

Return to “Modding interface requests”