[ START IN GE NEAR THE BANK ]
I noticed there wasn't a chocolate grinding script.
So, without further a due,
Introducing Chocolate Bar smasher! It turns Chocolate Bars into Chocolate Dust. (Feedback appreciated)
Requirements:
Chocolate Bars
Knife
Download: https://drive.google.com/file/d/0B3Si4swIsuEKeUV4T0pzOHl2MEU/view?usp=sharing
Changelog:
Area trees = new Area(3145, 3492, 3141, 3500);
Entity tree = objects.closest(trees, "Tree");
if(tree != null && !myPlayer().isAnimating() ){
tree.interact("Chop Down");
Worked like a charm
I am a newbie working on my first woodcutting script, and everything is going good so far. However, using Objects.closest() sends the player on a wild Tree hunt as the nearest tree is a good distance away. How can I ensure that the bot only clicks on Trees inside the designated area? Thanks