zyzzyzus

extra info in stats menu

Apr 10th, 2014
589
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var hcsthsg = function()
  2. {
  3. with(Game)
  4.  {
  5.   return HowMuchPrestige(cookiesEarned+cookiesReset) - prestige['Heavenly chips'];
  6.  }
  7. }
  8.  
  9. TcookiesSucked = function()
  10. {
  11. return Beautify(Game.wrinklers.reduce(function(p,c){return p + 1.1*c.sucked * (1 + 0.05*Game.Has('Wrinklerspawn'))},0))
  12. }
  13.  
  14. if (!statsdone)
  15. {
  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'))
  17.  var statsdone = true
  18. }
Advertisement
Add Comment
Please, Sign In to add comment