SHOW:
|
|
- or go back to the newest paste.
| 1 | var synchelp = function(){
| |
| 2 | with(Game){
| |
| 3 | return Math.abs(seasonPopup.time - goldenCookie.time)}} | |
| 4 | - | {
|
| 4 | + | var wrinksucktot = function() |
| 5 | - | return HowMuchPrestige(cookiesEarned+cookiesReset) - prestige['Heavenly chips']; |
| 5 | + | |
| 6 | - | } |
| 6 | + | totalsucked=0 |
| 7 | with(Game) | |
| 8 | {
| |
| 9 | - | TcookiesSucked = function() |
| 9 | + | for (i in wrinklers) |
| 10 | {
| |
| 11 | - | return Beautify(Game.wrinklers.reduce(function(p,c){return p + 1.1*c.sucked * (1 + 0.05*Game.Has('Wrinklerspawn'))},0))
|
| 11 | + | totalsucked+=wrinklers[i].sucked |
| 12 | } | |
| 13 | } | |
| 14 | - | if (!statsdone) |
| 14 | + | totalsucked*=1.1 |
| 15 | return totalsucked | |
| 16 | - | eval('Game.UpdateMenu='+Game.UpdateMenu.toString().replace('\'<div class="listing"><b>Cookies','\'<div class="listing"><b>Total cookies in wrinklers :</b> <div class="price plain">\' + TcookiesSucked() + \'</div></div>\'+\'<div class="listing"><b>HCs earned this game :</b> <div class="price plain">\' + Beautify(hcsthsg()) + \'</div></div>\' + \'<div class="listing"><b>Cookies'))
|
| 16 | + | |
| 17 | - | var statsdone = true |
| 17 | + | |
| 18 | var hcsthsg = function() | |
| 19 | {
| |
| 20 | with(Game){
| |
| 21 | return HowMuchPrestige(cookiesEarned+cookiesReset) - prestige['Heavenly chips']; | |
| 22 | } | |
| 23 | } | |
| 24 | if (!statsdone) | |
| 25 | {
| |
| 26 | eval('Game.UpdateMenu='+Game.UpdateMenu.toString().replace('\'<div class="listing"><b>Cookies','\'<div class="listing"><b>Total cookies in wrinklers :</b> <div class="price plain">\' + Beautify(wrinksucktot()) + \'</div></div>\'+\'<div class="listing"><b>HCs earned this game :</b> <div class="price plain">\' + Beautify(hcsthsg()) + \'</div></div>\' + <div class="listing"><b>Golden cookie&deer timer:</b> <div class="price plain">\' + Beautify(synchelp()) + \'</div></div>\' + \'<div class="listing"><b>Cookies'))
| |
| 27 | var statsdone = 1 | |
| 28 | } |