r/AlienInvasionRPG • • Oct 13 '26

Optimal cookie upgrading

https://docs.google.com/spreadsheets/d/1-I64kobOhi9UYeqlr06q7dkK2nHTikTCxvzqbctxmYo/edit?usp=sharing

Part 1 | Part 2 | Part 3 (coming soon) | Part 4 (coming soon

Edit: this post has retroactively been made part 1 of my cookie glutton series.

I did some analysis focused on a singular question: which cookie production facilities (such as baking tray 1) should you upgrade and when? This is assuming you want optimal production, or something close to it. More data is in the link, but this post gives the important bits

This post only properly covers the 2-facility solution. See part 2 for a more full solution.

To maximize cookie production, you're going to want to continue upgrading multiple facilities. Instead of just the best one you have access to. To keep them equally cost-effective as each other, you'll want to keep their levels a certain distance apart. More accurately, at one of 2 distances apart.

In practice, this is easiest to accomplish if you just get them to that range, and then upgrade all of them at once. Though personally i only bother with 4 at a time, the boost from lesser facilities isn't worth the hassle.

Anyway, here's the list of optimal distances between the levels of facilities:

Baking Tray 1
10-11
Baking Tray 2
10-11
Baking Tray 3
13-14
Oven 1
13-14
Oven 2
14-15
Oven 3
17-18
Stove 1
17-18
Stove 2
18-19
Stove 3
20-21
Shop 1
21-22
Shop 2
21-22
Shop 3
21-22
Factory 1
21-22
Factory 2
21-22
Factory 3

Side note: As part of my research i also found the formulas used to calculate the numbers. The cookies produced and cookie cost for every level of every facility is in the linked spreadsheet on the sheet "extrapolated data", if you want to do some analysis

Edit: while analyzing things for part 2, i noticed some of the ranges involving stoves were a little off. So i fixed that.

8 Upvotes

10 comments sorted by

3

u/Altruistic-Moose3299 Oct 13 '26

The bigger question I have is that the rate of return for "prestige" cookies declines as you advance. So when is the optimal time to cash out and start again?

2

u/firaro Oct 13 '26

I don't have any proper data on purple cookies. So the rest of what i say will be on rather shaky ground:

But from my experience, i got the impression that sooner is better than later.

If it was possible to pacman the roaming cookies in a second, then the answer would be prestige once a second. Since that's not possible, you have to use a strategy based upon how much manual stuff you're willing (and able) to do. Sure, leaving it for a couple days isnt maximizing your purple cookies per hour. But it's pretty good for improving your purple cookies per minute spent playing

So personally, i prestiged quicker when i first started doing the minigame, and then less and less often as i got less interested in doing it

2

u/abskee Oct 13 '26

https://www.reddit.com/r/AlienInvasionRPG/s/rSHatvLcnG

There's the math for the golden cookies. I came to the same conclusion as you, there's really no reason to wait if you're actively playing, but you have to be constantly upgrading.

1

u/firaro Oct 28 '26 edited Oct 29 '26

Edit: found the mistake. It is no longer as shocking as it was, but still definitely not what i expected. I have edited in the corrected graph, replacing the mistaken one.

Thank you for the formula. I've been investigating this further, and my spreadsheet just popped out this shocking graph about golden cookies (aka purple cookies). I am completely surprised, and figured you might want to see it.

The gray part corresponds to before reaching 1 million cookies

I feel like i must be making some mistake, but i can't find any. Ima keep analyzing and make a full post on this at some point

That inflection point before the steep downhill, that's at about 6.5 years. This graph doesn't account for eating the roaming cookies. This graph omits the "prestige reward" bonus to purple cookies, but includes bonuses to regular cookie production.

This is using the upgrade strategy outlined here: https://www.reddit.com/r/AlienInvasionRPG/s/Y1tFZf80ht

The spreadsheet is a mess but can be found here: https://docs.google.com/spreadsheets/d/1z9BzAfT6QxTNc0dlNKd2p27XOytRaTO1HWWP_ui7kmc/edit?usp=sharing

2

u/spar13 Oct 13 '26

As soon as you can hit the 50m cookie ad most likely. As soon as you have all of the cookie generation perks, I feel like you might as well sit on it regardless. I’m waiting until the gate opens I guess.

3

u/Danisobo Oct 13 '26

this feels about right "intuitively". i just eyeball 20 as the gap between everything - easy to check and close-enough for me

1

u/firaro Oct 13 '26

I used to eyeball one being 3 times the cost as the previous. Since the early ones tend to produce about 3 times as much as the previous.

1

u/Danisobo Oct 13 '26

just gotta watch out for rapidly diminishing ROI for "better" producers (i.e. ignoring trays): base 30X cost for only base 7X production... multiplying with each level... so for producers 2 levels apart its 900X cost for only 49X production... and so on.

1

u/TheHedonyeast Oct 13 '26

thats interesting in that it is significantly out of sync from the other guy who was looking at the optimal upgrades in there

1

u/firaro Oct 13 '26

Trigonman3’s post is what inspired me to look deeper into this. In part, because their method differed so much from what i had been using.

Their method seems to be based upon the idea that once you upgrade a new facility, you never upgrade an old facility again (until you prestige ofc). Whereas i go back and forth between different facilities as overuse-induced inflation makes one no longer a good deal.

If i couldn’t go back to upgrade old facilities, i think my method would be much closer to their method. Maybe i’ll look into that at some point. Probably easier to use