// ==UserScript== // @name Plant random berry and auto harvest - pokeclicker.com // @namespace Violentmonkey Scripts // @match https://www.pokeclicker.com/ // @grant none // @version 1.3 // @author DrAK // @description Automatically plant and harvest berries. // @downloadURL none // ==/UserScript== var whichBerry = Math.floor(Math.random() * 8); function loopFarm() { var farmLoop = setInterval(function () { for (let i = 0; i < 25; i++) { App.game.farming.harvest(i, true); if (i == 12) { //leave middle empty i++; App.game.farming.harvest(i, true); } App.game.farming.plant(i, Math.floor(Math.random() * 66), true); } }, 500); } loopFarm();