From a4f49ee6d4b30038deb5f71c250d0cde57e1cbab Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 20 Apr 2018 09:10:29 +0200 Subject: [PATCH] Reintroduce buy message Signed-off-by: Knut Ahlers --- autocookieclicker.user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autocookieclicker.user.js b/autocookieclicker.user.js index 3088b7b..5d4abfe 100644 --- a/autocookieclicker.user.js +++ b/autocookieclicker.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Automate CookieClicker // @namespace https://luzifer.io/ -// @version 0.17.2 +// @version 0.17.3 // @description Automate everything! // @author Knut Ahlers // @source https://github.com/Luzifer/automate-cookie-clicker @@ -56,6 +56,7 @@ function executeAutoActions() { for (let buyAmount = getMaxBuy() - product.amount; buyAmount > 0; buyAmount--) { if (product.getSumPrice(buyAmount) <= Game.cookies) { product.buy(buyAmount); + note('Purchased ' + buyAmount + ' ' + product.plural + ' for you.'); break; } }