Page 1 of 1

[Twinsen] [0.17.14] empty accumulator shows lightning

Posted: Sun Mar 17, 2019 4:15 pm
by pcsh

I've just expanded my solar field and in the folowing night I saw that the newly build accumulators show a lightning effect, though they are empty
Bildschirmfoto_2019-03-17_16-45-26.png (2.11 MiB) Viewed 1285 times
At the end of the night when all the other accumulators went empty too, the lightning effect disappears for all of them.
Accumulators that I build during the night don't show the lightning.

Probably it's the same bug as this one:
[0.17.11] Reactor entity working light

Re: [Twinsen][0.17.14] empty accumulator shows lightning

Posted: Fri Apr 19, 2019 1:43 pm
by Twinsen
As strange as this sounds, those accumulators are still discharging.
All accumulators are discharged proportionally(e.g. 1% of their energy is taken every tick). Since those accumulators had a small amount of energy when they started discharging, they now ended up with 4.71e-160 energy in them and they are still slowly discharging.
And as far as the icon rendering is concerned, they are considered empty, but the animation rendering logic is more precise and see those accumulators as not empty.

I made it so the animation stops when the accumulator has < 0.00001 energy left.
Fixed in Version: 0.17.33.