How to get there

If it works, the console will appear at the bottom of your screen. Click to enlarge.

To get to the console, simply follow these keyboard directions, based on which browser you use:

  • Chrome: Press Ctrl. + Shift + JOr: Crtl. + Shift + IOr: F12
  • Safari: Press Ctrl. + Alt + C                                         or Command + Option + C
  • Internet Explorer 9: Press F12, then click the ‘Console’ tab
  • Firefox: Press Ctrl. + Shift + KOr (if Firebug is installed): Press F12, then click the ‘Console’ tab
  • Opera Press Ctrl. + Shift + I
What you can do

An impressive array of things can be changed to the player’s liking. This is useful for if the player wants to beat the game quicker, or just play around.


Helper on September 12, 2018:

You can also buy the sorceress hat for 1 billion lollipops!

MagnaSHAKE on April 28, 2018:

At the Berserk Potion it says »Bour the brew into bottles» and at the Anti-Gravity Potion it says »Pout the brew into bottles»

brianna on February 24, 2018:

took me around 30 minutes to beat giant teapot using red enchanted glove scythe knight body armor merchants hat and boots of introspection I used 2 pains au chocolat to improve spell &potion countdowns and a black hole have xinopheridom claw and all the colored fins

brianna on February 24, 2018:

instead of fighting the knights on castle gate used rocket boots flew over them. I solved the puzzle myself it’s pretty simple just use trial and error then you get to a point where u don’t have to reset after a wrong move.

wootwoot on July 19, 2017:

you must wear a non enchanted octopus king crown

userofcandybox on June 02, 2017:

how do I win the battle with the x potion? I keep dying even with the octopus crown and health potions. Any advice?

Sabian on April 14, 2017:

When I fight myself thru the x potion, I can’t gte the boots of introspection because I die. How do i solve this problem?

People on March 16, 2017:

Hey , umm how do you go into places, like the shop or the forge, on this game ? I just started playing it and can’t figure it out.

Kevin on November 25, 2016:

The hole is easy, All you need is the pogo, feather and teleportation spell, use the teleportation when you cant get out of certain situations.

Whathashappenedtomylife on January 18, 2014:

I personally found the Black Demon spell to be more useful against the giant teapot than the Fireball spell. Just make sure you won’t die from the wave of demons when they pass by.

someguy on December 27, 2013:

they are always there

pk7 on December 22, 2013:

Unfortunately I’ve bought the advanced grimoire first. Now I have both, but how can I switch between them? I’d like to make the teleport spell (beginners grimoire).

ShadowCreations on December 07, 2013:

