@@ -0,0 +1,1387 @@
+package bomFarming;%0A%0Aimport org.parabot.core.Context;%0Aimport org.parabot.environment.api.utils.Time;%0Aimport org.parabot.environment.scripts.Script;%0Aimport org.parabot.environment.scripts.framework.Strategy;%0Aimport org.rev317.min.api.methods.Game;%0Aimport org.rev317.min.api.methods.Inventory;%0Aimport org.rev317.min.api.methods.SceneObjects;%0Aimport org.rev317.min.api.methods.Items.Option;%0Aimport org.rev317.min.api.methods.Menu;%0Aimport org.rev317.min.api.wrappers.SceneObject;%0A%0Apublic class PlantPatch implements Strategy%0A%7B%0A%0A%09@Override%0A%09public boolean activate() %7B%0A%09%09BomFarming.outOfSeeds = !Inventory.contains(BomFarming.SEEDid) && Game.isLoggedIn();%0A%09%09if (BomFarming.outOfSeeds)%7B%09Context.getInstance().getRunningScript().setState(Script.STATE_STOPPED);return false;%7D%0A%0A%09%09return !BomFarming.outOfSeeds && !BomFarming.planted;%0A%09%7D%0A%0A%09@Override%0A%09public void execute() %7B%0A%09%09%0A%09%09SceneObject patch = null;%0A%09%09try %7B%0A%09%09%09patch = SceneObjects.getNearest(8151)%5B0%5D;%0A%09%09%09%7D%0A%09%09catch(Exception e)%0A%09%09%09%7B%0A%09%09%09%09System.out.println(e);%0A%09%09%09%09Context.getInstance().getRunningScript().setState(Script.STATE_STOPPED);%0A%09%09%09%09return;%0A%09%09%09%7D%0A%09%09%0A%09%09Inventory.getItem(BomFarming.SEEDid).interact(Option.USE);%0A%09%09Time.sleep(200);%0A%09%09Menu.sendAction(62,patch.getHash(),patch.getLocalRegionX(),patch.getLocalRegionY(),patch.getId(),1);%0A%09%09%0A%09%09Time.sleep(2000);%0A%09%09BomFarming.seedsPlanted++;%0A%09%09BomFarming.planted=!BomFarming.planted;%0A%09%7D%0A%0A%7D%0A

Create PlantPatch.java