Page 1 of 1
[2.0.23] Solar panels have zero power when min_brightness=1
Posted: Thu Dec 05, 2024 12:59 am
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.
Re: [2.0.23] Solar panels have zero power when min_brightness=1
Posted: Tue Dec 10, 2024 4:50 pm
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.
Re: [2.0.23] Solar panels have zero power when min_brightness=1
Posted: Wed Dec 11, 2024 1:09 pm
by Techjar
I guess the real issue then is that the Lua API doc says min_brightness affects solar power.