the strange stones are a map. Can you solve it? xD (SPOILER: It stands for a treasure map, under one of the trees close to the village

Cleverbot on December 02, 2013:

In the cave, what do the strange stones do?

Shiki on November 18, 2013:

The witches hat boosts your potion and spell power

Tine on November 16, 2013:

What does the hat of the witch?

You can buy her hat for 1 000 000 000.

leeker on November 16, 2013:

it took me more than 4 hours to destroy the giant teapot

Yupei on November 15, 2013:

Leather boots do not upgrade to anything. The arcade games give huge payout if you get to a certain score threshold. Fireball gloves make short work of the ogre. Turtle potion is recommended to bet octopus. Use antigravity potion to get over spike in hole. Use tribal spear instead of octopus crown to get rocket boots-it’s much easier using the warriors because they run straight, octopus can spawn moving either way. Rocket boots are unnecessary against the ceiling spider. Unequip everything and just walk over the eggs, the spider does not aggro if you walk on them.

Don’t bother getting the mill or alligators. They’re a waste of resources.

Source: I wrote the first speedrun guide, and had a conversation with the developer, mainly about arcade strategies.

Yupei on November 15, 2013:

Shell powder is not obtained by killing a shark. Keep your eyes on the sea floor and you’ll run across a «shell» like hung made up of asterisks.

BEEZKNEEZ on November 11, 2013:

Thanks for the candy box walk through. This was very useful.

The Forest

BIG difficulty jump here. You’re facing a combination of strong wolves, ranged tree spirits, and irritating mosquitoes. To get through with relative ease you’ll need several magical items. Use the Magical Sponge to shrink below the shots of the tree spirits, then equip the Octopus King Crown with Jaspers and the Monkey Wizard Staff (Enchanted). The shots you fire off constantly should slaughter virtually everything in your way, as well as keep those stupid mosquitoes from annoying you too much. Beating The Forest will unlock the Castle Entrance and The Hole, just east of the Castle.

Care for a ton of candy? Equip the Boots of Introspection and Jump your way to the far end of the screen. If you sit at the spawn point with these items equipped you’ll constantly slaughter enemies without being touched yourself. Leave this for a while, and, yeah. Candyyyyy!

«Throw 10 Candies on the Ground»

This is an innocuous enough option, but in this game, it serves a purpose. Constantly hurl candies onto the floor and you’ll send a smiley on a long, circuitous journey. Keep doing it and you’ll eventually earn a chocolate bar. Eventually, your little guy will discover a cornucopia of candy; but you won’t get much more out of him past that, so don’t bother. (And don’t do it right at the beginning.)

Wait long enough and you’ll unlock the following options:

  • Request a new feature from the developer (30 C) — Unlocks Status Bar
  • Request another one (5 C) — Unlocks Configuration Tab
  • Request once again (5 C) — Unlocks Saving
  • Request for something more exciting (5 C) — Unlocks your health bar
  • Final request! (10 C) — Unlocks the Map

Post-Game Content

After opening the Candy Box, you’ll unlock a few new menu items.

  • Inside Your Box!: See for yourself.
  • The Computer: Allows you to enter a variety of commands to see what will happen. Here’s a full list of things you can enter. Most of the commands give you simple, silly responses.
  • The Arena: This section contains a few custom areas created by outside programmers. Not many as of this writing, but that’s sure to change with time. You can also use this page to access Candy Box 2’s Hard Mode. I assume you can play it before beating the game, but I recommend you try the normal game first.

And, uh, that’s pretty much it. Huzzah! All that’s left . . .

It’s time to get cooking.

Boss info[]

The first text, «HELLO», is made of magic balls that deal 20 damage per hit.

The second text, «I’M GLAD YOU MADE IT THIS FAR», deals 32 damage per magic ball.

The third text, «<3», deals 9,999,999,999,999 damage per magic ball.

The Developer has 1,000,000,000 HP, but takes 60,000-70,000 (random) times base damage.

If the player uses black magic, Black Hole, or Erase Magic, a black hole will be formed at the player’s location, dealing 5000 damage per hit. Teleport can dodge the Black Hole, but spell cooldown prevents Teleport from being used right after another spell, so it can only be used after your own Black Hole. The Developer’s Black Hole will damage himself.

The Developer drops 6,000,000 candies upon defeat, and logs the message, «You managed to beat me. Congratulations :)».

When he dies, he drops the The Y stone.

Bug Levels

Bug Level 1 — 1 mlp

You are awarded 1-3 chocolate bars. This bug has a chance of failing as well.


  • (25% chance) «You found 1 chocolate bar !!»
  • (25% chance) «You found 2 chocolate bars !!! \o/»
  • (25% chance) «You found 3 chocolate bars !!!!! \o/ \o/ \o/ \o/»
  • (25% chance) «There’s a bug with the bug, it didn’t worked :/»

Bug Level 2 — 10 mlp

