Skip to content

Instantly share code, notes, and snippets.

@desandro
Last active February 2, 2019 00:39
Show Gist options
  • Save desandro/5498482 to your computer and use it in GitHub Desktop.
Save desandro/5498482 to your computer and use it in GitHub Desktop.
candy box cheats
// http://candies.aniwey.net/
// enter in console
candies.nbrOwned = Number.POSITIVE_INFINITY;
lollipops.nbrOwned = Number.POSITIVE_INFINITY;
quest.setMaxLandOrder( 20 );
chocolateBars.nbrOwned = 10;
sword.specialPower = 100;
for ( var potionName in potions.list ) {
var potion = potions.list[ potionName ];
potion.nbrOwned = Number.POSITIVE_INFINITY;
potion.shown = true;
}
@Zegnat
Copy link

Zegnat commented May 4, 2013

I have chosen not to cheat with anything except my own mortality. It can give problems when you are fighting yourself though:

// enter in console OUTSIDE of a quest:
land.load = function(){
    quest.invulnerability = true;
    quest.invulnerabilityCountdown = '☺';
    quest.berserk = true;
    quest.berserkCountdown = '☺';
    quest.speed = quest.getSpeed();
    return this.list[quest.currentLandIndex].loadFunction();
}

(This makes you invincible as well as putting you in berserk mode for every quest you go on!)

@CDawg34540
Copy link

wana make this into a javascript bookmarklet for me?

@zenware
Copy link

zenware commented Oct 24, 2014

@CDawg34540 Literally copy and paste the JavaScript into a bookmark. JavaScript runs from the URL bar.

@Nameforname
Copy link

what use the cheat?

@soola512
Copy link

soola512 commented Feb 2, 2019

I need cheats to win.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment