Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A Dozen Cookies!
- // By HAL989
- //Version 2.5.3
- //Inspired by Darky's achievement package, however there is no repeats between the two mods.
- //Compatible with Darky's achievement package and most other mods.
- // thanks to Good Hunter for 2.4 in general
- // thanks to Aktan for helping with the nice try Achievement!!
- // thanks to flow for the buff stacking achievements
- // thanks to Jasper83YT
- // thanks to CookieBliss for the achievement system
- //Enjoy!
- // CHANGELOG
- // V2.5.3 - |Anniversary Update| Made + and ++ achievements easier, and introduced 5 new achievements
- // V2.5.2 - implemented 3 new spend x chips achievements
- // V2.5.1.1 - fixed sugar craving's description
- // V2.5.1 | THE SAVING UPDATE | mostly just changes to how we save
- // V2.5 - Implemented new blabs & news tooltips
- // V2.4.1 - Fixed lump tooltips - actually made the sugar frenzy cap - fixed a gamebreaking bug which would always unlock sugar frenzy
- // V2.4 - THE LUMPS UPDATE - Changes to meaty/bifurcated lumps - Changes to Sugar Frenzy - Special Thanks to Good Hunter for ideas for this update!
- // V2.3 - Added a new cookie - no longer just an achievement pack any more (but it broke so it's disabled)
- // V2.2 - Added 5 new Achievements relating to stacking buffs - how high can you go? & 3 other achievements
- // V2.1 - Added like 7 new achievements relating to playing the game for a while!
- // V2.0 - Added a saving system, a reset system, some achievements and other stuff, come check it out, we are now at 50+ achievements
- // V 1.6 - Added Demigod Complex
- // V1.5 - screw the 200 time machine achievement
- // V1.4 - Added content & stuff
- // V1.3 - Changed some achievements to more traditional icons, added 8 new achievements, totalling 46 achievements
- // V1.2 - Fixed various bugs which would prevent the mod from working, including one that would freeze your game.
- // V1.1 - Added various descriptions to achievements, and added 1 currently broken achievement (will be added soon)
- //
- // V1.0 - Added original 38 achievements
- ////////////////////////////////
- // INTIALIZING
- ////////////////////////////////
- eval('Game.shimmerTypes.golden.popFunc = ' + Game.shimmerTypes.golden.popFunc.toString().split("know.\',").join("know.\', \'Determination.\', \'Click. Click. Click.\', \'But it refused.\', \'Y O U R E G O N N A H A V E T O T R Y A L I T T L E H A R D E R T H A N T H A T.\', \'Im sorry Dave. I cannot let you click that cookie.\', \'GIB COOKIES\', \'i have run out of ideas at this point', \'hahaha get pranked\', \'at least it wasnt a miss.\',"));
- var bufflength = 0 // prevents a nasty freeze
- var debug = 0 // hey look another nasty freeze
- eval('Game.Reset = ' + Game.Reset.toString().split("\'Lazarus\');").join("\'Lazarus\'); if (cookiesForfeited==0) Game.Win(\'nice try\'); if (cookiesForfeited==999999999999) Game.Win('You were so close...');")); // nice try & so close achievement unlock
- eval('Game.lumpTooltip = ' + Game.lumpTooltip.toString().split("harvesting it has a 50% chance of yielding two lumps.").join("harvesting it will spawn in <b>2 identical golden cookies</b> and have a 50% chance to yield 2 lumps."));
- eval('Game.lumpTooltip = ' + Game.lumpTooltip.toString().split("harvesting it will yield between 0 and 2 lumps.").join("harvesting it will spawn in a <b>special wrath cookie</b> and yield 0-2 lumps.")); // fixing lump tooltips
- CreateMeatyCookie=function(type)
- {
- newShimmer=new Game.shimmer('golden',{wrath:true});
- var choices=[];
- choices.push('clot','ruin cookies','cursed finger','blood frenzy','clot','ruin cookies');
- newShimmer.force=choose(choices);
- Game.makeSeed();
- } // for meaty lumps
- CreateBiCookie=function(type)
- {
- newShimmer=new Game.shimmer('golden');
- var choices=[];
- choices.push('frenzy','multiply cookies','chain cookie','building special','click frenzy');
- CurrentBiEffect=choose(choices);
- newShimmer.force=(CurrentBiEffect);
- Game.makeSeed(); //doing this to make four leaf clover a pinch harder so that doubled gc heavenly upgrade doesnt instantly trigger it
- newShimmer=new Game.shimmer('golden');
- newShimmer.force=(CurrentBiEffect);
- }
- eval('Game.harvestLumps = ' + Game.harvestLumps.toString().split("Game.Win(\'Sweetmeats\');").join("Game.Win(\'Sweetmeats\'); if (Game.lumpCurrentType==3) CreateMeatyCookie(); if (Game.lumpCurrentType==1) CreateBiCookie();")); // also for lumps
- /////////////////////////////
- // CREATING ACHIEVEMENTS
- ////////////////////////////////
- Game.customCrate=[
- //new Game.Achievement('Let\'s Get Right Into The News!','Click the news <b>5</b> times. <q>and i\'m your host...</q>',[26,7]),
- new Game.Achievement('It\'s A Feature!','End your name with a <b>s</b>',[15,9]),Game.last.pool="shadow",
- new Game.Achievement('Elder Loop','Pledge <b>40</b> times. <q>Upon closer inspection, this is more efficient than the convenant.</q>',[8,9]),
- new Game.Achievement('Elder Recursion','Pledge <b>45</b> times. <q>writhe gnaw etc etc</q>',[8,9]),
- new Game.Achievement('Kiloclicker I','Click the big cookie <b>1000</b> times in <b>15</b> minutes. <q>Speedrunning 101</q>',[11,22]),
- new Game.Achievement('Kiloclicker II','Click the big cookie <b>1000</b> times in <b>10</b> minutes. <q>Speedrunning 102</q>',[11,23]),
- new Game.Achievement('Kiloclicker III','Click the big cookie <b>1000</b> times in <b>5</b> minutes. <q>5 cps is decent.</q>',[11,24]),
- new Game.Achievement('Double Trouble','Click the big cookie <b>1000</b> times in <b>5</b> minutes. <q>5 cps is decent.</q>',[27,6]),
- new Game.Achievement('Elder Infinite','Pledge <b>50</b> times. <q>wow, two solid day\'s worth of pledges.</q>',[8,9]),
- new Game.Achievement('Elder Hibernation','Pledge <b>10</b> times. <q>zzzzzz</q>',[8,9]),
- new Game.Achievement('Elder Coma','Pledge <b>15</b> times.',[8,9]),
- new Game.Achievement('Pledge of Allegiance','Pledge <b>20</b> times.',[8,9]),
- new Game.Achievement('Is 5 percent really all that much?','Pledge <b>25</b> times. <q>I mean really, this has to have taken more cookies than just 5 percent.</q>',[8,9]),
- new Game.Achievement('You better have sacrificial rolling pins by now','Pledge <b>30</b> times. <q>just buy the freaking convenant</q>',[8,9]),
- new Game.Achievement('Elder Cycle','Pledge <b>35</b> times. <q>you know what how about i look up if it is better and get back to you</q>',[8,9]),
- new Game.Achievement('Let\'s just call this Reindeer Clicker','Click <b250</b> reindeer.',[12,9]),
- new Game.Achievement('Extinction','Click <b400</b> reindeer.',[12,9]),
- new Game.Achievement('Milk N\' Cookies','Get to Milk Tier <b>II</b>',[1,8]),
- new Game.Achievement('Half Full','Get to Milk Tier <b>IV</b>',[2,8]),
- new Game.Achievement('Milked for Progress','Get to Milk Tier <b>VI</b>',[5,8]),
- new Game.Achievement('All the Milky Way','Get to Milk Tier <b>VIII</b>',[9,7]),
- new Game.Achievement('He needs some milk','Get to Milk Tier <b>X</b>',[7,8]),
- new Game.Achievement('Still Thirsty','Get to Milk Tier <b>XII</b>',[7,7]),
- new Game.Achievement('Lactose Tolerance','Get to Milk Tier <b>XIV</b>',[10,7]),
- new Game.Achievement('Quenched','Get to Milk Tier <b>XVI</b>',[9,8]),
- new Game.Achievement('Pop goes the wrinkler','Pop <b>250</b> wrinklers.',[19,8]),
- new Game.Achievement('Wrinkled Away','Pop <b>300</b> wrinklers.',[19,8]),
- new Game.Achievement('M O I S T','Pop <b>400</b> wrinklers. <q>nice</q>',[19,8]),
- new Game.Achievement('Any shinies yet?','Pop <b>500</b> wrinklers. <q>hahaha good joke</q>',[19,8]),
- new Game.Achievement('Tutorial','Spend <b>7</b> heavenly chips. <q>Good job on beating the tutorial!</q>',[20,7]),
- new Game.Achievement('Charity','Spend <b>77</b> heavenly chips.',[20,7]),
- new Game.Achievement('Blessed','Spend <b>777</b> heavenly chips. <q>You have more?</q>',[20,7]),
- new Game.Achievement('Negative Debt','Spend <b>7,777</b> heavenly chips. <q>Isn\'t negative debt just money?<\q>',[20,7]),
- new Game.Achievement('Payload','Spend <b>77,777</b> heavenly chips.',[20,7]),
- new Game.Achievement('Big Spender','Spend <b>777,777</b> heavenly chips.',[20,7]),
- new Game.Achievement('Maximum Overdrive','Spend <b>7,777,777,777</b> heavenly chips.',[20,7]),
- new Game.Achievement('Seven doesnt look like a number anymore','Spend <b>77,777,777,777</b> heavenly chips. <q>diagonal line connected to a horizontal line</q>',[20,7]),
- new Game.Achievement('Devoid Cookies','Spend <b>777,777,777,777</b> heavenly chips. <q>if these cookies were to exist these cookies would - hold on a minute</q>',[20,7]),
- new Game.Achievement('Rich in a non-traditional sense','Spend <b>7,777,777</b> heavenly chips. <q>really getting your cookie\'s worth, huh?<\q>',[20,7]),
- new Game.Achievement('Profit Maximizer','Spend <b>77,777,777</b> heavenly chips.',[20,7]),
- new Game.Achievement('True Heaven','Spend <b>777,777,777</b> heavenly chips. <q>In other news, heaven is running out of stock.<\q>',[20,7]),
- new Game.Achievement('Ever changing seasons','Change the season <b>4</b> times in one ascension. <q>time flies</q>',[16,6]),
- new Game.Achievement('Weekly','Change the season <b>7</b> times in one ascension.',[16,6]),
- new Game.Achievement('Monthly','Change the season <b>12</b> times in one ascension.',[16,6]),
- new Game.Achievement('Global Warming','Change the season <b>16</b> times in one ascension. <q>is it real?</q>',[16,6]),
- new Game.Achievement('Daily','Change the season <b>31</b> times in one ascension.',[16,6]),
- new Game.Achievement('curse you time machine achievements','Change the season <b>40</b> times. <q>curse you and your stupid names</q>',[16,6]),
- new Game.Achievement('Hourly','Change the season <b>24</b> times in one ascension.',[16,6]),
- new Game.Achievement('Come Again!','Ascend <b>150</b> times.',[25,7]),
- new Game.Achievement('Frequent Flier','Ascend <b>200</b> times.',[25,7]),
- new Game.Achievement('Return to Sender','Ascend <b>250</b> times.',[25,7]),
- new Game.Achievement('You were so close...','Ascend one cookie away from <b>a trillion</b> cookies baked. <q>Well, you got an achievement.</q>',[0,3]),Game.last.pool="shadow",
- new Game.Achievement('oops','Miss <b>3</b> golden cookies. <q>):</q>',[1,7]),
- new Game.Achievement('Casual','Stay on one run for <b>one day.</b> <q>If you don\'t have this, either you\'re really good or really bad.</q>',[8,0]),
- new Game.Achievement('A S C E N D','Stay on one run for <b>three days.</b> <q>just click the legacy button.</q>',[8,0]),
- new Game.Achievement('Goodbyes are so hard','Stay on one run for <b>five days.</b> <q>Never gonna say goodbye~</q>',[8,0]),
- new Game.Achievement('YOAO','Stay on one run for <b>one week.</b><q>You Only Ascend Once</q>',[8,0]),
- new Game.Achievement('Beginner Gamer','Have a legacy at least <b>one week</b> old.<q>Sorta good.</q>',[8,1]),
- new Game.Achievement('Novice Gamer','Have a legacy at least <b>two weeks</b> old.<q>Pretty good.</q>',[8,1]),
- new Game.Achievement('Advanced Gamer','Have a legacy at least <b>three weeks</b> old.<q>Actually good.</q>',[8,1]),
- new Game.Achievement('Expert Gamer','Have a legacy at least <b>a month</b> old.<q>Pretty good.</q>',[8,1]),
- new Game.Achievement('Neverclick+','Reach <b>10 million</b> cookies, with <b>15</b> or less clicks. <q>oh wow you actually did it, but the battle is not yet over</q>',[12,0]),Game.last.pool="shadow",
- new Game.Achievement('Neverclick++','Reach <b>100 million</b> cookies, with <b>15</b> or less clicks. <q>gg</q>',[12,0]),Game.last.pool="shadow",
- new Game.Achievement('Hardcore+','Reach <b>10 billion</b> cookies, with no upgrades. <q>damn this must\'ve been tough</q>',[13,6]),Game.last.pool="shadow",
- new Game.Achievement('Hardcore++','Reach <b>100 billion</b> cookies, with no upgrades. <q>I M P R E S S I V E</q>',[14,6]),Game.last.pool="shadow",
- new Game.Achievement('Cursed','Miss <b>13</b> golden cookies. <q>Come on!</q>',[0,8]),
- new Game.Achievement('You think I\'m just gonna stand there and click it?','Miss <b>313</b> golden cookies. <q>you must be having a bad time by this point</q>',[0,8]),
- new Game.Achievement('Misfortune','Miss <b>1,313</b> golden cookies. <q>this gave me physical pain to imagine anyone getting this</q>',[0,8]),
- new Game.Achievement('Knawledge','Get all research upgrades.',[22,12]),
- new Game.Achievement('Baby\'s First Buff','Get <b>a buff</b>. <q>E for everyone.</q>',[0,10]),
- new Game.Achievement('Act 2','Get <b>2</b> buffs at the same time. <q>Prepare for trouble...and make it double!</q>',[1,10]),
- new Game.Achievement('Synergy','Get <b>3</b> buffs at the same time. <q>Orteil dislikes this post.</q>',[2,10]),
- new Game.Achievement('ANOTHER ONE!','Get <b>4</b> buffs at the same time. <q>nerf this</q>',[3,10]),
- new Game.Achievement('Now THIS IS BREAKING!','Get <b>5</b> buffs at the same time. <q>Thanks flow!.</q>',[4,10]),
- new Game.Achievement('nice try','Ascend with no cookies. <q>no sugar lumps 4 u</q>',[25,15]),Game.last.pool="shadow",
- new Game.Achievement('Demigod Complex','Name yourself <b>HAL989</b>.<q>something something cps loss</q>',[17,5]),Game.last.pool="shadow",
- new Game.Achievement('Quality Control','<b>Thanks for helping with the mod!</b>',[16,5]),Game.last.pool="shadow",
- // alternate reality keys aka the funnest achievements to exist ever which will be added someday
- new Game.Achievement('Lightblue Alternate Reality Key','<b>Have exactly 101 buildings while a golden cookie is on screen.</b> <q>Next: get 2 buffs while wizard towers are at least half of your total buildings.',[66,0,'https://i.imgur.com/3jNJJNw.png']),Game.last.pool="shadow",
- new Game.Achievement('Lightyellow Alternate Reality Key','<b>Have 2 or more buffs while wizard towers are at least half of your total buildings.</b> <q>Next: With gold switch off and frenzy active, click the big cookie.</q>',[66,1,'https://i.imgur.com/3jNJJNw.png']),Game.last.pool="shadow",
- ////////////////////////////////
- // UPGRADES
- ////////////////////////////////
- //Game.NewUpgradeCookie({name:'Grandma\'s Cookies',desc:'I guess we can\'t call this an achievement pack any more.',icon:[1,16,'http://orteil.dashnet.org/cookieclicker/v10466/img/icons.png'],power:4,price:100000000000000000*100,locked:1})
- ]
- ////////////////////////////////
- // LOADING
- ////////////////////////////////
- var code = localStorage.getItem('halsave');
- if (code == null) var code = "a";
- if (code.includes("ap") == true) {Game.Win('Neverclick+');}
- if (code.includes("va") == true) {Game.Win('Neverclick++');}
- if (code.includes("dp") == true) {Game.Win('Hardcore+');}
- if (code.includes("xa") == true) {Game.Win('Hardcore++');}
- if (code.includes("c1") == true) {Game.Win('Kiloclicker I');}
- if (code.includes("c2") == true) {Game.Win('Kiloclicker II');}
- if (code.includes("c3") == true) {Game.Win('Kiloclicker III');}
- if (code.includes("cg") == true) {Game.Win('Double Trouble');}
- if (code.includes("za") == true) {Game.Win('Demigod Complex');}
- if (code.includes("ty") == true) {Game.Win('Quality Control');}
- if (code.includes("no") == true) {Game.Win('nice try');}
- if (code.includes("ez") == true) {Game.Win('Casual');}
- if (code.includes("aw") == true) {Game.Win('Goodbyes are so hard');}
- if (code.includes("ye") == true) {Game.Win('A S C E N D');}
- if (code.includes("dd") == true) {Game.Win('YOAO');}
- if (code.includes("aa") == true) {Game.Win('Knawledge');}
- if (code.includes("bb") == true) {Game.Win('Baby\'s First Buff');}
- if (code.includes("cc") == true) {Game.Win('Act 2');}
- if (code.includes("ee") == true) {Game.Win('Synergy');}
- if (code.includes("ff") == true) {Game.Win('ANOTHER ONE!');}
- if (code.includes("gg") == true) {Game.Win('Now THIS IS BREAKING!');}
- if (code.includes("hh") == true) {Game.Win('It\'s A Feature!');}
- if (code.includes("ii") == true) {Game.Win('You were so close...');}
- if (code.includes("kk") == true) {Game.Win('Maximum Overdrive');}
- if (code.includes("jj") == true) {Game.Win('Seven doesnt look like a number anymore');}
- if (code.includes("kj") == true) {Game.Win('Devoid Cookies');}
- ////////////////////////////////
- // ORDERING (VANILLA)
- ////////////////////////////////
- Game.Achievements['Elder calm'].order=20500
- Game.Achievements['Eldeer'].order=22220
- Game.Achievements['Here you go'].order=11002
- Game.Achievements['Tabloid addiction'].order=11004
- Game.Achievements['Uncanny clicker'].order=11015
- ////////////////////////////////
- // ORDERING (MODDED)
- ////////////////////////////////
- Game.Achievements['It\'s A Feature!'].order=11001
- Game.Achievements['You were so close...'].order=30009
- Game.Achievements['nice try'].order=30008
- Game.Achievements['Baby\'s First Buff'].order=5
- Game.Achievements['Act 2'].order=6
- Game.Achievements['Synergy'].order=7
- Game.Achievements['ANOTHER ONE!'].order=8
- Game.Achievements['Now THIS IS BREAKING!'].order=9
- Game.Achievements['Elder Hibernation'].order=20001
- Game.Achievements['Elder Coma'].order=20002
- Game.Achievements['Knawledge'].order=1153
- Game.Achievements['Pledge of Allegiance'].order=20003
- Game.Achievements['Is 5 percent really all that much?'].order=20004
- Game.Achievements['You better have sacrificial rolling pins by now'].order=20005
- Game.Achievements['Elder Cycle'].order=20006
- Game.Achievements['Elder Loop'].order=20007
- Game.Achievements['Elder Recursion'].order=20008
- Game.Achievements['Elder Infinite'].order=20009
- Game.Achievements['Let\'s just call this Reindeer Clicker'].order=22101
- Game.Achievements['Extinction'].order=22102
- Game.Achievements['Milk N\' Cookies'].order=301001
- Game.Achievements['Half Full'].order=301002
- Game.Achievements['Milked for Progress'].order=301003
- Game.Achievements['All the Milky Way'].order=301004
- Game.Achievements['He needs some milk'].order=301005
- Game.Achievements['Still Thirsty'].order=301006
- Game.Achievements['Lactose Tolerance'].order=301007
- Game.Achievements['Quenched'].order=301008
- Game.Achievements['Pop goes the wrinkler'].order=21001
- Game.Achievements['Wrinkled Away'].order=21002
- Game.Achievements['M O I S T'].order=21003
- Game.Achievements['Any shinies yet?'].order=21004
- Game.Achievements['Neverclick+'].order=11011
- Game.Achievements['Neverclick++'].order=11012
- Game.Achievements['Hardcore+'].order=30501
- Game.Achievements['Hardcore++'].order=30502
- Game.Achievements['Tutorial'].order=32001
- Game.Achievements['Charity'].order=32003
- Game.Achievements['Blessed'].order=32004
- Game.Achievements['Negative Debt'].order=32005
- Game.Achievements['Payload'].order=32006
- Game.Achievements['Big Spender'].order=32007
- Game.Achievements['Profit Maximizer'].order=32008
- Game.Achievements['True Heaven'].order=32010
- Game.Achievements['Maximum Overdrive'].order=32011
- Game.Achievements['Seven doesnt look like a number anymore'].order=32012
- Game.Achievements['Devoid Cookies'].order=32013
- Game.Achievements['Kiloclicker I'].order=1002
- Game.Achievements['Kiloclicker II'].order=1003
- Game.Achievements['Kiloclicker III'].order=1002
- Game.Achievements['Rich in a non-traditional sense'].order=32009
- Game.Achievements['Ever changing seasons'].order=300001
- Game.Achievements['Weekly'].order=300002
- Game.Achievements['Monthly'].order=300003
- Game.Achievements['Global Warming'].order=300004
- Game.Achievements['Hourly'].order=300005
- Game.Achievements['Daily'].order=300006
- Game.Achievements['curse you time machine achievements'].order=300007
- Game.Achievements['oops'].order=10500
- Game.Achievements['Cursed'].order=10501
- Game.Achievements['You think I\'m just gonna stand there and click it?'].order=10502
- Game.Achievements['Misfortune'].order=10503
- Game.Achievements['Double Trouble'].order=10504
- Game.Achievements['Come Again!'].order=30001
- Game.Achievements['Demigod Complex'].order=9900
- Game.Achievements['Quality Control'].order=9901
- Game.Achievements['Frequent Flier'].order=30002
- Game.Achievements['Return to Sender'].order=30003
- Game.Achievements['Casual'].order=10960
- Game.Achievements['A S C E N D'].order=10961
- Game.Achievements['Goodbyes are so hard'].order=10962
- Game.Achievements['YOAO'].order=10963
- Game.Achievements['Beginner Gamer'].order=10990
- Game.Achievements['Novice Gamer'].order=10991
- Game.Achievements['Advanced Gamer'].order=10992
- Game.Achievements['Expert Gamer'].order=10993
- ////////////////////////////////
- // UNLOCKS
- ////////////////////////////////
- Game.customChecks=[
- function(){if (Game.cookieClicks<=15 && (Game.ascensionMode==1 || Game.resets==0) && Game.cookiesEarned>=10000000) Game.Win('Neverclick+')},
- function(){if (Game.cookieClicks<=15 && (Game.ascensionMode==1 || Game.resets==0) && Game.cookiesEarned>=100000000) Game.Win('Neverclick++')},
- function(){if (Game.cookiesEarned>=10000000000 && (Game.ascensionMode==1 || Game.resets==0) && Game.UpgradesOwned==0) Game.Win('Hardcore+')},
- function(){if (Game.cookiesEarned>=100000000000 && (Game.ascensionMode==1 || Game.resets==0) && Game.UpgradesOwned==0) Game.Win('Hardcore++')},
- function(){if (Game.cookieClicks>=1000 && (Game.ascensionMode==1 || Game.resets==0) && Math.floor((Date.now()-Game.startDate)/1000/10)*10/60<=15) Game.Win('Kiloclicker I')},
- function(){if (Game.cookieClicks>=1000 && (Game.ascensionMode==1 || Game.resets==0) && Math.floor((Date.now()-Game.startDate)/1000/10)*10/60<=10) Game.Win('Kiloclicker II')},
- function(){if (Game.cookieClicks>=1000 && (Game.ascensionMode==1 || Game.resets==0) && Math.floor((Date.now()-Game.startDate)/1000/10)*10/60<=5) Game.Win('Kiloclicker III')},
- function(){if (Game.Has('Sacrificial rolling pins') + Game.Has('Elder Pact')==2) Game.Win('Knawledge')},
- function(){if (Game.pledges>=10) Game.Win('Elder Hibernation')},
- function(){if (Object.keys(Game.buffs).length>=1) Game.Win('Baby\'s First Buff')},
- function(){if (Object.keys(Game.buffs).length>=2) Game.Win('Act 2')},
- function(){if (Object.keys(Game.buffs).length>=3) Game.Win('Synergy')},
- function(){if (Object.keys(Game.buffs).length>=4) Game.Win('ANOTHER ONE!')},
- function(){if (Object.keys(Game.buffs).length>=5) Game.Win('Now THIS IS BREAKING!')},
- function(){if (Game.pledges>=15) Game.Win('Elder Coma')},
- function(){if (Game.pledges>=20) Game.Win('Pledge of Allegiance')},
- function(){if (Game.pledges>=25) Game.Win('Is 5 percent really all that much?')},
- function(){if (Game.pledges>=30) Game.Win('You better have sacrificial rolling pins by now')},
- function(){if (Game.pledges>=35) Game.Win('Elder Cycle')},
- function(){if (Game.pledges>=40) Game.Win('Elder Loop')},
- function(){if (Game.pledges>=45) Game.Win('Elder Recursion')},
- function(){if (Game.pledges>=50) Game.Win('Elder Infinite')},
- function(){if (Game.reindeerClicked>=250) Game.Win('Let\'s just call this Reindeer Clicker.')},
- function(){if (Game.reindeerClicked>=400) Game.Win('Extinction')},
- function(){if (Game.milkProgress>=2) Game.Win('Milk N\' Cookies')},
- function(){if (Game.milkProgress>=4) Game.Win('Half Full')},
- function(){if (Game.milkProgress>=6) Game.Win('Milked for Progress')},
- function(){if (Game.milkProgress>=8) Game.Win('All the Milky Way')},
- function(){if (Game.milkProgress>=10) Game.Win('He needs some milk')},
- function(){if (Game.milkProgress>=12) Game.Win('Still Thirsty')},
- function(){if (Game.milkProgress>=14) Game.Win('Lactose Tolerance')},
- function(){if (Game.milkProgress>=16) Game.Win('Quenched')},
- function(){if (Game.wrinklersPopped>=250) Game.Win('Pop goes the wrinkler')},
- function(){if (Game.wrinklersPopped>=300) Game.Win('Wrinkled Away')},
- function(){if (Game.wrinklersPopped>=400) Game.Win('M O I S T')},
- //function(){if Game.TickerClicks>=5) Game.Win('Let\'s Get Right Into The News')
- function(){if (Game.wrinklersPopped>=500) Game.Win('Any shinies yet?')},
- function(){if (Game.heavenlyChipsSpent>=7) Game.Win('Tutorial')},
- function(){if (Game.heavenlyChipsSpent>=77) Game.Win('Welcome Back')},
- function(){if (Game.heavenlyChipsSpent>=777) Game.Win('Charity')},
- function(){if (Game.heavenlyChipsSpent>=7777) Game.Win('Blessed')},
- function(){if (Game.heavenlyChipsSpent>=77777) Game.Win('Negative Debt')},
- function(){if (Game.heavenlyChipsSpent>=777777) Game.Win('Payload')},
- function(){if (Game.heavenlyChipsSpent>=7777777) Game.Win('Big Spender')},
- function(){if (Game.heavenlyChipsSpent>=77777777) Game.Win('Profit Maximizer')},
- function(){if (Game.heavenlyChipsSpent>=777777777) Game.Win('True Heaven')},
- function(){if (Game.heavenlyChipsSpent>=7777777777) Game.Win('Maximum Overdrive')},
- function(){if (Game.heavenlyChipsSpent>=77777777777) Game.Win('Seven doesnt look like a number anymore')},
- function(){if (Game.heavenlyChipsSpent>=777777777777) Game.Win('Devoid Cookies')},
- function(){if (Game.seasonUses>=4) Game.Win('Ever changing seasons')},
- function(){if (Game.seasonUses>=7) Game.Win('Weekly')},
- function(){if (Game.seasonUses>=12) Game.Win('Monthly')},
- function(){if (Game.seasonUses>=16) Game.Win('Global Warming')},
- function(){if (Game.seasonUses>=24) Game.Win('Hourly')},
- function(){if (Game.seasonUses>=31) Game.Win('Daily')},
- function(){if (Game.seasonUses>=40) Game.Win('curse you time machine achievements')},
- function(){if (Game.resets>=150) Game.Win('Come Again!')},
- function(){if (name=='hal989') Game.Win('Demigod Complex')},
- function(){if (Game.shimmerTypes['golden'].n>=2) Game.Win('Double Trouble')},
- function(){if (name=='aktan') Game.Win('Quality Control')},
- function(){if (name=='xo') Game.Win('Quality Control')},
- function(){if (name=='flow') Game.Win('Quality Control')},
- function(){if (name=='chroma') Game.Win('Quality Control')},
- function(){if (name=='jasper83yt') Game.Win('Quality Control')},
- function(){if (name=='good hunter') Game.Win('Quality Control')},
- function(){if (name=='AdmiralA') Game.Win('Quality Control')},
- function(){if (Game.resets>=200) Game.Win('Frequent Flier')},
- function(){if (Game.resets>=250) Game.Win('Return to Sender')},
- function(){if (Game.missedGoldenClicks>=3) Game.Win('oops')},
- function(){if (Game.missedGoldenClicks>=13) Game.Win('Cursed')},
- function(){if (Game.missedGoldenClicks>=313) Game.Win('You think I\'m just gonna stand there and click it?')},
- function(){if (Game.missedGoldenClicks>=1313) Game.Win('Misfortune')},
- function(){if (Math.floor((Date.now()-Game.startDate)/1000/10)*10/60/60/24>=1) Game.Win('Casual')},
- function(){if (Math.floor((Date.now()-Game.startDate)/1000/10)*10/60/60/24>=7) Game.Win('A S C E N D')},
- function(){if (Math.floor((Date.now()-Game.startDate)/1000/10)*10/60/60/24>=14) Game.Win('Goodbyes are so hard')},
- function(){if (Math.floor((Date.now()-Game.startDate)/1000/10)*10/60/60/24>=30) Game.Win('YOAO')},
- function(){if (!Game.fullDate || (Date.now()-Game.fullDate)>=7*24*60*60*1000) Game.Win ('Beginner Gamer')},
- function(){if (!Game.fullDate || (Date.now()-Game.fullDate)>=14*24*60*60*1000) Game.Win ('Novice Gamer')},
- function(){if (!Game.fullDate || (Date.now()-Game.fullDate)>=30*24*60*60*1000) Game.Win ('Advanced Gamer')},
- function(){if (!Game.fullDate || (Date.now()-Game.fullDate)>=90*24*60*60*1000) Game.Win ('Expert Gamer')},
- function(){if (name.slice(-1).toLowerCase()=='s') Game.Win ('It\'s A Feature!')},
- /////////////////////////////
- // TIERED STUFF
- /////////////////////////////
- function(){var grandmas=0;
- var plain=0;
- var berrylium=0;
- var blueberrylium=0;
- var chalcedhoney=0;
- var buttergold=0;
- var sugarmuck=0;
- var jetmint=0;
- var cherrysilver=0;
- var hazelrald=0;
- var mooncandy=0;
- var astrofudge=0;
- var alabascream=0; //only 3 upgrades currently exist in this tier so unfortunately no achievement yet
- // CHECKING PLAIN UPGRADES
- //if (Game.Has('Reinforced index finger')) plain++
- //if (Game.Has('Plastic mouse')) plain++
- //if (Game.Has('Forwards from grandma')) plain++
- //if (Game.Has('Cheap hoes')) plain++
- //if (Game.Has('Sturdier conveyor belts')) plain++
- //if (Game.Has('Taller tellers')) plain++
- //if (Game.Has('Golden idols')) plain++
- //if (Game.Has('Pointier hats')) plain++
- //if (Game.Has('Vanilla nebulae')) plain++
- //if (Game.Has('Ancient tablet')) plain++
- if (Game.Has('Farmer grandmas')) grandmas++;
- if (Game.Has('Worker grandmas')) grandmas++;
- if (Game.Has('Miner grandmas')) grandmas++;
- if (Game.Has('Cosmic grandmas')) grandmas++;
- if (Game.Has('Transmuted grandmas')) grandmas++;
- if (Game.Has('Altered grandmas')) grandmas++;
- if (Game.Has('Grandmas\' grandmas')) grandmas++;
- if (Game.Has('Antigrandmas')) grandmas++;
- if (Game.Has('Rainbow grandmas')) grandmas++;
- if (Game.Has('Banker grandmas')) grandmas++;
- if (Game.Has('Priestess grandmas')) grandmas++;
- if (Game.Has('Witch grandmas')) grandmas++;
- if (Game.Has('Lucky grandmas')) grandmas++;
- //if (grandmas>=13) Game.Unlock('Family Reunion')}, //haha look what i did, reusing code and stuff
- //////////////////////////////////////////////////////////////////
- // CALCUATING MODDED CPS, SOMETHING I WISH ORTEIL MADE EASIER
- //////////////////////////////////////////////////////////////////
- //function(){var moddedcps=0;
- var moddedmultiplier=0;
- var totalcps=0;
- var gainedcookies=0;
- //if (Game.Has('Grandma\'s Cookies')) var moddedmultiplier=+1.04
- //var totalcps= Game.cookiesPs+moddedcps;
- //var gainedcookies = moddedmultiplier * totalcps
- //var gainedcookies=+moddedcps
- //var finalizedcps = gainedcookies/Game.fps;
- if (debug) Game.Popup('You have earned ' + finalizedcps + ' cookies this frame!');},
- ]
- ////////////////////////////////
- // MOD INSTALLED NOTIFICATION
- ////////////////////////////////
- Game.Win('Third-party')
- Game.Notify('Mod Installed!','Enjoy!',[16,5]);
- ////////////////////////////////
- // AUTOSAVE
- ////////////////////////////////
- function SaveHalData()
- {
- x = 15; // once every minute
- savecode = ["|"]
- if (Game.HasAchiev('Neverclick+')){savecode.push("ap");}
- if (Game.HasAchiev('Neverclick++')){savecode.push("va");}
- if (Game.HasAchiev('Hardcore+')){savecode.push("dp");}
- if (Game.HasAchiev('Kiloclicker I')){savecode.push("c1");}
- if (Game.HasAchiev('Kiloclicker II')){savecode.push("c2");}
- if (Game.HasAchiev('Kiloclicker III')){savecode.push("c3");}
- if (Game.HasAchiev('Double Trouble')){savecode.push("cg");}
- if (Game.HasAchiev('Hardcore++')){savecode.push("xa");}
- if (Game.HasAchiev('Demigod Complex')){savecode.push("za");}
- if (Game.HasAchiev('Quality Control')){savecode.push("ty");}
- if (Game.HasAchiev('nice try')){savecode.push("no");}
- if (Game.HasAchiev('YOAO')){savecode.push("dd");}
- if (Game.HasAchiev('A S C E N D')){savecode.push("ye");}
- if (Game.HasAchiev('Goodbyes are so hard')){savecode.push("aw");}
- if (Game.HasAchiev('Casual')){savecode.push("ez");}
- if (Game.HasAchiev('Knawledge')){savecode.push("aa");}
- if (Game.HasAchiev('Baby\'s First Buff')){savecode.push("bb");}
- if (Game.HasAchiev('Act 2')){savecode.push("cc");}
- if (Game.HasAchiev('Synergy')){savecode.push("ee");}
- if (Game.HasAchiev('ANOTHER ONE!')){savecode.push("ff");}
- if (Game.HasAchiev('Now THIS IS BREAKING!')){savecode.push("gg");}
- if (Game.HasAchiev('It\'s A Feature!')){savecode.push("hh");}
- if (Game.HasAchiev('You were so close...')){savecode.push("ii");}
- if (Game.HasAchiev('Seven doesnt look like a number anymore')){savecode.push("jj");}
- if (Game.HasAchiev('Maximum Overdrive')){savecode.push("kk");}
- if (Game.HasAchiev('Devoid Cookies')){savecode.push("kj");}
- var outputcode = savecode.join("|");
- localStorage.setItem('halsave', outputcode);
- setTimeout(SaveHalData, x*1000);
- }
- ////////////////////////////////
- // RUNNING FUNCTIONS
- ////////////////////////////////
- SaveHalData();
- ////////////////////////////////
- // MISC/OTHER COOL STUFF
- ////////////////////////////////
- console.log("A Dozen Cookies V2.5.3 By HAL989");
Add Comment
Please, Sign In to add comment