This bug can increase the production limit of your lollipop farm:

  • (33% chance) Raises the limit to 10,000 lollipops per second. This requires having approximately 1,729,000 (1,728,123) lollipops planted. This only lasts until you next load your game.
    • However, if you activate the bug again, you do not need to replant the lollipops.
    • Furthermore, using this bug multiple times does not increase the production limit of your lollipop farm past 10,000 lollipops per second.
  • (33% chance) You meet a shoemaker, journalist, translator, student, writer, vet, farmer, fireman, butcher, reporter, monk, priest, architect, or electrician who will give you a random amount of candy from 2 to 50,000,002 (50 million and 2).
  • (33% chance) You pick up all your candies from the floor.


  • «The production limit of your lollipop farm has increased ! (*)»
  • «You picked up all candies you have thrown on the floor. (0)»
  • «You met a translator. He gave you 38197452 candies !»

Bug Level 3 — 100 mlp

  • (33% chance) You gain a Sword of Liflamesummoning (50% chance) or nothing (50%) chance). If you already own either a Sword of Liflamesummoning or Sword of Randomness, nothing happens.
  • (33% chance) The number of candies owned is multiplied by 3.
  • (33% chance) If you own an enchanted sword (any sword with a level), it may either lose 3 levels (14.2% chance) or gain 1 level (85.7% chance). If you don’t own an enchanted sword, nothing happens.


  • «Your candies were multiplied by 3 !»
  • «The level of your sword increased by 1 !»
  • «You found a new sword : the Sword of Liflamesummoning !»
  • «Your sword lost 3 levels.»
  • «There’s a bug with the bug, it didn’t work :/»

Bug Level 4 — 1 blp

No result occurs from bug level 4, as it is classified as illegitimate.


«Fake bug ! I guess you’ll need 10000 mpl :)»

Bug Level 5 — 10 blp

  • (50% chance) Everyone in the quests becomes a pony, albeit ponies with the same life, damage, weapon, and behaviours. If «ponyTime» is in effect, nothing happens. This effect only lasts until you next load the game.
  • (50% chance) You gain a Sword of Randomness. If you already own a Sword of Randomness, nothing happens.

If both the sword and the pony effect are active, this bug will always say that it didn’t work.


  • «It’s pony time !! Everyone is a pony now ! (*)»
  • «You found a new sword : the Sword of Randomness !»
  • «There’s a bug with the bug, it didn’t work :/»

Bug Level 6 — 100 blp

No result occurs from bug level 6. The information within is displayed automatically when you reach the lollipop threshold.

«No level 6 bug, sorry 🙁 (maybe level 7 ?)»

Bug Level 7 — 1 tlp

No result occurs from bug level 7. The information within is displayed automatically when you reach the lollipop threshold.

«Crap, no level 7 bug either :s Don’t give up !»

Bug Level 8 — 10 tlp

No result or message occurs from bug level 8. The information within is displayed automatically when you reach the lollipop threshold. With the passing of the threshold the and options are unlocked.

«Welcome to the bug factory !

You now have access to the entire computer, and you can therefore create your own bugs.»

What to do

The player cannot use the Javascript/Developer’s Console like they could in Candy Box. Instead, they can use the save tab. For example, click the «Get the current game as text» option at the Save tab. You should notice a lot of «true»s and «false»s. These basically mean whether or not you have done something. Take the part «bool gridItemPossessedMainMap=false» as an example. If you’ve just started the game and haven’t even defeated the Rats in the cellar, you will, of course, not have the world map. However, change «false» to «true». Then, copy the code, and paste it into the «Load» box. Click load, and you’ll notice you can view the world map despite not defeating the rats. This is because, by change «false» to «true», you told the game you possess the world map, and it behaves as such.


Additionally, you can change items. Say, for example, you want a better weapon, better armor, etc. Determine the weapon/armor you want, then locate the line of code it is in after clicking «Get the current game as text» by pressing Ctrl + F to bring up a search bar for the page. For simplicity, you should have at least bought the Wooden sword. So, if you want the monkey wizard staff, find the «eqItemWeaponEnchantedMonkeyWizardStaff» code, and change «=false» to «=true.» Then, simply copy all of the code in the box, and paste it into the Load box and click «Load.» You can then go the Inventory tab and equip your new weapon!

