from base64 import b64encode # Please note: # This does not *add* these to your save, rather it just # creates a new game with X amount of items/cookies you want, # it will reset your achievements and upgrades. # Cheat at cookie clicker (http://orteil.dashnet.org/cookieclicker/) # How to use this: # After this is downloaded it as cc.py (cc can be anything, I chose cc for Cheat Cookies), run # it in CMD if you have winblows, or Terminal if you have GNU/linux with the command: # python cc.py # Enter the amount of items you want, and then take the save string it gives you # And put it into "Import save", under Menu in cookie clicker. # Enjoy! # Gather cookie information start_cookies = raw_input("Enter number of cookies you wish to start out with: ") cookies_per_click = raw_input("Enter cookies per click you want: ") cookie_clicks = raw_input("Enter total cookie clicks (Doesn't give you these cookies, only for achievements): ") all_time_cookies = raw_input("Enter all-time cookies baked (Doesn't give you these cookies, only for achievements): ") golden_clicks = raw_input("Enter golden cookie clicks (Doesn't give you these golden cookies, only for achievements): ") hand_made_cookies = raw_input("Enter hand-made cookies (Doesn't give you these cookies, only for achievements): ") # Gather building information clickers = raw_input("Enter number of Clickers you want: ") grandmas = raw_input("Enter number of Grandmas you want: ") farms = raw_input("Enter number of Farms you want: ") factories = raw_input("Enter number of Factories you want: ") mines = raw_input("Enter number of Mines you want: ") shipments = raw_input("Enter number of Shipments you want: ") alchemy_labs = raw_input("Enter number of Alchemy Labs you want: ") portals = raw_input("Enter number of Portals you want: ") time_machines = raw_input("Enter number of Time Machines you want: ") antimatter_condensers = raw_input("Enter number of Antimatter Condensers you want: ") cheat_save=b64encode("1.036||1379454477565|110111|%s;%s;%s;%s;%s;0;-1;-1;0;0;0;0;0;0|%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;%s,0,0,0;|2251799813685249;2251799813685249;2251799813685249;2251799813685249;524289|2251799813685249;8796093022209" % (start_cookies, all_time_cookies, cookie_clicks, golden_clicks, hand_made_cookies, clickers, grandmas, farms, factories, mines, shipments, alchemy_labs, portals, time_machines, antimatter_condensers)) print "Please enter the following into Menu > Import save:" print cheat_save exit(0)