What governs how fast grandmas make cookies?

They were making 10 each time, now it's 14. What governs the rate?

• This game looks like it was made in KidPix... </nostalgia> – dlras2 Aug 23 '13 at 16:23
• It looks like it might be related to the highest level cookie production you had. I think they were at 4 for factories, and by default, and hit 7 when I got a mine. My guess is that the Rocket upgrades to 10, and the alchemist table upgrades it to 14. Check when you unlock the Portal. – Sconibulus Aug 23 '13 at 16:38
• @dlras2 Nostalgia high five! – fredley Aug 23 '13 at 16:41
• Yet another question title, worthy of Arqade. – Ender Aug 23 '13 at 18:02
• @Ender Should have been "How fast do grandmas make cookies?", for simplicity's sake. – user98085 Aug 24 '13 at 12:21

In 1.0 and later, it's largely through doubling upgrades.

The base rate is 0.5 CpS, or 0.8 after you buy Forwards from grandma. This increases by 0.02 for each grandma after buying One mind, an additional 0.02 for each grandma after buying Communal brainsweep, and 0.05 for each portal after buying Elder Pact.

The rest of the grandma upgrades make grandmas 2^18 = 262,144 times as efficient.

• Six upgrades that double the rate are unlocked after having hired specific numbers of grandmas: 1, 5, 10, 50, 100, and 200.
• The nine grandma costumes are unlocked for having at least 15 of each building (Farm through Prism). These are also doubling upgrades.
• Buying seven grandma costumes unlocks Bingo center (quadruple); waiting after that unlocks Ritual rolling pins (double).
• During Christmas, the "festive hat" upgrade chain will eventually unlock Naughty list (double).

Once you enter the Grandmapocalypse by buying One mind, part of the grandmas' production actually becomes quadratic (O(n^2)) because the base rate for each grandma includes something multiplied by the number of grandmas, and that in turn is multiplied by the number of grandmas. With more than 40 grandmas, the majority of your production is from quadratic effects.

As with every other source of cookie production, this is multiplied by your cookie production multiplier (mostly flavored cookies and heavenly chips), egg multiplier (Easter-related), covenant multiplier (95% if in effect), frenzy multiplier (usually 100%, occasionally 700%, 50%, or 66600%), and wrinkler multiplier (100% to 600%).

This is the relevant code for the Grandmas in Cookie Clicker Classic:

``````var grandmaGain=Math.ceil(4+(Factories?1:0)+(Mines?2:0)+(Shipments?3:0)+(Labs?4:0)+(Portals?(Pledge?5+Portals*0.5:5):0)+(Times?6:0));
cps+=Grandmas*grandmaGain/5;
``````

That confirms Sconibulus' idea that it might be related to the amount of available items. That said:

• There is a base of 4 cookies.