Trying to implement a small improvement
![]() ![]() |
Any reason why you changed the moon detection logic? :) Anyway, what I wanted to ask is this. I'm trying to implement a small imrpovement - add a line at the end of the main table in Overview, that displays the daily resource production (as 3 numbers - Metal+Crystal+Deuterium) of the whole empire. I know how to add a line to the table. I know that the hourly production of each planet is stored in cookies by this script. But I'm having trouble figuring out how to parse the cookies and extract this information. The script does it for the current planet - could you suggest how to do it for all of them? |
![]() ![]() |
Never mind, solved it. Ended up writing my own function to read a cookie by name, though - your logic was confusing me. ;) |