Armors work the same way. If you want the Knight body armour, locate the «bool eqItemBodyArmoursKnightBodyArmour» code (via the search bar brought up with Ctrl + F) and change «=false» to «=true», then copy and paste all the code in the box into Load box. The armor can now be equipped from the Inventory tab.


To restock some of the materials in the game (candies, lollipops, chocolate bars, and pains au chocolat), simply overwrite some of the data in the «current game as text,» and enjoy!

For candies, you’ll just need to change up some numbers. Let’s say you’re in a lazy mood today, and want a lot of candies. Click «Get the current game as text», and locate the line «number gameCandiesCurrent=X». Just change the number of the code line to however many you want (if you want 9,999 candies, change all three numbers to 9999; no commas).

Lollipops and chocolate bars are basically the same thing. Locate the lines «number gameLollipopsCurrent=X» and «number gameChocolateBarsCurrent=X» (they’re right after the candies bit). Like with candies, just change the numbers already there to whatever amounts you want. Pains au chocolat work the same way; simply overwrite the data already there to whatever you wish to have.

The Sea

This is a strange place. Unlike most quests, you can navigate up and down to hit (or avoid) enemies. The enemies get gradually tougher as you go along, to the point that you’ll eventually face seahorse-ish foes that fire at you from a distance. (You can easily avoid their shots by scraping the bottom.) The main reason to undergo this journey is to find a Magical Sponge, located on the seafloor. The Sponge allows you to squeeze yourself down to a smaller size, wherein you can dodge incoming shots more easily.

Return to The Sea once you have some more powerful items, or more HP in general. The further you go, the stronger the enemies become, to the point that you’ll eventually be facing sharks. Kill one to get a Shell Powder, which will triple the output of your lollipops. Egads! (Just avoid the sea serpents, you can’t kill them.)

Come back yet again once you’re strong enough to easily withstand the sharks— probably near the end of the game—and eventually, you’ll see three rare sharks with coloured fins. Kill them and you’ll get these items in this order: the Magical Red, Green, and Purple Shark Fins. The Red Fin upgrades your Fireball spell; the Green Fin multiplies your lollipop production by another five times; the Purple Fin gives you the Black Hole spell. The first two won’t take that long to find, but the Purple Fin requires a lot of swimming and killing to locate.

A BIG difficulty jump here.


Here’s a bit of potion-making. Once you get the Cauldron from the witch, you’ll unlock brewing, which allows you to create a series of potions using recipes outlined in the instruction manual. All are handy in their own way, though unlike the first game you aren’t hobbled horribly if you don’t rely too much on potions. (Most of the time, anyway.)

Listed below are descriptions of each of the potions, and how they’re made. Note that you can multiply the number of ingredients listed to make multiple potions in a single brewing. The only exception is the X Potion, which must be made one-at-a-time.

Health Potion

Simple and important, the Health Potion restores your HP when used during a quest. They are always useful.

  • Put a minimum of 100 candies in the cauldron.
  • Mix for five seconds.
  • Put the brew into bottles.

Turtle Potion

Another returning player for the first Candy Box, the Turtle Potion transforms you into a turtle for a little while. You move much more slowly, but you’re also highly resistant to attacks.

  • Place 50 candies and 500 lollipops in the cauldron.
  • Mix for 10 seconds.
  • Stop mixing.
  • Add 50 more candies.
  • Mix for five more seconds.
  • Pour the brew into bottles.

Anti-Gravity Potion

Ooo, negation of physics. Drinking the Anti-Gravity Potion will cause your little guy to ignore gravity for a few seconds and safely fly over pits. He will also continue to float at the top of a jump until the potion wears off. This is only really helpful until you get the Rocket Boots, after which the Anti-Gravity Potion is kinda useless.

  • Put 1,000 candies in the cauldron.
  • Boil the cauldron until it is lukewarm.
  • Stop heating.
  • Add another 1,000 candies.
  • Heat again, but this time go all the way into the boiling point.
  • Pout the brew into bottles.

