fezhub / DSP-Mods

Dyson Sphere Program Mods
GNU Lesser General Public License v2.1
43 stars 11 forks source link

SphereProgress: Add an estimate number of hours/minutes to completion #40

Open Malachosa opened 3 years ago

Malachosa commented 3 years ago

Would it be possible to add an estimated time to completion based on current measurements of how fast the numbers are increasing?

This would be highly useful as currently solar sails have an expiration time of at most 1 hour, and it would be really useful to know that my dyson sphere will be complete in 3.5 hours so that I can turn off the rail guns so as to not waste solar sails.

It would be nice to have 2 estimated times of completion, one for the structure and another for the cells.

I did just realize that now that I have easy access to the total and current numbers, I can estimate because I know how many solar sails I'm firing per minute, just would be nice to have the mod do that for me. (I'm building a 10 layer sphere in a system where my ejectors are all on a planet that is tidally locked 1:1, so my ejectors never stop firing ;)

Otherwise, great mod.

fezhub commented 3 years ago

It could be done using the stats accumulators already in place, but would probably have to allow time frame selection to keep everyone happy. Unless we just use the current value from the stats screen, keeping the UI changes minimal and tidy.

I like this idea but I'm very short on free time at the moment, if someone wants to have a crack I'll be happy to merge it in. I would suggest placing the countdown below each relevant progress line. If you need any pointers reach out on discord.