[2.0.23] Solar panels have zero power when min_brightness=1

Place to report issues and suggest improvements to the API documentation.
thesixthroc
Long Handed Inserter
Long Handed Inserter
Posts: 82
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

[2.0.23] Solar panels have zero power when min_brightness=1

Post by thesixthroc »

If you use `/c game.player.surface.min_brightness=1` and `/c game.player.surface.daytime=0.5`, solar panels on your surface will produce zero watts. If I understand correctly, this is a bug.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3757
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.23] Solar panels have zero power when min_brightness=1

Post by boskid »

This is most likely going to be classified as Not a bug given that solar panels during the night were always producing 0 while the default min_brightness was 0.15: solar panels were never using min_brightness for the purpose of deciding how much energy they generate. They work as if max_darkness (== 1-min_brightness) was always equal to 1.
Techjar
Burner Inserter
Burner Inserter
Posts: 15
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

Re: [2.0.23] Solar panels have zero power when min_brightness=1

Post by Techjar »

I guess the real issue then is that the Lua API doc says min_brightness affects solar power.
Post Reply

Return to “Documentation Improvement Requests”