Berserk Potion

Mmmm, extra attack power. The Berserk Potion eats up half your health upon use, but the tradeoff is that you become an unstoppable killing machine for a little while. So long as you have a solid regeneration cycle, the Berserk Potion is a huge boon to late-game battles.

  • Add 20,000 lollipops to the cauldron.
  • Mix until your arms start to hurt. (Yes, this is a prompt that comes up. It takes a full minute of stirring.)
  • Bour the brew into bottles.

If you go against the instructions and add at least a single candy to the mix you’ll get a Cloning Potion instead. This will create an exact copy of your player to battle alongside you, though at a greatly reduced amount of power.

P Potion

The first few P Potions you drink will likely be beneficial, restoring health. Keep going, though, and a more extreme random element will step in, sometimes stealing health, sometimes casting random spells, sometimes transforming you into a turtle. You can never tell exactly what will happen. My only advice is that you not use a P Potion while wandering about as a turtle, since the effects are never good.

  • Add 500 candies to your cauldron.
  • Mix for four or five seconds.
  • Stop mixing.
  • Add a number of candies equivalent to the number of seconds for which you mixed. If you mixed for four seconds, add 400 candies. Mix for five, add 500 candies.
  • Boil the cauldron until it is lukewarm.
  • Stop boiling.
  • Add a supply of lollipops. I add the same number of lollipops as candies in the fourth step, and it always works; not sure if that’s required, however.
  • Mix for five seconds.
  • Put the potion into bottles.

X Potion

The X Potion is a potion of legend, and ostensibly the most difficult to brew, given its cryptic directions. Fortunately, it’s not that difficult to create.

  • Put one candy in the Cauldron. Hit Boil, then immediately hit Stop. You need to stop it while the water is still cold.
  • Do this three more times.
  • Put one lollipop in the Cauldron. Heat the Cauldron all the way to boiling.
  • Pour the potion into bottles. Instant X Potion!

The X Potion is unique in that it will teleport you to a battle with yourself upon consumption. You cannot win this battle unless you’re wearing the Octopus King Crown. Defeat yourself and you’ll earn the Boots of Introspection, which stops you from moving when you enter a quest. This is much handier than it sounds. You’ll also earn one-tenth of your current candies, which can add up to a ton of candies late in the game.

Wishing Well

The Wishing Well is a fun little feature in Candy Box 2. Toss a candy in it and you’ll instantly heal your wounds, which is much better than waiting for them to heal on their own. Each time you use this feature the number of candies needed to heal you jumps up, though, so don’t waste this insta-healing frivolously.

You can also toss a lollipop in the well. The well will then convert your lollipop into a candy. Each time you do this you’ll gain the option to toss in more lollipops at a higher price; you’ll get half as many candies as the number of lollipops you toss in. Not bad.

You can throw chocolate bars in the well. These allow you to upgrade your items into magical items. These gloves have different properties.

  • Gloves change into Pink or Red Enchanted Gloves. Pink Enchanted Gloves do will restore your health constantly when worn; Red Enchanted Gloves will randomly launch fireballs at opponents while you’re on quests.
  • The Octopus King Crown changes into the Octopus King Crown with Jaspers or the Octopus King Crown with Obsidian. Jaspers launch large fireballs randomly from you; Obsidian will summon an Octopus King to help you out occasionally. Both are pretty groovy.
  • The Monkey Wizard Staff changes into the Monkey Wizard Staff (Enchanted). This version will fire spells off with greater frequency.
  • The Tribal Spear changes into the Summoning Tribal Spear. It will summon tribal warriors to help you in your travels.
  • Knight Body Armor turns into Enchanted Knight Body Armor. Your resistance increases considerably, but your attack damage is cut in half. Hm.
  • The Giant Spoon upgrades to the Giant Spoon of Doom. It hits very hard but does so at an incredibly reduced rate of fire.

