Tezlaz

vars

Aug 6th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. package scripts.data;
  2.  
  3. import org.tribot.api2007.Player;
  4. import org.tribot.api2007.Skills;
  5. import org.tribot.api2007.Skills.SKILLS;
  6.  
  7. import java.util.ArrayList;
  8.  
  9. import org.tribot.api2007.types.RSArea;
  10. import org.tribot.api2007.types.RSObject;
  11. import org.tribot.api2007.types.RSTile;
  12.  
  13. import scripts.tasks.Mining;
  14.  
  15. public class Vars {
  16.  
  17. //Account Data
  18. public static String accountName = Player.getRSPlayer().getName();
  19. public static int MiningLevel = Skills.getActualLevel(SKILLS.MINING);
  20. public static int combatLevel = Player.getRSPlayer().getCombatLevel();
  21.  
  22. // Banks
  23. public static final RSArea VARROCK_BANK_AREA = new RSArea(new RSTile(3181, 3433, 0), new RSTile(3187, 3448, 0));
  24. public static final RSTile VARROCK_BANK = new RSTile(3183, 3440, 0);
  25. public static final RSArea GRAND_EXCHANGE_AREA = new RSArea(new RSTile(3168, 3493, 0), new RSTile(3161, 3486, 0));
  26. public static final RSTile LUMBRIDGE_BANK = new RSTile(3208, 3220, 2);
  27. public static final RSArea LUMBRIDGE_AREA = new RSArea(new RSTile(3207, 3221, 2), new RSTile(3210, 3215, 2));
  28.  
  29. // Resource Locations
  30. public static final RSArea MINING_VARROCK_AREA = new RSArea(new RSTile(3177, 3365, 0), new RSTile(3186, 3378, 0));
  31. public static final RSTile VARROCK_MINE = new RSTile(3183, 3376);
  32. public static final RSArea DOUBLE_ORE_AREA = new RSArea(new RSTile(3180, 3371, 0), new RSTile(3179, 3372, 0));
  33.  
  34. // Fountain Locations
  35. public static final RSTile VARROCK_WATER_FOUNTAIN = new RSTile(3211, 3428, 0);
  36. public static final RSTile VARROCK_WATER_FOUNTAIN_NW = new RSTile(3208, 3433, 0);
  37. public static final RSTile VARROCK_WATER_FOUNTAIN_SE = new RSTile(3217, 3425, 0);
  38. public static final RSArea VARROCK_FOUNTAIN_AREA = new RSArea(VARROCK_WATER_FOUNTAIN_SE, VARROCK_WATER_FOUNTAIN_NW);
  39.  
  40. // Items
  41. // ID 1925 in tools is bucket
  42. public static final int[] TOOLS = { 1265, 1267, 1269, 1271, 1273, 1275, 1925, 1929 };
  43. public static final int BUCKET = 1925;
  44. public static final int[] PICKAXES = { 1265, 1267, 1269, 1271, 1273, 1275 };
  45. public static final int[] ORES = { 434, 1761 }; // Only added clay atm
  46. public static int currentPickaxe = Mining.CurrentPickaxe().getID();
  47. // Interactive objects
  48. public static final int[] CLAY_ROCKS = { 7454, 7487, 7454 };
  49. public static final int[] MINED_ROCKS = { 7468, 7469 };
  50.  
  51. // List of all the worlds, separated into free to play and members only
  52. public static final int[] F2P_WORLDS = { 1, 8, 16, 26, 35, 81, 82, 83, 84, 85, 93, 94 };
  53. public static final int[] MEM_WORLDS = { 2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 18, 19, 20, 21, 22, 27, 28, 29, 30,
  54. 33, 34, 36, 38, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 57, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 70,
  55. 73, 74, 95, 76, 77, 86 };
  56.  
  57. public static int clayMined = 0;
  58.  
  59. // Rock locations
  60. public static final RSTile[] ROCK_LOCATIONS = { new RSTile(3180, 3372, 0), new RSTile(3179, 3371, 0), new RSTile(3183, 3377) };
  61. public static final RSTile WEST_ROCK_TILE = new RSTile(3179, 3371, 0);
  62. public static final RSTile NORTH_ROCK_TILE = new RSTile(3180, 3372, 0);
  63. public static final RSTile SINGLE_ROCK_TILE = new RSTile(3183, 3377, 0);
  64.  
  65. // Monster Locations
  66. public static final RSArea LUMBRIDGE_CHICKENS_AREA = new RSArea(new RSTile(3815, 3289, 0), new RSTile(3168, 3308, 0));
  67. public static final RSTile CHICKEN_GATE_TILE = new RSTile(3180, 3288, 0);
  68. public static final RSTile CHICKEN_PEN_TILE = new RSTile(3178, 3296, 0);
  69.  
  70. // NPC Locations
  71. public static final RSArea COMBAT_TUTORS_AREA = new RSArea(new RSTile(3224, 3235, 0), new RSTile(3170, 3307, 0));
  72.  
  73. // Monster IDs
  74. public static final int[] CHICKENS = { 2692, 2693 };
  75.  
  76. // Required Levels
  77. public static final int REQ_IRON_PICK = 1;
  78. public static final int REQ_STEEL_PICK = 6;
  79. public static final int REQ_MITHRIL_PICK = 21;
  80. public static final int REQ_ADDY_PICK = 31;
  81. public static final int REQ_RUNE_PICK = 41;
  82.  
  83. // World Objects
  84. public static final int OPEN_GATE = 1567;
  85. public static final int CLOSED_GATE = 1560;
  86. }
Advertisement
Add Comment
Please, Sign In to add comment