1234abcdcba4321

Java stuffies: Basic mod

Apr 24th, 2014
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var synchelp = function(){
  2. with(Game){
  3. return Math.abs(seasonPopup.time - goldenCookie.time)}}
  4. var wrinksucktot = function()
  5. {
  6. totalsucked=0
  7. with(Game)
  8. {
  9. for (i in wrinklers)
  10. {
  11. totalsucked+=wrinklers[i].sucked
  12. }
  13. }
  14. totalsucked*=1.1
  15. return totalsucked
  16. }
  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. }
Advertisement
Add Comment
Please, Sign In to add comment