2021-01-26 13:31:01 +01:00
2016-02-19 23:24:58 -05:00
2021-01-26 13:31:01 +01:00
2014-06-01 01:31:57 -04:00
2021-01-25 18:07:55 +01:00
2021-01-26 13:31:01 +01:00
2014-05-19 09:36:08 -07:00
2020-12-19 09:35:27 +01:00

Cookie Monster is an addon you can load into Cookie Clicker, that offers a wide range of tools and statistics to enhance the game. It is not a cheat interface although it does offer helpers for golden cookies and such, everything can be toggled off at will to only leave how much information you want.

This is a helper, and it is here to help you at whichever degree you want, if you only need some help shortening long numbers, it does that. If you need to be accompanied by hand to pick the best buildings to buy, it does that, but everything is an option.

Current version

You can see the current version, and a full history of all versions and what they changed by consulting the releases page.

What it does

At its core, Cookie Monster computes an index for both buildings and upgrades: the Payback Period (PP). This indicates how much a building is worth by using the following formula:

max(cost - cookies in bank, 0)/cps + cost/Δ cps

Cookie Monster also indicates the time left before being able to buy an upgrade or building, and takes it into consideration. It will take everything in consideration, meaning if buying a building also unlocks an achievement which boosts your income, which unlocks an achievement, it will know and highlight that building's value.

This index is computed for buildings and upgrades. If the relevant option is enabled, it will color-code each of them based on their value:

  • Light Blue: (upgrades) This item has a better PP than any building
  • Green: This item has the best PP
  • Yellow: This item is not the best, but it is closer to best than it is to worst
  • Orange: This item is not the worst, but it is closer to worst than it is to best
  • Red: This item has the worst PP
  • Purple: (upgrades) This item has a worse PP than any building
  • Gray: (upgrades) This item has not been calculated and/or cannot be calculated due to no definitive worth.

Note: For this index, lower is better, meaning a building with a PP of 1 is more interesting than one with a PP of 3.

What it doesn't do

Some upgrades do not give a direct bonus to your income and will display as gray. These are mainly Golden Cookie upgrades and season upgrades.

Do note though that, although these upgrades have no direct value, if buying them earns you an achievement of some sort which in return gives you milk and income, Cookie Monster will display that value.

Using

Bookmarklet

Copy this code and save it as a bookmark. Paste it in the URL section. To activate, click the bookmark when the game's open.

javascript: (function () {
	Game.LoadMod('https://aktanusa.github.io/CookieMonster/CookieMonster.js');
}());

If (for some reason) the above doesn't work, trying pasting everything after the javascript: bit into your browser's console.

Userscript

If you'd rather use the addon as a script via per example Greasemonkey or Tampermonkey, you can use the following script, which will automatically load Cookie Monster every time the original game loads. You may need to specify http://orteil.dashnet.org/cookieclicker/ when asked for a namespace or includes. For how to add an userscript to your browser, refer to your browser/plugin's documentation as the method changes for each one.

// ==UserScript==
// @name Cookie Monster
// @namespace Cookie
// @include http://orteil.dashnet.org/cookieclicker/
// @include https://orteil.dashnet.org/cookieclicker/
// @version 1
// @grant none
// ==/UserScript==

(function() {
    const checkReady = setInterval(function() {
        if (typeof Game.ready !== 'undefined' && Game.ready) {
            Game.LoadMod('https://aktanusa.github.io/CookieMonster/CookieMonster.js');
            clearInterval(checkReady);
        }
    }, 1000);
})();

Bugs and suggestions

Any bug or suggestion should be opened as an issue in the repository for easier tracking. This allows us to close issues once they're fixed.

Before submitting a bug, make sure to give a shot at the latest version of the addon on the dev branch. This version can be tested by copying the CookieMonster.js file of the dev branch into your console.

If the bug is still here, you can submit an issue for it. Please do so by using the bug report template.

All suggestions are welcome, even the smallest ones.

Contributors

Description
No description provided
Readme 12 MiB
Languages
JavaScript 100%