Guest User

Untitled

a guest
Mar 31st, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 168.98 KB | None | 0 0
  1. package com.rsinterface;
  2.  
  3. import com.TextDrawingArea;
  4.  
  5. public class CustomInterfaces extends RSInterface {
  6.  
  7. public static void unpackInterfaces(TextDrawingArea[] textDrawingAreas) {
  8. newLamp(textDrawingAreas);
  9. newTrade(textDrawingAreas);
  10. skilllevel(textDrawingAreas);
  11. capeCustomiser(textDrawingAreas);
  12. //quickPrayers(textDrawingAreas);
  13. //quickCurses(textDrawingAreas);
  14. congrats(textDrawingAreas);
  15. monsterTele(textDrawingAreas);
  16. capeColor(textDrawingAreas);
  17. //runecraftingTele(textDrawingAreas);
  18. itemsKeptOnDeath(textDrawingAreas);
  19. itemsOnDeathDATA(textDrawingAreas);
  20. itemsOnDeath(textDrawingAreas);
  21. prayerTab(textDrawingAreas);
  22. optionTab(textDrawingAreas);
  23. sidebar0(textDrawingAreas);
  24. friendsTab(textDrawingAreas);
  25. ignoreTab(textDrawingAreas);
  26. Bank(textDrawingAreas);
  27. pouches(textDrawingAreas);
  28. formParty(textDrawingAreas);
  29. dungParty(textDrawingAreas);
  30. scrolls(textDrawingAreas);
  31. bobInterface(textDrawingAreas);
  32. pestPanel(textDrawingAreas);
  33. pestPanel2(textDrawingAreas);
  34. configureLunar(textDrawingAreas);
  35. constructLunar();
  36. pkingTab(textDrawingAreas);
  37. questTab(textDrawingAreas);
  38. SummonTab(textDrawingAreas);
  39. clanChatTab(textDrawingAreas);
  40. clanChatSetup(textDrawingAreas);
  41. emoteTab();
  42. cursesTab(textDrawingAreas);
  43. SkillTeleportInterface(textDrawingAreas);
  44. Shop(textDrawingAreas);
  45. shopOverview(textDrawingAreas);
  46. ancientMagicTab(textDrawingAreas);
  47. magicTab(textDrawingAreas);
  48. skillTab602(textDrawingAreas);
  49. GodWars(textDrawingAreas);
  50. EquipmentTab(textDrawingAreas);
  51. equipmentScreen(textDrawingAreas);
  52. weaponClass(textDrawingAreas);
  53. inWeapon(textDrawingAreas);
  54. bountyHunter(textDrawingAreas);
  55. moneyBank(textDrawingAreas);
  56. skillTabInfo(textDrawingAreas);
  57. LodestoneNetwork(textDrawingAreas);
  58. levelPvm(textDrawingAreas);
  59. novicePvm(textDrawingAreas);
  60. interPvm(textDrawingAreas);
  61. elitePvm(textDrawingAreas);
  62. Welcome(textDrawingAreas);
  63. bossPvm(textDrawingAreas);
  64. quickPrayers(textDrawingAreas);
  65. //quickCurses(textDrawingAreas);
  66. //priceChecker(textDrawingAreas);
  67. //loyaltyTitles(textDrawingAreas);
  68. }
  69.  
  70. public static void loyaltyTitles(TextDrawingArea[] TDA) {
  71. RSInterface tab = addScreenInterface(24000);
  72. addSprite(17209, 1, "Interfaces/Loyalty/Titles/BACKGROUND");
  73. addHoverButton(17210, "Interfaces/Loyalty/BACK", 1, 35, 39, "Back", -1, 17211, 1);
  74. addHoveredButton(17211, "Interfaces/Loyalty/BACKH", 0, 35, 39, 17251);
  75. addHoverButton(17212, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17213, 1);
  76. addHoveredButton(17213, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17252);
  77. addHoverButton(17214, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17215, 1);
  78. addHoveredButton(17215, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17253);
  79. addHoverButton(17216, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17217, 1);
  80. addHoveredButton(17217, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17254);
  81. addHoverButton(17218, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17219, 1);
  82. addHoveredButton(17219, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17255);
  83. addHoverButton(17220, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17221, 1);
  84. addHoveredButton(17221, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17256);
  85. addHoverButton(17222, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17223, 1);
  86. addHoveredButton(17223, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17257);
  87. addHoverButton(17224, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17225, 1);
  88. addHoveredButton(17225, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17258);
  89. addHoverButton(17226, "Interfaces/Loyalty/BUY", 1, 21, 20, "Select", -1, 17227, 1);
  90. addHoveredButton(17227, "Interfaces/Loyalty/BUYH", 0, 21, 20, 17259);
  91. addText(17228, "", 0xff9b00, false, true, 38, TDA, 2); // Title
  92. addText(17230, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  93. addText(17229, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  94. addText(17232, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  95. addText(17231, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  96. addText(17234, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  97. addText(17233, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  98. addText(17236, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  99. addText(17235, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  100. addText(17238, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  101. addText(17237, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  102. addText(17240, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  103. addText(17239, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  104. addText(17242, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  105. addText(17241, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  106. addText(17244, "", 0xff9b00, false, true, 20, TDA, 2); // Title
  107. addText(17243, "", 0xff9b00, false, true, 20, TDA, 1); // Title
  108. tab.totalChildren(36);
  109. tab.child(0, 17209, 5, 5);
  110. tab.child(1, 17210, 450, 225);
  111. tab.child(2, 17211, 450, 225);
  112. tab.child(3, 17212, 138, 100);
  113. tab.child(4, 17213, 138, 100);
  114. tab.child(5, 17214, 138, 170);
  115. tab.child(6, 17215, 138, 170);
  116. tab.child(7, 17216, 138, 235);
  117. tab.child(8, 17217, 138, 235);
  118. tab.child(9, 17218, 298, 100);
  119. tab.child(10, 17219, 298, 100);
  120. tab.child(11, 17220, 298, 170);
  121. tab.child(12, 17221, 298, 170);
  122. tab.child(13, 17222, 298, 235);
  123. tab.child(14, 17223, 298, 235);
  124. tab.child(15, 17224, 448, 100);
  125. tab.child(16, 17225, 448, 100);
  126. tab.child(17, 17226, 448, 170);
  127. tab.child(18, 17227, 448, 170);
  128. tab.child(19, 17228, 227, 24);
  129. tab.child(20, 17229, 85, 80);
  130. tab.child(21, 17230, 85, 98);
  131. tab.child(22, 17231, 85, 147);
  132. tab.child(23, 17232, 85, 166);
  133. tab.child(24, 17233, 85, 211);
  134. tab.child(25, 17234, 85, 230);
  135. tab.child(26, 17235, 245, 80);
  136. tab.child(27, 17236, 245, 96);
  137. tab.child(28, 17237, 245, 150);
  138. tab.child(29, 17238, 245, 167);
  139. tab.child(30, 17239, 245, 212);
  140. tab.child(31, 17240, 245, 230);
  141. tab.child(32, 17241, 395, 80);
  142. tab.child(33, 17242, 395, 95);
  143. tab.child(34, 17243, 395, 150);
  144. tab.child(35, 17244, 395, 167);
  145. }
  146.  
  147. public static void priceChecker(TextDrawingArea[] tda) {
  148. RSInterface rsi = addTabInterface(43933);
  149. addSprite(18245, 1, "Interfaces/Checker/CHECK");
  150. addPriceChecker(18246);
  151. addHoverButton(18247, "SPRITE", 1, 21, 21, "Close", 250, 18247, 3);
  152. addHoveredButton(18248, "SPRITE", 3, 21, 21, 18248);
  153. rsi.totalChildren(67);
  154. rsi.child(0, 18245, 10, 20);//was 10 so + 10
  155. rsi.child(1, 18246, 100, 56);
  156. rsi.child(2, 18247, 472, 23);
  157. rsi.child(3, 18248, 472, 23);
  158. addText(18350, "Total value:", tda, 0, 0xFFFFFF, false, true);
  159. rsi.child(4, 18350, 225, 295); // Open Text
  160. addText(18351, "0", tda, 0, 0xFFFFFF, true, true);
  161. rsi.child(5, 18351, 251, 306);
  162. addText(18352, "", tda, 0, 0xFFFFFF, false, true);
  163. rsi.child(6, 18352, 120, 150);
  164. addText(18353, "", tda, 0, 0xFFFFFF, true, true);
  165. rsi.child(7, 18353, 120, 85);
  166. addText(18354, "", tda, 0, 0xFFFFFF, true, true);
  167. rsi.child(8, 18354, 120, 95);
  168. addText(18355, "", tda, 0, 0xFFFFFF, true, true);
  169. rsi.child(9, 18355, 120, 105);
  170. addText(18356, "", tda, 0, 0xFFFFFF, true, true);
  171. rsi.child(10, 18356, 190, 85);
  172. addText(18357, "", tda, 0, 0xFFFFFF, true, true);
  173. rsi.child(11, 18357, 190, 95);
  174. addText(18358, "", tda, 0, 0xFFFFFF, true, true);
  175. rsi.child(12, 18358, 190, 105);
  176. addText(18359, "", tda, 0, 0xFFFFFF, true, true);
  177. rsi.child(13, 18359, 260, 85);
  178. addText(18360, "", tda, 0, 0xFFFFFF, true, true);
  179. rsi.child(14, 18360, 260, 95);
  180. addText(18361, "", tda, 0, 0xFFFFFF, true, true);rsi.child(15, 18361, 260, 105);
  181. addText(18362, "", tda, 0, 0xFFFFFF, true, true);rsi.child(16, 18362, 330, 85);
  182. addText(18363, "", tda, 0, 0xFFFFFF, true, true);rsi.child(17, 18363, 330, 95);
  183. addText(18364, "", tda, 0, 0xFFFFFF, true, true);rsi.child(18, 18364, 330, 105);
  184. addText(18365, "", tda, 0, 0xFFFFFF, true, true);rsi.child(19, 18365, 400, 85);
  185. addText(18366, "", tda, 0, 0xFFFFFF, true, true);rsi.child(20, 18366, 400, 95);
  186. addText(18367, "", tda, 0, 0xFFFFFF, true, true);rsi.child(21, 18367, 400, 105);
  187. addText(18368, "", tda, 0, 0xFFFFFF, true, true);rsi.child(22, 18368, 120, 145);
  188. addText(18369, "", tda, 0, 0xFFFFFF, true, true);rsi.child(23, 18369, 120, 155);
  189. addText(18370, "", tda, 0, 0xFFFFFF, true, true);rsi.child(24, 18370, 120, 165);
  190. addText(18371, "", tda, 0, 0xFFFFFF, true, true);rsi.child(25, 18371, 190, 145);
  191. addText(18372, "", tda, 0, 0xFFFFFF, true, true);rsi.child(26, 18372, 190, 155);
  192. addText(18373, "", tda, 0, 0xFFFFFF, true, true);rsi.child(27, 18373, 190, 165);
  193. addText(18374, "", tda, 0, 0xFFFFFF, true, true);rsi.child(28, 18374, 260, 145);
  194. addText(18375, "", tda, 0, 0xFFFFFF, true, true);rsi.child(29, 18375, 260, 155);
  195. addText(18376, "", tda, 0, 0xFFFFFF, true, true);rsi.child(30, 18376, 260, 165);
  196. addText(18377, "", tda, 0, 0xFFFFFF, true, true);rsi.child(31, 18377, 330, 145);
  197. addText(18378, "", tda, 0, 0xFFFFFF, true, true);rsi.child(32, 18378, 330, 155);
  198. addText(18379, "", tda, 0, 0xFFFFFF, true, true);rsi.child(33, 18379, 330, 165);
  199. addText(18380, "", tda, 0, 0xFFFFFF, true, true);rsi.child(34, 18380, 400, 145);
  200. addText(18381, "", tda, 0, 0xFFFFFF, true, true);rsi.child(35, 18381, 400, 155);
  201. addText(18382, "", tda, 0, 0xFFFFFF, true, true);rsi.child(36, 18382, 400, 165);
  202. addText(18383, "", tda, 0, 0xFFFFFF, true, true);rsi.child(37, 18383, 120, 205);
  203. addText(18384, "", tda, 0, 0xFFFFFF, true, true);rsi.child(38, 18384, 120, 215);
  204. addText(18385, "", tda, 0, 0xFFFFFF, true, true);rsi.child(39, 18385, 120, 225);
  205. addText(18386, "", tda, 0, 0xFFFFFF, true, true);rsi.child(40, 18386, 190, 205);
  206. addText(18387, "", tda, 0, 0xFFFFFF, true, true);rsi.child(41, 18387, 190, 215);
  207. addText(18388, "", tda, 0, 0xFFFFFF, true, true);rsi.child(42, 18388, 190, 225);
  208. addText(18389, "", tda, 0, 0xFFFFFF, true, true);rsi.child(43, 18389, 260, 205);
  209. addText(18390, "", tda, 0, 0xFFFFFF, true, true);rsi.child(44, 18390, 260, 215);
  210. addText(18391, "", tda, 0, 0xFFFFFF, true, true);rsi.child(45, 18391, 260, 225);
  211. addText(18392, "", tda, 0, 0xFFFFFF, true, true);rsi.child(46, 18392, 330, 205);
  212. addText(18393, "", tda, 0, 0xFFFFFF, true, true);rsi.child(47, 18393, 330, 215);
  213. addText(18394, "", tda, 0, 0xFFFFFF, true, true);rsi.child(48, 18394, 330, 225);
  214. addText(18395, "", tda, 0, 0xFFFFFF, true, true);rsi.child(49, 18395, 400, 205);
  215. addText(18396, "", tda, 0, 0xFFFFFF, true, true);rsi.child(50, 18396, 400, 215);
  216. addText(18397, "", tda, 0, 0xFFFFFF, true, true);rsi.child(51, 18397, 400, 225);
  217. addText(18398, "", tda, 0, 0xFFFFFF, true, true);rsi.child(52, 18398, 120, 260);
  218. addText(18399, "", tda, 0, 0xFFFFFF, true, true);rsi.child(53, 18399, 120, 270);
  219. addText(18400, "", tda, 0, 0xFFFFFF, true, true);rsi.child(54, 18400, 120, 280);
  220. addText(18401, "", tda, 0, 0xFFFFFF, true, true);rsi.child(55, 18401, 190, 260);
  221. addText(18402, "", tda, 0, 0xFFFFFF, true, true);rsi.child(56, 18402, 190, 270);
  222. addText(18403, "", tda, 0, 0xFFFFFF, true, true);rsi.child(57, 18403, 190, 280);
  223. addText(18404, "", tda, 0, 0xFFFFFF, true, true);rsi.child(58, 18404, 260, 260);
  224. addText(18405, "", tda, 0, 0xFFFFFF, true, true);rsi.child(59, 18405, 260, 270);
  225. addText(18406, "", tda, 0, 0xFFFFFF, true, true);rsi.child(60, 18406, 260, 280);
  226. addText(18407, "", tda, 0, 0xFFFFFF, true, true);rsi.child(61, 18407, 330, 260);
  227. addText(18408, "", tda, 0, 0xFFFFFF, true, true);rsi.child(62, 18408, 330, 270);
  228. addText(18409, "", tda, 0, 0xFFFFFF, true, true);rsi.child(63, 18409, 330, 280);
  229. addText(18410, "", tda, 0, 0xFFFFFF, true, true);rsi.child(64, 18410, 400, 260);
  230. addText(18411, "", tda, 0, 0xFFFFFF, true, true);rsi.child(65, 18411, 400, 270);
  231. addText(18412, "", tda, 0, 0xFFFFFF, true, true);rsi.child(66, 18412, 400, 280);
  232. }
  233.  
  234. /*public static void quickPrayers(TextDrawingArea[] TDA) {
  235. int i = 0;
  236. RSInterface localRSInterface = addTabInterface(20000);
  237. addSprite(15201, 3, "/Interfaces/QuickPrayer/Sprite");
  238. addText(15240, "Select your quick prayers:", TDA, 0, 16750623, false, true);
  239. //addHerpDerpSprite(17249, 0, "/Interfaces/QuickPrayer/Sprite", 50);
  240. int j = 15202;
  241. for (int k = 630;
  242. (j <= 17231) || (k <= 659); ++k) {
  243. addConfigButton(j, 15200, 2, 1, "/Interfaces/QuickPrayer/Sprite", 14, 15, "Select", 0, 1, k);
  244. j++;
  245. }
  246. addHoverButton(15241, "/Interfaces/QuickPrayer/Sprite", 4, 190, 24, "Confirm Selection", -1, 15242, 1);
  247. addHoveredButton(15242, "/Interfaces/QuickPrayer/Sprite", 5, 190, 24, 15243);
  248. setChildren(58, localRSInterface);
  249. /*setBounds(25001, 5, 28, i++, localRSInterface);
  250. setBounds(25003, 44, 28, i++, localRSInterface);
  251. setBounds(25005, 79, 31, i++, localRSInterface);
  252. setBounds(25007, 116, 30, i++, localRSInterface);
  253. setBounds(25009, 153, 29, i++, localRSInterface);
  254. setBounds(25011, 5, 68, i++, localRSInterface);
  255. setBounds(25013, 44, 67, i++, localRSInterface);
  256. setBounds(25015, 79, 69, i++, localRSInterface);
  257. setBounds(25017, 116, 70, i++, localRSInterface);
  258. setBounds(25019, 154, 70, i++, localRSInterface);
  259. setBounds(25021, 4, 104, i++, localRSInterface);
  260. setBounds(25023, 44, 107, i++, localRSInterface);
  261. setBounds(25025, 81, 105, i++, localRSInterface);
  262. setBounds(25027, 117, 105, i++, localRSInterface);
  263. setBounds(25029, 156, 107, i++, localRSInterface);
  264. setBounds(25031, 5, 145, i++, localRSInterface);
  265. setBounds(25033, 43, 144, i++, localRSInterface);
  266. setBounds(25035, 83, 144, i++, localRSInterface);
  267. setBounds(25037, 115, 141, i++, localRSInterface);
  268. setBounds(25039, 154, 144, i++, localRSInterface);
  269. setBounds(25041, 5, 180, i++, localRSInterface);
  270. setBounds(25043, 41, 178, i++, localRSInterface);
  271. setBounds(25045, 79, 183, i++, localRSInterface);
  272. setBounds(25047, 116, 178, i++, localRSInterface);
  273. setBounds(25049, 161, 180, i++, localRSInterface);
  274. setBounds(25051, 5, 217, i++, localRSInterface);*/
  275. /*setBounds(15249, 0, 25, i++, localRSInterface);
  276. setBounds(15201, 0, 22, i++, localRSInterface);
  277. setBounds(15201, 0, 237, i++, localRSInterface);
  278. setBounds(15202, 2, 25, i++, localRSInterface);
  279. setBounds(15203, 41, 25, i++, localRSInterface);
  280. setBounds(15204, 76, 25, i++, localRSInterface);
  281. setBounds(15205, 113, 25, i++, localRSInterface);
  282. setBounds(15206, 150, 25, i++, localRSInterface);
  283. setBounds(15207, 2, 65, i++, localRSInterface);
  284. setBounds(15208, 41, 65, i++, localRSInterface);
  285. setBounds(15209, 76, 65, i++, localRSInterface);
  286. setBounds(15210, 113, 65, i++, localRSInterface);
  287. setBounds(15211, 150, 65, i++, localRSInterface);
  288. setBounds(15212, 2, 102, i++, localRSInterface);
  289. setBounds(15213, 41, 102, i++, localRSInterface);
  290. setBounds(15214, 76, 102, i++, localRSInterface);
  291. setBounds(1215, 113, 102, i++, localRSInterface);
  292. setBounds(17216, 150, 102, i++, localRSInterface);
  293. setBounds(17217, 2, 141, i++, localRSInterface);
  294. setBounds(17218, 41, 141, i++, localRSInterface);
  295. setBounds(17219, 76, 141, i++, localRSInterface);
  296. setBounds(17220, 113, 141, i++, localRSInterface);
  297. setBounds(17221, 150, 141, i++, localRSInterface);
  298. setBounds(17222, 2, 177, i++, localRSInterface);
  299. setBounds(17223, 41, 177, i++, localRSInterface);
  300. setBounds(17224, 76, 177, i++, localRSInterface);
  301. setBounds(17225, 113, 177, i++, localRSInterface);
  302. setBounds(17226, 150, 177, i++, localRSInterface);
  303. setBounds(17227, 1, 211, i++, localRSInterface);
  304. setBounds(17240, 5, 5, i++, localRSInterface);
  305. setBounds(17241, 0, 237, i++, localRSInterface);
  306. setBounds(17242, 0, 237, i++, localRSInterface);
  307. }*/
  308.  
  309. public static void quickPrayers(TextDrawingArea[] TDA) {
  310. int i = 0;
  311. RSInterface localRSInterface = addTabInterface(20000);
  312. addSprite(17201, 3, "/Interfaces/QuickPrayer/Sprite");
  313. addText(17240, "Select your quick prayers:", TDA, 0, 16750623, false, true);
  314. addTransparentSprite(17249, 0, "/Interfaces/QuickPrayer/Sprite", 50);
  315. int j = 17202;
  316. for (int k = 630; (j <= 17231) || (k <= 659); ++k) {
  317. addConfigButton(j, 17200, 2, 1, "/Interfaces/QuickPrayer/Sprite", 14, 15, "Select", 0, 1, k);
  318. j++;
  319. }
  320. addHoverButton(17241, "/Interfaces/QuickPrayer/Sprite", 4, 190, 24, "Confirm Selection", -1, 17242, 1);
  321. addHoveredButton(17242, "/Interfaces/QuickPrayer/Sprite", 5, 190, 24, 17243);
  322. setChildren(58, localRSInterface);
  323. setBounds(25001, 5, 28, i++, localRSInterface);
  324. setBounds(25003, 44, 28, i++, localRSInterface);
  325. setBounds(25005, 79, 31, i++, localRSInterface);
  326. setBounds(25007, 116, 30, i++, localRSInterface);
  327. setBounds(25009, 153, 29, i++, localRSInterface);
  328. setBounds(25011, 5, 68, i++, localRSInterface);
  329. setBounds(25013, 44, 67, i++, localRSInterface);
  330. setBounds(25015, 79, 69, i++, localRSInterface);
  331. setBounds(25017, 116, 70, i++, localRSInterface);
  332. setBounds(25019, 154, 70, i++, localRSInterface);
  333. setBounds(25021, 4, 104, i++, localRSInterface);
  334. setBounds(25023, 44, 107, i++, localRSInterface);
  335. setBounds(25025, 81, 105, i++, localRSInterface);
  336. setBounds(25027, 117, 105, i++, localRSInterface);
  337. setBounds(25029, 156, 107, i++, localRSInterface);
  338. setBounds(25031, 5, 145, i++, localRSInterface);
  339. setBounds(25033, 43, 144, i++, localRSInterface);
  340. setBounds(25035, 83, 144, i++, localRSInterface);
  341. setBounds(25037, 115, 141, i++, localRSInterface);
  342. setBounds(25039, 154, 144, i++, localRSInterface);
  343. setBounds(25041, 5, 180, i++, localRSInterface);
  344. setBounds(25043, 41, 178, i++, localRSInterface);
  345. setBounds(25045, 79, 183, i++, localRSInterface);
  346. setBounds(25047, 116, 178, i++, localRSInterface);
  347. setBounds(25049, 161, 180, i++, localRSInterface);
  348. //setBounds(18015, 4, 210, i++, localRSInterface);
  349. setBounds(25051, 5, 217, i++, localRSInterface);
  350. //setBounds(18061, 78, 212, i++, localRSInterface);
  351. //setBounds(18121, 116, 208, i++, localRSInterface);
  352. setBounds(17249, 0, 25, i++, localRSInterface);
  353. setBounds(17201, 0, 22, i++, localRSInterface);
  354. setBounds(17201, 0, 237, i++, localRSInterface);
  355. setBounds(17202, 2, 25, i++, localRSInterface);
  356. setBounds(17203, 41, 25, i++, localRSInterface);
  357. setBounds(17204, 76, 25, i++, localRSInterface);
  358. setBounds(17205, 113, 25, i++, localRSInterface);
  359. setBounds(17206, 150, 25, i++, localRSInterface);
  360. setBounds(17207, 2, 65, i++, localRSInterface);
  361. setBounds(17208, 41, 65, i++, localRSInterface);
  362. setBounds(17209, 76, 65, i++, localRSInterface);
  363. setBounds(17210, 113, 65, i++, localRSInterface);
  364. setBounds(17211, 150, 65, i++, localRSInterface);
  365. setBounds(17212, 2, 102, i++, localRSInterface);
  366. setBounds(17213, 41, 102, i++, localRSInterface);
  367. setBounds(17214, 76, 102, i++, localRSInterface);
  368. setBounds(17215, 113, 102, i++, localRSInterface);
  369. setBounds(17216, 150, 102, i++, localRSInterface);
  370. setBounds(17217, 2, 141, i++, localRSInterface);
  371. setBounds(17218, 41, 141, i++, localRSInterface);
  372. setBounds(17219, 76, 141, i++, localRSInterface);
  373. setBounds(17220, 113, 141, i++, localRSInterface);
  374. setBounds(17221, 150, 141, i++, localRSInterface);
  375. setBounds(17222, 2, 177, i++, localRSInterface);
  376. setBounds(17223, 41, 177, i++, localRSInterface);
  377. setBounds(17224, 76, 177, i++, localRSInterface);
  378. setBounds(17225, 113, 177, i++, localRSInterface);
  379. setBounds(17226, 150, 177, i++, localRSInterface);
  380. setBounds(17227, 1, 211, i++, localRSInterface);
  381. //setBounds(17228, 1, 211, i++, localRSInterface);
  382. //setBounds(17229, 75, 211, i++, localRSInterface);
  383. //setBounds(17230, 113, 211, i++, localRSInterface);
  384. setBounds(17240, 5, 5, i++, localRSInterface);
  385. setBounds(17241, 0, 237, i++, localRSInterface);
  386. setBounds(17242, 0, 237, i++, localRSInterface);
  387. }
  388.  
  389. /*public static void quickCurses(TextDrawingArea[] TDA) {
  390. int frame = 0;
  391. RSInterface tab = addTabInterface(22000);
  392. addSprite(17201, 3, "/Interfaces/QuickPrayer/Sprite");
  393. addText(17235, "Select your quick curses:", TDA, 0, 16750623, false, true);
  394. addTransparentSprite(17249, 0, "/Interfaces/QuickPrayer/Sprite", 50);
  395. int j = 17202;
  396. for (int k = 630; (j <= 17222) || (k <= 656); k++) {
  397. addConfigButton(j, 17200, 2, 1, "/Interfaces/QuickPrayer/Sprite", 14, 15, "Select", 0, 1, k);
  398. j++;
  399. }
  400. setChildren(46, tab);
  401. setBounds(22504, 5, 8+17, frame++, tab);
  402. setBounds(22506, 44, 8+20, frame++, tab);
  403. setBounds(22508, 79, 11+19, frame++, tab);
  404. setBounds(22510, 116, 10+18, frame++, tab);
  405. setBounds(22512, 153, 9+20, frame++, tab);
  406. setBounds(22514, 5, 48+18, frame++, tab);
  407. setBounds(22516, 44, 47+21, frame++, tab);
  408. setBounds(22518, 79, 49+20, frame++, tab);
  409. setBounds(22520, 116, 50+19, frame++, tab);
  410. setBounds(22522, 154, 50+20, frame++, tab);
  411. setBounds(22524, 4, 84+21, frame++, tab);
  412. setBounds(22526, 44, 87+19, frame++, tab);
  413. setBounds(22528, 81, 85+20, frame++, tab);
  414. setBounds(22530, 117, 85+20, frame++, tab);
  415. setBounds(22532, 156, 87+18, frame++, tab);
  416. setBounds(22534, 5, 125+19, frame++, tab);
  417. setBounds(22536, 43, 124+19, frame++, tab);
  418. setBounds(22538, 83, 124+20, frame++, tab);
  419. setBounds(22540, 115, 125+21, frame++, tab);
  420. setBounds(22542, 154, 126+22, frame++, tab);
  421. setBounds(17249, 0, 25, frame++, tab);
  422. setBounds(17201, 0, 22, frame++, tab);
  423. setBounds(17201, 0, 237, frame++, tab);
  424. setBounds(17202, 2, 25, frame++, tab);
  425. setBounds(17203, 41, 25, frame++, tab);
  426. setBounds(17204, 76, 25, frame++, tab);
  427. setBounds(17205, 113, 25, frame++, tab);
  428. setBounds(17206, 150, 25, frame++, tab);
  429. setBounds(17207, 2, 65, frame++, tab);
  430. setBounds(17208, 41, 65, frame++, tab);
  431. setBounds(17209, 76, 65, frame++, tab);
  432. setBounds(17210, 113, 65, frame++, tab);
  433. setBounds(17211, 150, 65, frame++, tab);
  434. setBounds(17212, 2, 102, frame++, tab);
  435. setBounds(17213, 41, 102, frame++, tab);
  436. setBounds(17214, 76, 102, frame++, tab);
  437. setBounds(17215, 113, 102, frame++, tab);
  438. setBounds(17216, 150, 102, frame++, tab);
  439. setBounds(17217, 2, 141, frame++, tab);
  440. setBounds(17218, 41, 141, frame++, tab);
  441. setBounds(17219, 76, 141, frame++, tab);
  442. setBounds(17220, 113, 141, frame++, tab);
  443. setBounds(17221, 150, 141, frame++, tab);
  444. setBounds(17235, 5, 5, frame++, tab);
  445. setBounds(17241, 0, 237, frame++, tab);
  446. setBounds(17242, 0, 237, frame++, tab);
  447. }*/
  448.  
  449.  
  450. private static void addTransparentSprite(int id, int spriteId, String spriteName, int transparency) {
  451. RSInterface tab = interfaceCache[id] = new RSInterface();
  452. tab.id = id;
  453. tab.parentID = id;
  454. tab.type = 5;
  455. tab.atActionType = 0;
  456. tab.contentType = 0;
  457. tab.transparency = (byte) transparency;
  458. tab.hoverType = 52;
  459. tab.sprite1 = imageLoader(spriteId, spriteName);
  460. tab.sprite2 = imageLoader(spriteId, spriteName);
  461. tab.width = 512;
  462. tab.height = 334;
  463. tab.drawsTransparent = true;
  464. }
  465. public static void novicePvm(TextDrawingArea[] tda) {
  466. RSInterface tab = addInterface(8040);
  467. addSprite(8001, 0, "Interfaces/NewTeles/MAIN");
  468. addText(8801, "Novice PvM Teleports", tda, 3, 0xff981f, true, true);
  469. addHoverButton(8017, "Interfaces/NewTeles/PVM/Novice/TELE", 0, 131, 26, "Teleport", 0, 8018, 1);//abracadabra
  470. addHoveredButton(8018, "Interfaces/NewTeles/PVM/Novice/TELE", 1, 155, 26, 8019);
  471. addHoverButton(8020, "Interfaces/NewTeles/PVM/Novice/TELE", 2, 131, 26, "Teleport", 0, 8021, 1);
  472. addHoveredButton(8021, "Interfaces/NewTeles/PVM/Novice/TELE", 3, 155, 26, 8022);
  473. addHoverButton(8023, "Interfaces/NewTeles/PVM/Novice/TELE", 4, 131, 26, "Teleport", 0, 8024, 1);
  474. addHoveredButton(8024, "Interfaces/NewTeles/PVM/Novice/TELE", 5, 155, 26, 8025);
  475. addHoverButton(8026, "Interfaces/NewTeles/PVM/Novice/TELE", 6, 131, 26, "Teleport", 0, 8027, 1);
  476. addHoveredButton(8027, "Interfaces/NewTeles/PVM/Novice/TELE", 7, 155, 26, 8028);
  477. addHoverButton(8029, "Interfaces/NewTeles/MAGE", 0, 45, 35, "Back to SpellBook", 0, 8030, 1);
  478. addHoveredButton(8030, "Interfaces/NewTeles/MAGE", 1, 45, 35, 8031);
  479. addHoverButton(8032, "Interfaces/NewTeles/BACK", 0, 35, 39, "Back to Main Page", 0, 8033, 1);
  480. addHoveredButton(8033, "Interfaces/NewTeles/BACK", 1, 35, 39, 8034);
  481. setChildren(14, tab);
  482. setBounds(8001, 0, 10, 0, tab);
  483. setBounds(8017, 35, 45, 1, tab);
  484. setBounds(8018, 35, 45, 2, tab);
  485. setBounds(8020, 35, 80, 3, tab);
  486. setBounds(8021, 35, 80, 4, tab);
  487. setBounds(8023, 35, 115, 5, tab);
  488. setBounds(8024, 35, 115, 6, tab);
  489. setBounds(8026, 35, 150, 7, tab);
  490. setBounds(8027, 35, 150, 8, tab);
  491. setBounds(8029, 110, 210, 10, tab);
  492. setBounds(8030, 110, 210, 11, tab);
  493. setBounds(8032, 60, 207, 12, tab);
  494. setBounds(8033, 60, 207, 13, tab);
  495. setBounds(8801, 103, 18, 9, tab);
  496. }
  497.  
  498.  
  499. public static void interPvm(TextDrawingArea[] tda) {
  500. RSInterface tab = addInterface(8811);
  501. addSprite(8812, 0, "Interfaces/NewTeles/MAIN");
  502. addText(8813, "Intermediate", tda, 3, 0xff981f, true, true);
  503. addText(8846, "PvM Teleports", tda, 3, 0xff981f, true, true);
  504. addHoverButton(18814, "Interfaces/NewTeles/PVM/Inter/TELE", 0, 131, 26, "Teleport", 0, 18815, 1);//abracadabra
  505. addHoveredButton(18815, "Interfaces/NewTeles/PVM/Inter/TELE", 1, 155, 26, 18816);
  506. addHoverButton(18817, "Interfaces/NewTeles/PVM/Inter/TELE", 2, 131, 26, "Teleport", 0, 18818, 1);
  507. addHoveredButton(18818, "Interfaces/NewTeles/PVM/Inter/TELE", 3, 155, 26, 18819);
  508. addHoverButton(18820, "Interfaces/NewTeles/PVM/Inter/TELE", 4, 131, 26, "Teleport", 0, 18821, 1);
  509. addHoveredButton(18821, "Interfaces/NewTeles/PVM/Inter/TELE", 5, 155, 26, 18922);
  510. addHoverButton(18823, "Interfaces/NewTeles/PVM/Inter/TELE", 6, 131, 26, "Teleport", 0, 18824, 1);
  511. addHoveredButton(18824, "Interfaces/NewTeles/PVM/Inter/TELE", 7, 155, 26, 18825);
  512. addHoverButton(8029, "Interfaces/NewTeles/MAGE", 0, 45, 35, "Back to SpellBook", 0, 8030, 1);
  513. addHoveredButton(8030, "Interfaces/NewTeles/MAGE", 1, 45, 35, 8031);
  514. addHoverButton(8032, "Interfaces/NewTeles/BACK", 0, 35, 39, "Back to Main Page", 0, 8033, 1);
  515. addHoveredButton(8033, "Interfaces/NewTeles/BACK", 1, 35, 39, 8034);
  516. setChildren(15, tab);
  517. //setBounds(8811, 0, 10, 0, tab);
  518. setBounds(8812, 0, 10, 0, tab);
  519. setBounds(8813, 103, 14, 1, tab);
  520. setBounds(8846, 103, 30, 10, tab);
  521. setBounds(18814, 35, 50, 2, tab);
  522. setBounds(18815, 35, 50, 3, tab);
  523. setBounds(18817, 35, 85, 4, tab);
  524. setBounds(18818, 35, 85, 5, tab);
  525. setBounds(18820, 35, 120, 6, tab);
  526. setBounds(18821, 35, 120, 7, tab);
  527. setBounds(18823, 35, 155, 8, tab);
  528. setBounds(18824, 35, 155, 9, tab);
  529. setBounds(8029, 110, 210, 14, tab);
  530. setBounds(8030, 110, 210, 11, tab);
  531. setBounds(8032, 60, 207, 12, tab);
  532. setBounds(8033, 60, 207, 13, tab);
  533. }
  534. public static void elitePvm(TextDrawingArea[] tda) {
  535. RSInterface tab = addInterface(8120);
  536. addSprite(8001, 0, "Interfaces/NewTeles/MAIN");
  537. addText(8803, "Elite PvM Teleports", tda, 3, 0xff981f, true, true);
  538. addHoverButton(8081, "Interfaces/NewTeles/PVM/Elite/TELE", 0, 131, 26, "Teleport", 0, 8082, 1);//abracadabra
  539. addHoveredButton(8082, "Interfaces/NewTeles/PVM/Elite/TELE", 1, 155, 26, 8083);
  540. addHoverButton(8084, "Interfaces/NewTeles/PVM/Elite/TELE", 2, 131, 26, "Teleport", 0, 8085, 1);
  541. addHoveredButton(8085, "Interfaces/NewTeles/PVM/Elite/TELE", 3, 155, 26, 8086);
  542. addHoverButton(8087, "Interfaces/NewTeles/PVM/Elite/TELE", 4, 131, 26, "Teleport", 0, 8088, 1);
  543. addHoveredButton(8088, "Interfaces/NewTeles/PVM/Elite/TELE", 5, 155, 26, 8089);
  544. addHoverButton(8090, "Interfaces/NewTeles/PVM/Elite/TELE", 6, 131, 26, "Teleport", 0, 8091, 1);//abracadabra
  545. addHoveredButton(8091, "Interfaces/NewTeles/PVM/Elite/TELE", 7, 155, 26, 8092);
  546. addHoverButton(8093, "Interfaces/NewTeles/PVM/Elite/TELE", 8, 131, 26, "Teleport", 0, 8094, 1);
  547. addHoveredButton(8094, "Interfaces/NewTeles/PVM/Elite/TELE", 9, 155, 26, 8095);
  548. addHoverButton(8096, "Interfaces/NewTeles/PVM/Elite/TELE", 10, 131, 26, "Teleport", 0, 8097, 1);
  549. addHoveredButton(8097, "Interfaces/NewTeles/PVM/Elite/TELE", 11, 155, 26, 8098);
  550. addHoverButton(8029, "Interfaces/NewTeles/MAGE", 0, 45, 35, "Back to SpellBook", 0, 8030, 1);
  551. addHoveredButton(8030, "Interfaces/NewTeles/MAGE", 1, 45, 35, 8031);
  552. addHoverButton(8032, "Interfaces/NewTeles/BACK", 0, 35, 39, "Back to Main Page", 0, 8033, 1);
  553. addHoveredButton(8033, "Interfaces/NewTeles/BACK", 1, 35, 39, 8034);
  554. setChildren(18, tab);
  555. setBounds(8001, 0, 10, 0, tab);
  556. setBounds(8081, 35, 40, 1, tab);
  557. setBounds(8082, 35, 40, 2, tab);
  558. setBounds(8084, 35, 68, 3, tab);
  559. setBounds(8085, 35, 68, 4, tab);
  560. setBounds(8087, 35, 96, 5, tab);
  561. setBounds(8088, 35, 96, 6, tab);
  562. setBounds(8090, 35, 124, 7, tab);
  563. setBounds(8091, 35, 124, 8, tab);
  564. setBounds(8093, 35, 152, 9, tab);
  565. setBounds(8094, 35, 152, 10, tab);
  566. setBounds(8096, 35, 180, 11, tab);
  567. setBounds(8097, 35, 180, 12, tab);
  568. setBounds(8803, 103, 18, 13, tab);
  569. setBounds(8029, 110, 210, 14, tab);
  570. setBounds(8030, 110, 210, 15, tab);
  571. setBounds(8032, 60, 207, 16, tab);
  572. setBounds(8033, 60, 207, 17, tab);
  573. }
  574. public static void bossPvm(TextDrawingArea[] tda) {
  575. RSInterface tab = addInterface(8560);
  576. addSprite(8001, 0, "Interfaces/NewTeles/MAIN");
  577. addText(28804, "Bosses PvM Teleports", tda, 3, 0xff981f, true, true);
  578. addHoverButton(28162, "Interfaces/NewTeles/PVM/Boss/TELE", 0, 131, 26, "Teleport", 0, 28163, 1);//abracadabra
  579. addHoveredButton(28163, "Interfaces/NewTeles/PVM/Boss/TELE", 1, 155, 26, 28164);
  580. addHoverButton(28165, "Interfaces/NewTeles/PVM/Boss/TELE", 2, 131, 26, "Teleport", 0, 28166, 1);
  581. addHoveredButton(28166, "Interfaces/NewTeles/PVM/Boss/TELE", 3, 155, 26, 28167);
  582. addHoverButton(28168, "Interfaces/NewTeles/PVM/Boss/TELE", 4, 131, 26, "Teleport", 0, 28169, 1);
  583. addHoveredButton(28169, "Interfaces/NewTeles/PVM/Boss/TELE", 5, 155, 26, 28170);
  584. addHoverButton(8029, "Interfaces/NewTeles/MAGE", 0, 45, 35, "Back to SpellBook", 0, 8030, 1);
  585. addHoveredButton(8030, "Interfaces/NewTeles/MAGE", 1, 45, 35, 8031);
  586. addHoverButton(8032, "Interfaces/NewTeles/BACK", 0, 35, 39, "Back to Main Page", 0, 8033, 1);
  587. addHoveredButton(8033, "Interfaces/NewTeles/BACK", 1, 35, 39, 8034);
  588. setChildren(12, tab);
  589. setBounds(8001, 0, 10, 0, tab);
  590. setBounds(28162, 35, 45, 1, tab);
  591. setBounds(28163, 35, 45, 2, tab);
  592. setBounds(28165, 35, 80, 3, tab);
  593. setBounds(28166, 35, 80, 4, tab);
  594. setBounds(28168, 35, 115, 5, tab);
  595. setBounds(28169, 35, 115, 6, tab);
  596. setBounds(28804, 103, 18, 7, tab);
  597. setBounds(8029, 110, 210, 8, tab);
  598. setBounds(8030, 110, 210, 9, tab);
  599. setBounds(8032, 60, 207, 10, tab);
  600. setBounds(8033, 60, 207, 11, tab);
  601. }
  602. public static void levelPvm(TextDrawingArea[] tda) {
  603. RSInterface tab = addTabInterface(8000);
  604. addSprite(8001, 0, "Interfaces/NewTeles/MAIN");
  605. addText(8800, "PvM Teleports", tda, 3, 0xff981f, true, true);
  606. addHoverButton(8002, "Interfaces/NewTeles/PVM/LEVEL", 0, 131, 26, "Choose Novice", 0, 8003, 1);//abracadabra
  607. addHoveredButton(8003, "Interfaces/NewTeles/PVM/LEVEL", 1, 155, 26, 8004);
  608. addHoverButton(8006, "Interfaces/NewTeles/PVM/LEVEL", 2, 131, 26, "Choose Intermediate", 0, 8007, 1);
  609. addHoveredButton(8007, "Interfaces/NewTeles/PVM/LEVEL", 3, 155, 26, 8008);
  610. addHoverButton(8010, "Interfaces/NewTeles/PVM/LEVEL", 4, 131, 26, "Choose Elite", 0, 8011, 1);
  611. addHoveredButton(8011, "Interfaces/NewTeles/PVM/LEVEL", 5, 155, 26, 8012);
  612. addHoverButton(8014, "Interfaces/NewTeles/PVM/LEVEL", 6, 131, 26, "Choose Bosses", 0, 8015, 1);
  613. addHoveredButton(8015, "Interfaces/NewTeles/PVM/LEVEL", 7, 155, 26, 8016);
  614. addHoverButton(8029, "Interfaces/NewTeles/MAGE", 0, 45, 35, "Back to SpellBook", 0, 8030, 1);
  615. addHoveredButton(8030, "Interfaces/NewTeles/MAGE", 1, 45, 35, 8031);
  616. setChildren(12, tab);
  617. setBounds(8001, 0, 10, 0, tab);
  618. setBounds(8002, 35, 45, 1, tab);
  619. setBounds(8003, 35, 45, 2, tab);
  620. setBounds(8006, 35, 80, 3, tab);
  621. setBounds(8007, 35, 80, 4, tab);
  622. setBounds(8010, 35, 115, 5, tab);
  623. setBounds(8011, 35, 115, 6, tab);
  624. setBounds(8014, 35, 150, 7, tab);
  625. setBounds(8015, 35, 150, 8, tab);
  626. setBounds(8800, 103, 18, 9, tab);
  627. setBounds(8029, 145, 210, 10, tab);
  628. setBounds(8030, 145, 210, 11, tab);
  629.  
  630. }
  631.  
  632. public static void LodestoneNetwork(TextDrawingArea[] TDA) {
  633. RSInterface tab = addTabInterface(26000);
  634. addSprite(24201, 0, "Interfaces/Lodestones/Main");
  635. addHoverButton(24202, "Interfaces/Lodestones/Unlock", 14, 40, 40, "Lunar Isle", 250, 24203, 5);
  636. addHoveredButton(24203, "Interfaces/Lodestones/UnlockHover", 14, 50, 50, 24204);
  637. addHoverButton(24205, "Interfaces/Lodestones/Unlock", 0, 40, 40, "Lumbridge", 250, 24206, 5);
  638. addHoveredButton(24206, "Interfaces/Lodestones/UnlockHover", 0, 50, 50, 24207);
  639. addHoverButton(24208, "Interfaces/Lodestones/Unlock", 5, 40, 40, "Burthorpe", 250, 24209, 5);
  640. addHoveredButton(24209, "Interfaces/Lodestones/UnlockHover", 5, 50, 50, 24210);
  641. addHoverButton(24211, "Interfaces/Lodestones/Unlock", 13, 40, 40, "Bandit Camp", 250, 24212, 5);
  642. addHoveredButton(24212, "Interfaces/Lodestones/UnlockHover", 13, 50, 50, 24213);
  643. addHoverButton(24214, "Interfaces/Lodestones/Unlock", 4, 40, 40, "Taverley", 250, 24215, 5);
  644. addHoveredButton(24215, "Interfaces/Lodestones/UnlockHover", 4, 50, 50, 24216);
  645. addHoverButton(24217, "Interfaces/Lodestones/Unlock", 12, 40, 40, "Al Kharid", 250, 24218, 5);
  646. addHoveredButton(24218, "Interfaces/Lodestones/UnlockHover", 12, 50, 50, 24219);
  647. addHoverButton(24220, "Interfaces/Lodestones/Unlock", 1, 40, 40, "Varrock", 250, 24221, 5);
  648. addHoveredButton(24221, "Interfaces/Lodestones/UnlockHover", 1, 50, 50, 24222);
  649. addHoverButton(24223, "Interfaces/Lodestones/Unlock", 11, 40, 40, "Edgeville", 250, 24224, 5);
  650. addHoveredButton(24224, "Interfaces/Lodestones/UnlockHover", 11, 50, 50, 24225);
  651. addHoverButton(24226, "Interfaces/Lodestones/Unlock", 2, 40, 40, "Falador", 250, 24227, 5);
  652. addHoveredButton(24227, "Interfaces/Lodestones/UnlockHover", 2, 50, 50, 24228);
  653. addHoverButton(24229, "Interfaces/Lodestones/Unlock", 8, 40, 40, "Port Sarim", 250, 24230, 5);
  654. addHoveredButton(24230, "Interfaces/Lodestones/UnlockHover", 8, 50, 50, 24231);
  655. addHoverButton(24232, "Interfaces/Lodestones/Unlock", 9, 40, 40, "Draynor Village", 250, 24233, 5);
  656. addHoveredButton(24233, "Interfaces/Lodestones/UnlockHover", 9, 50, 50, 24234);
  657. addHoverButton(24235, "Interfaces/Lodestones/Unlock", 3, 40, 40, "Ardougne", 250, 24236, 5);
  658. addHoveredButton(24236, "Interfaces/Lodestones/UnlockHover", 3, 50, 50, 24237);
  659. addHoverButton(24238, "Interfaces/Lodestones/Unlock", 6, 40, 40, "Catherby", 250, 24239, 5);
  660. addHoveredButton(24239, "Interfaces/Lodestones/UnlockHover", 6, 50, 50, 24240);
  661. addHoverButton(24241, "Interfaces/Lodestones/Unlock", 10, 40, 40, "Yanille", 250, 24242, 5);
  662. addHoveredButton(24242, "Interfaces/Lodestones/UnlockHover", 10, 50, 50, 24243);
  663. addHoverButton(24244, "Interfaces/Lodestones/Unlock", 7, 40, 40, "Seers' Village", 250, 24245, 5);
  664. addHoveredButton(24245, "Interfaces/Lodestones/UnlockHover", 7, 50, 50, 24246);
  665. addHoverButton(24247, "Interfaces/Lodestones/Close", 0, 26, 26, "Seers' Village", 250, 24248, 3);
  666. addHoveredButton(24248, "Interfaces/Lodestones/Close", 1, 26, 26, 24249);
  667. tab.totalChildren(33);
  668. tab.child(0, 24201, 6, 18);
  669. tab.child(1, 24202, 30, 53);
  670. tab.child(2, 24203, 25, 48);
  671. tab.child(3, 24205, 302, 217);
  672. tab.child(4, 24206, 297, 212);
  673. tab.child(5, 24208, 230, 120);
  674. tab.child(6, 24209, 225, 115);
  675. tab.child(7, 24211, 300, 270);
  676. tab.child(8, 24212, 295, 265);
  677. tab.child(9, 24214, 230, 155);
  678. tab.child(10, 24215, 225, 150);
  679. tab.child(11, 24217, 340, 200);
  680. tab.child(12, 24218, 335, 195);
  681. tab.child(13, 24220, 322, 162);
  682. tab.child(14, 24221, 317, 157);
  683. tab.child(15, 24223, 275, 130);
  684. tab.child(16, 24224, 270, 125);
  685. tab.child(17, 24226, 256, 181);
  686. tab.child(18, 24227, 251, 176);
  687. tab.child(19, 24229, 260, 235);
  688. tab.child(20, 24230, 255, 230);
  689. tab.child(21, 24232, 287, 182);
  690. tab.child(22, 24233, 282, 177);
  691. tab.child(23, 24235, 145, 185);
  692. tab.child(24, 24236, 140, 180);
  693. tab.child(25, 24238, 200, 157);
  694. tab.child(26, 24239, 195, 153);
  695. tab.child(27, 24241, 135, 240);
  696. tab.child(28, 24242, 130, 235);
  697. tab.child(29, 24244, 172, 135);
  698. tab.child(30, 24245, 167, 130);
  699. tab.child(31, 24247, 480, 21);
  700. tab.child(32, 24248, 480, 21);
  701. }
  702.  
  703. public static void moneyBank(TextDrawingArea[] tda){
  704. RSInterface tab = addTabInterface(9050);
  705. addSprite(9051, 0, "Interfaces/Backgrounds/BACKGROUND");
  706. addHoverButton(9052, "Interfaces/Buttons/BUTTON", 0, 72, 36, "Deposit", -1, 9053, 1);
  707. addHoveredButton(9053, "Interfaces/Buttons/BUTTON", 1, 72, 36, 9054);
  708. addHoverButton(9055, "Interfaces/Buttons/BUTTON", 0, 72, 36, "Withdraw", -1, 9056, 1);
  709. addHoveredButton(9056, "Interfaces/Buttons/BUTTON", 1, 72, 36, 9057);
  710. addHoverButton(9058, "Interfaces/DataTables/TABLE", 0, 205, 20, "Balance", -1, 9057, 1);
  711. addText(9059, "Money Bank", tda, 3, 0xff981f, true, true);
  712. addHoverButton(9060, "Interfaces/Buttons/BUTTON", 0, 72, 36, "Transfer", -1, 9061, 1);
  713. addHoveredButton(9061, "Interfaces/Buttons/BUTTON", 1, 72, 36, 9057);
  714. addText(9062, "Deposit", tda, 0, 0xff981f, true, true);
  715. addText(9063, "Withdraw", tda, 0, 0xff981f, true, true);
  716. addText(9064, "Transfer", tda, 0, 0xff981f, true, true);
  717. addHover(9065, 3, 0, 19066, 2, "Interfaces/Buttons/BUTTON", 24, 23, "Close Window");
  718. addHovered(9066, 3, "Interfaces/Buttons/BUTTON", 24, 23, 19357);
  719. addText(9067, "0123456789 GP", tda, 1, 0xff981f, true, true);
  720. addText(9068, "~Avarr~", tda, 2, 0xff981f, true, true);
  721. tab.totalChildren(16);
  722. tab.child(0,9051,4,20);
  723. tab.child(1,9059,255,26);
  724. tab.child(2,9058,158,200);
  725. tab.child(3,9052,153,164);
  726. tab.child(4,9053,153,164);
  727. tab.child(5,9055,225,164);
  728. tab.child(6,9056,225,164);
  729. tab.child(7,9060,297,164);
  730. tab.child(8,9061,297,164);
  731. tab.child(9,9062,189,177);
  732. tab.child(10,9063,261,177);
  733. tab.child(11,9064,333,177);
  734. tab.child(12,9065,470,25);
  735. tab.child(13,9066,470,25);
  736. tab.child(14,9067,258,203);
  737. tab.child(15,9068,255,305);
  738. }
  739.  
  740. public static void bountyHunter(TextDrawingArea[] tda) {
  741. RSInterface tab = addInterface(25347);
  742. tab.totalChildren(5);
  743.  
  744. addText(25349, "Target:", 0xffcccc, false, true, -1, tda, 1);
  745. addText(25350, "", 0xff6666, true, true, -1, tda, 2);
  746. addText(25351, "Pickup penalty:", 0xff3333, false, true, -1, tda, 1);
  747. addText(25352, "180 Sec", 0xff6666, true, true, -1, tda, 2);
  748.  
  749. addTransparentSprite(25348, 0, "Interfaces/bounty/bh");
  750.  
  751. tab.child(0,25348,332,3);
  752. tab.child(1,25349,340,13);
  753. tab.child(2,25350,452,13);
  754. tab.child(3,25351,340,34);
  755. tab.child(4,25352,470,34);
  756. }
  757.  
  758. public static void newLamp(TextDrawingArea [] tda) {
  759. RSInterface rsinterface = addTabInterface(52000);
  760. addSprite(52001, 1, "Interfaces/Lamp/lamp");
  761. addButton(52002, 1, "Interfaces/Lamp/X", "Close");
  762. addHoverButton(52003, "Interfaces/Lamp/lamp", 2, 74, 22, "Confirm", -1, 52004, 1);
  763. addHoveredButton(52004, "Interfaces/Lamp/lamp", 3, 74, 22, 52005);
  764. addButton(52006, 1, "Interfaces/Lamp/attack", "Select Attack");
  765. addButton(52007, 1, "Interfaces/Lamp/str", "Select Strength");
  766. addButton(52008, 1, "Interfaces/Lamp/range", "Select Ranged");
  767. addButton(52009, 1, "Interfaces/Lamp/mage", "Select Magic");
  768. addButton(52010, 1, "Interfaces/Lamp/def", "Select Defence");
  769. addButton(52011, 1, "Interfaces/Lamp/craft", "Select Crafting");
  770. addButton(52012, 1, "Interfaces/Lamp/hp", "Select Hitpoints");
  771. addButton(52013, 1, "Interfaces/Lamp/pray", "Select Prayer");
  772. addButton(52014, 1, "Interfaces/Lamp/agility", "Select Agility");
  773. addButton(52015, 1, "Interfaces/Lamp/herb", "Select Herblore");
  774. addButton(52016, 1, "Interfaces/Lamp/thiev", "Select Thieving");
  775. addButton(52017, 1, "Interfaces/Lamp/fish", "Select Fishing");
  776. addButton(52018, 1, "Interfaces/Lamp/rc", "Select Runecraft");
  777. addButton(52019, 1, "Interfaces/Lamp/slay", "Select Slayer");
  778. addButton(52020, 1, "Interfaces/Lamp/farm", "Select Farming");
  779. addButton(52021, 1, "Interfaces/Lamp/mine", "Select Mining");
  780. addButton(52022, 1, "Interfaces/Lamp/smith", "Select Smithing");
  781. addButton(52023, 1, "Interfaces/Lamp/hunt", "Select Hunter");
  782. addButton(52024, 1, "Interfaces/Lamp/cook", "Select Cooking");
  783. addButton(52025, 1, "Interfaces/Lamp/fm", "Select Firemaking");
  784. addButton(52026, 1, "Interfaces/Lamp/wc", "Select Woodcutting");
  785. addButton(52027, 1, "Interfaces/Lamp/fletch", "Select Fletching");
  786. addButton(52028, 1, "Interfaces/Lamp/con", "Select Construction");
  787. addButton(52029, 1, "Interfaces/Lamp/summ", "Select Summoning");
  788. addButton(52030, 1, "Interfaces/Lamp/dung", "Select Dungeoneering");
  789. rsinterface.totalChildren(29);
  790. rsinterface.child(0, 52001, 0, 0);
  791. rsinterface.child(1, 52002, 431, 11);
  792. rsinterface.child(2, 52003, 352, 237);
  793. rsinterface.child(3, 52004, 352, 237);
  794. rsinterface.child(4, 52006, 60, 60);
  795. rsinterface.child(5, 52007, 119, 60);
  796. rsinterface.child(6, 52008, 172, 60);
  797. rsinterface.child(7, 52009, 230, 60);
  798. rsinterface.child(8, 52010, 288, 60);
  799. rsinterface.child(9, 52011, 328, 60);
  800. rsinterface.child(10, 52012, 380, 60);
  801. rsinterface.child(11, 52013, 55, 115);
  802. rsinterface.child(12, 52014, 113, 115);
  803. rsinterface.child(13, 52015, 168, 115);
  804. rsinterface.child(14, 52016, 228, 124);
  805. rsinterface.child(15, 52017, 281, 115);
  806. rsinterface.child(16, 52018, 330, 115);
  807. rsinterface.child(17, 52019, 383, 115);
  808. rsinterface.child(18, 52020, 55, 171);
  809. rsinterface.child(19, 52021, 113, 171);
  810. rsinterface.child(20, 52022, 168, 174);
  811. rsinterface.child(21, 52023, 228, 171);
  812. rsinterface.child(22, 52024, 281, 171);
  813. rsinterface.child(23, 52025, 330, 171);
  814. rsinterface.child(24, 52026, 383, 171);
  815. rsinterface.child(25, 52027, 113, 227);
  816. rsinterface.child(26, 52028, 168, 227);
  817. rsinterface.child(27, 52029, 228, 228);
  818. rsinterface.child(28, 52030, 281, 227);
  819. }
  820.  
  821. public static void newTrade(TextDrawingArea[] TDA) {
  822. RSInterface Interface = addInterface(3323);
  823. setChildren(19, Interface);
  824. addSprite(3324, 6, "Interfaces/Trade/TRADE");
  825. addHover(3442, 3, 0, 3325, 1, "Interfaces/Bank/BANK", 17, 17,
  826. "Close Window");
  827. addHovered(3325, 2, "Interfaces/Bank/BANK", 17, 17, 3326);
  828. addText(3417, "Trading With:", 0xFF981F, true, true, 52, TDA, 2);
  829. addText(3418, "Trader's Offer", 0xFF981F, false, true, 52, TDA, 1);
  830. addText(3419, "Your Offer", 0xFF981F, false, true, 52, TDA, 1);
  831. addText(3421, "Accept", 0x00C000, true, true, 52, TDA, 1);
  832. addText(3423, "Decline", 0xC00000, true, true, 52, TDA, 1);
  833.  
  834. addText(3431, "Waiting For Other Player", 0xFFFFFF, true, true, 52,
  835. TDA, 1);
  836. addText(23504,
  837. "Wealth transfer: 2147,000,000 coins' worth to Zezimablud12",
  838. 0xB9B855, true, true, -1, TDA, 0);
  839. addText(23505, "1 has\\n 28 free\\n inventory slots.", 0xFF981F, true,
  840. true, -1, TDA, 0);
  841.  
  842. addText(23506,
  843. "Wealth transfer: 2147,000,000 coins' worth to Zezimablud12",
  844. 0xB9B855, false, true, -1, TDA, 0);
  845. addText(23507, "Wealth transfer: 2147,000,000 coins' worth to me",
  846. 0xB9B855, false, true, -1, TDA, 0);
  847.  
  848. addHover(3420, 1, 0, 3327, 5, "Interfaces/Trade/TRADE", 65, 32,
  849. "Accept");
  850. addHovered(3327, 2, "Interfaces/Trade/TRADE", 65, 32, 3328);
  851. addHover(3422, 3, 0, 3329, 5, "Interfaces/Trade/TRADE", 65, 32,
  852. "Decline");
  853. addHovered(3329, 2, "Interfaces/Trade/TRADE", 65, 32, 3330);
  854. setBounds(3324, 0, 16, 0, Interface);
  855. setBounds(3442, 485, 24, 1, Interface);
  856. setBounds(3325, 485, 24, 2, Interface);
  857. setBounds(3417, 258, 25, 3, Interface);
  858. setBounds(3418, 355, 51, 4, Interface);
  859. setBounds(3419, 68, 51, 5, Interface);
  860. setBounds(3420, 223, 120, 6, Interface);
  861. setBounds(3327, 223, 120, 7, Interface);
  862. setBounds(3422, 223, 160, 8, Interface);
  863. setBounds(3329, 223, 160, 9, Interface);
  864. setBounds(3421, 256, 127, 10, Interface);
  865. setBounds(3423, 256, 167, 11, Interface);
  866. setBounds(3431, 256, 272, 12, Interface);
  867. setBounds(3415, 12, 64, 13, Interface);
  868. setBounds(3416, 321, 67, 14, Interface);
  869.  
  870. setBounds(23505, 256, 67, 16, Interface);
  871.  
  872. setBounds(23504, 255, 310, 15, Interface);
  873. setBounds(23506, 20, 310, 17, Interface);
  874. setBounds(23507, 380, 310, 18, Interface);
  875.  
  876. Interface = addInterface(3443);
  877. setChildren(15, Interface);
  878. addSprite(3444, 3, "Interfaces/Trade/TRADE");
  879. addButton(3546, 2, "Interfaces/Trade/SHOP", 63, 24, "Accept", 1);
  880. addButton(3548, 2, "Interfaces/Trade/SHOP", 63, 24, "Decline", 3);
  881. addText(3547, "Accept", 0x00C000, true, true, 52, TDA, 1);
  882. addText(3549, "Decline", 0xC00000, true, true, 52, TDA, 1);
  883. addText(3450, "Trading With:", 0x00FFFF, true, true, 52, TDA, 2);
  884. addText(3451, "Yourself", 0x00FFFF, true, true, 52, TDA, 2);
  885. setBounds(3444, 12, 20, 0, Interface);
  886. setBounds(3442, 470, 32, 1, Interface);
  887. setBounds(3325, 470, 32, 2, Interface);
  888. setBounds(3535, 130, 28, 3, Interface);
  889. setBounds(3536, 105, 47, 4, Interface);
  890. setBounds(3546, 189, 295, 5, Interface);
  891. setBounds(3548, 258, 295, 6, Interface);
  892. setBounds(3547, 220, 299, 7, Interface);
  893. setBounds(3549, 288, 299, 8, Interface);
  894. setBounds(3557, 71, 87, 9, Interface);
  895. setBounds(3558, 315, 87, 10, Interface);
  896. setBounds(3533, 64, 70, 11, Interface);
  897. setBounds(3534, 297, 70, 12, Interface);
  898. setBounds(3450, 95, 289, 13, Interface);
  899. setBounds(3451, 95, 304, 14, Interface);
  900. }
  901.  
  902. public static void skilllevel(TextDrawingArea[] tda) {
  903. @SuppressWarnings("unused")
  904. RSInterface text = interfaceCache[7202];
  905. RSInterface attack = interfaceCache[6247];
  906. RSInterface defence = interfaceCache[6253];
  907. RSInterface str = interfaceCache[6206];
  908. RSInterface hits = interfaceCache[6216];
  909. RSInterface rng = interfaceCache[4443];
  910. RSInterface pray = interfaceCache[6242];
  911. RSInterface mage = interfaceCache[6211];
  912. RSInterface cook = interfaceCache[6226];
  913. RSInterface wood = interfaceCache[4272];
  914. RSInterface flet = interfaceCache[6231];
  915. RSInterface fish = interfaceCache[6258];
  916. RSInterface fire = interfaceCache[4282];
  917. RSInterface craf = interfaceCache[6263];
  918. RSInterface smit = interfaceCache[6221];
  919. RSInterface mine = interfaceCache[4416];
  920. RSInterface herb = interfaceCache[6237];
  921. RSInterface agil = interfaceCache[4277];
  922. RSInterface thie = interfaceCache[4261];
  923. RSInterface slay = interfaceCache[12122];
  924. RSInterface farm = interfaceCache[5267];
  925. RSInterface rune = interfaceCache[4267];
  926. RSInterface cons = interfaceCache[7267];
  927. RSInterface hunt = interfaceCache[8267];
  928. RSInterface summ = addInterface(9267);
  929. RSInterface dung = addInterface(10267);
  930. addSprite(17878, 0, "Interfaces/skillchat/skill");
  931. addSprite(17879, 1, "Interfaces/skillchat/skill");
  932. addSprite(17880, 2, "Interfaces/skillchat/skill");
  933. addSprite(17881, 3, "Interfaces/skillchat/skill");
  934. addSprite(17882, 4, "Interfaces/skillchat/skill");
  935. addSprite(17883, 5, "Interfaces/skillchat/skill");
  936. addSprite(17884, 6, "Interfaces/skillchat/skill");
  937. addSprite(17885, 7, "Interfaces/skillchat/skill");
  938. addSprite(17886, 8, "Interfaces/skillchat/skill");
  939. addSprite(17887, 9, "Interfaces/skillchat/skill");
  940. addSprite(17888, 10, "Interfaces/skillchat/skill");
  941. addSprite(17889, 11, "Interfaces/skillchat/skill");
  942. addSprite(17890, 12, "Interfaces/skillchat/skill");
  943. addSprite(17891, 13, "Interfaces/skillchat/skill");
  944. addSprite(17892, 14, "Interfaces/skillchat/skill");
  945. addSprite(17893, 15, "Interfaces/skillchat/skill");
  946. addSprite(17894, 16, "Interfaces/skillchat/skill");
  947. addSprite(17895, 17, "Interfaces/skillchat/skill");
  948. addSprite(17896, 18, "Interfaces/skillchat/skill");
  949. addSprite(11897, 19, "Interfaces/skillchat/skill");
  950. addSprite(17898, 20, "Interfaces/skillchat/skill");
  951. addSprite(17899, 21, "Interfaces/skillchat/skill");
  952. addSprite(17900, 22, "Interfaces/skillchat/skill");
  953. addSprite(17901, 23, "Interfaces/skillchat/skill");
  954. addSprite(17902, 24, "Interfaces/skillchat/skill");
  955. setChildren(4, attack);
  956. setBounds(17878, 20, 30, 0, attack);
  957. setBounds(4268, 80, 15, 1, attack);
  958. setBounds(4269, 80, 45, 2, attack);
  959. setBounds(358, 95, 75, 3, attack);
  960. setChildren(4, defence);
  961. setBounds(17879, 20, 30, 0, defence);
  962. setBounds(4268, 80, 15, 1, defence);
  963. setBounds(4269, 80, 45, 2, defence);
  964. setBounds(358, 95, 75, 3, defence);
  965. setChildren(4, str);
  966. setBounds(17880, 20, 30, 0, str);
  967. setBounds(4268, 80, 15, 1, str);
  968. setBounds(4269, 80, 45, 2, str);
  969. setBounds(358, 95, 75, 3, str);
  970. setChildren(4, hits);
  971. setBounds(17881, 20, 30, 0, hits);
  972. setBounds(4268, 80, 15, 1, hits);
  973. setBounds(4269, 80, 45, 2, hits);
  974. setBounds(358, 95, 75, 3, hits);
  975. setChildren(4, rng);
  976. setBounds(17882, 20, 30, 0, rng);
  977. setBounds(4268, 80, 15, 1, rng);
  978. setBounds(4269, 80, 45, 2, rng);
  979. setBounds(358, 95, 75, 3, rng);
  980. setChildren(4, pray);
  981. setBounds(17883, 20, 30, 0, pray);
  982. setBounds(4268, 80, 15, 1, pray);
  983. setBounds(4269, 80, 45, 2, pray);
  984. setBounds(358, 95, 75, 3, pray);
  985. setChildren(4, mage);
  986. setBounds(17884, 20, 30, 0, mage);
  987. setBounds(4268, 80, 15, 1, mage);
  988. setBounds(4269, 80, 45, 2, mage);
  989. setBounds(358, 95, 75, 3, mage);
  990. setChildren(4, cook);
  991. setBounds(17885, 20, 30, 0, cook);
  992. setBounds(4268, 80, 15, 1, cook);
  993. setBounds(4269, 80, 45, 2, cook);
  994. setBounds(358, 95, 75, 3, cook);
  995. setChildren(4, wood);
  996. setBounds(17886, 20, 30, 0, wood);
  997. setBounds(4268, 80, 15, 1, wood);
  998. setBounds(4269, 80, 45, 2, wood);
  999. setBounds(358, 95, 75, 3, wood);
  1000. setChildren(4, flet);
  1001. setBounds(17887, 20, 30, 0, flet);
  1002. setBounds(4268, 80, 15, 1, flet);
  1003. setBounds(4269, 80, 45, 2, flet);
  1004. setBounds(358, 95, 75, 3, flet);
  1005. setChildren(4, fish);
  1006. setBounds(17888, 20, 30, 0, fish);
  1007. setBounds(4268, 80, 15, 1, fish);
  1008. setBounds(4269, 80, 45, 2, fish);
  1009. setBounds(358, 95, 75, 3, fish);
  1010. setChildren(4, fire);
  1011. setBounds(17889, 20, 30, 0, fire);
  1012. setBounds(4268, 80, 15, 1, fire);
  1013. setBounds(4269, 80, 45, 2, fire);
  1014. setBounds(358, 95, 75, 3, fire);
  1015. setChildren(4, craf);
  1016. setBounds(17890, 20, 30, 0, craf);
  1017. setBounds(4268, 80, 15, 1, craf);
  1018. setBounds(4269, 80, 45, 2, craf);
  1019. setBounds(358, 95, 75, 3, craf);
  1020. setChildren(4, smit);
  1021. setBounds(17891, 20, 30, 0, smit);
  1022. setBounds(4268, 80, 15, 1, smit);
  1023. setBounds(4269, 80, 45, 2, smit);
  1024. setBounds(358, 95, 75, 3, smit);
  1025. setChildren(4, mine);
  1026. setBounds(17892, 20, 30, 0, mine);
  1027. setBounds(4268, 80, 15, 1, mine);
  1028. setBounds(4269, 80, 45, 2, mine);
  1029. setBounds(358, 95, 75, 3, mine);
  1030. setChildren(4, herb);
  1031. setBounds(17893, 20, 30, 0, herb);
  1032. setBounds(4268, 80, 15, 1, herb);
  1033. setBounds(4269, 80, 45, 2, herb);
  1034. setBounds(358, 95, 75, 3, herb);
  1035. setChildren(4, agil);
  1036. setBounds(17894, 20, 30, 0, agil);
  1037. setBounds(4268, 80, 15, 1, agil);
  1038. setBounds(4269, 80, 45, 2, agil);
  1039. setBounds(358, 95, 75, 3, agil);
  1040. setChildren(4, thie);
  1041. setBounds(17895, 20, 30, 0, thie);
  1042. setBounds(4268, 80, 15, 1, thie);
  1043. setBounds(4269, 80, 45, 2, thie);
  1044. setBounds(358, 95, 75, 3, thie);
  1045. setChildren(4, slay);
  1046. setBounds(17896, 20, 30, 0, slay);
  1047. setBounds(4268, 80, 15, 1, slay);
  1048. setBounds(4269, 80, 45, 2, slay);
  1049. setBounds(358, 95, 75, 3, slay);
  1050. setChildren(3, farm);
  1051. setBounds(4268, 80, 15, 0, farm);
  1052. setBounds(4269, 80, 45, 1, farm);
  1053. setBounds(358, 95, 75, 2, farm);
  1054. setChildren(4, rune);
  1055. setBounds(17898, 20, 30, 0, rune);
  1056. setBounds(4268, 80, 15, 1, rune);
  1057. setBounds(4269, 80, 45, 2, rune);
  1058. setBounds(358, 95, 75, 3, rune);
  1059. setChildren(3, cons);
  1060. setBounds(4268, 80, 15, 0, cons);
  1061. setBounds(4269, 80, 45, 1, cons);
  1062. setBounds(358, 95, 75, 2, cons);
  1063. setChildren(3, hunt);
  1064. setBounds(4268, 80, 15, 0, hunt);
  1065. setBounds(4269, 80, 45, 1, hunt);
  1066. setBounds(358, 95, 75, 2, hunt);
  1067. setChildren(4, summ);
  1068. setBounds(17901, 20, 30, 0, summ);
  1069. setBounds(4268, 80, 15, 1, summ);
  1070. setBounds(4269, 80, 45, 2, summ);
  1071. setBounds(358, 95, 75, 3, summ);
  1072. setChildren(4, dung);
  1073. setBounds(17902, 20, 30, 0, dung);
  1074. setBounds(4268, 80, 15, 1, dung);
  1075. setBounds(4269, 80, 45, 2, dung);
  1076. setBounds(358, 95, 75, 3, dung);
  1077. }
  1078.  
  1079. public static void capeCustomiser(TextDrawingArea[] TDA) {
  1080. RSInterface Interface = addInterface(29000); // Interface ID
  1081. // Background here
  1082. addSprite(29001, 1, "Interfaces/Customiser/BACKGROUND");
  1083.  
  1084. // Buttons Begin
  1085. addHoverButton(29002, "Interfaces/Customiser/SPRITE", 1, 144, 85,
  1086. "Customise", -1, 29002, 1);
  1087. addHoverButton(29003, "Interfaces/Customiser/SPRITE", 1, 82, 76,
  1088. "Close", -1, 29003, 1);
  1089. // Buttons End
  1090.  
  1091. // Set Bounds Begin
  1092. setChildren(3, Interface); // Number of sprites/buttons
  1093. setBounds(29001, 10, 20, 0, Interface);
  1094. setBounds(29002, 121, 133, 1, Interface);
  1095. setBounds(29003, 477, 10, 2, Interface);
  1096. // Set Bounds End
  1097. }
  1098.  
  1099. public static void congrats(TextDrawingArea[] TDA) {
  1100. RSInterface Interface = addInterface(23000); // Interface ID
  1101. // Background here
  1102. addSprite(23001, 1, "Interfaces/Congrats/BACKGROUND");
  1103. // Buttons Begin
  1104. addHoverButton(23002, "Interfaces/Congrats/SPRITE", 1, 132, 27,
  1105. "Continue", -1, 23002, 1);
  1106. addText(23003, "", TDA, 2, 0x000000, true, false);
  1107.  
  1108. addText(23004, "", TDA, 2, 0x000000, true, false);
  1109. addText(23005, "", TDA, 2, 0x000000, true, false);
  1110. addText(23006, "", TDA, 2, 0x000000, true, false);
  1111. addText(23007, "", TDA, 2, 0x000000, true, false);
  1112.  
  1113. // Buttons End
  1114.  
  1115. // Set Bounds Begin
  1116. setChildren(7, Interface); // Number of sprites/buttons
  1117. setBounds(23001, 1, 1, 0, Interface);
  1118. setBounds(23002, 191, 269, 1, Interface);
  1119. setBounds(23003, 261, 119, 2, Interface);
  1120. setBounds(23004, 261, 164, 3, Interface);
  1121. setBounds(23005, 261, 180, 4, Interface);
  1122. setBounds(23006, 261, 196, 5, Interface);
  1123. setBounds(23007, 261, 212, 6, Interface);
  1124. // Set Bounds End
  1125. }
  1126.  
  1127. public static void monsterTele(TextDrawingArea[] TDA) {
  1128. RSInterface Interface = addInterface(22400); // Interface ID
  1129.  
  1130. // Background here
  1131. addSprite(22401, 1, "Interfaces/MonsterTele/BG");
  1132.  
  1133. // Buttons Begin
  1134. addHoverButton(22402, "Interfaces/MonsterTele/SPRITE", 1, 82, 76,
  1135. "Close", -1, 22402, 1);
  1136.  
  1137. addHoverButton(22403, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1138. "Teleport", -1, 22403, 1);
  1139. addHoverButton(22404, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1140. "Teleport", -1, 22404, 1);
  1141. addHoverButton(22405, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1142. "Teleport", -1, 22405, 1);
  1143. addHoverButton(22406, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1144. "Teleport", -1, 22406, 1);
  1145. addHoverButton(22407, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1146. "Teleport", -1, 22407, 1);
  1147. addHoverButton(22408, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1148. "Teleport", -1, 22408, 1);
  1149. addHoverButton(22409, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1150. "Teleport", -1, 22409, 1);
  1151. addHoverButton(22410, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1152. "Teleport", -1, 22410, 1);
  1153. addHoverButton(22411, "Interfaces/MonsterTele/SPRITE", 1, 158, 22,
  1154. "Teleport", -1, 22411, 1);
  1155.  
  1156. addHoverButton(22412, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1157. "Teleport", -1, 22412, 1);
  1158. addHoverButton(22413, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1159. "Teleport", -1, 22413, 1);
  1160. addHoverButton(22414, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1161. "Teleport", -1, 22414, 1);
  1162. addHoverButton(22415, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1163. "Teleport", -1, 22415, 1);
  1164. addHoverButton(22416, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1165. "Teleport", -1, 22416, 1);
  1166. addHoverButton(22417, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1167. "Teleport", -1, 22417, 1);
  1168. addHoverButton(22418, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1169. "Teleport", -1, 22418, 1);
  1170. addHoverButton(22419, "Interfaces/MonsterTele/SPRITE", 1, 148, 21,
  1171. "Teleport", -1, 22419, 1);
  1172.  
  1173. addHoverButton(22420, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1174. "Teleport", -1, 22420, 1);
  1175. addHoverButton(22421, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1176. "Teleport", -1, 22421, 1);
  1177. addHoverButton(22422, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1178. "Teleport", -1, 22422, 1);
  1179. addHoverButton(22423, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1180. "Teleport", -1, 22423, 1);
  1181. addHoverButton(22424, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1182. "Teleport", -1, 22424, 1);
  1183. addHoverButton(22425, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1184. "Teleport", -1, 22425, 1);
  1185. addHoverButton(22426, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1186. "Teleport", -1, 22426, 1);
  1187. addHoverButton(22427, "Interfaces/MonsterTele/SPRITE", 1, 162, 22,
  1188. "Teleport", -1, 22427, 1);
  1189.  
  1190.  
  1191. addText(22428, "Test", TDA, 2, 0xffffff, true, true);
  1192. addText(22429, "Test", TDA, 2, 0xffffff, true, true);
  1193. addText(22430, "Test", TDA, 2, 0xffffff, true, true);
  1194. addText(22431, "Test", TDA, 2, 0xffffff, true, true);
  1195. addText(22432, "Test", TDA, 2, 0xffffff, true, true);
  1196. addText(22433, "Test", TDA, 2, 0xffffff, true, true);
  1197. addText(22434, "Test", TDA, 2, 0xffffff, true, true);
  1198. addText(22435, "Test", TDA, 2, 0xffffff, true, true);
  1199. addText(22436, "Test", TDA, 2, 0xffffff, true, true);
  1200.  
  1201. addText(22437, "Test", TDA, 2, 0xffffff, true, true);
  1202. addText(22438, "Test", TDA, 2, 0xffffff, true, true);
  1203. addText(22439, "Test", TDA, 2, 0xffffff, true, true);
  1204. addText(22440, "Test", TDA, 2, 0xffffff, true, true);
  1205. addText(22441, "Test", TDA, 2, 0xffffff, true, true);
  1206. addText(22442, "Test", TDA, 2, 0xffffff, true, true);
  1207. addText(22443, "Test", TDA, 2, 0xffffff, true, true);
  1208. addText(22444, "Test", TDA, 2, 0xffffff, true, true);
  1209.  
  1210. addText(22445, "Test", TDA, 2, 0xffffff, true, true);
  1211. addText(22446, "Test", TDA, 2, 0xffffff, true, true);
  1212. addText(22447, "Test", TDA, 2, 0xffffff, true, true);
  1213. addText(22448, "Test", TDA, 2, 0xffffff, true, true);
  1214. addText(22449, "Test", TDA, 2, 0xffffff, true, true);
  1215. addText(22450, "Test", TDA, 2, 0xffffff, true, true);
  1216. addText(22451, "Test", TDA, 2, 0xffffff, true, true);
  1217. addText(22452, "Test", TDA, 2, 0xffffff, true, true);
  1218.  
  1219. //addChar(22455);
  1220.  
  1221. // Buttons End
  1222. // Set Bounds Begin
  1223. setChildren(52, Interface); // Number of sprites/buttons
  1224.  
  1225. setBounds(22401, 0, 0, 0, Interface);
  1226. setBounds(22402, 477, 10, 1, Interface);
  1227. // +27
  1228. setBounds(22403, 12, 85, 2, Interface);
  1229. setBounds(22404, 12, 112, 3, Interface);
  1230. setBounds(22405, 12, 139, 4, Interface);
  1231. setBounds(22406, 13, 166, 5, Interface);
  1232. setBounds(22407, 12, 193, 6, Interface);
  1233. setBounds(22408, 12, 220, 7, Interface);
  1234. setBounds(22409, 12, 247, 8, Interface);
  1235. setBounds(22410, 12, 274, 9, Interface);
  1236. setBounds(22411, 12, 301, 10, Interface);
  1237.  
  1238. setBounds(22412, 179, 85, 11, Interface);
  1239. setBounds(22413, 179, 112, 12, Interface);
  1240. setBounds(22414, 179, 139, 13, Interface);
  1241. setBounds(22415, 179, 166, 14, Interface);
  1242. setBounds(22416, 179, 193, 15, Interface);
  1243. setBounds(22417, 179, 220, 16, Interface);
  1244. setBounds(22418, 179, 247, 17, Interface);
  1245. setBounds(22419, 179, 274, 18, Interface);
  1246.  
  1247. setBounds(22420, 336, 85, 19, Interface);
  1248. setBounds(22421, 336, 112, 20, Interface);
  1249. setBounds(22422, 336, 139, 21, Interface);
  1250. setBounds(22423, 336, 166, 22, Interface);
  1251. setBounds(22424, 336, 193, 23, Interface);
  1252. setBounds(22425, 336, 220, 24, Interface);
  1253. setBounds(22426, 336, 247, 25, Interface);
  1254. setBounds(22427, 336, 274, 26, Interface);
  1255. // +27
  1256. setBounds(22428, 93, 84, 27, Interface);
  1257. setBounds(22429, 93, 111, 28, Interface);
  1258. setBounds(22430, 93, 138, 29, Interface);
  1259. setBounds(22431, 93, 165, 30, Interface);
  1260. setBounds(22432, 93, 192, 31, Interface);
  1261. setBounds(22433, 93, 219, 32, Interface);
  1262. setBounds(22434, 93, 246, 33, Interface);
  1263. setBounds(22435, 93, 273, 34, Interface);
  1264. setBounds(22436, 93, 300, 35, Interface);
  1265.  
  1266. setBounds(22437, 257, 84, 36, Interface);
  1267. setBounds(22438, 257, 111, 37, Interface);
  1268. setBounds(22439, 257, 138, 38, Interface);
  1269. setBounds(22440, 257, 165, 39, Interface);
  1270. setBounds(22441, 257, 192, 40, Interface);
  1271. setBounds(22442, 257, 219, 41, Interface);
  1272. setBounds(22443, 257, 246, 42, Interface);
  1273. setBounds(22444, 257, 273, 43, Interface);
  1274.  
  1275. setBounds(22445, 424, 84, 44, Interface);
  1276. setBounds(22446, 424, 111, 45, Interface);
  1277. setBounds(22447, 424, 138, 46, Interface);
  1278. setBounds(22448, 424, 165, 47, Interface);
  1279. setBounds(22449, 424, 192, 48, Interface);
  1280. setBounds(22450, 424, 219, 49, Interface);
  1281. setBounds(22451, 424, 246, 50, Interface);
  1282. setBounds(22452, 424, 273, 51, Interface);
  1283. //setBounds(22455, 184, 276, 52, Interface);
  1284. // Set Bounds End
  1285. }
  1286.  
  1287. public static void capeColor(TextDrawingArea[] TDA) {
  1288. RSInterface Interface = addInterface(14000); // Interface ID
  1289. // Background here
  1290. addSprite(14001, 2, "Interfaces/Customiser/BACKGROUND");
  1291. // Buttons Begin
  1292. addHoverButton(14002, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1293. "Choose color", -1, 14002, 1);
  1294. addHoverButton(14003, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1295. "Choose color", -1, 14003, 1);
  1296. addHoverButton(14004, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1297. "Choose color", -1, 14004, 1);
  1298. addHoverButton(14005, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1299. "Choose color", -1, 14005, 1);
  1300. addHoverButton(14006, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1301. "Choose color", -1, 14006, 1);
  1302. addHoverButton(14007, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1303. "Choose color", -1, 14007, 1);
  1304. addHoverButton(14008, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1305. "Choose color", -1, 14008, 1);
  1306. addHoverButton(14009, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1307. "Choose color", -1, 14009, 1);
  1308. addHoverButton(14010, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1309. "Choose color", -1, 14010, 1);
  1310. addHoverButton(14011, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1311. "Choose color", -1, 14011, 1);
  1312. addHoverButton(14012, "Interfaces/Customiser/SPRITE", 1, 21, 22,
  1313. "Close", -1, 14012, 1);
  1314.  
  1315. // Buttons End
  1316.  
  1317. // Set Bounds Begin
  1318. setChildren(12, Interface); // Number of sprites/buttons
  1319. setBounds(14001, 109, 97, 0, Interface);
  1320. setBounds(14002, 155, 161, 1, Interface);
  1321. setBounds(14003, 183, 161, 2, Interface);
  1322. setBounds(14004, 213, 161, 3, Interface);
  1323. setBounds(14005, 242, 161, 4, Interface);
  1324. setBounds(14006, 271, 161, 5, Interface);
  1325. setBounds(14007, 300, 161, 6, Interface);
  1326. setBounds(14008, 329, 161, 7, Interface);
  1327. setBounds(14009, 358, 161, 8, Interface);
  1328. setBounds(14010, 155, 195, 9, Interface);
  1329. setBounds(14011, 183, 195, 10, Interface);
  1330. setBounds(14012, 398, 98, 11, Interface);
  1331. // Set Bounds End
  1332. }
  1333.  
  1334. public static void runecraftingTele(TextDrawingArea[] TDA) {
  1335. RSInterface Interface = addInterface(27000); // Interface ID
  1336. // Background here
  1337. addSprite(27001, 1, "Interfaces/RunecraftingTele/BACKGROUND");
  1338.  
  1339. // Buttons Begin
  1340. addHoverButton(27002, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1341. "Teleport to @gre@Air Altar", -1, 27002, 1);
  1342. addHoverButton(27003, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1343. "Teleport to @gre@Mind Altar", -1, 27003, 1);
  1344. addHoverButton(27004, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1345. "Teleport to @gre@Water Altar", -1, 27004, 1);
  1346. addHoverButton(27005, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1347. "Teleport to @gre@Earth Altar", -1, 27005, 1);
  1348. addHoverButton(27006, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1349. "Teleport to @gre@Fire Altar", -1, 27006, 1);
  1350. addHoverButton(27007, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1351. "Teleport to @gre@Cosmic Altar", -1, 27007, 1);
  1352. addHoverButton(27008, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1353. "Teleport to @gre@Chaos Altar", -1, 27008, 1);
  1354. addHoverButton(27009, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1355. "Teleport to @gre@Astral Altar", -1, 27009, 1);
  1356. addHoverButton(27010, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1357. "Teleport to @gre@Nature Altar", -1, 27010, 1);
  1358. addHoverButton(27011, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1359. "Teleport to @gre@Law Altar", -1, 27011, 1);
  1360. addHoverButton(27012, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1361. "Teleport to @gre@Death Altar", -1, 27012, 1);
  1362. addHoverButton(27013, "Interfaces/RunecraftingTele/SPRITE", 1, 82, 76,
  1363. "Teleport to @gre@Blood Altar", -1, 27013, 1);
  1364. addHoverButton(27014, "Interfaces/RunecraftingTele/CLOSE", 1, 25, 25,
  1365. "Close", -1, 27014, 1);
  1366. // Buttons End
  1367.  
  1368. // Set Bounds Begin
  1369. setChildren(14, Interface); // Number of sprites/buttons
  1370. setBounds(27001, 7, 6, 0, Interface);
  1371. setBounds(27002, 45, 61, 1, Interface); // 105122 - Action Button IDs
  1372. setBounds(27003, 155, 61, 2, Interface); // 105123
  1373. setBounds(27004, 265, 61, 3, Interface); // 105124
  1374. setBounds(27005, 388, 61, 4, Interface); // 105125
  1375. setBounds(27006, 40, 145, 5, Interface); // 105126
  1376. setBounds(27007, 158, 145, 6, Interface);// 105127
  1377. setBounds(27008, 266, 145, 7, Interface); // 105128
  1378. setBounds(27009, 385, 145, 8, Interface); // 105129
  1379. setBounds(27010, 38, 227, 9, Interface);// 105130
  1380. setBounds(27011, 158, 227, 10, Interface); // 105131
  1381. setBounds(27012, 265, 227, 11, Interface); // 105132
  1382. setBounds(27013, 385, 227, 12, Interface);// 105133
  1383. setBounds(27014, 477, 10, 13, Interface); // 105134
  1384. // Set Bounds End
  1385. }
  1386.  
  1387. public static void itemsOnDeathDATA(TextDrawingArea[] tda) {
  1388. RSInterface RSinterface = addInterface(17115);
  1389. addText(17109, "", 0xff981f, false, false, 0, tda, 0);
  1390. addText(17110, "The normal amount of", 0xff981f, false, false, 0, tda,
  1391. 0);
  1392. addText(17111, "items kept is three.", 0xff981f, false, false, 0, tda,
  1393. 0);
  1394. addText(17112, "", 0xff981f, false, false, 0, tda, 0);
  1395. addText(17113, "If you are skulled,", 0xff981f, false, false, 0, tda, 0);
  1396. addText(17114, "you will lose all your", 0xff981f, false, false, 0,
  1397. tda, 0);
  1398. addText(17117, "items, unless an item", 0xff981f, false, false, 0, tda,
  1399. 0);
  1400. addText(17118, "protecting prayer is", 0xff981f, false, false, 0, tda,
  1401. 0);
  1402. addText(17119, "used.", 0xff981f, false, false, 0, tda, 0);
  1403. addText(17120, "", 0xff981f, false, false, 0, tda, 0);
  1404. addText(17121, "Item protecting prayers", 0xff981f, false, false, 0,
  1405. tda, 0);
  1406. addText(17122, "will allow you to keep", 0xff981f, false, false, 0,
  1407. tda, 0);
  1408. addText(17123, "one extra item.", 0xff981f, false, false, 0, tda, 0);
  1409. addText(17124, "", 0xff981f, false, false, 0, tda, 0);
  1410. addText(17125, "The items kept are", 0xff981f, false, false, 0, tda, 0);
  1411. addText(17126, "selected by the server", 0xff981f, false, false, 0,
  1412. tda, 0);
  1413. addText(17127, "and include the most", 0xff981f, false, false, 0, tda,
  1414. 0);
  1415. addText(17128, "expensive items you're", 0xff981f, false, false, 0,
  1416. tda, 0);
  1417. addText(17129, "carrying.", 0xff981f, false, false, 0, tda, 0);
  1418. addText(17130, "", 0xff981f, false, false, 0, tda, 0);
  1419. RSinterface.parentID = 17115;
  1420. RSinterface.id = 17115;
  1421. RSinterface.type = 0;
  1422. RSinterface.atActionType = 0;
  1423. RSinterface.contentType = 0;
  1424. RSinterface.width = 130;
  1425. RSinterface.height = 197;
  1426. RSinterface.opacity = 0;
  1427. RSinterface.hoverType = -1;
  1428. RSinterface.scrollMax = 280;
  1429. RSinterface.children = new int[20];
  1430. RSinterface.childX = new int[20];
  1431. RSinterface.childY = new int[20];
  1432. RSinterface.children[0] = 17109;
  1433. RSinterface.childX[0] = 0;
  1434. RSinterface.childY[0] = 0;
  1435. RSinterface.children[1] = 17110;
  1436. RSinterface.childX[1] = 0;
  1437. RSinterface.childY[1] = 12;
  1438. RSinterface.children[2] = 17111;
  1439. RSinterface.childX[2] = 0;
  1440. RSinterface.childY[2] = 24;
  1441. RSinterface.children[3] = 17112;
  1442. RSinterface.childX[3] = 0;
  1443. RSinterface.childY[3] = 36;
  1444. RSinterface.children[4] = 17113;
  1445. RSinterface.childX[4] = 0;
  1446. RSinterface.childY[4] = 48;
  1447. RSinterface.children[5] = 17114;
  1448. RSinterface.childX[5] = 0;
  1449. RSinterface.childY[5] = 60;
  1450. RSinterface.children[6] = 17117;
  1451. RSinterface.childX[6] = 0;
  1452. RSinterface.childY[6] = 72;
  1453. RSinterface.children[7] = 17118;
  1454. RSinterface.childX[7] = 0;
  1455. RSinterface.childY[7] = 84;
  1456. RSinterface.children[8] = 17119;
  1457. RSinterface.childX[8] = 0;
  1458. RSinterface.childY[8] = 96;
  1459. RSinterface.children[9] = 17120;
  1460. RSinterface.childX[9] = 0;
  1461. RSinterface.childY[9] = 108;
  1462. RSinterface.children[10] = 17121;
  1463. RSinterface.childX[10] = 0;
  1464. RSinterface.childY[10] = 120;
  1465. RSinterface.children[11] = 17122;
  1466. RSinterface.childX[11] = 0;
  1467. RSinterface.childY[11] = 132;
  1468. RSinterface.children[12] = 17123;
  1469. RSinterface.childX[12] = 0;
  1470. RSinterface.childY[12] = 144;
  1471. RSinterface.children[13] = 17124;
  1472. RSinterface.childX[13] = 0;
  1473. RSinterface.childY[13] = 156;
  1474. RSinterface.children[14] = 17125;
  1475. RSinterface.childX[14] = 0;
  1476. RSinterface.childY[14] = 168;
  1477. RSinterface.children[15] = 17126;
  1478. RSinterface.childX[15] = 0;
  1479. RSinterface.childY[15] = 180;
  1480. RSinterface.children[16] = 17127;
  1481. RSinterface.childX[16] = 0;
  1482. RSinterface.childY[16] = 192;
  1483. RSinterface.children[17] = 17128;
  1484. RSinterface.childX[17] = 0;
  1485. RSinterface.childY[17] = 204;
  1486. RSinterface.children[18] = 17129;
  1487. RSinterface.childX[18] = 0;
  1488. RSinterface.childY[18] = 216;
  1489. RSinterface.children[19] = 17130;
  1490. RSinterface.childX[19] = 0;
  1491. RSinterface.childY[19] = 228;
  1492. }
  1493.  
  1494. public static void itemsKeptOnDeath(TextDrawingArea[] tda) {
  1495. RSInterface Interface = addInterface(22030);
  1496. addSprite(22031, 1, "Interfaces/Death/SPRITE");
  1497. addHoverButton(22032, "Interfaces/Death/SPRITE", 2, 17, 17, "Close",
  1498. 250, 22033, 3);
  1499. addHoveredButton(22033, "Interfaces/Death/SPRITE", 3, 17, 17, 22034);
  1500. addText(22035, "22035", tda, 0, 0xff981f, false, true);
  1501. addText(22036, "22036", tda, 0, 0xff981f, false, true);
  1502. addText(22037, "22037", tda, 0, 0xff981f, false, true);
  1503. addText(22038, "22038", tda, 0, 0xff981f, false, true);
  1504. addText(22039, "22039", tda, 0, 0xff981f, false, true);
  1505. addText(22040, "22040", tda, 1, 0xffcc33, false, true);
  1506. setChildren(9, Interface);
  1507. setBounds(22031, 7, 8, 0, Interface);
  1508. setBounds(22032, 480, 18, 1, Interface);
  1509. setBounds(22033, 480, 18, 2, Interface);
  1510. setBounds(22035, 348, 98, 3, Interface);
  1511. setBounds(22036, 348, 110, 4, Interface);
  1512. setBounds(22037, 348, 122, 5, Interface);
  1513. setBounds(22038, 348, 134, 6, Interface);
  1514. setBounds(22039, 348, 146, 7, Interface);
  1515. setBounds(22040, 398, 297, 8, Interface);
  1516. }
  1517.  
  1518. public static void itemsOnDeath(TextDrawingArea[] tda) {
  1519. RSInterface rsinterface = addInterface(17100);
  1520. addSprite(17101, 2, "Interfaces/Equipment/SPRITE");
  1521. addHover(17102, 3, 0, 10601, 1, "Interfaces/Equipment/SPRITE", 17, 17,
  1522. "Close Window");
  1523. addHovered(10601, 3, "Interfaces/Equipment/SPRITE", 17, 17, 10602);
  1524. addText(17103, "Items Kept On Death", 0xff981f, false, true, 0, tda, 2);
  1525. addText(17104, "Items you will keep on death (if not skulled):",
  1526. 0xff981f, false, true, 0, tda, 2);
  1527. addText(17105, "Items you will lose on death (if not skulled):",
  1528. 0xff981f, false, true, 0, tda, 2);
  1529. addText(17106, "Information", 0xff981f, false, true, 0, tda, 1);
  1530. addText(17107, "Max items kept on death:", 0xff981f, false, true, 0,
  1531. tda, 1);
  1532. addText(17108, "~ 3 ~", 0xffcc33, false, true, 0, tda, 1);
  1533. rsinterface.scrollMax = 0;
  1534. rsinterface.interfaceShown = false;
  1535. rsinterface.children = new int[12];
  1536. rsinterface.childX = new int[12];
  1537. rsinterface.childY = new int[12];
  1538.  
  1539. rsinterface.children[0] = 17101;
  1540. rsinterface.childX[0] = 7;
  1541. rsinterface.childY[0] = 8;
  1542. rsinterface.children[1] = 17102;
  1543. rsinterface.childX[1] = 480;
  1544. rsinterface.childY[1] = 17;
  1545. rsinterface.children[2] = 17103;
  1546. rsinterface.childX[2] = 185;
  1547. rsinterface.childY[2] = 18;
  1548. rsinterface.children[3] = 17104;
  1549. rsinterface.childX[3] = 22;
  1550. rsinterface.childY[3] = 50;
  1551. rsinterface.children[4] = 17105;
  1552. rsinterface.childX[4] = 22;
  1553. rsinterface.childY[4] = 110;
  1554. rsinterface.children[5] = 17106;
  1555. rsinterface.childX[5] = 347;
  1556. rsinterface.childY[5] = 47;
  1557. rsinterface.children[6] = 17107;
  1558. rsinterface.childX[6] = 349;
  1559. rsinterface.childY[6] = 270;
  1560. rsinterface.children[7] = 17108;
  1561. rsinterface.childX[7] = 398;
  1562. rsinterface.childY[7] = 298;
  1563. rsinterface.children[8] = 17115;
  1564. rsinterface.childX[8] = 348;
  1565. rsinterface.childY[8] = 64;
  1566. rsinterface.children[9] = 10494;
  1567. rsinterface.childX[9] = 26;
  1568. rsinterface.childY[9] = 74;
  1569. rsinterface.children[10] = 10600;
  1570. rsinterface.childX[10] = 26;
  1571. rsinterface.childY[10] = 133;
  1572. rsinterface.children[11] = 10601;
  1573. rsinterface.childX[11] = 480;
  1574. rsinterface.childY[11] = 17;
  1575. }
  1576.  
  1577. public static void prayerTab(TextDrawingArea[] tda) {
  1578. RSInterface tab = addTabInterface(5608);
  1579. RSInterface currentPray = interfaceCache[687];
  1580. currentPray.textColor = 0xFF981F;
  1581. currentPray.textShadow = true;
  1582. currentPray.message = "%1/%2";
  1583. addSprite(5651, 0, "PRAYER");
  1584. addPrayer(18000, 0, 601, 7, 0, "Sharp Eye");
  1585. addPrayer(18002, 0, 602, 8, 1, "Mystic Will");
  1586. addPrayer(18004, 0, 603, 25, 2, "Hawk Eye");
  1587. addPrayer(18006, 0, 604, 26, 3, "Mystic Lore");
  1588. addPrayer(18008, 0, 605, 43, 4, "Eagle Eye");
  1589. addPrayer(18010, 0, 606, 44, 5, "Mystic Might");
  1590. addPrayer(18012, 0, 607, 59, 6, "Chivalry");
  1591. addPrayer(18014, 0, 608, 69, 7, "Piety");
  1592. tab.totalChildren(54);
  1593. /* Buttons/glows */
  1594. tab.child(0, 5609, 6, 4);
  1595. tab.child(1, 5610, 42, 4);
  1596. tab.child(2, 5611, 78, 4);
  1597. tab.child(3, 5612, 6, 40);
  1598. tab.child(4, 5613, 42, 40);
  1599. tab.child(5, 5614, 78, 40);
  1600. tab.child(6, 5615, 114, 40);
  1601. tab.child(7, 5616, 150, 40);
  1602. tab.child(8, 5617, 6, 76);
  1603. tab.child(9, 5618, 114, 76);
  1604. tab.child(10, 5619, 150, 76);
  1605. tab.child(11, 5620, 6, 112);
  1606. tab.child(12, 5621, 42, 112);
  1607. tab.child(13, 5622, 78, 112);
  1608. tab.child(14, 5623, 114, 112);
  1609. tab.child(15, 683, 42, 148);
  1610. tab.child(16, 684, 78, 148);
  1611. tab.child(17, 685, 114, 148);
  1612. /* Sprites */
  1613. tab.child(18, 5632, 8, 6);
  1614. tab.child(19, 5633, 44, 6);
  1615. tab.child(20, 5634, 80, 6);
  1616. tab.child(21, 5635, 8, 42);
  1617. tab.child(22, 5636, 44, 42);
  1618. tab.child(23, 5637, 80, 42);
  1619. tab.child(24, 5638, 116, 42);
  1620. tab.child(25, 5639, 152, 42);
  1621. tab.child(26, 5640, 8, 79);
  1622. tab.child(27, 5641, 116, 78);
  1623. tab.child(28, 5642, 152, 78);
  1624. tab.child(29, 5643, 8, 114);
  1625. tab.child(30, 5644, 44, 114);
  1626. tab.child(31, 686, 80, 114);
  1627. tab.child(32, 5645, 116, 114);
  1628. tab.child(33, 5649, 44, 150);
  1629. tab.child(34, 5647, 80, 150);
  1630. tab.child(35, 5648, 116, 150);
  1631. /* New prayers */
  1632. tab.child(36, 18000, 114, 4);
  1633. tab.child(37, 18001, 117, 8);
  1634. tab.child(38, 18002, 150, 4);
  1635. tab.child(39, 18003, 153, 7);
  1636. tab.child(40, 18004, 42, 76);
  1637. tab.child(41, 18005, 45, 80);
  1638. tab.child(42, 18006, 78, 76);
  1639. tab.child(43, 18007, 81, 79);
  1640. tab.child(44, 18008, 150, 112);
  1641. tab.child(45, 18009, 153, 116);
  1642. tab.child(46, 18010, 6, 148);
  1643. tab.child(47, 18011, 9, 151);
  1644. tab.child(48, 18012, 150, 148);
  1645. tab.child(49, 18013, 157, 151);
  1646. tab.child(50, 18014, 6, 184);
  1647. tab.child(51, 18015, 8, 194);
  1648. /* Prayer icons & text */
  1649. tab.child(52, 5651, 65, 242);
  1650. tab.child(53, 687, 14, 244);
  1651. String[] tools = { "Thick Skin", "Burst of Strength",
  1652. "Clarity of Thought", "Rock Skin", "Superhuman Strength",
  1653. "Improved Reflexes", "Rapid Restore", "Rapid Heal",
  1654. "Protect Item", "Steel Skin", "Ultimate Strength",
  1655. "Incredible Reflexes", "Protect from Magic",
  1656. "Protect from Range", "Protect from Melee", "Retribution",
  1657. "Redemption", "Smite" };
  1658. int count = 0;
  1659. for (int j = 5609; j <= 5623; j++) {
  1660. RSInterface tab2 = interfaceCache[j];
  1661. tab2.tooltip = "Activate @or2@" + tools[count++];
  1662. }
  1663. for (int j = 683; j <= 685; j++) {
  1664. RSInterface tab2 = interfaceCache[j];
  1665. tab2.tooltip = "Activate @or2@" + tools[count++];
  1666. }
  1667. }
  1668.  
  1669. public static void optionTab(TextDrawingArea[] tda) {
  1670. RSInterface tab = addTabInterface(904);
  1671. RSInterface energy = interfaceCache[149];
  1672. energy.textColor = 0xff9933;
  1673. addSprite(905, 9, "Interfaces/Options/SPRITE");
  1674. addSprite(907, 18, "Interfaces/Options/SPRITE");
  1675. addSprite(909, 29, "Interfaces/Options/SPRITE");
  1676. addSprite(951, 32, "Interfaces/Options/SPRITE");
  1677. addSprite(953, 33, "Interfaces/Options/SPRITE");
  1678. addSprite(955, 34, "Interfaces/Options/SPRITE");
  1679. addSprite(947, 36, "Interfaces/Options/SPRITE");
  1680. addSprite(949, 35, "Interfaces/Options/SPRITE");
  1681. // run button here
  1682. addConfigButton(152, 904, 30, 31, "Interfaces/Options/SPRITE", 40, 40,
  1683. "Toggle-run", 1, 5, 173);
  1684. addConfigButton(906, 904, 10, 14, "Interfaces/Options/SPRITE", 32, 16,
  1685. "Dark", 1, 5, 166);
  1686. addConfigButton(908, 904, 11, 15, "Interfaces/Options/SPRITE", 32, 16,
  1687. "Normal", 2, 5, 166);
  1688. addConfigButton(910, 904, 12, 16, "Interfaces/Options/SPRITE", 32, 16,
  1689. "Bright", 3, 5, 166);
  1690. addConfigButton(912, 904, 13, 17, "Interfaces/Options/SPRITE", 32, 16,
  1691. "Very Bright", 4, 5, 166);
  1692. addConfigButton(930, 904, 19, 24, "Interfaces/Options/SPRITE", 26, 16,
  1693. "Music Off", 4, 5, 168);
  1694. addConfigButton(931, 904, 20, 25, "Interfaces/Options/SPRITE", 26, 16,
  1695. "Music Level-1", 3, 5, 168);
  1696. addConfigButton(932, 904, 21, 26, "Interfaces/Options/SPRITE", 26, 16,
  1697. "Music Level-2", 2, 5, 168);
  1698. addConfigButton(933, 904, 22, 27, "Interfaces/Options/SPRITE", 26, 16,
  1699. "Music Level-3", 1, 5, 168);
  1700. addConfigButton(934, 904, 23, 28, "Interfaces/Options/SPRITE", 24, 16,
  1701. "Music Level-4", 0, 5, 168);
  1702. addConfigButton(941, 904, 19, 24, "Interfaces/Options/SPRITE", 26, 16,
  1703. "Sound Effects Off", 4, 5, 169);
  1704. addConfigButton(942, 904, 20, 25, "Interfaces/Options/SPRITE", 26, 16,
  1705. "Sound Effects Level-1", 3, 5, 169);
  1706. addConfigButton(943, 904, 21, 26, "Interfaces/Options/SPRITE", 26, 16,
  1707. "Sound Effects Level-2", 2, 5, 169);
  1708. addConfigButton(944, 904, 22, 27, "Interfaces/Options/SPRITE", 26, 16,
  1709. "Sound Effects Level-3", 1, 5, 169);
  1710. addConfigButton(945, 904, 23, 28, "Interfaces/Options/SPRITE", 24, 16,
  1711. "Sound Effects Level-4", 0, 5, 169);
  1712. addConfigButton(913, 904, 30, 31, "Interfaces/Options/SPRITE", 40, 40,
  1713. "Toggle-Mouse Buttons", 0, 5, 170);
  1714. addConfigButton(915, 904, 30, 31, "Interfaces/Options/SPRITE", 40, 40,
  1715. "Toggle-Chat Effects", 0, 5, 171);
  1716. addConfigButton(957, 904, 30, 31, "Interfaces/Options/SPRITE", 40, 40,
  1717. "Toggle-Split Private Chat", 1, 5, 287);
  1718. addConfigButton(12464, 904, 30, 31, "Interfaces/Options/SPRITE", 40,
  1719. 40, "Toggle-Accept Aid", 0, 5, 427);
  1720. tab.totalChildren(28);
  1721. int x = 0;
  1722. int y = 2;
  1723. tab.child(0, 905, 13 + x, 10 + y);
  1724. tab.child(1, 906, 48 + x, 18 + y);
  1725. tab.child(2, 908, 80 + x, 18 + y);
  1726. tab.child(3, 910, 112 + x, 18 + y);
  1727. tab.child(4, 912, 144 + x, 18 + y);
  1728. tab.child(5, 907, 14 + x, 55 + y);
  1729. tab.child(6, 930, 49 + x, 61 + y);
  1730. tab.child(7, 931, 75 + x, 61 + y);
  1731. tab.child(8, 932, 101 + x, 61 + y);
  1732. tab.child(9, 933, 127 + x, 61 + y);
  1733. tab.child(10, 934, 151 + x, 61 + y);
  1734. tab.child(11, 909, 13 + x, 99 + y);
  1735. tab.child(12, 941, 49 + x, 104 + y);
  1736. tab.child(13, 942, 75 + x, 104 + y);
  1737. tab.child(14, 943, 101 + x, 104 + y);
  1738. tab.child(15, 944, 127 + x, 104 + y);
  1739. tab.child(16, 945, 151 + x, 104 + y);
  1740. tab.child(17, 913, 15, 153);
  1741. tab.child(18, 955, 19, 159);
  1742. tab.child(19, 915, 75, 153);
  1743. tab.child(20, 953, 79, 160);
  1744. tab.child(21, 957, 135, 153);
  1745. tab.child(22, 951, 139, 159);
  1746. tab.child(23, 12464, 15, 208);
  1747. tab.child(24, 949, 20, 213);
  1748. tab.child(25, 152, 75, 208);
  1749. tab.child(26, 947, 87, 212);
  1750. tab.child(27, 149, 80, 231);
  1751. }
  1752.  
  1753. public static void sidebar0(TextDrawingArea[] tda) {
  1754. /*
  1755. * Sidebar0a(id, id2, id3, "text1", "text2", "text3", "text4", str1x,
  1756. * str1y, str2x, str2y, str3x, str3y, str4x, str4y, img1x, img1y, img2x,
  1757. * img2y, img3x, img3y, img4x, img4y, tda);
  1758. */
  1759. Sidebar0a(1698, 1701, 7499, "Chop", "Hack", "Smash", "Block", 42, 75,
  1760. 127, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1761. tda);
  1762. Sidebar0a(2276, 2279, 7574, "Stab", "Lunge", "Slash", "Block", 43, 75,
  1763. 124, 75, 41, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1764. tda);
  1765. Sidebar0a(2423, 2426, 7599, "Chop", "Slash", "Lunge", "Block", 42, 75,
  1766. 125, 75, 40, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1767. tda);
  1768. Sidebar0a(3796, 3799, 7624, "Pound", "Pummel", "Spike", "Block", 39,
  1769. 75, 121, 75, 41, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40,
  1770. 103, tda);
  1771. Sidebar0a(4679, 4682, 7674, "Lunge", "Swipe", "Pound", "Block", 40, 75,
  1772. 124, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1773. tda);
  1774. Sidebar0a(4705, 4708, 7699, "Chop", "Slash", "Smash", "Block", 42, 75,
  1775. 125, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1776. tda);
  1777. Sidebar0a(5570, 5573, 7724, "Spike", "Impale", "Smash", "Block", 41,
  1778. 75, 123, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40,
  1779. 103, tda);
  1780. Sidebar0a(7762, 7765, 7800, "Chop", "Slash", "Lunge", "Block", 42, 75,
  1781. 125, 75, 40, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103,
  1782. tda);
  1783. /*
  1784. * Sidebar0b(id, id2, "text1", "text2", "text3", "text4", str1x, str1y,
  1785. * str2x, str2y, str3x, str3y, str4x, str4y, img1x, img1y, img2x, img2y,
  1786. * img3x, img3y, img4x, img4y, tda);
  1787. */
  1788. Sidebar0b(776, 779, "Reap", "Chop", "Jab", "Block", 42, 75, 126, 75,
  1789. 46, 128, 125, 128, 122, 103, 122, 50, 40, 103, 40, 50, tda);
  1790. /*
  1791. * Sidebar0c(id, id2, id3, "text1", "text2", "text3", str1x, str1y,
  1792. * str2x, str2y, str3x, str3y, img1x, img1y, img2x, img2y, img3x, img3y,
  1793. * tda);
  1794. */
  1795. Sidebar0c(425, 428, 7474, "Pound", "Pummel", "Block", 39, 75, 121, 75,
  1796. 42, 128, 40, 103, 40, 50, 122, 50, tda);
  1797. Sidebar0c(1749, 1752, 7524, "Accurate", "Rapid", "Longrange", 33, 75,
  1798. 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, tda);
  1799. Sidebar0c(1764, 1767, 7549, "Accurate", "Rapid", "Longrange", 33, 75,
  1800. 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, tda);
  1801. Sidebar0c(4446, 4449, 7649, "Accurate", "Rapid", "Longrange", 33, 75,
  1802. 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, tda);
  1803. Sidebar0c(5855, 5857, 7749, "Punch", "Kick", "Block", 40, 75, 129, 75,
  1804. 42, 128, 40, 50, 122, 50, 40, 103, tda);
  1805. Sidebar0c(6103, 6132, 6117, "Bash", "Pound", "Block", 43, 75, 124, 75,
  1806. 42, 128, 40, 103, 40, 50, 122, 50, tda);
  1807. Sidebar0c(8460, 8463, 8493, "Jab", "Swipe", "Fend", 46, 75, 124, 75,
  1808. 43, 128, 40, 103, 40, 50, 122, 50, tda);
  1809. Sidebar0c(12290, 12293, 12323, "Flick", "Lash", "Deflect", 44, 75, 127,
  1810. 75, 36, 128, 40, 50, 40, 103, 122, 50, tda);
  1811. /*
  1812. * Sidebar0d(id, id2, "text1", "text2", "text3", str1x, str1y, str2x,
  1813. * str2y, str3x, str3y, img1x, img1y, img2x, img2y, img3x, img3y, tda);
  1814. */
  1815. Sidebar0d(328, 331, "Bash", "Pound", "Focus", 42, 66, 39, 101, 41, 136,
  1816. 40, 120, 40, 50, 40, 85, tda);
  1817.  
  1818. RSInterface rsi = addInterface(19300);
  1819. /* textSize(ID, wid, Size); */
  1820. textSize(3983, tda, 0);
  1821. /* addToggleButton(id, sprite, config, width, height, wid); */
  1822. addToggleButton(150, 150, 172, 150, 44, "Auto Retaliate");
  1823.  
  1824. rsi.totalChildren(2, 2, 2);
  1825. rsi.child(0, 3983, 52, 25); // combat level
  1826. rsi.child(1, 150, 21, 153); // auto retaliate
  1827.  
  1828. rsi = interfaceCache[3983];
  1829. rsi.centerText = true;
  1830. rsi.textColor = 0xff981f;
  1831. }
  1832.  
  1833. public static void friendsTab(TextDrawingArea[] tda) {
  1834. RSInterface tab = addTabInterface(5065);
  1835. RSInterface list = interfaceCache[5066];
  1836. addText(5067, "Friends List", tda, 1, 0xff9933, true, true);
  1837. addText(5070, "Add Friend", tda, 0, 0xff9933, false, true);
  1838. addText(5071, "Delete Friend", tda, 0, 0xff9933, false, true);
  1839. addSprite(16126, 4, "Interfaces/Friends/SPRITE");
  1840. addSprite(16127, 8, "Interfaces/Friends/SPRITE");
  1841. addHoverButton(5068, "Interfaces/Friends/SPRITE", 6, 72, 32,
  1842. "Add Friend", 201, 5072, 1);
  1843. addHoveredButton(5072, "Interfaces/Friends/SPRITE", 7, 72, 32, 5073);
  1844. addHoverButton(5069, "Interfaces/Friends/SPRITE", 6, 72, 32,
  1845. "Delete Friend", 202, 5074, 1);
  1846. addHoveredButton(5074, "Interfaces/Friends/SPRITE", 7, 72, 32, 5075);
  1847. tab.totalChildren(11);
  1848. tab.child(0, 5067, 95, 4);
  1849. tab.child(1, 16127, 0, 25);
  1850. tab.child(2, 16126, 0, 221);
  1851. tab.child(3, 5066, 0, 24);
  1852. tab.child(4, 16126, 0, 22);
  1853. tab.child(5, 5068, 15, 226);
  1854. tab.child(6, 5072, 15, 226);
  1855. tab.child(7, 5069, 103, 226);
  1856. tab.child(8, 5074, 103, 226);
  1857. tab.child(9, 5070, 25, 237);
  1858. tab.child(10, 5071, 106, 237);
  1859. list.height = 196;
  1860. list.width = 174;
  1861. for (int id = 5092, i = 0; id <= 5191 && i <= 99; id++, i++) {
  1862. list.children[i] = id;
  1863. list.childX[i] = 3;
  1864. list.childY[i] = list.childY[i] - 7;
  1865. }
  1866. for (int id = 5192, i = 100; id <= 5291 && i <= 199; id++, i++) {
  1867. list.children[i] = id;
  1868. list.childX[i] = 131;
  1869. list.childY[i] = list.childY[i] - 7;
  1870. }
  1871. }
  1872.  
  1873. public static void ignoreTab(TextDrawingArea[] tda) {
  1874. RSInterface tab = addTabInterface(5715);
  1875. RSInterface list = interfaceCache[5716];
  1876. addText(5717, "Ignore List", tda, 1, 0xff9933, true, true);
  1877. addText(5720, "Add Name", tda, 0, 0xff9933, false, true);
  1878. addText(5721, "Delete Name", tda, 0, 0xff9933, false, true);
  1879. addHoverButton(5718, "Interfaces/Friends/SPRITE", 6, 72, 32,
  1880. "Add Name", 501, 5722, 1);
  1881. addHoveredButton(5722, "Interfaces/Friends/SPRITE", 7, 72, 32, 5723);
  1882. addHoverButton(5719, "Interfaces/Friends/SPRITE", 6, 72, 32,
  1883. "Delete Name", 502, 5724, 1);
  1884. addHoveredButton(5724, "Interfaces/Friends/SPRITE", 7, 72, 32, 5725);
  1885. tab.totalChildren(11);
  1886. tab.child(0, 5717, 95, 4);
  1887. tab.child(1, 16127, 0, 25);
  1888. tab.child(2, 16126, 0, 221);
  1889. tab.child(3, 5716, 0, 24);
  1890. tab.child(4, 16126, 0, 22);
  1891. tab.child(5, 5718, 15, 226);
  1892. tab.child(6, 5722, 15, 226);
  1893. tab.child(7, 5719, 103, 226);
  1894. tab.child(8, 5724, 103, 226);
  1895. tab.child(9, 5720, 27, 237);
  1896. tab.child(10, 5721, 108, 237);
  1897. list.height = 196;
  1898. list.width = 174;
  1899. for (int id = 5742, i = 0; id <= 5841 && i <= 99; id++, i++) {
  1900. list.children[i] = id;
  1901. list.childX[i] = 3;
  1902. list.childY[i] = list.childY[i] - 7;
  1903. }
  1904. }
  1905.  
  1906. public static void Bank(TextDrawingArea[] wid) {
  1907. RSInterface Interface = addTabInterface(5292);
  1908. setChildren(38, Interface);
  1909. addSprite(5293, 0, "Bank/BANK");
  1910. setBounds(5293, 13, 13, 0, Interface);
  1911. addHover(5384, 3, 0, 5380, 1, "Bank/BANK", 17, 17, "Close Window");
  1912. addHovered(5380, 2, "Bank/BANK", 17, 17, 5379);
  1913. setBounds(5384, 476, 16, 3, Interface);
  1914. setBounds(5380, 476, 16, 4, Interface);
  1915. addHover(5294, 4, 0, 5295, 3, "Bank/BANK", 114, 25, "Set A Bank PIN");
  1916. addHovered(5295, 4, "Bank/BANK", 114, 25, 5296);
  1917. setBounds(5294, 110, 285, 5, Interface);
  1918. setBounds(5295, 110, 285, 6, Interface);
  1919. addBankHover(22000, 4, 22001, 5, 8, "Bank/BANK", 35, 25, 304, 1, "Swap Withdraw Mode", 22002, 7, 6, "Bank/BANK", 22003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);
  1920. setBounds(22000, 25, 285, 7, Interface);
  1921. setBounds(22001, 10, 225, 8, Interface);
  1922. addBankHover(22004, 4, 22005, 13, 15, "Bank/BANK", 35, 25, 0, 1, "Search", 22006, 14, 16, "Bank/BANK", 22007, "Click here to search your \nbank", "Click here to search your \nbank", 12, 20);
  1923. setBounds(22004, 65, 285, 9, Interface);
  1924. setBounds(22005, 50, 225, 10, Interface);
  1925. addBankHover(22008, 4, 22009, 9, 11, "Bank/BANK", 35, 25, 115, 1, "Withdraw", 22010, 10, 12, "Bank/BANK", 22011, "Switch to note withdrawal \nmode", "Switch to item withdrawal \nmode", 12, 20);
  1926. setBounds(22008, 240, 285, 11, Interface);
  1927. setBounds(22009, 225, 225, 12, Interface);
  1928. addBankHover1(22012, 5, 22013, 17, "Bank/BANK", 35, 25, "Deposit carried tems", 22014, 18, "Bank/BANK", 22015, "Empty your backpack into\nyour bank", 0, 20);
  1929. setBounds(22012, 375, 285, 13, Interface);
  1930. setBounds(22013, 360, 225, 14, Interface);
  1931. addBankHover1(22016, 5, 22017, 19, "Bank/BANK", 35, 25, "Deposit worn items", 22018, 20, "Bank/BANK", 22019, "Empty the items your are\nwearing into your bank", 0, 20);
  1932. setBounds(22016, 415, 285, 15, Interface);
  1933. setBounds(22017, 400, 225, 16, Interface);
  1934. addBankHover1(22020, 5, 22021, 21, "Bank/BANK", 35, 25, "Deposit beast of burden inventory.", 22022, 22, "Bank/BANK", 22023, "Empty your BoB's inventory\ninto your bank", 0, 20);
  1935. setBounds(22020, 455, 285, 17, Interface);
  1936. setBounds(22021, 440, 225, 18, Interface);
  1937. setBounds(5383, 170, 15, 1, Interface);
  1938. setBounds(5385, -4, 74, 2, Interface);
  1939. addButton(22024, 0, "BANK/TAB", "Click here to view the full contents of your bank");
  1940. setBounds(22024, 22, 36, 19, Interface);
  1941. addButton(22025, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1942. setBounds(22025, 70, 36, 20, Interface);
  1943. addButton(22026, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1944. setBounds(22026, 118, 36, 21, Interface);
  1945. addButton(22027, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1946. setBounds(22027, 166, 36, 22, Interface);
  1947. addButton(22028, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1948. setBounds(22028, 214, 36, 23, Interface);
  1949. addButton(22029, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1950. setBounds(22029, 262, 36, 24, Interface);
  1951. addButton(22030, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1952. setBounds(22030, 310, 36, 25, Interface);
  1953. addButton(22031, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1954. setBounds(22031, 358, 36, 26, Interface);
  1955. addButton(22032, 4, "BANK/TAB", "Drag an item here to create a new tab");
  1956. setBounds(22032, 406, 36, 27, Interface);
  1957. addText(22033, "134", wid, 0, 0xB4965A, true, false);
  1958. setBounds(22033, 473, 42, 28, Interface);
  1959. addText(22034, "496", wid, 0, 0xB4965A, true, false);
  1960. setBounds(22034, 473, 57, 29, Interface);
  1961. addBankItem(22035, false);
  1962. setBounds(22035, 77, 39, 30, Interface);
  1963. addBankItem(22036, false);
  1964. setBounds(22036, 125, 39, 31, Interface);
  1965. addBankItem(22037, false);
  1966. setBounds(22037, 173, 39, 32, Interface);
  1967. addBankItem(22038, false);
  1968. setBounds(22038, 221, 39, 33, Interface);
  1969. addBankItem(22039, false);
  1970. setBounds(22039, 269, 39, 34, Interface);
  1971. addBankItem(22040, false);
  1972. setBounds(22040, 317, 39, 35, Interface);
  1973. addBankItem(22041, false);
  1974. setBounds(22041, 365, 39, 36, Interface);
  1975. addBankItem(22042, false);
  1976. setBounds(22042, 413, 39, 37, Interface);
  1977.  
  1978. addText(27000, "0", 0xFF981F, false, true, 52, wid, 1);
  1979. addText(27001, "0", 0xFF981F, false, true, 52, wid, 1);
  1980. addText(27002, "0", 0xFF981F, false, true, 52, wid, 1);
  1981.  
  1982. Interface = interfaceCache[5385];
  1983. Interface.height = 206;
  1984. Interface.width = 480;
  1985. Interface = interfaceCache[5382];
  1986. Interface.width = 10;
  1987. Interface.invSpritePadX = 12;
  1988. Interface.height = 35;
  1989. }
  1990.  
  1991. public static void addBankItem(int index, Boolean hasOption) {
  1992. RSInterface rsi = interfaceCache[index] = new RSInterface();
  1993. rsi.actions = new String[5];
  1994. rsi.spritesX = new int[20];
  1995. rsi.invStackSizes = new int[30];
  1996. rsi.inv = new int[30];
  1997. rsi.spritesY = new int[20];
  1998.  
  1999. rsi.children = new int[0];
  2000. rsi.childX = new int[0];
  2001. rsi.childY = new int[0];
  2002.  
  2003. rsi.hasExamine = false;
  2004.  
  2005. rsi.invSpritePadX = 24;
  2006. rsi.invSpritePadY = 24;
  2007. rsi.height = 5;
  2008. rsi.width = 6;
  2009. rsi.parentID = 5292;
  2010. rsi.id = index;
  2011. rsi.type = 2;
  2012. }
  2013.  
  2014. public static void pouches(TextDrawingArea[] TDA) {
  2015. RSInterface rsinterface = addInterface(39700);
  2016. addSprite(39701, 0, "Interfaces/Summoning/Pouches/SPRITE");
  2017. addHover(39702, 3, 0, 39703, 1, "Interfaces/Summoning/Pouches/SPRITE",
  2018. 17, 17, "Close Window");
  2019. addHovered(39703, 2, "Interfaces/Summoning/Pouches/SPRITE", 17, 17,
  2020. 39704);
  2021. addButton(39705, 3, "Interfaces/Summoning/Pouches/SPRITE", "Pouches",
  2022. 27640, 1, 116, 20);
  2023. addButton(39706, 4, "Interfaces/Summoning/Pouches/SPRITE", "Scrolls",
  2024. 27640, 1, 116, 20);
  2025. addText(39707, "Summoning Pouch Creation", TDA, 2, 0xff981f, false,
  2026. true);
  2027.  
  2028. RSInterface scroll = addTabInterface(39710);
  2029. scroll.width = 430;
  2030. scroll.height = 230;
  2031. scroll.scrollMax = 550;
  2032. // scroll.newScroller = true;
  2033. int lastId = 39710;
  2034. int lastImage = 4;
  2035. for (int i = 0; i < 78; i++) {
  2036. addHover(lastId + 1, 1, 0, lastId + 2, lastImage + 1,
  2037. "Interfaces/Summoning/Pouches/Sprite", 46, 50, "Infuse "
  2038. + pouchNames[i] + " pouch");
  2039. addHovered(lastId + 2, lastImage + 2,
  2040. "Interfaces/Summoning/Pouches/Sprite", 46, 50, lastId + 3);
  2041. lastId += 3;
  2042. lastImage += 2;
  2043. }
  2044.  
  2045. rsinterface.children = new int[7];
  2046. rsinterface.childX = new int[7];
  2047. rsinterface.childY = new int[7];
  2048.  
  2049. rsinterface.children[0] = 39701;
  2050. rsinterface.childX[0] = 14;
  2051. rsinterface.childY[0] = 17;
  2052. rsinterface.children[1] = 39702;
  2053. rsinterface.childX[1] = 475;
  2054. rsinterface.childY[1] = 30;
  2055. rsinterface.children[2] = 39703;
  2056. rsinterface.childX[2] = 475;
  2057. rsinterface.childY[2] = 30;
  2058. rsinterface.children[3] = 39705;
  2059. rsinterface.childX[3] = 25;
  2060. rsinterface.childY[3] = 30;
  2061. rsinterface.children[4] = 39706;
  2062. rsinterface.childX[4] = 128;
  2063. rsinterface.childY[4] = 30;
  2064. rsinterface.children[5] = 39707;
  2065. rsinterface.childX[5] = 268;
  2066. rsinterface.childY[5] = 30;
  2067. rsinterface.children[6] = 39710;
  2068. rsinterface.childX[6] = 35;
  2069. rsinterface.childY[6] = 65;
  2070.  
  2071. scroll.children = new int[156];
  2072. scroll.childX = new int[156];
  2073. scroll.childY = new int[156];
  2074.  
  2075. int lastNumber = -1;
  2076. int lastId2 = 39710;
  2077. int lastX = -52;
  2078. int lastY = 0;
  2079. for (int i = 0; i < 78; i++) {
  2080. scroll.children[lastNumber += 1] = lastId2 += 1;
  2081. scroll.childX[lastNumber] = lastX += 52;
  2082. scroll.childY[lastNumber] = lastY;
  2083. scroll.children[lastNumber += 1] = lastId2 += 1;
  2084. scroll.childX[lastNumber] = lastX;
  2085. scroll.childY[lastNumber] = lastY;
  2086. lastId2 += 1;
  2087. if (lastX == 364) {
  2088. lastX = -52;
  2089. lastY += 55;
  2090. }
  2091. }
  2092. }
  2093.  
  2094. public static void formParty(TextDrawingArea[] tda) {
  2095. RSInterface tab = addTabInterface(27124);
  2096. addSprite(27125, 0, "Interfaces/Dungeoneering/DUNG");
  2097. addHoverButton(27129, "Interfaces/Dungeoneering/DUNG", 3, 180, 32,
  2098. "Form", 250, 27130, 5);
  2099. addHoveredButton(27130, "Interfaces/Dungeoneering/DUNG", 4, 180, 32,
  2100. 27131);
  2101. addHoverButton(27132, "Interfaces/Dungeoneering/DUNG", 7, 52, 25,
  2102. "Reset", 250, 27133, 5);
  2103. addHoveredButton(27133, "Interfaces/Dungeoneering/DUNG", 8, 52, 25,
  2104. 27134);
  2105. addHoverButton(27140, "Interfaces/Dungeoneering/DUNG", 15, 60, 18,
  2106. "Change Floor", 250, 27141, 5);
  2107. addHoveredButton(27141, "Interfaces/Dungeoneering/DUNG", 16, 60, 18,
  2108. 27142);
  2109. addHoverButton(27143, "Interfaces/Dungeoneering/DUNG", 15, 60, 18,
  2110. "Change Complexity", 250, 27144, 5);
  2111. addHoveredButton(27144, "Interfaces/Dungeoneering/DUNG", 16, 60, 18,
  2112. 27145);
  2113. addText(27135, " ", tda, 2, 0xffffff, false, true);
  2114. addText(27136, " ", tda, 2, 0xffffff, false, true);
  2115. addText(27137, "-", tda, 1, 0xffffff, false, true);
  2116. addText(27138, "-", tda, 1, 0xffffff, false, true);
  2117. int[][] data = { { 27125, 0, 0 }, { 27129, 5, 111 }, { 27130, 5, 111 },
  2118. { 27132, 132, 230 }, { 27133, 132, 230 }, { 27135, 99, 155 },
  2119. { 27136, 99, 183 }, { 27137, 113, 229 }, { 27138, 113, 245 },
  2120. { 27140, 121, 152 }, { 27141, 121, 152 }, { 27143, 121, 180 },
  2121. { 27144, 121, 180 } };
  2122. tab.totalChildren(13);
  2123. for (int i = 0; i < data.length; i++) {
  2124. tab.child(i, data[i][0], data[i][1], data[i][2]);
  2125. }
  2126. }
  2127.  
  2128. public static void dungParty(TextDrawingArea[] tda) {
  2129. RSInterface tab = addTabInterface(26224);
  2130. addSprite(26225, 0, "Interfaces/Dungeoneering/DUNG");
  2131. addHoverButton(26226, "Interfaces/Dungeoneering/DUNG", 10, 60, 18,
  2132. "Change Floor", 250, 26227, 5);
  2133. addHoveredButton(26227, "Interfaces/Dungeoneering/DUNG", 11, 60, 18,
  2134. 26228);
  2135. addHoverButton(26229, "Interfaces/Dungeoneering/DUNG", 5, 180, 32,
  2136. "Leave", 250, 26230, 5);
  2137. addHoveredButton(26230, "Interfaces/Dungeoneering/DUNG", 6, 180, 32,
  2138. 26231);
  2139. addHoverButton(26232, "Interfaces/Dungeoneering/DUNG", 7, 52, 25,
  2140. "Reset", 250, 26233, 5);
  2141. addHoveredButton(26233, "Interfaces/Dungeoneering/DUNG", 8, 52, 25,
  2142. 26234);
  2143. addHoverButton(26246, "Interfaces/Dungeoneering/DUNG", 10, 60, 18,
  2144. "Change Complexity", 250, 26247, 5);
  2145. addHoveredButton(26247, "Interfaces/Dungeoneering/DUNG", 11, 60, 18,
  2146. 26248);
  2147. addText(26235, "", tda, 1, 0xffffff, true, true);
  2148. addText(26236, "", tda, 1, 0xffffff, true, true);
  2149. addText(26237, "", tda, 1, 0xffffff, true, true);
  2150. addText(26238, "", tda, 1, 0xffffff, true, true);
  2151. addText(26239, "", tda, 1, 0xffffff, true, true);
  2152. addText(26240, " ", tda, 2, 0xffffff, false, true);
  2153. addText(26241, " ", tda, 2, 0xffffff, true, true);
  2154. addText(26242, "-", tda, 1, 0xffffff, false, true);
  2155. addText(26243, "-", tda, 1, 0xffffff, false, true);
  2156. addText(26257, "@or2@Kills: ", tda, 2, 0xffffff, false, true);
  2157. addText(26255, "@or2@Deaths: ", tda, 2, 0xffffff, false, true);
  2158. addSprite(26751, 14, "Interfaces/Dungeoneering/DUNG");
  2159. addSprite(26753, 17, "Interfaces/Dungeoneering/DUNG");
  2160. addText(26251, "00:00:00", tda, 1, 0xffffff, false, true);
  2161. int[][] data = { { 26225, 0, 0 }, { 26235, 95, 29 }, { 26236, 91, 44 },
  2162. { 26237, 91, 59 }, { 26238, 91, 75 }, { 26239, 91, 90 },
  2163. { 26240, 99, 155 }, { 26241, 103, 183 }, { 26242, 113, 229 },
  2164. { 26243, 113, 245 }, { 26751, 88, 67 }, { 26753, 110, 67 },
  2165. { 26251, 119, 70 }, { 26255, 9, 80 }, { 26257, 9, 58 },
  2166. { 26226, 121, 152 }, { 26227, 121, 152 }, { 26229, 5, 111 },
  2167. { 26230, 5, 111 }, { 26232, 132, 230 }, { 26233, 132, 230 },
  2168. { 26246, 121, 180 }, { 26247, 121, 180 }, };
  2169. tab.totalChildren(23);
  2170. for (int i = 0; i < data.length; i++) {
  2171. tab.child(i, data[i][0], data[i][1], data[i][2]);
  2172. }
  2173. }
  2174.  
  2175. public static void scrolls(TextDrawingArea[] TDA) {
  2176. RSInterface rsinterface = addInterface(38700);
  2177. addButton(38701, 0, "Interfaces/Summoning/Scrolls/SPRITE", "Pouches",
  2178. 27640, 1, 116, 20);
  2179. addButton(38702, 1, "Interfaces/Summoning/Scrolls/SPRITE", "Scrolls",
  2180. 27640, 1, 116, 20);
  2181.  
  2182. RSInterface scroll = addTabInterface(38710);
  2183. scroll.width = 430;
  2184. scroll.height = 230;
  2185. scroll.scrollMax = 550;
  2186. // scroll.newScroller = true;
  2187. int lastId = 38710;
  2188. int lastImage = 4;
  2189. for (int i = 0; i < 78; i++) {
  2190. addHover(lastId + 1, 1, 0, lastId + 2, lastImage + 1,
  2191. "Interfaces/Summoning/Scrolls/Sprite", 46, 50, "Select "
  2192. + scrollNames[i] + " scroll");
  2193. addHovered(lastId + 2, lastImage + 2,
  2194. "Interfaces/Summoning/Scrolls/Sprite", 46, 50, lastId + 3);
  2195. lastId += 3;
  2196. lastImage += 2;
  2197. }
  2198.  
  2199. rsinterface.children = new int[7];
  2200. rsinterface.childX = new int[7];
  2201. rsinterface.childY = new int[7];
  2202.  
  2203. rsinterface.children[0] = 39701;
  2204. rsinterface.childX[0] = 14;
  2205. rsinterface.childY[0] = 17;
  2206. rsinterface.children[1] = 39702;
  2207. rsinterface.childX[1] = 475;
  2208. rsinterface.childY[1] = 30;
  2209. rsinterface.children[2] = 39703;
  2210. rsinterface.childX[2] = 475;
  2211. rsinterface.childY[2] = 30;
  2212. rsinterface.children[3] = 38701;
  2213. rsinterface.childX[3] = 25;
  2214. rsinterface.childY[3] = 30;
  2215. rsinterface.children[4] = 38702;
  2216. rsinterface.childX[4] = 128;
  2217. rsinterface.childY[4] = 30;
  2218. rsinterface.children[5] = 39707;
  2219. rsinterface.childX[5] = 268;
  2220. rsinterface.childY[5] = 30;
  2221. rsinterface.children[6] = 38710;
  2222. rsinterface.childX[6] = 35;
  2223. rsinterface.childY[6] = 65;
  2224.  
  2225. scroll.children = new int[156];
  2226. scroll.childX = new int[156];
  2227. scroll.childY = new int[156];
  2228.  
  2229. int lastNumber = -1;
  2230. int lastId2 = 38710;
  2231. int lastX = -52;
  2232. int lastY = 0;
  2233. for (int i = 0; i < 78; i++) {
  2234. scroll.children[lastNumber += 1] = lastId2 += 1;
  2235. scroll.childX[lastNumber] = lastX += 52;
  2236. scroll.childY[lastNumber] = lastY;
  2237. scroll.children[lastNumber += 1] = lastId2 += 1;
  2238. scroll.childX[lastNumber] = lastX;
  2239. scroll.childY[lastNumber] = lastY;
  2240. lastId2 += 1;
  2241. if (lastX == 364) {
  2242. lastX = -52;
  2243. lastY += 55;
  2244. }
  2245. }
  2246. }
  2247.  
  2248. public static void bobInterface(TextDrawingArea[] tda) {
  2249. RSInterface rsi = addTabInterface(2700);
  2250. addSprite(2701, 0, "Interfaces/Summoning/BoB/SPRITE");
  2251. addBobStorage(2702);
  2252. addHoverButton(2703, "Interfaces/Summoning/BoB/SPRITE", 1, 21, 21,
  2253. "Close", 250, 2704, 3);
  2254. addHoveredButton(2704, "Interfaces/Summoning/BoB/SPRITE", 2, 21, 21,
  2255. 2705);
  2256. rsi.totalChildren(4);
  2257. rsi.child(0, 2701, 90, 14);
  2258. rsi.child(1, 2702, 106, 57);
  2259. rsi.child(2, 2703, 431, 23);
  2260. rsi.child(3, 2704, 431, 23);
  2261. }
  2262.  
  2263. public static void pestPanel(TextDrawingArea[] tda) {
  2264. RSInterface RSinterface = addInterface(21119);
  2265. addText(21120, "Bitch how did you", 0x999999, false, true, 52, tda, 1);
  2266. addText(21121, "come here?", 0x33cc00, false, true, 52, tda, 1);
  2267. addText(21122, "(Need 5 to 25 players)", 0xFFcc33, false, true, 52,
  2268. tda, 1);
  2269. addText(21123, "Points", 0x33ccff, false, true, 52, tda, 1);
  2270. int last = 4;
  2271. RSinterface.children = new int[last];
  2272. RSinterface.childX = new int[last];
  2273. RSinterface.childY = new int[last];
  2274. setBounds(21120, 15, 12, 0, RSinterface);
  2275. setBounds(21121, 15, 30, 1, RSinterface);
  2276. setBounds(21122, 15, 48, 2, RSinterface);
  2277. setBounds(21123, 15, 66, 3, RSinterface);
  2278. }
  2279.  
  2280. public static void pestPanel2(TextDrawingArea[] tda) {
  2281. RSInterface RSinterface = addInterface(21100);
  2282. addSprite(21101, 0, "Interfaces/Pest Control/PEST1");
  2283. addSprite(21102, 1, "Interfaces/Pest Control/PEST1");
  2284. addSprite(21103, 2, "Interfaces/Pest Control/PEST1");
  2285. addSprite(21104, 3, "Interfaces/Pest Control/PEST1");
  2286. addSprite(21105, 4, "Interfaces/Pest Control/PEST1");
  2287. addSprite(21106, 5, "Interfaces/Pest Control/PEST1");
  2288. addText(21107, "", 0xCC00CC, false, true, 52, tda, 1);
  2289. addText(21108, "", 0x0000FF, false, true, 52, tda, 1);
  2290. addText(21109, "", 0xFFFF44, false, true, 52, tda, 1);
  2291. addText(21110, "", 0xCC0000, false, true, 52, tda, 1);
  2292. addText(21111, "250", 0x99FF33, false, true, 52, tda, 1);// w purp
  2293. addText(21112, "250", 0x99FF33, false, true, 52, tda, 1);// e blue
  2294. addText(21113, "250", 0x99FF33, false, true, 52, tda, 1);// se yel
  2295. addText(21114, "250", 0x99FF33, false, true, 52, tda, 1);// sw red
  2296. addText(21115, "200", 0x99FF33, false, true, 52, tda, 1);// attacks
  2297. addText(21116, "0", 0x99FF33, false, true, 52, tda, 1);// knights hp
  2298. addText(21117, "Time Remaining:", 0xFFFFFF, false, true, 52, tda, 0);
  2299. addText(21118, "", 0xFFFFFF, false, true, 52, tda, 0);
  2300. int last = 18;
  2301. RSinterface.children = new int[last];
  2302. RSinterface.childX = new int[last];
  2303. RSinterface.childY = new int[last];
  2304. setBounds(21101, 361, 26, 0, RSinterface);
  2305. setBounds(21102, 396, 26, 1, RSinterface);
  2306. setBounds(21103, 436, 26, 2, RSinterface);
  2307. setBounds(21104, 474, 26, 3, RSinterface);
  2308. setBounds(21105, 3, 21, 4, RSinterface);
  2309. setBounds(21106, 3, 50, 5, RSinterface);
  2310. setBounds(21107, 371, 60, 6, RSinterface);
  2311. setBounds(21108, 409, 60, 7, RSinterface);
  2312. setBounds(21109, 443, 60, 8, RSinterface);
  2313. setBounds(21110, 479, 60, 9, RSinterface);
  2314. setBounds(21111, 362, 10, 10, RSinterface);
  2315. setBounds(21112, 398, 10, 11, RSinterface);
  2316. setBounds(21113, 436, 10, 12, RSinterface);
  2317. setBounds(21114, 475, 10, 13, RSinterface);
  2318. setBounds(21115, 32, 32, 14, RSinterface);
  2319. setBounds(21116, 32, 62, 15, RSinterface);
  2320. setBounds(21117, 8, 88, 16, RSinterface);
  2321. setBounds(21118, 87, 88, 17, RSinterface);
  2322. }
  2323.  
  2324. public static void configureLunar(TextDrawingArea[] TDA) {
  2325. constructLunar();
  2326. homeTeleport();
  2327. drawRune(30003, 1, "Fire");
  2328. drawRune(30004, 2, "Water");
  2329. drawRune(30005, 3, "Air");
  2330. drawRune(30006, 4, "Earth");
  2331. drawRune(30007, 5, "Mind");
  2332. drawRune(30008, 6, "Body");
  2333. drawRune(30009, 7, "Death");
  2334. drawRune(30010, 8, "Nature");
  2335. drawRune(30011, 9, "Chaos");
  2336. drawRune(30012, 10, "Law");
  2337. drawRune(30013, 11, "Cosmic");
  2338. drawRune(30014, 12, "Blood");
  2339. drawRune(30015, 13, "Soul");
  2340. drawRune(30016, 14, "Astral");
  2341. addLunar3RunesSmallBox(30017, 9075, 554, 555, 0, 4, 3, 30003, 30004,
  2342. 64, "Bake Pie", "Bake pies without a stove", TDA, 0, 16, 2);
  2343. addLunar2RunesSmallBox(30025, 9075, 557, 0, 7, 30006, 65, "Cure Plant",
  2344. "Cure disease on farming patch", TDA, 1, 4, 2);
  2345. addLunar3RunesBigBox(30032, 9075, 564, 558, 0, 0, 0, 30013, 30007, 65,
  2346. "Monster Examine",
  2347. "Detect the combat statistics of a\\nmonster", TDA, 2, 2, 2);
  2348. addLunar3RunesSmallBox(30040, 9075, 564, 556, 0, 0, 1, 30013, 30005,
  2349. 66, "NPC Contact", "Speak with varied NPCs", TDA, 3, 0, 2);
  2350. addLunar3RunesSmallBox(30048, 9075, 563, 557, 0, 0, 9, 30012, 30006,
  2351. 67, "Cure Other", "Cure poisoned players", TDA, 4, 8, 2);
  2352. addLunar3RunesSmallBox(30056, 9075, 555, 554, 0, 2, 0, 30004, 30003,
  2353. 67, "Humidify", "fills certain vessels with water", TDA, 5, 0,
  2354. 5);
  2355. addLunar3RunesSmallBox(30064, 9075, 563, 557, 1, 0, 1, 30012, 30006,
  2356. 68, "Monster Teleports", "Goes to monster teleports.", TDA, 6,
  2357. 0, 5);
  2358. addLunar3RunesBigBox(30075, 9075, 563, 557, 1, 0, 3, 30012, 30006, 69,
  2359. "Minigame Teleports", "Goes to minigame teleports.", TDA, 7, 0,
  2360. 5);
  2361. addLunar3RunesSmallBox(30083, 9075, 563, 557, 1, 0, 5, 30012, 30006,
  2362. 70, "PK Teleports", "Goes to PK teleports.", TDA, 8, 0, 5);
  2363. addLunar3RunesSmallBox(30091, 9075, 564, 563, 1, 1, 0, 30013, 30012,
  2364. 70, "Cure Me", "Cures Poison", TDA, 9, 0, 5);
  2365. addLunar2RunesSmallBox(30099, 9075, 557, 1, 1, 30006, 70,
  2366. "Skilling Kit", "Get skilling tools!", TDA, 10, 0, 5);
  2367. addLunar3RunesSmallBox(30106, 9075, 563, 555, 1, 0, 0, 30012, 30004,
  2368. 71, "Skill Teleports", "Goes to skill teleports.", TDA, 11, 0,
  2369. 5);
  2370. addLunar3RunesBigBox(30114, 9075, 563, 555, 1, 0, 4, 30012, 30004, 72,
  2371. "", "", TDA, 12, 0, 5);
  2372. addLunar3RunesSmallBox(30122, 9075, 564, 563, 1, 1, 1, 30013, 30012,
  2373. 73, "Cure Group", "Cures Poison on players", TDA, 13, 0, 5);
  2374. addLunar3RunesBigBox(30130, 9075, 564, 559, 1, 1, 4, 30013, 30008, 74,
  2375. "Stat Spy",
  2376. "Cast on another player to see their\\nskill levels", TDA, 14,
  2377. 8, 2);
  2378. addLunar3RunesBigBox(30138, 9075, 563, 554, 1, 1, 2, 30012, 30003, 74,
  2379. "", "", TDA, 15, 0, 5);
  2380. addLunar3RunesBigBox(30146, 9075, 563, 554, 1, 1, 5, 30012, 30003, 75,
  2381. "", "", TDA, 16, 0, 5);
  2382. addLunar3RunesSmallBox(30154, 9075, 554, 556, 1, 5, 9, 30003, 30005,
  2383. 76, "Superglass Make", "Make glass without a furnace", TDA, 17,
  2384. 16, 2);
  2385. addLunar3RunesSmallBox(30162, 9075, 563, 555, 1, 1, 3, 30012, 30004,
  2386. 77, "", "", TDA, 18, 0, 5);
  2387. addLunar3RunesSmallBox(30170, 9075, 563, 555, 1, 1, 7, 30012, 30004,
  2388. 78, "", "", TDA, 19, 0, 5);
  2389. addLunar3RunesBigBox(30178, 9075, 564, 559, 1, 0, 4, 30013, 30008, 78,
  2390. "Dream", "Take a rest and restore hitpoints 3\\n times faster",
  2391. TDA, 20, 0, 5);
  2392. addLunar3RunesSmallBox(30186, 9075, 557, 555, 1, 9, 4, 30006, 30004,
  2393. 79, "String Jewellery", "String amulets without wool", TDA, 21,
  2394. 0, 5);
  2395. addLunar3RunesLargeBox(30194, 9075, 557, 555, 1, 9, 9, 30006, 30004,
  2396. 80, "Stat Restore Pot\\nShare",
  2397. "Share a potion with up to 4 nearby\\nplayers", TDA, 22, 0, 5);
  2398. addLunar3RunesSmallBox(30202, 9075, 554, 555, 1, 6, 6, 30003, 30004,
  2399. 81, "Magic Imbue", "Combine runes without a talisman", TDA, 23,
  2400. 0, 5);
  2401. addLunar3RunesBigBox(30210, 9075, 561, 557, 2, 1, 14, 30010, 30006, 82,
  2402. "Fertile Soil",
  2403. "Fertilise a farming patch with super\\ncompost", TDA, 24, 4, 2);
  2404. addLunar3RunesBigBox(30218, 9075, 557, 555, 2, 11, 9, 30006, 30004, 83,
  2405. "Boost Potion Share",
  2406. "Shares a potion with up to 4 nearby\\nplayers", TDA, 25, 0, 5);
  2407. addLunar3RunesSmallBox(30226, 9075, 563, 555, 2, 2, 9, 30012, 30004,
  2408. 84, "", "", TDA, 26, 0, 5);
  2409. addLunar3RunesLargeBox(30234, 9075, 563, 555, 1, 2, 13, 30012, 30004,
  2410. 85, "", "", TDA, 27, 0, 5);
  2411. addLunar3RunesSmallBox(30242, 9075, 557, 561, 2, 14, 0, 30006, 30010,
  2412. 85, "Plank Make", "Turn Logs into planks", TDA, 28, 16, 5);
  2413. /******** Cut Off Limit **********/
  2414. addLunar3RunesSmallBox(30250, 9075, 563, 555, 2, 2, 9, 30012, 30004,
  2415. 86, "", "", TDA, 29, 0, 5);
  2416. addLunar3RunesSmallBox(30258, 9075, 563, 555, 2, 2, 14, 30012, 30004,
  2417. 87, "", "", TDA, 30, 0, 5);
  2418. addLunar3RunesSmallBox(30266, 9075, 563, 555, 2, 2, 7, 30012, 30004,
  2419. 88, "", "", TDA, 31, 0, 5);
  2420. addLunar3RunesBigBox(30274, 9075, 563, 555, 2, 2, 15, 30012, 30004, 89,
  2421. "", "", TDA, 32, 0, 5);
  2422. addLunar3RunesBigBox(
  2423. 30282,
  2424. 9075,
  2425. 563,
  2426. 561,
  2427. 2,
  2428. 1,
  2429. 0,
  2430. 30012,
  2431. 30010,
  2432. 90,
  2433. "Energy Transfer",
  2434. "Spend hitpoints and SA Energy to\\n give another player hitpoints and run energy",
  2435. TDA, 33, 8, 2);
  2436. addLunar3RunesBigBox(30290, 9075, 563, 565, 2, 2, 0, 30012, 30014, 91,
  2437. "Heal Other",
  2438. "Transfer up to 75% of hitpoints\\n to another player", TDA,
  2439. 34, 8, 2);
  2440. addLunar3RunesBigBox(30298, 9075, 560, 557, 2, 1, 9, 30009, 30006, 92,
  2441. "Vengeance Other",
  2442. "Allows another player to rebound\\ndamage to an opponent",
  2443. TDA, 35, 8, 2);
  2444. addLunar3RunesSmallBox(30306, 9075, 560, 557, 3, 1, 9, 30009, 30006,
  2445. 93, "Vengeance", "Rebound damage to an opponent", TDA, 36, 0, 5);
  2446. addLunar3RunesBigBox(30314, 9075, 565, 563, 3, 2, 5, 30014, 30012, 94,
  2447. "Heal Group", "Transfer up to 75% of hitpoints to a group",
  2448. TDA, 37, 0, 5);
  2449. addLunar3RunesBigBox(30322, 9075, 564, 563, 2, 1, 0, 30013, 30012, 95,
  2450. "Spellbook Swap",
  2451. "Change to another spellbook for 1\\nspell cast", TDA, 38, 0, 5);
  2452. }
  2453.  
  2454. public static void constructLunar() {
  2455. RSInterface Interface = addInterface(29999);
  2456. Interface.totalChildren(80);
  2457. setBounds(30000, 11, 10, 0, Interface);
  2458. setBounds(30017, 40, 9, 1, Interface);
  2459. setBounds(30025, 71, 12, 2, Interface);
  2460. setBounds(30032, 103, 10, 3, Interface);
  2461. setBounds(30040, 135, 12, 4, Interface);
  2462. setBounds(30048, 165, 10, 5, Interface);
  2463. setBounds(30056, 8, 38, 6, Interface);
  2464. setBounds(30064, 39, 39, 7, Interface);
  2465. setBounds(30075, 71, 39, 8, Interface);
  2466. setBounds(30083, 103, 39, 9, Interface);
  2467. setBounds(30091, 135, 39, 10, Interface);
  2468. setBounds(30099, 165, 37, 11, Interface);
  2469. setBounds(30106, 12, 68, 12, Interface);
  2470. setBounds(30114, 42, 68, 13, Interface);
  2471. setBounds(30122, 71, 68, 14, Interface);
  2472. setBounds(30130, 103, 68, 15, Interface);
  2473. setBounds(30138, 135, 68, 16, Interface);
  2474. setBounds(30146, 165, 68, 17, Interface);
  2475. setBounds(30154, 14, 97, 18, Interface);
  2476. setBounds(30162, 42, 97, 19, Interface);
  2477. setBounds(30170, 71, 97, 20, Interface);
  2478. setBounds(30178, 101, 97, 21, Interface);
  2479. setBounds(30186, 135, 98, 22, Interface);
  2480. setBounds(30194, 168, 98, 23, Interface);
  2481. setBounds(30202, 11, 125, 24, Interface);
  2482. setBounds(30210, 42, 124, 25, Interface);
  2483. setBounds(30218, 74, 125, 26, Interface);
  2484. setBounds(30226, 103, 125, 27, Interface);
  2485. setBounds(30234, 135, 125, 28, Interface);
  2486. setBounds(30242, 164, 126, 29, Interface);
  2487. setBounds(30250, 10, 155, 30, Interface);
  2488. setBounds(30258, 42, 155, 31, Interface);
  2489. setBounds(30266, 71, 155, 32, Interface);
  2490. setBounds(30274, 103, 155, 33, Interface);
  2491. setBounds(30282, 136, 155, 34, Interface);
  2492. setBounds(30290, 165, 155, 35, Interface);
  2493. setBounds(30298, 13, 185, 36, Interface);
  2494. setBounds(30306, 42, 185, 37, Interface);
  2495. setBounds(30314, 71, 184, 38, Interface);
  2496. setBounds(30322, 104, 184, 39, Interface);
  2497. setBounds(30001, 6, 184, 40, Interface);// hover
  2498. setBounds(30018, 5, 176, 41, Interface);// hover
  2499. setBounds(30026, 5, 176, 42, Interface);// hover
  2500. setBounds(30033, 5, 163, 43, Interface);// hover
  2501. setBounds(30041, 5, 176, 44, Interface);// hover
  2502. setBounds(30049, 5, 176, 45, Interface);// hover
  2503. setBounds(30057, 5, 176, 46, Interface);// hover
  2504. setBounds(30065, 5, 176, 47, Interface);// hover
  2505. setBounds(30076, 5, 163, 48, Interface);// hover
  2506. setBounds(30084, 5, 176, 49, Interface);// hover
  2507. setBounds(30092, 5, 176, 50, Interface);// hover
  2508. setBounds(30100, 5, 176, 51, Interface);// hover
  2509. setBounds(30107, 5, 176, 52, Interface);// hover
  2510. setBounds(30115, 5, 163, 53, Interface);// hover
  2511. setBounds(30123, 5, 176, 54, Interface);// hover
  2512. setBounds(30131, 5, 163, 55, Interface);// hover
  2513. setBounds(30139, 5, 163, 56, Interface);// hover
  2514. setBounds(30147, 5, 163, 57, Interface);// hover
  2515. setBounds(30155, 5, 176, 58, Interface);// hover
  2516. setBounds(30163, 5, 176, 59, Interface);// hover
  2517. setBounds(30171, 5, 176, 60, Interface);// hover
  2518. setBounds(30179, 5, 163, 61, Interface);// hover
  2519. setBounds(30187, 5, 176, 62, Interface);// hover
  2520. setBounds(30195, 5, 149, 63, Interface);// hover
  2521. setBounds(30203, 5, 176, 64, Interface);// hover
  2522. setBounds(30211, 5, 163, 65, Interface);// hover
  2523. setBounds(30219, 5, 163, 66, Interface);// hover
  2524. setBounds(30227, 5, 176, 67, Interface);// hover
  2525. setBounds(30235, 5, 149, 68, Interface);// hover
  2526. setBounds(30243, 5, 176, 69, Interface);// hover
  2527.  
  2528. setBounds(30251, 5, 5, 70, Interface);// hover
  2529. setBounds(30259, 5, 5, 71, Interface);// hover
  2530. setBounds(30267, 5, 5, 72, Interface);// hover
  2531. setBounds(30275, 5, 5, 73, Interface);// hover
  2532. setBounds(30283, 5, 5, 74, Interface);// hover
  2533. setBounds(30291, 5, 5, 75, Interface);// hover
  2534. setBounds(30299, 5, 5, 76, Interface);// hover
  2535. setBounds(30307, 5, 5, 77, Interface);// hover
  2536. setBounds(30323, 5, 5, 78, Interface);// hover
  2537. setBounds(30315, 5, 5, 79, Interface);// hover
  2538. }
  2539.  
  2540. public static void pkingTab(TextDrawingArea[] tda) {
  2541. RSInterface Interface = addTabInterface(5400);
  2542. addSprite(5401, 0, "Interfaces/PkingTele/BACKGROUND");
  2543. addHoverButton(5402, "Interfaces/PkingTele/INFO", 1, 16, 16,
  2544. "Close Teleport Tab", -1, 5403, 1);
  2545. addHoverButton(5404, "Interfaces/PkingTele/TELE", 0, 106, 38,
  2546. "Teleport to Varrock Pk", -1, 5405, 1);
  2547. addHoverButton(5406, "Interfaces/PkingTele/TELE", 1, 106, 38,
  2548. "Teleport to Mage Bank", -1, 5407, 1);
  2549. addHoverButton(5408, "Interfaces/PkingTele/TELE", 2, 106, 38,
  2550. "Teleport to FunPk", -1, 5409, 1);
  2551. addHoverButton(5410, "Interfaces/PkingTele/TELE", 3, 106, 38,
  2552. "Teleport to East Dragons", -1, 5411, 1);
  2553. addHoverButton(5412, "Interfaces/PkingTele/TELE", 4, 106, 38,
  2554. "Teleport to the Gates", -1, 5413, 1);
  2555. addHoverButton(5414, "Interfaces/PkingTele/TELE", 5, 106, 38,
  2556. "Teleport to GDZ", -1, 5415, 1);
  2557. setChildren(8, Interface);
  2558. setBounds(5401, 6, 20, 0, Interface);
  2559. setBounds(5402, 482, 23, 1, Interface);
  2560. setBounds(5404, 31, 109, 2, Interface);
  2561. setBounds(5406, 161, 109, 3, Interface);
  2562. setBounds(5408, 288, 109, 4, Interface);
  2563. setBounds(5410, 31, 239, 5, Interface);
  2564. setBounds(5412, 159, 239, 6, Interface);
  2565. setBounds(5414, 290, 239, 7, Interface);
  2566. }
  2567.  
  2568. public static void skillTabInfo(TextDrawingArea[] tda) {
  2569. RSInterface tab = addTabInterface(49500);
  2570. RSInterface list = addTabInterface(26025);
  2571. addText(540, "", tda, 2, 0xeb981f, false, true);
  2572. addText(563, "", tda, 2, 0xff9900, false, true);
  2573. // addText(682, "Quests:", tda, 2, 0xff9900, false, true);
  2574. addSprite(26022, 4, "Interfaces/Quest/SPRITE");
  2575. addText(26023, "", tda, 0, 0xeb981f, false, true);
  2576. addSprite(26024, 5, "Interfaces/Quest/SPRITE");
  2577. tab.totalChildren(6);
  2578. tab.child(0, 540, 6, 5);
  2579. tab.child(1, 26024, 0, 25);
  2580. tab.child(2, 26025, 6, 24);
  2581. tab.child(3, 26022, 0, 22);
  2582. tab.child(4, 26022, 0, 249);
  2583. tab.child(5, 26023, 4, 251);
  2584. /* List/scrollbar */
  2585. for (int i = 26026; i <= 26125; i++) {
  2586. addClickableText(i, "", "Show", tda, 0, 0xff0000, false, true, 150);
  2587. }
  2588. list.totalChildren(101);
  2589. list.child(0, 563, 2, 2);
  2590. // list.child(101, 682, 2, 101);
  2591. for (int id = 1, cid = 26026; id <= 100 && cid <= 26125; id++, cid++) {
  2592. list.childY[1] = 5;
  2593. list.child(id, cid, 9, list.childY[id - 1] + 14);
  2594. }
  2595. list.width = 168;
  2596. list.height = 225;
  2597. // list.scrollMax = 1320;
  2598. }
  2599.  
  2600. public static void questTab(TextDrawingArea[] tda) {
  2601. RSInterface tab = addTabInterface(638);
  2602. RSInterface list = addTabInterface(16025);
  2603. addText(640, "", tda, 2, 0xeb981f, false, true);
  2604. addText(663, "", tda, 2, 0xff9900, false, true);
  2605. // addText(682, "Quests:", tda, 2, 0xff9900, false, true);
  2606. addSprite(16022, 4, "Interfaces/Quest/SPRITE");
  2607. addText(16023, "", tda, 0, 0xeb981f, false, true);
  2608. addSprite(16024, 5, "Interfaces/Quest/SPRITE");
  2609. tab.totalChildren(6);
  2610. tab.child(0, 640, 6, 5);
  2611. tab.child(1, 16024, 0, 25);
  2612. tab.child(2, 16025, 6, 24);
  2613. tab.child(3, 16022, 0, 22);
  2614. tab.child(4, 16022, 0, 249);
  2615. tab.child(5, 16023, 4, 251);
  2616. /* List/scrollbar */
  2617. for (int i = 16026; i <= 16125; i++) {
  2618. addClickableText(i, "", "Show", tda, 0, 0xff0000, false, true, 150);
  2619. }
  2620. list.totalChildren(101);
  2621. list.child(0, 663, 2, 2);
  2622. // list.child(101, 682, 2, 101);
  2623. for (int id = 1, cid = 16026; id <= 100 && cid <= 16125; id++, cid++) {
  2624. list.childY[1] = 5;
  2625. list.child(id, cid, 9, list.childY[id - 1] + 14);
  2626. }
  2627. list.width = 168;
  2628. list.height = 225;
  2629. // list.scrollMax = 1320;
  2630. }
  2631.  
  2632. public static void SummonTab(TextDrawingArea[] wid) {
  2633. final String dir = "Interfaces/Summoning/Tab/SPRITE";
  2634. RSInterface rsi = addTabInterface(18017);
  2635. addButton(18018, 0, dir, 143, 13, "Cast special", 1);
  2636. addText(18019, "S P E C I A L M O V E", wid, 0, WHITE_TEXT, false,
  2637. false);
  2638. addSprite(18020, 1, dir);
  2639. configureHead(18021, 75, 55, 800, 40, 1800);
  2640. addSprite(18022, 2, dir);
  2641. addConfigButton(18023, 18017, 4, 3, dir, 30, 31, "Cast special", 0, 1,
  2642. 330);
  2643. addText(18024, "", wid, 0, ORANGE_TEXT, false, true);
  2644. addSprite(18025, 50, dir);
  2645. addConfigButton(18026, 18017, 70, 60, dir, 29, 39, "", 0, 1, 333);
  2646. addSprite(18027, 8, dir);
  2647. addText(18028, "Familiar Name", wid, 2, ORANGE_TEXT, true, false);
  2648. addHoverButton(18029, dir, 9, 38, 38, "Withdraw BoB", -1, 18030, 1);
  2649. addHoveredButton(18030, dir, 10, 38, 38, 18031);
  2650. addHoverButton(18032, dir, 11, 38, 38, "Renew familiar", -1, 18033, 1);
  2651. addHoveredButton(18033, dir, 12, 38, 38, 18034);
  2652. addHoverButton(18035, dir, 13, 38, 38, "Call follower", -1, 18036, 1);
  2653. addHoveredButton(18036, dir, 14, 38, 38, 18037);
  2654. addHoverButton(18038, dir, 15, 38, 38, "Dismiss familiar", -1, 18039, 1);
  2655. addHoveredButton(18039, dir, 16, 38, 38, 18040);
  2656. addSprite(18041, 17, dir);
  2657. addSprite(18042, 18, dir);
  2658. addText(18043, "", wid, 0, GREY_TEXT, false, true);
  2659. addSprite(18044, 19, dir);
  2660. addText(18045, "", wid, 0, GREY_TEXT, false, true);
  2661. setChildren(24, rsi);
  2662. setBounds(18018, 23, 10, 0, rsi);
  2663. setBounds(18019, 43, 12, 1, rsi);
  2664. setBounds(18020, 10, 32, 2, rsi);
  2665. setBounds(18021, 63, 60, 3, rsi);
  2666. setBounds(18022, 11, 32, 4, rsi);
  2667. setBounds(18023, 14, 35, 5, rsi);
  2668. setBounds(18024, 14, 69, 6, rsi);
  2669. setBounds(18025, 138, 32, 7, rsi);
  2670. setBounds(18026, 143, 36, 8, rsi);
  2671. setBounds(18027, 12, 144, 9, rsi);
  2672. setBounds(18028, 93, 146, 10, rsi);
  2673. setBounds(18029, 23, 168, 11, rsi);
  2674. setBounds(18030, 23, 168, 12, rsi);
  2675. setBounds(18032, 75, 168, 13, rsi);
  2676. setBounds(18033, 75, 168, 14, rsi);
  2677. setBounds(18035, 23, 213, 15, rsi);
  2678. setBounds(18036, 23, 213, 16, rsi);
  2679. setBounds(18038, 75, 213, 17, rsi);
  2680. setBounds(18039, 75, 213, 18, rsi);
  2681. setBounds(18041, 130, 168, 19, rsi);
  2682. setBounds(18042, 153, 170, 20, rsi);
  2683. setBounds(18043, 148, 198, 21, rsi);
  2684. setBounds(18044, 149, 213, 22, rsi);
  2685. setBounds(18045, 145, 241, 23, rsi);
  2686. }
  2687.  
  2688. public static void clanChatTab(TextDrawingArea[] tda) {
  2689. RSInterface tab = addTabInterface(18128);
  2690. addHoverButton(18129, "/Interfaces/Clan Chat/SPRITE", 6, 72, 32,
  2691. "Join Chat", -1, 18130, 5);
  2692. addHoveredButton(18130, "/Interfaces/Clan Chat/SPRITE", 7, 72, 32,
  2693. 18131);
  2694. addHoverButton(18132, "/Interfaces/Clan Chat/SPRITE", 6, 72, 32,
  2695. "Clan Setup", -1, 18133, 5);
  2696. addHoveredButton(18133, "/Interfaces/Clan Chat/SPRITE", 7, 72, 32,
  2697. 18134);
  2698. // addButton(18250, 0, "/Clan Chat/Lootshare", "Toggle lootshare");
  2699. addText(18135, "Join Chat", tda, 0, 0xff9b00, true, true);
  2700. addText(18136, "Clan Setup", tda, 0, 0xff9b00, true, true);
  2701. addSprite(18137, 37, "/Interfaces/Clan Chat/SPRITE");
  2702. addText(18138, "Clan Chat", tda, 1, 0xff9b00, true, true);
  2703. addText(18139, "Talking in: Not in chat", tda, 0, 0xff9b00, false, true);
  2704. addText(18140, "Owner: None", tda, 0, 0xff9b00, false, true);
  2705. tab.totalChildren(13);
  2706. tab.child(0, 16126, 0, 221);
  2707. tab.child(1, 16126, 0, 59);
  2708. tab.child(2, 18137, 0, 62);
  2709. tab.child(3, 18143, 0, 62);
  2710. tab.child(4, 18129, 15, 226);
  2711. tab.child(5, 18130, 15, 226);
  2712. tab.child(6, 18132, 103, 226);
  2713. tab.child(7, 18133, 103, 226);
  2714. tab.child(8, 18135, 51, 237);
  2715. tab.child(9, 18136, 139, 237);
  2716. tab.child(10, 18138, 95, 1);
  2717. tab.child(11, 18139, 10, 23);
  2718. tab.child(12, 18140, 25, 38);
  2719. /* Text area */
  2720. RSInterface list = addTabInterface(18143);
  2721. list.totalChildren(100);
  2722. for (int i = 18144; i <= 18244; i++) {
  2723. addText(i, "", tda, 0, 0xffffff, false, true);
  2724. }
  2725. for (int id = 18144, i = 0; id <= 18243 && i <= 99; id++, i++) {
  2726. interfaceCache[id].actions = new String[] { "Edit Rank", "Kick",
  2727. "Ban" };
  2728. list.children[i] = id;
  2729. list.childX[i] = 5;
  2730. for (int id2 = 18144, i2 = 1; id2 <= 18243 && i2 <= 99; id2++, i2++) {
  2731. list.childY[0] = 2;
  2732. list.childY[i2] = list.childY[i2 - 1] + 14;
  2733. }
  2734. }
  2735. list.height = 158;
  2736. list.width = 174;
  2737. list.scrollMax = 1405;
  2738. }
  2739.  
  2740. public static void clanChatSetup(TextDrawingArea[] tda) {
  2741. RSInterface rsi = addInterface(18300);
  2742. rsi.totalChildren(12 + 15);
  2743. int count = 0;
  2744. /* Background */
  2745. addSprite(18301, 1, "/Interfaces/Clan Chat/sprite");
  2746. rsi.child(count++, 18301, 14, 18);
  2747. /* Close button */
  2748. addButton(18302, 0, "/Interfaces/Clan Chat/close", "Close");
  2749. interfaceCache[18302].atActionType = 3;
  2750. rsi.child(count++, 18302, 475, 26);
  2751. /* Clan Setup title */
  2752. addText(18303, "Clan Setup", tda, 2, 0xFF981F, true, true);
  2753. rsi.child(count++, 18303, 256, 26);
  2754. /* Setup buttons */
  2755. String[] titles = { "Clan name:", "Who can enter chat?",
  2756. "Who can talk on chat?", "Who can kick on chat?",
  2757. "Who can ban on chat?" };
  2758. String[] defaults = { "Chat Disabled", "Anyone", "Anyone", "Anyone",
  2759. "Anyone" };
  2760. String[] whoCan = { "Anyone", "Recruit", "Corporal", "Sergeant",
  2761. "Lieutenant", "Captain", "General", "Only Me" };
  2762. for (int index = 0, id = 18304, y = 50; index < titles.length; index++, id += 3, y += 40) {
  2763. addButton(id, 2, "/Interfaces/Clan Chat/sprite", "");
  2764. interfaceCache[id].atActionType = 0;
  2765. if (index > 0) {
  2766. interfaceCache[id].actions = whoCan;
  2767. } else {
  2768. interfaceCache[id].actions = new String[] { "Change title",
  2769. "Delete clan" };
  2770. ;
  2771. }
  2772. addText(id + 1, titles[index], tda, 0, 0xFF981F, true, true);
  2773. addText(id + 2, defaults[index], tda, 1, 0xFFFFFF, true, true);
  2774. rsi.child(count++, id, 25, y);
  2775. rsi.child(count++, id + 1, 100, y + 4);
  2776. rsi.child(count++, id + 2, 100, y + 17);
  2777. }
  2778. /* Table */
  2779. addSprite(18319, 5, "/Interfaces/Clan Chat/sprite");
  2780. rsi.child(count++, 18319, 197, 70);
  2781. /* Labels */
  2782. int id = 18320;
  2783. int y = 74;
  2784. addText(id, "Ranked Members", tda, 2, 0xFF981F, false, true);
  2785. rsi.child(count++, id++, 202, y);
  2786. addText(id, "Banned Members", tda, 2, 0xFF981F, false, true);
  2787. rsi.child(count++, id++, 339, y);
  2788. /* Ranked members list */
  2789. RSInterface list = addInterface(id++);
  2790. int lines = 100;
  2791. list.totalChildren(lines);
  2792. String[] ranks = { "Demote", "Recruit", "Corporal", "Sergeant",
  2793. "Lieutenant", "Captain", "General", "Owner" };
  2794. list.childY[0] = 2;
  2795. // System.out.println(id);
  2796. for (int index = id; index < id + lines; index++) {
  2797. addText(index, "", tda, 1, 0xffffff, false, true);
  2798. interfaceCache[index].actions = ranks;
  2799. list.children[index - id] = index;
  2800. list.childX[index - id] = 2;
  2801. list.childY[index - id] = (index - id > 0 ? list.childY[index - id
  2802. - 1] + 14 : 0);
  2803. }
  2804. id += lines;
  2805. list.width = 119;
  2806. list.height = 210;
  2807. list.scrollMax = (lines * 14) + 2;
  2808. rsi.child(count++, list.id, 199, 92);
  2809. /* Banned members list */
  2810. list = addInterface(id++);
  2811. list.totalChildren(lines);
  2812. list.childY[0] = 2;
  2813. // System.out.println(id);
  2814. for (int index = id; index < id + lines; index++) {
  2815. addText(index, "", tda, 1, 0xffffff, false, true);
  2816. interfaceCache[index].actions = new String[] { "Unban" };
  2817. list.children[index - id] = index;
  2818. list.childX[index - id] = 0;
  2819. list.childY[index - id] = (index - id > 0 ? list.childY[index - id
  2820. - 1] + 14 : 0);
  2821. }
  2822. id += lines;
  2823. list.width = 119;
  2824. list.height = 210;
  2825. list.scrollMax = (lines * 14) + 2;
  2826. rsi.child(count++, list.id, 339, 92);
  2827. /* Table info text */
  2828. y = 47;
  2829. addText(id, "You can manage both ranked and banned members here.", tda,
  2830. 0, 0xFF981F, true, true);
  2831. rsi.child(count++, id++, 337, y);
  2832. addText(id, "Right click on a name to edit the member.", tda, 0,
  2833. 0xFF981F, true, true);
  2834. rsi.child(count++, id++, 337, y + 11);
  2835. /* Add ranked member button */
  2836. y = 75;
  2837. addButton(id, 0, "/Interfaces/Clan Chat/plus", "Add ranked member");
  2838. interfaceCache[id].atActionType = 5;
  2839. rsi.child(count++, id++, 319, y);
  2840. /* Add banned member button */
  2841. addButton(id, 0, "/Interfaces/Clan Chat/plus", "Add banned member");
  2842. interfaceCache[id].atActionType = 5;
  2843. rsi.child(count++, id++, 459, y);
  2844.  
  2845. /* Hovers */
  2846. int[] clanSetup = { 18302, 18304, 18307, 18310, 18313, 18316, 18526,
  2847. 18527 };
  2848. String[] names = { "close", "sprite", "sprite", "sprite", "sprite",
  2849. "sprite", "plus", "plus" };
  2850. int[] ids = { 1, 3, 3, 3, 3, 3, 1, 1 };
  2851. for (int index = 0; index < clanSetup.length; index++) {
  2852. rsi = interfaceCache[clanSetup[index]];
  2853. rsi.disabledHover = imageLoader(ids[index],
  2854. "/Interfaces/Clan Chat/" + names[index]);
  2855. }
  2856. }
  2857.  
  2858. public static void emoteTab() {
  2859. RSInterface tab = addTabInterface(147);
  2860. RSInterface scroll = addTabInterface(148);
  2861. tab.totalChildren(1);
  2862. tab.child(0, 148, 0, 1);
  2863. addButton(168, 0, "Interfaces/Emotes/EMOTE", "Yes", 41, 47);
  2864. addButton(169, 1, "Interfaces/Emotes/EMOTE", "No", 41, 47);
  2865. addButton(164, 2, "Interfaces/Emotes/EMOTE", "Bow", 41, 47);
  2866. addButton(165, 3, "Interfaces/Emotes/EMOTE", "Angry", 41, 47);
  2867. addButton(162, 4, "Interfaces/Emotes/EMOTE", "Think", 41, 47);
  2868. addButton(163, 5, "Interfaces/Emotes/EMOTE", "Wave", 41, 47);
  2869. addButton(13370, 6, "Interfaces/Emotes/EMOTE", "Shrug", 41, 47);
  2870. addButton(171, 7, "Interfaces/Emotes/EMOTE", "Cheer", 41, 47);
  2871. addButton(167, 8, "Interfaces/Emotes/EMOTE", "Beckon", 41, 47);
  2872. addButton(170, 9, "Interfaces/Emotes/EMOTE", "Laugh", 41, 47);
  2873. addButton(13366, 10, "Interfaces/Emotes/EMOTE", "Jump for Joy", 41, 47);
  2874. addButton(13368, 11, "Interfaces/Emotes/EMOTE", "Yawn", 41, 47);
  2875. addButton(166, 12, "Interfaces/Emotes/EMOTE", "Dance", 41, 47);
  2876. addButton(13363, 13, "Interfaces/Emotes/EMOTE", "Jig", 41, 47);
  2877. addButton(13364, 14, "Interfaces/Emotes/EMOTE", "Spin", 41, 47);
  2878. addButton(13365, 15, "Interfaces/Emotes/EMOTE", "Headbang", 41, 47);
  2879. addButton(161, 16, "Interfaces/Emotes/EMOTE", "Cry", 41, 47);
  2880. addButton(11100, 17, "Interfaces/Emotes/EMOTE", "Blow kiss", 41, 47);
  2881. addButton(13362, 18, "Interfaces/Emotes/EMOTE", "Panic", 41, 47);
  2882. addButton(13367, 19, "Interfaces/Emotes/EMOTE", "Raspberry", 41, 47);
  2883. addButton(172, 20, "Interfaces/Emotes/EMOTE", "Clap", 41, 47);
  2884. addButton(13369, 21, "Interfaces/Emotes/EMOTE", "Salute", 41, 47);
  2885. addButton(13383, 22, "Interfaces/Emotes/EMOTE", "Goblin Bow", 41, 47);
  2886. addButton(13384, 23, "Interfaces", "Goblin Salute", 41, 47);
  2887. addButton(667, 24, "Interfaces/Emotes/EMOTE", "Glass Box", 41, 47);
  2888. addButton(6503, 25, "Interfaces/Emotes/EMOTE", "Climb Rope", 41, 47);
  2889. addButton(6506, 26, "Interfaces/Emotes/EMOTE", "Lean On Air", 41, 47);
  2890. addButton(666, 27, "Interfaces/Emotes/EMOTE", "Glass Wall", 41, 47);
  2891. addButton(18464, 28, "Interfaces/Emotes/EMOTE", "Zombie Walk", 41, 47);
  2892. addButton(18465, 29, "Interfaces/Emotes/EMOTE", "Zombie Dance", 41, 47);
  2893. addButton(15166, 30, "Interfaces/Emotes/EMOTE", "Scared", 41, 47);
  2894. addButton(18686, 32, "Interfaces/Emotes/EMOTE", "Skillcape Emote", 41,
  2895. 47);
  2896. addConfigButton(154, 147, 32, 33, "EMOTE", 41, 47, "Skillcape Emote",
  2897. 0, 1, 700);
  2898. scroll.totalChildren(33);
  2899. scroll.child(0, 168, 10, 7);
  2900. scroll.child(1, 169, 54, 7);
  2901. scroll.child(2, 164, 98, 7);
  2902. scroll.child(3, 165, 137, 7);
  2903. scroll.child(4, 162, 9, 56);
  2904. scroll.child(5, 163, 48, 56);
  2905. scroll.child(6, 13370, 95, 56);
  2906. scroll.child(7, 171, 137, 56);
  2907. scroll.child(8, 167, 7, 105);
  2908. scroll.child(9, 170, 51, 105);
  2909. scroll.child(10, 13366, 95, 105);
  2910. scroll.child(11, 13368, 139, 105);
  2911. scroll.child(12, 166, 6, 154);
  2912. scroll.child(13, 13363, 50, 154);
  2913. scroll.child(14, 13364, 90, 154);
  2914. scroll.child(15, 13365, 135, 154);
  2915. scroll.child(16, 161, 8, 203);
  2916. scroll.child(17, 11100, 51, 203);
  2917. scroll.child(18, 13362, 99, 203);
  2918. scroll.child(19, 13367, 137, 203);
  2919. scroll.child(20, 172, 10, 253);
  2920. scroll.child(21, 13369, 53, 253);
  2921. scroll.child(22, 13383, 88, 253);
  2922. scroll.child(23, 13384, 138, 253);
  2923. scroll.child(24, 667, 2, 303);
  2924. scroll.child(25, 6503, 49, 302);
  2925. scroll.child(26, 6506, 93, 302);
  2926. scroll.child(27, 666, 137, 302);
  2927. scroll.child(28, 18464, 9, 352);
  2928. scroll.child(29, 18465, 50, 352);
  2929. scroll.child(30, 15166, 94, 352);
  2930. scroll.child(32, 18686, 135, 352);
  2931. scroll.child(31, 154, 5, 401);
  2932. scroll.width = 173;
  2933. scroll.height = 258;
  2934. scroll.scrollMax = 403;
  2935. }
  2936.  
  2937. public static void cursesTab(TextDrawingArea[] TDA) {
  2938. RSInterface Interface = addTabInterface(22500);
  2939. int index = 0;
  2940. setChildren(62, Interface);
  2941. addText(22501, "99/99", 0xFF981F, false, false, -1, TDA, 1);
  2942. /* Top Row */
  2943. addPrayer(22503, 0, 83, 49, 7, "Protect Item", 22542);
  2944. setBounds(22503, 2, 5, index, Interface);
  2945. index++;// Glow
  2946. setBounds(22504, 8, 8, index, Interface);
  2947. index++;// Icon
  2948. addPrayer(22505, 0, 84, 49, 4, "Sap Warrior", 22544);
  2949. setBounds(22505, 40, 5, index, Interface);
  2950. index++;// Glow
  2951. setBounds(22506, 47, 12, index, Interface);
  2952. index++;// Icon
  2953. addPrayer(22507, 0, 85, 51, 5, "Sap Ranger", 22546);
  2954. setBounds(22507, 76, 5, index, Interface);
  2955. index++;// Glow
  2956. setBounds(22508, 82, 11, index, Interface);
  2957. index++;// Icon
  2958. addPrayer(22509, 0, 101, 53, 3, "Sap Mage", 22548);
  2959. setBounds(22509, 113, 5, index, Interface);
  2960. index++;// Glow
  2961. setBounds(22510, 116, 8, index, Interface);
  2962. index++;// Icon
  2963. addPrayer(22511, 0, 102, 55, 2, "Sap Spirit", 22550);
  2964. setBounds(22511, 150, 5, index, Interface);
  2965. index++;// Glow
  2966. setBounds(22512, 155, 10, index, Interface);
  2967. index++;// Icon
  2968. /* 2nd Row */
  2969. addPrayer(22513, 0, 86, 58, 18, "Berserker", 22552);
  2970. setBounds(22513, 2, 45, index, Interface);
  2971. index++;// Glow
  2972. setBounds(22514, 9, 48, index, Interface);
  2973. index++;// Icon
  2974. addPrayer(22515, 0, 87, 61, 15, "Deflect Summoning", 22554);
  2975. setBounds(22515, 39, 45, index, Interface);
  2976. index++;// Glow
  2977. setBounds(22516, 42, 47, index, Interface);
  2978. index++;// Icon
  2979. addPrayer(22517, 0, 88, 64, 17, "Deflect Magic", 22556);
  2980. setBounds(22517, 76, 45, index, Interface);
  2981. index++;// Glow
  2982. setBounds(22518, 79, 48, index, Interface);
  2983. index++;// Icon
  2984. addPrayer(22519, 0, 89, 67, 16, "Deflect Missiles", 22558);
  2985. setBounds(22519, 113, 45, index, Interface);
  2986. index++;// Glow
  2987. setBounds(22520, 116, 48, index, Interface);
  2988. index++;// Icon
  2989. addPrayer(22521, 0, 90, 70, 6, "Deflect Melee", 22560);
  2990. setBounds(22521, 151, 45, index, Interface);
  2991. index++;// Glow
  2992. setBounds(22522, 154, 48, index, Interface);
  2993. index++;// Icon
  2994. /* 3rd Row */
  2995. addPrayer(22523, 0, 91, 73, 9, "Leech Attack", 22562);
  2996. setBounds(22523, 2, 82, index, Interface);
  2997. index++;// Glow
  2998. setBounds(22524, 6, 86, index, Interface);
  2999. index++;// Icon
  3000. addPrayer(22525, 0, 103, 75, 10, "Leech Ranged", 22564);
  3001. setBounds(22525, 40, 82, index, Interface);
  3002. index++;// Glow
  3003. setBounds(22526, 42, 86, index, Interface);
  3004. index++;// Icon
  3005. addPrayer(22527, 0, 104, 77, 11, "Leech Magic", 22566);
  3006. setBounds(22527, 77, 82, index, Interface);
  3007. index++;// Glow
  3008. setBounds(22528, 79, 86, index, Interface);
  3009. index++;// Icon
  3010. addPrayer(22529, 0, 92, 79, 12, "Leech Defence", 22568);
  3011. setBounds(22529, 114, 83, index, Interface);
  3012. index++;// Glow
  3013. setBounds(22530, 119, 87, index, Interface);
  3014. index++;// Icon
  3015. addPrayer(22531, 0, 93, 81, 13, "Leech Strength", 22570);
  3016. setBounds(22531, 153, 83, index, Interface);
  3017. index++;// Glow
  3018. setBounds(22532, 156, 86, index, Interface);
  3019. index++;// Icon
  3020. /* Bottom Row */
  3021. addPrayer(22533, 0, 94, 83, 14, "Leech Energy", 22572);
  3022. setBounds(22533, 2, 120, index, Interface);
  3023. index++;// Glow
  3024. setBounds(22534, 7, 125, index, Interface);
  3025. index++;// Icon
  3026. addPrayer(22535, 0, 95, 85, 19, "Leech Special Attack", 22574);
  3027. setBounds(22535, 40, 120, index, Interface);
  3028. index++;// Glow
  3029. setBounds(22536, 45, 124, index, Interface);
  3030. index++;// Icon
  3031. addPrayer(22537, 0, 96, 88, 1, "Wrath", 22576);
  3032. setBounds(22537, 78, 120, index, Interface);
  3033. index++;// Glow
  3034. setBounds(22538, 86, 124, index, Interface);
  3035. index++;// Icon
  3036. addPrayer(22539, 0, 97, 91, 8, "Soul Split", 22578);
  3037. setBounds(22539, 114, 120, index, Interface);
  3038. index++;// Glow
  3039. setBounds(22540, 120, 125, index, Interface);
  3040. index++;// Icon
  3041. addPrayer(22541, 0, 105, 94, 0, "Turmoil", 22580);
  3042. setBounds(22541, 151, 120, index, Interface);
  3043. index++;// Glow
  3044. setBounds(22542, 153, 127, index, Interface);
  3045. index++;// Icon
  3046. /* Prayer Icon/Text */
  3047. addSprite(22502, 0, "Interfaces/Curses/ICON");
  3048. setBounds(22501, 85, 241, index, Interface);
  3049. index++;// Text
  3050. setBounds(22502, 65, 241, index, Interface);
  3051. index++;// Icon
  3052. /* Tooltips/Hover Boxes */
  3053. addTooltip(22543,
  3054. "Level 50\nProtect Item\nKeep 1 extra item if you die", 100,
  3055. 150);
  3056. addTooltip(
  3057. 22544,
  3058. "Level 50\nSap Warrior\nDrains 10% of enemy Attack,\nStrength and Defence,\nincreasing to 20% over time",
  3059. 100, 150);
  3060. addTooltip(
  3061. 22546,
  3062. "Level 52\nSap Ranger\nDrains 10% of enemy Ranged\nand Defence, increasing to 20%\nover time",
  3063. 100, 175);
  3064. addTooltip(
  3065. 22548,
  3066. "Level 54\nSap Mage\nDrains 10% of enemy Magic\nand Defence, increasing to 20%\nover time",
  3067. 100, 175);
  3068. addTooltip(22550,
  3069. "Level 56\nSap Spirit\nDrains enenmy special attack\nenergy",
  3070. 100, 175);
  3071. addTooltip(22552, "Level 59\nBerserker\nBoosted stats last 15% longer",
  3072. 100, 175);
  3073. addTooltip(
  3074. 22554,
  3075. "Level 62\nDeflect Summoning\nReduces damage dealt from\nSummoning scrolls, prevents the\nuse of a familiar's special\nattack, and can deflect some of\ndamage back to the attacker",
  3076. 125, 175);
  3077. addTooltip(
  3078. 22556,
  3079. "Level 65\nDeflect Magic\nProtects against magical attacks\nand can deflect some of the\ndamage back to the attacker",
  3080. 100, 175);
  3081. addTooltip(
  3082. 22558,
  3083. "Level 68\nDeflect Missiles\nProtects against ranged attacks\nand can deflect some of the\ndamage back to the attacker",
  3084. 100, 175);
  3085. addTooltip(
  3086. 22560,
  3087. "Level 71\nDeflect Melee\nProtects against melee attacks\nand can deflect some of the\ndamage back to the attacker",
  3088. 100, 175);
  3089. addTooltip(
  3090. 22562,
  3091. "Level 74\nLeech Attack\nBoosts Attack by 5%, increasing\nto 10% over time, while draining\nenemy Attack by 10%,\nincreasing to 25% over time",
  3092. 100, 175);
  3093. addTooltip(
  3094. 22564,
  3095. "Level 76\nLeech Ranged\nBoosts Ranged by 5%, increasing\nto 10% over time,\nwhile draining enemy Ranged by\n10%, increasing to 25% over\ntime",
  3096. 113, 175);
  3097. addTooltip(
  3098. 22566,
  3099. "Level 78\nLeech Magic\nBoosts Magic by 5%, increasing\nto 10% over time, while draining\nenemy Magic by 10%, increasing\nto 25% over time",
  3100. 100, 175);
  3101. addTooltip(
  3102. 22568,
  3103. "Level 80\nLeech Defence\nBoosts Defence by 5%, increasing\nto 10% over time,\nwhile draining enemy Defence by\n10%, increasing to 25% over\ntime",
  3104. 113, 180);
  3105. addTooltip(
  3106. 22570,
  3107. "Level 82\nLeech Strength\nBoosts Strength by 5%, increasing\nto 10% over time,\nwhile draining enemy Strength by\n10%, increasing to 25% over\ntime",
  3108. 113, 180);
  3109. addTooltip(
  3110. 22572,
  3111. "Level 84\nLeech Energy\nDrains enemy run energy, while\nincreasing your own",
  3112. 113, 180);
  3113. addTooltip(
  3114. 22574,
  3115. "Level 86\nLeech Special Attack\nDrains enemy special attack\nenergy, while increasing your\nown",
  3116. 113, 180);
  3117. addTooltip(
  3118. 22576,
  3119. "Level 89\nWrath\nInflicts damage to nearby\ntargets if you die",
  3120. 113, 180);
  3121. addTooltip(
  3122. 22578,
  3123. "Level 92\nSoul Split\n1/4 of damage dealt is\nalso removed from\nopponent's Prayer and added to\nyour Hitpoints",
  3124. 113, 180);
  3125. addTooltip(
  3126. 22580,
  3127. "Level 95\nTurmoil\nIncreases Attack and Defence\nby 15%, plus 15% of enemy's\nlevel, and Strength by 23% plus\n10% of enemy's level",
  3128. 113, 180);
  3129. setBounds(22543, 10, 40, index, Interface);
  3130. index++;
  3131. setBounds(22544, 20, 40, index, Interface);
  3132. index++;
  3133. setBounds(22546, 20, 40, index, Interface);
  3134. index++;
  3135. setBounds(22548, 20, 40, index, Interface);
  3136. index++;
  3137. setBounds(22550, 20, 40, index, Interface);
  3138. index++;
  3139. setBounds(22552, 10, 80, index, Interface);
  3140. index++;
  3141. setBounds(22554, 10, 80, index, Interface);
  3142. index++;
  3143. setBounds(22556, 10, 80, index, Interface);
  3144. index++;
  3145. setBounds(22558, 10, 80, index, Interface);
  3146. index++;
  3147. setBounds(22560, 10, 80, index, Interface);
  3148. index++;
  3149. setBounds(22562, 10, 120, index, Interface);
  3150. index++;
  3151. setBounds(22564, 10, 120, index, Interface);
  3152. index++;
  3153. setBounds(22566, 10, 120, index, Interface);
  3154. index++;
  3155. setBounds(22568, 5, 120, index, Interface);
  3156. index++;
  3157. setBounds(22570, 5, 120, index, Interface);
  3158. index++;
  3159. setBounds(22572, 10, 160, index, Interface);
  3160. index++;
  3161. setBounds(22574, 10, 160, index, Interface);
  3162. index++;
  3163. setBounds(22576, 10, 160, index, Interface);
  3164. index++;
  3165. setBounds(22578, 10, 160, index, Interface);
  3166. index++;
  3167. setBounds(22580, 10, 160, index, Interface);
  3168. index++;
  3169. }
  3170.  
  3171. public static void SkillTeleportInterface(
  3172. TextDrawingArea[] paramArrayOfTextDrawingArea)
  3173. /* */{
  3174. /* 3164 */RSInterface localRSInterface = addTabInterface(33000);
  3175. /* 3165 */setChildren(40, localRSInterface);
  3176. /* */
  3177. /* 3167 */addSprite(33001, 0, "Interfaces/SkillTeleport/SPRITE");
  3178. /* 3168 */addHover(33002, 3, 0, 33003, 0,
  3179. "Interfaces/SkillTeleport/EXIT", 21, 21, "Exit");
  3180. /* 3169 */addHovered(33003, 1, "Interfaces/SkillTeleport/EXIT", 21, 21,
  3181. 33004);
  3182. /* 3170 */addButton(33005, 0, "FISHING", "Teleport to Fishing", 33005,
  3183. 1, 110, 33);
  3184. /* 3171 */addText(33006, "", 14929103, true, true, 115, 2);
  3185. /* 3172 */addButton(33007, 0, "COOKING", "Teleport to Cooking", 33007,
  3186. 1, 110, 33);
  3187. /* 3173 */addText(33008, "", 14929103, true, true, 115, 2);
  3188. /* 3174 */addButton(33009, 0, "MINING", "Teleport to Mining", 33009, 1,
  3189. 110, 33);
  3190. /* 3175 */addText(33010, "", 14929103, true, true, 115, 2);
  3191. /* 3176 */addButton(33011, 0, "SMITHING", "Teleport to Smithing",
  3192. 33011, 1, 112, 33);
  3193. /* 3177 */addText(33012, "", 14929103, true, true, 115, 2);
  3194. /* 3178 */addButton(33013, 0, "WOODCUTTING", "Teleport to Woodcutting",
  3195. 33013, 1, 130, 33);
  3196. /* 3179 */addText(33014, "", 14929103, true, true, 115, 2);
  3197. /* 3180 */addButton(33015, 0, "FIREMAKING", "Teleport to Firemaking",
  3198. 33015, 1, 120, 33);
  3199. /* 3181 */addText(33016, "", 14929103, true, true, 115, 2);
  3200. /* 3182 */addButton(33017, 0, "FARMING", "Teleport to Farming", 33017,
  3201. 1, 110, 33);
  3202. /* 3183 */addText(33018, "", 14929103, true, true, 115, 2);
  3203. /* 3184 */addButton(33019, 0, "HERBLORE", "Teleport to Herblore",
  3204. 33019, 1, 110, 33);
  3205. /* 3185 */addText(33020, "", 14929103, true, true, 115, 2);
  3206. /* 3186 */addButton(33021, 0, "AGILITY", "Teleport to Agility", 33021,
  3207. 1, 110, 33);
  3208. /* 3187 */addText(33022, "", 14929103, true, true, 115, 2);
  3209. /* 3188 */addButton(33023, 0, "HUNTER", "Teleport to Hunter", 33023, 1,
  3210. 110, 33);
  3211. /* 3189 */addText(33024, "", 14929103, true, true, 115, 2);
  3212. /* */
  3213. /* 3191 */addButton(33025, 0, "RUNECRAFTING",
  3214. "Teleport to Runecrafting", 33025, 1, 120, 33);
  3215. /* 3192 */addText(33026, "", 14929103, true, true, 115, 2);
  3216. /* */
  3217. /* 3194 */addButton(33027, 0, "FLETCHING", "Teleport to Fletching",
  3218. 33027, 1, 111, 33);
  3219. /* 3195 */addText(33028, "", 14929103, true, true, 115, 2);
  3220. /* */
  3221. /* 3197 */addButton(33029, 0, "CRAFTING", "Teleport to Crafting",
  3222. 33029, 1, 110, 33);
  3223. /* 3198 */addText(33030, "", 14929103, true, true, 115, 2);
  3224. /* */
  3225. /* 3200 */addButton(33031, 0, "SUMMONING", "Teleport to Summoning",
  3226. 33031, 1, 110, 33);
  3227. /* 3201 */addText(33032, "", 14929103, true, true, 115, 2);
  3228. /* */
  3229. /* 3203 */addButton(33035, 0, "DUNGEONEERING",
  3230. "Teleport to Dungeoneering", 33035, 1, 120, 33);
  3231. /* 3204 */addText(33036, "", 14929103, true, true, 115, 2);
  3232. /* */
  3233. /* 3206 */addButton(33033, 0, "", "", 33033, 1, 120, 33);
  3234. /* 3207 */addText(33034, "", 14929103, true, true, 115, 2);
  3235. /* */
  3236. /* 3209 */addButton(33037, 0, "THIEVING", "Teleport to Thieving",
  3237. 33037, 1, 120, 33);
  3238. /* 3210 */addText(33038, "", 14929103, true, true, 115, 2);
  3239. /* 3211 */addButton(33039, 0, "SLAYER", "Teleport to Slayer", 33039, 1,
  3240. 120, 33);
  3241. /* 3212 */addText(33040, "", 14929103, true, true, 115, 2);
  3242. /* */
  3243. /* 3214 */// addText(33041, "Total Level: 2000", 14929103, true, true,
  3244. // 115, 2);
  3245. /* */
  3246. /* 3216 */setBounds(33001, 4, 2, 0, localRSInterface);
  3247. /* 3217 */setBounds(33002, 477, 6, 1, localRSInterface);
  3248. /* 3218 */setBounds(33003, 477, 6, 2, localRSInterface);
  3249. /* */
  3250. /* 3220 */setBounds(33005, 50, 90, 3, localRSInterface);
  3251. /* 3221 */setBounds(33006, 115, 100, 4, localRSInterface);
  3252. /* */
  3253. /* 3223 */setBounds(33007, 50, 130, 5, localRSInterface);
  3254. /* 3224 */setBounds(33008, 115, 140, 6, localRSInterface);
  3255. /* */
  3256. /* 3226 */setBounds(33009, 50, 170, 7, localRSInterface);
  3257. /* 3227 */setBounds(33010, 115, 180, 8, localRSInterface);
  3258. /* */
  3259. /* 3229 */setBounds(33011, 50, 210, 9, localRSInterface);
  3260. /* 3230 */setBounds(33012, 115, 220, 10, localRSInterface);
  3261. /* */
  3262. /* 3232 */setBounds(33013, 160, 90, 11, localRSInterface);
  3263. /* 3233 */setBounds(33014, 235, 100, 12, localRSInterface);
  3264. /* */
  3265. /* 3235 */setBounds(33015, 160, 130, 13, localRSInterface);
  3266. /* 3236 */setBounds(33016, 235, 140, 14, localRSInterface);
  3267. /* */
  3268. /* 3238 */setBounds(33017, 160, 170, 15, localRSInterface);
  3269. /* 3239 */setBounds(33018, 235, 180, 16, localRSInterface);
  3270. /* */
  3271. /* 3241 */setBounds(33019, 160, 210, 17, localRSInterface);
  3272. /* 3242 */setBounds(33020, 235, 220, 18, localRSInterface);
  3273. /* */
  3274. /* 3244 */setBounds(33021, 285, 90, 19, localRSInterface);
  3275. /* 3245 */setBounds(33022, 340, 100, 20, localRSInterface);
  3276. /* */
  3277. /* 3247 */setBounds(33023, 50, 250, 21, localRSInterface);
  3278. /* 3248 */setBounds(33024, 110, 260, 22, localRSInterface);
  3279. /* */
  3280. /* 3250 */setBounds(33025, 160, 250, 23, localRSInterface);
  3281. /* 3251 */setBounds(33026, 235, 260, 24, localRSInterface);
  3282. /* */
  3283. /* 3253 */setBounds(33027, 285, 130, 25, localRSInterface);
  3284. /* 3254 */setBounds(33028, 350, 140, 26, localRSInterface);
  3285. /* */
  3286. /* 3256 */setBounds(33029, 285, 170, 27, localRSInterface);
  3287. /* 3257 */setBounds(33030, 350, 180, 28, localRSInterface);
  3288. /* */
  3289. /* 3259 */setBounds(33031, 285, 210, 29, localRSInterface);
  3290. /* 3260 */setBounds(33032, 360, 220, 30, localRSInterface);
  3291. /* */
  3292. /* 3262 */setBounds(33033, 285, 250, 31, localRSInterface);
  3293. /* 3263 */setBounds(33034, 360, 260, 32, localRSInterface);
  3294. /* */
  3295. /* 3265 */setBounds(33035, 395, 90, 33, localRSInterface);
  3296. /* 3266 */setBounds(33036, 455, 110, 34, localRSInterface);
  3297. /* */
  3298. /* 3268 */setBounds(33037, 399, 130, 35, localRSInterface);
  3299. /* 3269 */setBounds(33038, 455, 145, 36, localRSInterface);
  3300. /* */
  3301. /* 3271 */setBounds(33039, 399, 170, 37, localRSInterface);
  3302. /* 3272 */setBounds(33040, 455, 183, 38, localRSInterface);
  3303. /* */
  3304. /* 3274 */setBounds(33041, 100, 280, 39, localRSInterface);
  3305. /* */}
  3306.  
  3307. /* */
  3308.  
  3309. public static void Shop(TextDrawingArea[] TDA) {
  3310. RSInterface rsinterface = addTabInterface(3824);
  3311. setChildren(10, rsinterface);
  3312. addSprite(3825, 0, "Interfaces/Shop/SHOP");
  3313. addHover(3902, 3, 0, 3826, 1, "Interfaces/Shop/CLOSE", 17, 17,
  3314. "Close Window");
  3315. addHovered(3826, 2, "Interfaces/Shop/CLOSE", 17, 17, 3827);
  3316. addText(19679, "", 0xff981f, false, true, 52, TDA, 1);
  3317. addText(19680, "", 0xbf751d, false, true, 52, TDA, 1);
  3318. addButton(19681, 2, "Interfaces/Shop/SHOP", 0, 0, "", 1);
  3319. addSprite(19687, 1, "Interfaces/Shop/ITEMBG");
  3320. addHover(46606, 1, 0, 46607, 0, "Interfaces/Minigame/Back", 16, 16,
  3321. "Back to Shops");
  3322. addHovered(46607, 1, "Interfaces/Minigame/Back", 16, 16, 46608);// 31,24
  3323. setBounds(3825, 6, 8, 0, rsinterface);
  3324. setBounds(3902, 478, 10, 1, rsinterface);
  3325. setBounds(3826, 478, 10, 2, rsinterface);
  3326. setBounds(3900, 26, 44, 3, rsinterface);
  3327. setBounds(3901, 240, 11, 4, rsinterface);
  3328. setBounds(19679, 42, 54, 5, rsinterface);
  3329. setBounds(19680, 150, 54, 6, rsinterface);
  3330. setBounds(19681, 129, 50, 7, rsinterface);
  3331. setBounds(46606, 31, 12, 8, rsinterface);
  3332. setBounds(46607, 31, 12, 9, rsinterface);
  3333. rsinterface = interfaceCache[3900];
  3334. setChildren(1, rsinterface);
  3335. setBounds(19687, 6, 15, 0, rsinterface);
  3336. rsinterface.invSpritePadX = 15;
  3337. rsinterface.width = 10;
  3338. rsinterface.height = 4;
  3339. rsinterface.invSpritePadY = 25;
  3340. rsinterface = addTabInterface(19682);
  3341. addSprite(19683, 1, "Interfaces/Shop/SHOP");
  3342. addText(19684, "Main Stock", 0xbf751d, false, true, 52, TDA, 1);
  3343. addText(19685, "Store Info", 0xff981f, false, true, 52, TDA, 1);
  3344. addButton(19686, 2, "Interfaces/Shop/SHOP", 95, 19, "Main Stock", 1);
  3345. setChildren(7, rsinterface);
  3346. setBounds(19683, 12, 12, 0, rsinterface);
  3347. setBounds(3901, 240, 21, 1, rsinterface);
  3348. setBounds(19684, 42, 54, 2, rsinterface);
  3349. setBounds(19685, 150, 54, 3, rsinterface);
  3350. setBounds(19686, 23, 50, 4, rsinterface);
  3351. setBounds(3902, 471, 22, 5, rsinterface);
  3352. setBounds(3826, 60, 85, 6, rsinterface);
  3353. }
  3354.  
  3355. public static void shopOverview(TextDrawingArea[] TDA) {
  3356. RSInterface Interface = addInterface(26400); // Interface ID
  3357. // Background here
  3358. addSprite(26401, 1, "Interfaces/ShopOverview/BG");
  3359.  
  3360. // Buttons Begin
  3361. addHoverButton(26402, "Interfaces/ShopOverview/SPRITE", 1, 82, 76,
  3362. "Close", -1, 26402, 1);
  3363.  
  3364. addHoverButton(26403, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3365. "Open shop", -1, 26403, 1);
  3366. addHoverButton(26404, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3367. "Open shop", -1, 26404, 1);
  3368. addHoverButton(26405, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3369. "Open shop", -1, 26405, 1);
  3370. addHoverButton(26406, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3371. "Open shop", -1, 26406, 1);
  3372. addHoverButton(26407, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3373. "Open shop", -1, 26407, 1);
  3374. addHoverButton(26408, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3375. "Open shop", -1, 26408, 1);
  3376. addHoverButton(26409, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3377. "Open shop", -1, 26409, 1);
  3378. addHoverButton(26410, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3379. "Open shop", -1, 26410, 1);
  3380. addHoverButton(26411, "Interfaces/ShopOverview/SPRITE", 1, 158, 22,
  3381. "Open shop", -1, 26411, 1);
  3382.  
  3383. addHoverButton(26412, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3384. "Open shop", -1, 26412, 1);
  3385. addHoverButton(26413, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3386. "Open shop", -1, 26413, 1);
  3387. addHoverButton(26414, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3388. "Open shop", -1, 26414, 1);
  3389. addHoverButton(26415, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3390. "Open shop", -1, 26415, 1);
  3391. addHoverButton(26416, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3392. "Open shop", -1, 26416, 1);
  3393. addHoverButton(26417, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3394. "Open shop", -1, 26417, 1);
  3395. addHoverButton(26418, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3396. "Open shop", -1, 26418, 1);
  3397. addHoverButton(26419, "Interfaces/ShopOverview/SPRITE", 1, 148, 21,
  3398. "Open shop", -1, 26419, 1);
  3399.  
  3400. addHoverButton(26420, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3401. "Open shop", -1, 26420, 1);
  3402. addHoverButton(26421, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3403. "Open shop", -1, 26421, 1);
  3404. addHoverButton(26422, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3405. "Open shop", -1, 26422, 1);
  3406. addHoverButton(26423, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3407. "Open shop", -1, 26423, 1);
  3408. addHoverButton(26424, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3409. "Open shop", -1, 26424, 1);
  3410. addHoverButton(26425, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3411. "Open shop", -1, 26425, 1);
  3412. addHoverButton(26426, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3413. "Open shop", -1, 26426, 1);
  3414. addHoverButton(26427, "Interfaces/ShopOverview/SPRITE", 1, 162, 22,
  3415. "Open shop", -1, 26427, 1);
  3416.  
  3417. addText(26428, "Test", TDA, 2, 0xffffff, true, true);
  3418. addText(26429, "Test", TDA, 2, 0xffffff, true, true);
  3419. addText(26430, "Test", TDA, 2, 0xffffff, true, true);
  3420. addText(26431, "Test", TDA, 2, 0xffffff, true, true);
  3421. addText(26432, "Test", TDA, 2, 0xffffff, true, true);
  3422. addText(26433, "Test", TDA, 2, 0xffffff, true, true);
  3423. addText(26434, "Test", TDA, 2, 0xffffff, true, true);
  3424. addText(26435, "Test", TDA, 2, 0xffffff, true, true);
  3425. addText(26436, "Test", TDA, 2, 0xffffff, true, true);
  3426.  
  3427. addText(26437, "Test", TDA, 2, 0xffffff, true, true);
  3428. addText(26438, "Test", TDA, 2, 0xffffff, true, true);
  3429. addText(26439, "Test", TDA, 2, 0xffffff, true, true);
  3430. addText(26440, "Test", TDA, 2, 0xffffff, true, true);
  3431. addText(26441, "Test", TDA, 2, 0xffffff, true, true);
  3432. addText(26442, "Test", TDA, 2, 0xffffff, true, true);
  3433. addText(26443, "Test", TDA, 2, 0xffffff, true, true);
  3434. addText(26444, "Test", TDA, 2, 0xffffff, true, true);
  3435.  
  3436. addText(26445, "Test", TDA, 2, 0xffffff, true, true);
  3437. addText(26446, "Test", TDA, 2, 0xffffff, true, true);
  3438. addText(26447, "Test", TDA, 2, 0xffffff, true, true);
  3439. addText(26448, "Test", TDA, 2, 0xffffff, true, true);
  3440. addText(26449, "Test", TDA, 2, 0xffffff, true, true);
  3441. addText(26450, "Test", TDA, 2, 0xffffff, true, true);
  3442. addText(26451, "Test", TDA, 2, 0xffffff, true, true);
  3443. addText(26452, "Test", TDA, 2, 0xffffff, true, true);
  3444.  
  3445. // Buttons End
  3446. // Set Bounds Begin
  3447. setChildren(52, Interface); // Number of sprites/buttons
  3448.  
  3449. setBounds(26401, 0, 0, 0, Interface);
  3450. setBounds(26402, 477, 10, 1, Interface);
  3451. // +27
  3452. setBounds(26403, 12, 85, 2, Interface);
  3453. setBounds(26404, 12, 112, 3, Interface);
  3454. setBounds(26405, 12, 139, 4, Interface);
  3455. setBounds(26406, 13, 166, 5, Interface);
  3456. setBounds(26407, 12, 193, 6, Interface);
  3457. setBounds(26408, 12, 220, 7, Interface);
  3458. setBounds(26409, 12, 247, 8, Interface);
  3459. setBounds(26410, 12, 274, 9, Interface);
  3460. setBounds(26411, 12, 301, 10, Interface);
  3461.  
  3462. setBounds(26412, 179, 85, 11, Interface);
  3463. setBounds(26413, 179, 112, 12, Interface);
  3464. setBounds(26414, 179, 139, 13, Interface);
  3465. setBounds(26415, 179, 166, 14, Interface);
  3466. setBounds(26416, 179, 193, 15, Interface);
  3467. setBounds(26417, 179, 220, 16, Interface);
  3468. setBounds(26418, 179, 247, 17, Interface);
  3469. setBounds(26419, 179, 274, 18, Interface);
  3470.  
  3471. setBounds(26420, 336, 85, 19, Interface);
  3472. setBounds(26421, 336, 112, 20, Interface);
  3473. setBounds(26422, 336, 139, 21, Interface);
  3474. setBounds(26423, 336, 166, 22, Interface);
  3475. setBounds(26424, 336, 193, 23, Interface);
  3476. setBounds(26425, 336, 220, 24, Interface);
  3477. setBounds(26426, 336, 247, 25, Interface);
  3478. setBounds(26427, 336, 274, 26, Interface);
  3479. // +27
  3480. setBounds(26428, 93, 84, 27, Interface);
  3481. setBounds(26429, 93, 111, 28, Interface);
  3482. setBounds(26430, 93, 138, 29, Interface);
  3483. setBounds(26431, 93, 165, 30, Interface);
  3484. setBounds(26432, 93, 192, 31, Interface);
  3485. setBounds(26433, 93, 219, 32, Interface);
  3486. setBounds(26434, 93, 246, 33, Interface);
  3487. setBounds(26435, 93, 273, 34, Interface);
  3488. setBounds(26436, 93, 300, 35, Interface);
  3489.  
  3490. setBounds(26437, 257, 84, 36, Interface);
  3491. setBounds(26438, 257, 111, 37, Interface);
  3492. setBounds(26439, 257, 138, 38, Interface);
  3493. setBounds(26440, 257, 165, 39, Interface);
  3494. setBounds(26441, 257, 192, 40, Interface);
  3495. setBounds(26442, 257, 219, 41, Interface);
  3496. setBounds(26443, 257, 246, 42, Interface);
  3497. setBounds(26444, 257, 273, 43, Interface);
  3498.  
  3499. setBounds(26445, 424, 84, 44, Interface);
  3500. setBounds(26446, 424, 111, 45, Interface);
  3501. setBounds(26447, 424, 138, 46, Interface);
  3502. setBounds(26448, 424, 165, 47, Interface);
  3503. setBounds(26449, 424, 192, 48, Interface);
  3504. setBounds(26450, 424, 219, 49, Interface);
  3505. setBounds(26451, 424, 246, 50, Interface);
  3506. setBounds(26452, 424, 273, 51, Interface);
  3507.  
  3508. // Set Bounds End
  3509. }
  3510.  
  3511. public static void magicTab(TextDrawingArea[] tda) {
  3512. RSInterface tab = addTabInterface(1151);
  3513. RSInterface homeHover = addTabInterface(1196);
  3514. RSInterface spellButtons = interfaceCache[12424];
  3515. spellButtons.scrollMax = 0;
  3516. spellButtons.height = 260;
  3517. spellButtons.width = 190;
  3518. int[] spellButton = { 1196, 1199, 1206, 1215, 1224, 1231, 1240, 1249,
  3519. 1258, 1267, 1274, 1283, 1573, 1290, 1299, 1308, 1315, 1324,
  3520. 1333, 1340, 1349, 1358, 1367, 1374, 1381, 1388, 1397, 1404,
  3521. 1583, 12038, 1414, 1421, 1430, 1437, 1446, 1453, 1460, 1469,
  3522. 15878, 1602, 1613, 1624, 7456, 1478, 1485, 1494, 1503, 1512,
  3523. 1521, 1530, 1544, 1553, 1563, 1593, 1635, 12426, 12436, 12446,
  3524. 12456, 6004, 18471 };
  3525. tab.totalChildren(63);
  3526. tab.child(0, 12424, 13, 24);
  3527. for (int i1 = 0; i1 < spellButton.length; i1++) {
  3528. int yPos = i1 > 34 ? 8 : 183;
  3529. tab.child(1, 1195, 13, 24);
  3530. tab.child(i1 + 2, spellButton[i1], 5, yPos);
  3531. addButton(1195, 1, "Interfaces/Magic/Home",
  3532. "Cast @gre@Home Teleport");
  3533. RSInterface homeButton = interfaceCache[1195];
  3534. homeButton.mOverInterToTrigger = 1196;
  3535. }
  3536. for (int i2 = 0; i2 < spellButton.length; i2++) {
  3537. if (i2 < 60)
  3538. spellButtons.childX[i2] = spellButtons.childX[i2] + 24;
  3539. if (i2 == 6 || i2 == 12 || i2 == 19 || i2 == 35 || i2 == 41
  3540. || i2 == 44 || i2 == 49 || i2 == 51)
  3541. spellButtons.childX[i2] = 0;
  3542. spellButtons.childY[6] = 24;
  3543. spellButtons.childY[12] = 48;
  3544. spellButtons.childY[19] = 72;
  3545. spellButtons.childY[49] = 96;
  3546. spellButtons.childY[44] = 120;
  3547. spellButtons.childY[51] = 144;
  3548. spellButtons.childY[35] = 170;
  3549. spellButtons.childY[41] = 192;
  3550. }
  3551. homeHover.isMouseoverTriggered = true;
  3552. addText(1197, "Level 0: Home Teleport", tda, 1, 0xFE981F, true, true);
  3553. RSInterface homeLevel = interfaceCache[1197];
  3554. homeLevel.width = 174;
  3555. homeLevel.height = 68;
  3556. addText(1198, "A teleport which requires no", tda, 0, 0xAF6A1A, true,
  3557. true);
  3558. addText(18998, "runes and no required level that", tda, 0, 0xAF6A1A,
  3559. true, true);
  3560. addText(18999, "teleports you to the main land.", tda, 0, 0xAF6A1A,
  3561. true, true);
  3562. homeHover.totalChildren(4);
  3563. homeHover.child(0, 1197, 3, 4);
  3564. homeHover.child(1, 1198, 91, 23);
  3565. homeHover.child(2, 18998, 91, 34);
  3566. homeHover.child(3, 18999, 91, 45);
  3567. }
  3568.  
  3569. public static void ancientMagicTab(TextDrawingArea[] tda) {
  3570. RSInterface tab = addInterface(12855);
  3571. addButton(12856, 1, "Interfaces/Magic/Home", "Cast @gre@Home Teleport");
  3572. addButton(13002, 5, "Interfaces/Magic2/MIAOFF", "Cast @gre@Miasmic Rush");
  3573. addButton(13005, 2, "Interfaces/Magic2/MIAOFF", "Cast @gre@Miasmic Burst");
  3574. addButton(13003, 3, "Interfaces/Magic2/MIAOFF", "Cast @gre@Miasmic Blitz");
  3575. addButton(13004, 4, "Interfaces/Magic2/MIAOFF", "Cast @gre@Miasmic Barrage");
  3576. RSInterface homeButton = interfaceCache[12856];
  3577. /*RSInterface rushButton = interfaceCache[12880];
  3578. RSInterface burstButton = interfaceCache[13001];
  3579. RSInterface blitzButton = interfaceCache[12882];
  3580. RSInterface barrageButton = interfaceCache[12883];*/
  3581. homeButton.mOverInterToTrigger = 1196;
  3582. int[] itfChildren = {
  3583. 12856, 12939, 12987, 13035, 12901, 12861, 13045,13002, 12963, 13011, 13053, 12919, 12881,13005, 13061,
  3584. 12951, 12999, 13069, 12911, 12871,13003, 13079, 12975, 13023, 13087, 12929, 12891, 13095,13004, 1196,
  3585. 12940, 12988, 13036, 12902, 12862, 13046, 12964, 13012, 13054, 12920, 12882, 13062, 12952,
  3586. 13000, 13070, 12912, 12872, 13080, 12976, 13024, 13088, 12930, 12892, 13096
  3587. };
  3588. /*int[] itfChildren = { 12856, 12939, 12987, 13035, 12901, 12861, 13045,13002, 12963, 13011, 13053, 12919, 12881,13001, 13061,
  3589. 12951, 12999, 13069, 12911, 12871,13003, 13079, 12975, 13023, 13087, 12929, 12891, 13095,13004, 1196,
  3590. 12940, 12988, 13036, 12902, 12862, 13046, 12964,12964, 13012, 13054, 12920, 12882, 13062,13062, 12952,
  3591. 13000, 13070, 12912, 12872, 13080,13080, 12976, 13024, 13088, 12930, 12892, 13096,13096};*/
  3592.  
  3593. tab.totalChildren(itfChildren.length);
  3594. for (int i1 = 0, xPos = 18, yPos = 8; i1 < itfChildren.length; i1++, xPos += 45) {
  3595. if (xPos > 175) {
  3596. xPos = 18;
  3597. yPos += 28;
  3598. }
  3599. if (i1 < 30)
  3600. tab.child(i1, itfChildren[i1], xPos, yPos);
  3601. if (i1 > 29) {
  3602. yPos = i1 < 41 ? 181 : 1;
  3603. tab.child(i1, itfChildren[i1], 4, yPos);
  3604. }
  3605. }
  3606. }
  3607.  
  3608. public static void skillTab602(TextDrawingArea[] TDA) {
  3609. RSInterface skill = addInterface(3917);
  3610. addText(27203, "99", 0xFFFF00, false, true, -1, TDA, 0);
  3611. addText(27204, "99", 0xFFFF00, false, true, -1, TDA, 0);
  3612. addText(27205, "99", 0xFFFF00, false, true, -1, TDA, 0);
  3613. addText(27206, "99", 0xFFFF00, false, true, -1, TDA, 0);
  3614. skill.totalChildren(4);
  3615. skill.child(0, 27203, 158, 175);
  3616. skill.child(1, 27204, 171, 186);
  3617. skill.child(2, 27205, 158, 203);
  3618. skill.child(3, 27206, 171, 214);
  3619. String[] spriteNames = { "Attack", "HP", "Mine", "Strength", "Agility",
  3620. "Smith", "Defence", "Herblore", "Fish", "Range", "Thief",
  3621. "Cook", "Prayer", "Craft", "Fire", "Mage", "Fletch", "Wood",
  3622. "Rune", "Slay", "Farm", "Hunter", "Summon", "Construction" };
  3623. int[] buttons = { 27207, 27208, 27209, 27210, 27211, 27212, 27213,
  3624. 27214, 27215, 27216, 27217, 27218, 27219, 27220, 27221, 27222,
  3625. 27223, 27224, 27225, 27226, 27231, 27232, 27233, 27234 };
  3626. int[] hovers = { 4040, 4076, 4112, 4046, 4082, 4118, 4052, 4088, 4124,
  3627. 4058, 4094, 4130, 4064, 4100, 4136, 4070, 4106, 4142, 4160,
  3628. 2832, 13917, 19005, 19006, 19007 };
  3629. int[][] text = { { 1500, 1501 }, { 4004, 4005 }, { 4016, 4017 },
  3630. { 4028, 4029 }, { 4006, 4007 }, { 4018, 4019 }, { 4030, 4031 },
  3631. { 4008, 4009 }, { 4020, 4021 }, { 4032, 4033 }, { 4010, 4011 },
  3632. { 4022, 4023 }, { 4034, 4035 }, { 4012, 4013 }, { 4024, 4025 },
  3633. { 4036, 4037 }, { 4014, 4015 }, { 4026, 4027 }, { 4038, 4039 },
  3634. { 4152, 4153 }, { 12166, 12167 }, { 13926, 13927 },
  3635. { 18165, 18169 }, { 18166, 18170 }, { 18167, 18171 } };
  3636.  
  3637. int[] icons = { 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973,
  3638. 3974, 3975, 3976, 3977, 3978, 3979, 3980, 3981, 3982, 4151,
  3639. 12165, 13925, 27227, 27228, 27229 };
  3640.  
  3641. int[][] buttonCoords = { { 4, 4 }, { 66, 4 }, { 128, 4 }, { 4, 32 },
  3642. { 66, 32 }, { 128, 32 }, { 4, 60 }, { 66, 60 }, { 128, 60 },
  3643. { 4, 88 }, { 66, 88 }, { 128, 88 }, { 4, 116 }, { 66, 116 },
  3644. { 128, 116 }, { 4, 144 }, { 66, 144 }, { 128, 144 },
  3645. { 4, 172 }, { 66, 172 }, { 128, 172 }, { 4, 200 }, { 66, 200 },
  3646. { 128, 200 } };
  3647. int[][] iconCoords = { { 6, 6 }, { 69, 7 }, { 131, 6 }, { 9, 34 },
  3648. { 68, 33 }, { 131, 36 }, { 9, 64 }, { 67, 63 }, { 131, 61 },
  3649. { 7, 91 }, { 68, 94 }, { 133, 90 }, { 6, 118 }, { 70, 120 },
  3650. { 130, 118 }, { 6, 147 }, { 69, 146 }, { 132, 146 },
  3651. { 6, 173 }, { 69, 173 }, { 130, 174 }, { 6, 202 }, { 69, 201 },
  3652. { 131, 202 } };
  3653. int[][] textCoords = { { 9999, 9999, 9999, 9999 }, { 31, 7, 44, 18 },
  3654. { 93, 7, 106, 18 }, { 155, 7, 168, 18 }, { 31, 35, 44, 46 },
  3655. { 93, 35, 106, 46 }, { 155, 35, 168, 46 }, { 31, 63, 44, 74 },
  3656. { 93, 63, 106, 74 }, { 155, 63, 168, 74 }, { 31, 91, 44, 102 },
  3657. { 93, 91, 106, 102 }, { 155, 91, 168, 102 },
  3658. { 31, 119, 44, 130 }, { 93, 119, 106, 130 },
  3659. { 155, 119, 168, 130 }, { 31, 147, 44, 158 },
  3660. { 93, 147, 106, 158 }, { 155, 147, 168, 158 },
  3661. { 31, 175, 44, 186 }, { 93, 175, 106, 186 },
  3662. { 155, 175, 168, 186 }, { 32, 203, 45, 214 },
  3663. { 94, 203, 107, 214 }, { 156, 203, 169, 214 } };
  3664. int[][] newText = { { 18165, 18166, 18167, 18168 },
  3665. { 18169, 18170, 18171, 18172 } };
  3666. for (int i = 0; i < hovers.length; i++) {
  3667. createSkillHover(hovers[i], 206 + i);
  3668. addSkillButton(buttons[i]);
  3669. addImage(icons[i], spriteNames[i]);
  3670. }
  3671. for (int i = 0; i < 4; i++) {
  3672. addSkillText(newText[0][i], false, i + 21);
  3673. addSkillText(newText[1][i], true, i + 21);
  3674. }
  3675. skill.children(icons.length + (text.length * 2) + hovers.length
  3676. + buttons.length + 1);
  3677. int frame = 0;
  3678. RSInterface totalLevel = interfaceCache[3984];
  3679. RSInterface.addText(3984, "", TDA, 2, 0xFFFF00, false, true);
  3680. totalLevel.totalChildren(1);
  3681. skill.child(0, 3984, 39, 237);
  3682. skill.child(frame, 3984, 39, 237);
  3683. frame++;
  3684. for (int i = 0; i < buttons.length; i++) {
  3685. skill.child(frame, buttons[i], buttonCoords[i][0],
  3686. buttonCoords[i][1]);
  3687. frame++;
  3688. }
  3689. for (int i = 0; i < icons.length; i++) {
  3690. skill.child(frame, icons[i], iconCoords[i][0], iconCoords[i][1]);
  3691. frame++;
  3692. }
  3693. for (int i = 0; i < text.length; i++) {
  3694. skill.child(frame, text[i][0], textCoords[i][0], textCoords[i][1]);
  3695. frame++;
  3696. }
  3697. for (int i = 0; i < text.length; i++) {
  3698. skill.child(frame, text[i][1], textCoords[i][2], textCoords[i][3]);
  3699. frame++;
  3700. }
  3701. for (int i = 0; i < hovers.length; i++) {
  3702. skill.child(frame, hovers[i], buttonCoords[i][0],
  3703. buttonCoords[i][1]);
  3704. frame++;
  3705. }
  3706. }
  3707.  
  3708. public static void GodWars(TextDrawingArea[] TDA) {
  3709. RSInterface rsinterface = addInterface(16210);
  3710. addText(16211, "NPC killcount", TDA, 0, 0xff9040, false);
  3711. addText(16212, "Armadyl kills", TDA, 0, 0xff9040, false);
  3712. addText(16213, "Bandos kills", TDA, 0, 0xff9040, false);
  3713. addText(16214, "Saradomin kills", TDA, 0, 0xff9040, false);
  3714. addText(16215, "Zamorak kills", TDA, 0, 0xff9040, false);
  3715. addText(16216, "0", TDA, 0, 0x66FFFF, false);// armadyl
  3716. addText(16217, "0", TDA, 0, 0x66FFFF, false);// bandos
  3717. addText(16218, "0", TDA, 0, 0x66FFFF, false);// saradomin
  3718. addText(16219, "0", TDA, 0, 0x66FFFF, false);// zamorak
  3719. rsinterface.scrollMax = 0;
  3720. rsinterface.children = new int[9];
  3721. rsinterface.childX = new int[9];
  3722. rsinterface.childY = new int[9];
  3723. rsinterface.children[0] = 16211;
  3724. rsinterface.childX[0] = -52 + 375 + 30;
  3725. rsinterface.childY[0] = 7;
  3726. rsinterface.children[1] = 16212;
  3727. rsinterface.childX[1] = -52 + 375 + 30;
  3728. rsinterface.childY[1] = 30;
  3729. rsinterface.children[2] = 16213;
  3730. rsinterface.childX[2] = -52 + 375 + 30;
  3731. rsinterface.childY[2] = 44;
  3732. rsinterface.children[3] = 16214;
  3733. rsinterface.childX[3] = -52 + 375 + 30;
  3734. rsinterface.childY[3] = 58;
  3735. rsinterface.children[4] = 16215;
  3736. rsinterface.childX[4] = -52 + 375 + 30;
  3737. rsinterface.childY[4] = 73;
  3738.  
  3739. rsinterface.children[5] = 16216;
  3740. rsinterface.childX[5] = -52 + 460 + 60;
  3741. rsinterface.childY[5] = 31;
  3742. rsinterface.children[6] = 16217;
  3743. rsinterface.childX[6] = -52 + 460 + 60;
  3744. rsinterface.childY[6] = 45;
  3745. rsinterface.children[7] = 16218;
  3746. rsinterface.childX[7] = -52 + 460 + 60;
  3747. rsinterface.childY[7] = 59;
  3748. rsinterface.children[8] = 16219;
  3749. rsinterface.childX[8] = -52 + 460 + 60;
  3750. rsinterface.childY[8] = 74;
  3751. }
  3752.  
  3753. public static void EquipmentTab(TextDrawingArea[] tda) {
  3754. RSInterface localRSInterface = interfaceCache[1644];
  3755. addSprite(15101, 0, "Interfaces/Equipment/bl");
  3756. addSprite(15102, 1, "Interfaces/Equipment/bl");
  3757. addSprite(15109, 2, "Interfaces/Equipment/bl");
  3758. addSprite(15110, 3, "Interfaces/Equipment/bl");
  3759. removeSomething(15103);
  3760. removeSomething(15104);
  3761. localRSInterface.children[23] = 15101;
  3762. localRSInterface.childX[23] = 40;
  3763. localRSInterface.childY[23] = 205;
  3764. localRSInterface.children[24] = 15102;
  3765. localRSInterface.childX[24] = 110;
  3766. localRSInterface.childY[24] = 205;
  3767. localRSInterface.children[25] = 15109;
  3768. localRSInterface.childX[25] = 39;
  3769. localRSInterface.childY[25] = 240;
  3770. localRSInterface.children[26] = 27650;
  3771. localRSInterface.childX[26] = 0;
  3772. localRSInterface.childY[26] = 0;
  3773. localRSInterface = addInterface(27650);
  3774. addSprite(19146, 1, "Interfaces/Equipment/aura");
  3775. addHoverButton(15201, "Interfaces/Equipment/CUSTOM", 1, 40, 40,
  3776. "Show Equipment Screen", 0, 15202, 1);
  3777. addHoveredButton(15202, "Interfaces/Equipment/CUSTOM", 5, 40, 40, 15203);
  3778. addHoverButton(15204, "Interfaces/Equipment/CUSTOM", 2, 40, 40,
  3779. "Items Kept on Death", 0, 15205, 1);
  3780. addHoveredButton(15205, "Interfaces/Equipment/CUSTOM", 4, 40, 40, 15206);
  3781. addHoverButton(15207, "Interfaces/Equipment/CUSTOM", 13, 40, 40,
  3782. "Toolbelt", 0, 15208, 1);
  3783. addHoveredButton(15208, "Interfaces/Equipment/CUSTOM", 14, 40, 40,
  3784. 15209);
  3785. addHoverButton(15215, "Interfaces/Equipment/CUSTOM", 11, 40, 40,
  3786. "Customize", 0, 15216, 1);
  3787. addHoveredButton(15216, "Interfaces/Equipment/CUSTOM", 12, 40, 40,
  3788. 15217);
  3789. setChildren(9, localRSInterface);
  3790. setBounds(19146, 37, 4, 0, localRSInterface);
  3791. setBounds(15201, 7, 210, 1, localRSInterface);
  3792. setBounds(15202, 7, 210, 2, localRSInterface);
  3793. setBounds(15204, 52, 210, 3, localRSInterface);
  3794. setBounds(15205, 52, 210, 4, localRSInterface);
  3795. setBounds(15207, 97, 210, 5, localRSInterface);
  3796. setBounds(15208, 97, 210, 6, localRSInterface);
  3797. setBounds(15215, 142, 210, 7, localRSInterface);
  3798. setBounds(15216, 142, 210, 8, localRSInterface);
  3799. }
  3800.  
  3801. public static void equipmentScreen(TextDrawingArea[] wid) {
  3802. @SuppressWarnings("unused")
  3803. RSInterface Interface = RSInterface.interfaceCache[1644];
  3804.  
  3805. RSInterface tab = addTabInterface(15106);
  3806. addSprite(15107, 7, "Interfaces/Equipment/CUSTOM");
  3807. addHoverButton(15210, "Interfaces/Equipment/CUSTOM", 8, 21, 21,
  3808. "Close", 250, 15211, 3);
  3809. addHoveredButton(15211, "Interfaces/Equipment/CUSTOM", 9, 21, 21, 15212);
  3810. addText(15111, "Equip Your Character...", wid, 2, 0xe4a146, false, true);
  3811. addText(15112, "Attack bonus", wid, 2, 0xe4a146, false, true);
  3812. addText(15113, "Defence bonus", wid, 2, 0xe4a146, false, true);
  3813. addText(15114, "Other bonuses", wid, 2, 0xe4a146, false, true);
  3814. for (int i = 1675; i <= 1684; i++) {
  3815. textSize(i, wid, 1);
  3816. }
  3817. textSize(1686, wid, 1);
  3818. textSize(1687, wid, 1);
  3819. addChar(15125);
  3820. tab.totalChildren(44);
  3821. tab.child(0, 15107, 4, 20);
  3822. tab.child(1, 15210, 476, 29);
  3823. tab.child(2, 15211, 476, 29);
  3824. tab.child(3, 15111, 14, 30);
  3825. int Child = 4;
  3826. int Y = 69;
  3827. for (int i = 1675; i <= 1679; i++) {
  3828. tab.child(Child, i, 20, Y);
  3829. Child++;
  3830. Y += 14;
  3831. }
  3832. tab.child(9, 1680, 20, 161);
  3833. tab.child(10, 1681, 20, 177);
  3834. tab.child(11, 1682, 20, 192);
  3835. tab.child(12, 1683, 20, 207);
  3836. tab.child(13, 1684, 20, 221);
  3837. tab.child(14, 1686, 20, 262);
  3838. tab.child(15, 15125, 170, 200);
  3839. tab.child(16, 15112, 16, 55);
  3840. tab.child(17, 1687, 20, 276);
  3841. tab.child(18, 15113, 16, 147);
  3842. tab.child(19, 15114, 16, 248);
  3843. tab.child(20, 1645, 104 + 295, 149 - 52);
  3844. tab.child(21, 1646, 399, 163);
  3845. tab.child(22, 1647, 399, 163);
  3846. tab.child(23, 1648, 399, 58 + 146);
  3847. tab.child(24, 1649, 26 + 22 + 297 - 2, 110 - 44 + 118 - 13 + 5);
  3848. tab.child(25, 1650, 321 + 22, 58 + 154);
  3849. tab.child(26, 1651, 321 + 134, 58 + 118);
  3850. tab.child(27, 1652, 321 + 134, 58 + 154);
  3851. tab.child(28, 1653, 321 + 48, 58 + 81);
  3852. tab.child(29, 1654, 321 + 107, 58 + 81);
  3853. tab.child(30, 1655, 321 + 58, 58 + 42);
  3854. tab.child(31, 1656, 321 + 112, 58 + 41);
  3855. tab.child(32, 1657, 321 + 78, 58 + 4);
  3856. tab.child(33, 1658, 321 + 37, 58 + 43);
  3857. tab.child(34, 1659, 321 + 78, 58 + 43);
  3858. tab.child(35, 1660, 321 + 119, 58 + 43);
  3859. tab.child(36, 1661, 321 + 22, 58 + 82);
  3860. tab.child(37, 1662, 321 + 78, 58 + 82);
  3861. tab.child(38, 1663, 321 + 134, 58 + 82);
  3862. tab.child(39, 1664, 321 + 78, 58 + 122);
  3863. tab.child(40, 1665, 321 + 78, 58 + 162);
  3864. tab.child(41, 1666, 321 + 22, 58 + 162);
  3865. tab.child(42, 1667, 321 + 134, 58 + 162);
  3866. tab.child(43, 1688, 50 + 297 - 2, 110 - 13 + 5);
  3867. for (int i = 1675; i <= 1684; i++) {
  3868. RSInterface rsi = interfaceCache[i];
  3869. rsi.textColor = 0xe4a146;
  3870. rsi.centerText = false;
  3871. }
  3872. for (int i = 1686; i <= 1687; i++) {
  3873. RSInterface rsi = interfaceCache[i];
  3874. rsi.textColor = 0xe4a146;
  3875. rsi.centerText = false;
  3876. }
  3877. }
  3878.  
  3879. public static void weaponClass(TextDrawingArea[] TDA) {
  3880. RSInterface Interface = addInterface(49100); // Interface ID
  3881. // Background here
  3882. addSprite(49101, 1, "Interfaces/WeaponClass/BG");
  3883.  
  3884. // Buttons Begin
  3885. addHoverButton(49102, "Interfaces/WeaponClass/SPRITE", 1, 20, 20,
  3886. "Close", -1, 49102, 1);
  3887.  
  3888. addHoverButton(49103, "Interfaces/WeaponClass/SPRITE", 1, 85, 91,
  3889. "Choose Melee", -1, 49103, 1);
  3890. addHoverButton(49104, "Interfaces/WeaponClass/SPRITE", 1, 85, 91,
  3891. "Choose Ranged", -1, 49104, 1);
  3892. addHoverButton(49105, "Interfaces/WeaponClass/SPRITE", 1, 85, 91,
  3893. "Choose Magic", -1, 49105, 1);
  3894.  
  3895. addHoverButton(49106, "Interfaces/WeaponClass/SPRITE", 1, 252, 37,
  3896. "Enter Cave", -1, 49106, 1);
  3897.  
  3898. addText(49107, "Current Class: None", TDA, 2, 0xffffff, true, true);
  3899. addText(49108, "Class Level: 999", TDA, 2, 0xffffff, true, true);
  3900. addText(49109, "Level Potential: 1000%", TDA, 2, 0xffffff, true, true);
  3901.  
  3902. setChildren(9, Interface); // Number of sprites/buttons
  3903.  
  3904. setBounds(49101, 5, 5, 0, Interface);
  3905.  
  3906. setBounds(49102, 492, 17, 1, Interface); //close
  3907.  
  3908. setBounds(49103, 56, 66, 2, Interface);
  3909. setBounds(49104, 221, 66, 3, Interface);
  3910. setBounds(49105, 377, 66, 4, Interface);
  3911.  
  3912. setBounds(49106, 242, 295, 5, Interface);
  3913.  
  3914. setBounds(49107, 264, 189, 6, Interface);
  3915. setBounds(49108, 264, 212, 7, Interface);
  3916. setBounds(49109, 264, 235, 8, Interface);
  3917.  
  3918.  
  3919. // setBounds(26402, 477, 10, 1, Interface);
  3920.  
  3921. // Set Bounds End you want to show on the walkable interface? ye i see.
  3922. }
  3923.  
  3924. public static void inWeapon(TextDrawingArea[] TDA) {
  3925. RSInterface Interface = addInterface(18100); // Interface ID
  3926. // Background here
  3927. addSprite(18101, 1, "Interfaces/WeaponClass/SPRITE");
  3928.  
  3929. addText(18102, "Class Level: 999", TDA, 2, 0xffffff, true, true);
  3930. addText(18103, "Level Potential: 100%", TDA, 2, 0xffffff, true, true);
  3931.  
  3932. setChildren(3, Interface); // Number of sprites/buttons
  3933.  
  3934. setBounds(18101, 320, 1, 0, Interface);
  3935. setBounds(18102, 444, 9, 1, Interface); //close
  3936. setBounds(18103, 444, 30, 2, Interface);
  3937. }
  3938.  
  3939. }
Advertisement
Add Comment
Please, Sign In to add comment