Go somewhere around here: "\SteamLibrary\steamapps\common\Cookie Clicker\resources\app\src"
and open "main.js" with text editor (notepad++, VSC, ... for better render)
and this is where u can do funny thing
For thing to change, do CTRL + F on the editor and search for the code needed or just go to the line.
I don't know what the limit for this but here is what I know:
Golden Cookies Frequenty
Code: Select all
if (!me.wrath) m*=1/Game.eff('goldenCookieFreq');
Change the value "1", the smaller it is, the more frequent the golden cookie will be
building special Buff
Code: Select all
if (choice=='building special')
...
var pow=Game.ObjectsById[obj].amount/10+1;
Just have to change the "/" into "+" or "*" and make the number on the right side larger (to get more multiplier)
any buff with same code pattern
Code: Select all
else if (choice=='{BUFF NAME HERE}')
{
buff=Game.gainBuff('{BUFF NAME HERE}',Math.ceil({BUFF DURATION MULTIPLIER}*effectDurMod),{CPS / CPC BUFF MULTIPLIER});
}
dragon harvest: line 5526;
everything must go: line 5547;
blood frenzy: line 5551;
clot: line 5555;
click frenzy: line 5563,
dragonflight: line 5593)
change the value {BUFF DURATION MULTIPLIER} and {CPS / CPC BUFF MULTIPLIER}
sugar lump from golden cookies
Code: Select all
if (choice=='free sugar lump')
{
Game.gainLumps(1);
popup=loc("Sweet!<br><small>Found 1 sugar lump!</small>");
}
Change the value "1" from "Game.gainLumps(1)" into anything u want
golden cookie buff probability
Code: Select all
var list=[];
if (me.wrath>0) list.push('clot','multiply cookies','ruin cookies');
else list.push('frenzy','multiply cookies');
if (me.wrath>0 && Game.hasGod && Game.hasGod('scorn')) list.push('clot','ruin cookies','clot','ruin cookies');
if (me.wrath>0 && Math.random()<0.3) list.push('blood frenzy','chain cookie','cookie storm');
else if (Math.random()<0.03 && Game.cookiesEarned>=100000) list.push('chain cookie','cookie storm');
if (Math.random()<0.05 && Game.season=='fools') list.push('everything must go');
if (Math.random()<0.1 && (Math.random()<0.05 || !Game.hasBuff('Dragonflight'))) list.push('click frenzy');
if (me.wrath && Math.random()<0.1) list.push('cursed finger');
if (Game.BuildingsOwned>=10 && Math.random()<0.25) list.push('building special');
if (Game.canLumps() && Math.random()<0.0005) list.push('free sugar lump');
if ((me.wrath==0 && Math.random()<0.15) || Math.random()<0.05)
{
//if (Game.hasAura('Reaper of Fields')) list.push('dragon harvest');
if (Math.random()<Game.auraMult('Reaper of Fields')) list.push('dragon harvest');
//if (Game.hasAura('Dragonflight')) list.push('dragonflight');
if (Math.random()<Game.auraMult('Dragonflight')) list.push('dragonflight');
}
if (this.last!='' && Math.random()<0.8 && list.indexOf(this.last)!=-1) list.splice(list.indexOf(this.last),1);//80% chance to force a different one
if (Math.random()<0.0001) list.push('blab');
On "Math.random()<{NUMBER}" with {NUMBER}<1, change the value of {NUMBER} into something bigger but still need to be < 1
and after that I was lazy to search for more since with this I was able to get 95% of the achievment so hope this will still help and sorry for not explaining anything (i'm the worst programmer in js that's why) and for my bad english.
PS: this the main code so you can basically search for anything you want here (I think) such as achievement requirement, upgrade price, ... .