Last, you can heave Pain Au Chocolats into the well. Doing so will grant you a boost to your Power, Magic, or Health. All three are cumulative and well worth the loss of a chocolate.

The Desert Fortress

Look familiar? As soon as you set foot in the Desert Fortress, you’ll see three doorways. Each leads to something different.

  • The left doorway leads to a room with a whole lot of platforms. You can hop your way through it, but you’ll have an easier time if you wait until after you get an item from the right doorway. On the lower path you’ll find a Unicorn Horn in a chest; on the upper path is a monster that you can kill for a Xinopherydon Claw. The Horn increases your healing powers, while the Claw doubles the attack strength of whatever weapon you’re using.
  • The middle doorway leads to a giant teapot with a ridiculous amount of health. The only thing you can do is sit and wail away on it until it’s gone. I recommend waiting until you have the Scythe, the Octopus King’s Crown with Obsidian, the Xinopherydon Claw, and a ton of Berserker Potions. Cast Fireballs whenever you think of it to expedite the process; otherwise, leave your computer alone for half an hour or so. Destroy the teapot to earn a Giant Spoon.
  • The right doorway leads to a room with a chest. Problem is, the chest is on a ledge that’s veeeeery far off of the ground. It’s not that difficult to reach, though it takes a while. All you need do is equip the Oct0pus Crown with Obsidian, wait for Octopus Kings to slowly fill the room, and use their heads to hop up to the chest. Watch to make sure your guy doesn’t get trapped under the tide of octopi and you should be fine. In the chest, you’ll find Rocket Boots. These will allow you to basically fly, as you can jump . . . and then jump again . . . and then jump yet again, over and over and over.

The Hole

Faaaaalling! The Hole is a weird area that’s filled with spikes. Touch the spikes and you take a ton of damage. Avoid the spikes. Otherwise, your primary problem here is the tribal warriors within; they’re pretty strong at this point, and random magic shots are probably your best bet for taking them down unscathed. (On the plus side, you can get a Tribal Spear for killing a warrior.) Also here are several chests with nifty items inside; it pays to know that you can jump with the J key while trying to get at these items. Much easier than trying to click the button with your mouse.

  • Below the first two spiked floors is a small ledge with a chest. Despite how it looks, you can jump to this normally. In the chest is a Heart Pendant. It increases your HP count.
  • Fall down the right side of the map. There’s a spiked pit below you with a hole in the middle. Squeeze and fall through this hole to reach a chest containing a Black Magic Grimoire. This Grimoire teaches you two powerful spells.
  • Fall down the left side of the map and climb the hill after you first land. Past several sections of spikes is a chest containing a Desert Fortress Key which will open the fortress in the desert. (Duh.) You need a lot of health to bypass these spikes without dying.
  • At the very bottom is a chest guarded by four warriors. Kill them all to get three bars of chocolate.

Got them all? The only way to leave with the items in hand is to fall down the pit on the right side. Don’t leave without doing this or you’ll have to go through this area again.


If you do not want to go through the procedure of making potions, or don’t have the resources to do so, you can give yourself more.

Note: It appears you have to have had made the potion (that you are entering code to get more of) at least once for the code to work.

By entering some code, the player can earn as many potions as they want. Enter this code into the console, replacing X with how many you want, and replacing XX with the type of potion:

    newPotionNum = X; // ...
    potions.setPotionNbrOwned(potions.list.XX, newPotionNum);

For example, if you wanted twenty Berserk potions (as they are normally a limited potion), enter:

    newPotionNum = 20; // ...
    potions.setPotionNbrOwned(potions.list.berserk, newPotionNum);

Alternatively, you can invoke the following, where XYZ is one of the potions you desire to add, which should work even for potions you have not crafted (tested with turtle potion):

    potions.getPotions(potions.list.XYZ, newPotionNum);

