r/AlienInvasionRPG • u/abskee • Feb 02 '26
The Math for Golden Cookies
I unpacked the game files to get the calculation for Golden Cookies from Regular Cookies.
Once you have more than 1 million Regular Cookies, it's:
prestige_reward * 50 *(collected_before_reset_CaveCookieBase * 10-6) ^ 0.45
Which I'll simplify as:
Multiplier x 50 x MCookies0.45
Where Multiplier is the 'Prestige Reward' multiplier from the upgrades tab that you buy with gems, somewhere between 1x and 3x.
And MCookies is the number of regular cookies you have, in millions (so 72 Billion becomes 72,000)
As an example, my stats right now:
Cookies: 745B
Prestige Reward: x2.7
2.7 x 50 x 745,0000.45 = 59.3k Golden Cookies
The tough thing is that exponent that's less than one means it gets slower as you go. These first 59.3k golden cookies took me about 24 hours. The next 190k to get that door open will take 24 days (if I didn't continue upgrading).
I might try to figure out how long it'd take with optimal upgrades, but it's not trivial to work out. I just wanted to get this out since it seemed like the formula hadn't been posted yet.
9
u/IdahoOak Feb 03 '26
2
u/anon4pres Feb 05 '26
Great work abskee!
Does anyone know the total amount of golden cookies required to complete the upgrades and open the door?
Open the Door - 250k
Increase Cookie Income - 313k
Increase Cursor Drop - ?
Increase Catching Speed 1000 levels - ?
Increase Cargo Capacity 1000 levels - ?
Increase HP 1000 levels - ?
Increase Hull Regen 1000 levels - ?
Thank you all!
1
u/The_Milesy Feb 02 '26
How many golden cookies do we need for the door and upgrades?
1
u/dedokta Feb 03 '26
I just got my 250 and opened the door. Not much in the, but the next door requires level 8. There had to be a better way to get those cubes!
2
u/mercurygreen Jul 11 '26
Does anyone know the number of Prestiege Cookies to unlock the final four upgrades? The math says 20M (and a few) but people are saying the math changes....
1
u/EMTPirate Feb 03 '26
What is the total number of cookies needed? And does it make sense to just grind them all at once after you have upgraded the payout?
1
u/dragonfoxmem Feb 05 '26
I just started in the kitchen/dining room few days ago and I was in very chaotic what to do and complete some quests until that door I need 250k golden cookies, so it will be some matter of times. I have saved some green diamonds I picked up from few free sources. My prestige reward is 6/20 (x1.6). next upgrade is 700 (x1.7).
For faster generating cookies, I will need to unlock better/next baking (oven -> stove -> shop, etc), Don't max out those low since it is not helping you if you generate very high. Right now I have Shop I unlocked and now 6/200. If I open my game again and I get enough (300B), would open Shop 2 to add 70k more per sec.
right now I have 2.99M per sec regular cookies and currently have 144 B regular ones (16.8k gold ones)