Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.event.KeyEvent;
- import com.speljohan.rsbot.script.wrappers.RSNPC;
- import com.speljohan.rsbot.script.wrappers.RSTile;
- import java.util.*;
- import com.speljohan.rsbot.accessors.NPC;
- import com.speljohan.rsbot.bot.Bot;
- import com.speljohan.rsbot.script.*;
- import com.speljohan.rsbot.script.wrappers.RSObject;
- public class ArzinianMiner extends Script{
- //Variables\\
- public int[] GoldRocks = {2098,2099,5989,34976,34977};
- public int[] Pickaxe = {1265,11265,1269,1273,1271,1275};
- public int[] Helmet = {4567};
- public int[] Animation = {624,6752};
- public int[] GoldOre = {444};
- public int[] DwarvenBoatman = {1845};
- public int[] DondakanTheDwarf = {1836};
- //Paths\\
- public RSTile [] cannonToDeposit = new RSTile[] {new RSTile (2824,10171), new RSTile(2835,10168), new RSTile (2839,10162), new RSTile(2860,10164), new RSTile(2870,10167)};
- public RSTile [] depositToCannon = reversePath(cannonToDeposit);
- public String getName(){
- return "Kingsley's Arzinian Miner";
- }
- public String getAuthor(){
- return "Kingsley";
- }
- public String getScriptCategory(){
- return "Mining";
- }
- public double getVersion(){
- return 1.0;
- }
- public boolean onStart(Map<String, String> args) {
- return true;
- }
- public void onFinish(){
- return;
- }
- public int loop() {
- final RSNPC DondakanTheDwarf = getNearestNPCByID(1836);
- if (DondakanTheDwarf == null) {
- }
- atNPC(DondakanTheDwarf, "Fire-into-rock");
- return random(500, 700);
- }
- }
Add Comment
Please, Sign In to add comment