Note that the potion name usually shouldn’t be capitalized. In the case of the G.M.O.O.H. potion, spell it «gmooh». For the Major health potion, spell it «majorHealth». Magical jellies and magical seeds can be obtained this way (by entering «jelly» and «seed», respectively), despite technically not being potions.

Full list of potions from potions.list:

acidRainScroll:{buttonText: "Acid rain scroll", buttonColor: "#68980b", action: "potions.acidRainScroll();", shown: true, nbrOwned: 45, …}
berserk:{buttonText: "Berserk potion", buttonColor: "#000000", action: "potions.berserk();", shown: true, nbrOwned: 0, …}
cloning:{buttonText: "Cloning potion", buttonColor: "#6d6d6d", action: "potions.cloning();", shown: true, nbrOwned: 0, …}
earthquakeScroll:{buttonText: "Earthquake scroll", buttonColor: "#470b0b", action: "potions.earthquakeScroll();", shown: true, nbrOwned: 12, …}
escape:{buttonText: "Escape potion", buttonColor: "#51c90f", action: "potions.escape();", shown: true, nbrOwned: 17, …}
fireScroll:{buttonText: "Fire scroll", buttonColor: "#dc3e00", action: "potions.fireScroll();", shown: true, nbrOwned: 49, …}
gmooh:{buttonText: "G.M.O.O.H. potion", buttonColor: "#ff00c0", action: "potions.gmooh();", shown: false, nbrOwned: 0, …}
health:{buttonText: "Health potion", buttonColor: "#ff0000", action: "potions.heal(50);", shown: true, nbrOwned: 54, …}
impInvocationScroll:{buttonText: "Imp invocation scroll", buttonColor: "#ff6600", action: "potions.impInvocationScroll();", shown: true, nbrOwned: 39, …}
invulnerability:{buttonText: "Invulnerability potion", buttonColor: "#ef893b", action: "potions.invulnerability();", shown: true, nbrOwned: 986, …}
jelly:{buttonText: "Jelly", buttonColor: "#9500b5", action: "potions.jelly();", shown: false, nbrOwned: 0, …}
majorHealth:{buttonText: "Major health potion", buttonColor: "#ff0000", action: "potions.heal(100);", shown: false, nbrOwned: 0, …}
seed:{buttonText: "Seed", buttonColor: "#3dab3a", action: "potions.seed();", shown: false, nbrOwned: 0, …}
superman:{buttonText: "Superman potion", buttonColor: "#ddef17", action: "potions.superman();", shown: true, nbrOwned: 6, …}
teleportScroll:{buttonText: "Teleport scroll", buttonColor: "#7ca0b5", action: "potions.teleportScroll();", shown: true, nbrOwned: 54, …}
turtle:{buttonText: "Turtle potion", buttonColor: "#008a13", action: "potions.turtle();", shown: false, nbrOwned: 0, …}

