Nyhilo / KookieStocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note: Development on this add-on has been suspended in favor of Hizin's fork of it, EZStock.

KookieStocks

Gives a basic overview of how much profit you will make selling stocks in CookieClicker.

Numbers are calculated assuming you buy everything you want for a given stock then sell everything later. Numbers are only calculated from the most recent purchase you made, so it table is most accurate if you're always buying max and selling all.

To install with TamperMonkey, use the following:

// ==UserScript==
// @name         KookieStocks
// @namespace    Kookie
// @version      0.2
// @description  Display purchase and profit information for the CookieClicker Dough Jones.
// @author       silentclowd
// @include http://orteil.dashnet.org/cookieclicker/
// @include https://orteil.dashnet.org/cookieclicker/
// @grant        none
// ==/UserScript==

var code = "(" + (function() {
    var checkReady = setInterval(function() {
        if (typeof Game.ready !== 'undefined' && Game.ready) {
            Game.LoadMod('https://nyhilo.github.io/KookieStocks/kookiestocks.js');
            clearInterval(checkReady);
        }
    }, 1000);
}).toString() + ")()";

window.eval(code);

Or paste the following into the url field for a bookmark.

javascript:(function() {
    Game.LoadMod('https://nyhilo.github.io/KookieStocks/kookiestocks.js');
}());

About

License:MIT License


Languages

Language:JavaScript 100.0%