This code gives you infinite potions including seeds and jellies (only one code):

    for ( var potionName in potions.list ) {
  var potion = potions.list;
  potion.nbrOwned = Number.POSITIVE_INFINITY;
  potion.shown = true;

Lollipop Farm

Anyone who played the original Candy Box will remember the Lollipop Farm fondly. Take all those lollipops you found in The Village and plant them. After a long wait, you’ll get another lollipop. Plant that as well. With each lollipop you plant, you’ll increase the rate at which they grow, to the point where they will be appearing in your inventory by the hundreds every second. Do this early and you’ll make the late game a great deal easier, as lots of people love them their lollipops. The field itself maxes out at 100 lollipops a second.

Once you reach 10,000 lollipops you can build a Mill. You can thereafter feed the Mill with lollipops and increase your candy production, which I highly recommend doing as early as possible.

Reach 100,000 lollipops and you can dig a Pond. You can then use candies to purchase Lolligators for the Pond. Lolligators allow you to convert candies to lollipops; the more Lolligators you have, the faster the conversion rate.

The Castle

This place is a little different from usual, as it has a map to search for. Let’s explore!

  • There’s an Oven in the central room. For 100 candies and one chocolate it will make you a Pain au Chocolat. Throw this into the Wishing Well for some fancy power boosts.
  • There’s a giant spiked pit in the bottom room on the left. Owies.
  • The middle room on the left is darkened. Click the middle of your screen to light a fire. Beside the fire is a Pitchfork which will triple your lollipop production. Score!
  • The top room on the left has a huge, strange, invincible creature that wants to protect its eggs. The second you so much as touch one of the eggs, the thing will fall down and crush you. Instant death. Turn off all of your attacks and summons, strap on the Rocket Boots, and carefully fly over to the chest on the left side of the room. The hardest part of this is landing without falling down on top of the chest. Inside it is an L Stone.
  • On the right side of the ground floor is a nougat monster. When you enter battle it will be asleep, but after doing enough damage it will come to life and amble over to you. One hit and you’re pretty much toast. Seems tough, but equipping the Boots of Introspection, the Summoning Tribal Spear and the Octopus King Crown with Obsidian will create a massive room full of buffering cronies to protect you. They’ll kill the thing before it can get you to. You can’t do anything with The Tower beyond just yet, but, hey, why not kill the monster now? It’s worth a ton of candy.

All done? Then head north. There’s a dragon waiting, but it’s not interested in fighting. It will give you a series of challenges to tackle; they’re listed below.

Don’t worry—he’s not as tough as he looks.

Challenge: The Devil

Welcome to Hel . . . somewhere bad! The Devil awaits on the opposite side of several lava pits, constantly launching fireballs at you, and a giant bat thing drops more minions from overhead. You can try to bust your way through by Rocket Booting across the lava and using magical projectiles on the thing on the way, but it’s much easier to use the Boots of Introspection to remain firmly on the far end of the lava. Use the Monkey Wizard Staff (Enchanted) and the Black Demons spell to hit the Devil from afar without exposing yourself to much damage. Take the Devil out to earn an A Stone and a ton of candies.

Fame: The Developer

Hoo boy. No less than the Developer himself has come out to play. The man’s very words will turn into attacks. Fortunately, this guy is not as tough as he looks, for despite his massive amount of HP your attacks will scale to meet the challenge. Nevertheless, you’ll want to outfit yourself with every item that maximizes attack damage, as well as equipping the Scythe and not equipping the Enchanted Knight Body Armor. Upgrade your attack strength with a few Pain au Chocolats for good measure, brew some Berserker Potions, then go to. If you have over 1,200 or so health you’ll survive the first onslaught, then with the Berserker Potion active you’ll kill the Developer before he can bring you down. You’ll earn the Y Stone for beating the Developer.

Candies: The Lighthouse

The dragon’s third option is candies, and lots of ’em. He’ll suggest you see his friend, the cyclops, which is The Lighthouse itself. Visit The Lighthouse after talking to the dragon and ask the cyclops the appropriate question. He will pose you a puzzle. It’s very, very complex, and, uh, I’ll admit that I couldn’t solve it on my own. Here’s the solution. (Thanks, Candy Box wiki. You’re pretty great.) Completing this puzzle will earn you the P Stone.

Sorceress’ Hut

Past The Bridge is this quaint little hut. Inside is a witch who will sell you a variety of magical items. Scan her shelves to find a Grimoire and an Advanced Grimoire on the top two shelves. You can buy these for 5,000 and 20,000 lollipops, respectively; they’ll allow you to cast spells in battle. On the bottom shelf is a lollipop.

The last thing of note here is the Cauldron. Buy it for a whopping 100,000 lollipops and you can use it to brew a variety of helpful potions. Not only is this highly recommended, but it is also, at times, pretty much a necessity. The details for brewing are listed at the end of this walkthrough.