Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. private void startActionPerformed(java.awt.event.ActionEvent evt) {
  2. setVisible(false);
  3. String ss = jComboBox1.getSelectedItem().toString();
  4. if (ss.equals("Cracked Cooking Urn")) {
  5. unfUrnID = UNF_C_C_URN;
  6. nrUrnID = NR_C_C_URN;
  7. urnID = C_C_URN;
  8. runeID = FIRE_RUNE;
  9. skillType = SkillType.COOKING;
  10. urnType = UrnType.CRACKED;
  11. } else if (ss.equals("Fragile Cooking Urn")) {
  12. unfUrnID = UNF_C_F_URN;
  13. nrUrnID = NR_C_F_URN;
  14. urnID = C_F_URN;
  15. runeID = FIRE_RUNE;
  16. skillType = SkillType.COOKING;
  17. urnType = UrnType.FRAGILE;
  18. } else if (ss.equals("Cooking Urn")) {
  19. unfUrnID = UNF_C_P_URN;
  20. nrUrnID = NR_C_P_URN;
  21. urnID = C_P_URN;
  22. runeID = FIRE_RUNE;
  23. skillType = SkillType.COOKING;
  24. urnType = UrnType.PERFECT;
  25. } else if (ss.equals("Cracked Fishing Urn")) {
  26. unfUrnID = UNF_F_C_URN;
  27. nrUrnID = NR_F_C_URN;
  28. urnID = F_C_URN;
  29. runeID = WATER_RUNE;
  30. skillType = SkillType.FISHING;
  31. urnType = UrnType.CRACKED;
  32. } else if (ss.equals("Fragile Fishing Urn")) {
  33. unfUrnID = UNF_F_F_URN;
  34. nrUrnID = NR_F_F_URN;
  35. urnID = F_F_URN;
  36. runeID = WATER_RUNE;
  37. skillType = SkillType.FISHING;
  38. urnType = UrnType.FRAGILE;
  39. } else if (ss.equals("Fishing Urn")) {
  40. unfUrnID = UNF_F_P_URN;
  41. nrUrnID = NR_F_P_URN;
  42. urnID = F_P_URN;
  43. runeID = WATER_RUNE;
  44. skillType = SkillType.FISHING;
  45. urnType = UrnType.PERFECT;
  46. } else if (ss.equals("Cracked Mining Urn")) {
  47. unfUrnID = UNF_M_C_URN;
  48. nrUrnID = NR_M_C_URN;
  49. urnID = M_C_URN;
  50. runeID = EARTH_RUNE;
  51. skillType = SkillType.MINING;
  52. urnType = UrnType.CRACKED;
  53. } else if (ss.equals("Fragile Mining Urn")) {
  54. unfUrnID = UNF_M_F_URN;
  55. nrUrnID = NR_M_F_URN;
  56. urnID = M_F_URN;
  57. runeID = EARTH_RUNE;
  58. skillType = SkillType.MINING;
  59. urnType = UrnType.FRAGILE;
  60. } else if (ss.equals("Mining Urn")) {
  61. unfUrnID = UNF_M_P_URN;
  62. nrUrnID = NR_M_P_URN;
  63. urnID = M_P_URN;
  64. runeID = EARTH_RUNE;
  65. skillType = SkillType.MINING;
  66. urnType = UrnType.PERFECT;
  67. } else if (ss.equals("Cracked Smelting Urn")) {
  68. unfUrnID = UNF_S_C_URN;
  69. nrUrnID = NR_S_C_URN;
  70. urnID = S_C_URN;
  71. runeID = FIRE_RUNE;
  72. skillType = SkillType.SMELTING;
  73. urnType = UrnType.CRACKED;
  74. } else if (ss.equals("Fragile Smelting Urn")) {
  75. unfUrnID = UNF_S_F_URN;
  76. nrUrnID = NR_S_F_URN;
  77. urnID = S_F_URN;
  78. runeID = FIRE_RUNE;
  79. skillType = SkillType.SMELTING;
  80. urnType = UrnType.FRAGILE;
  81. } else if (ss.equals("Smelting Urn")) {
  82. unfUrnID = UNF_S_P_URN;
  83. nrUrnID = NR_S_P_URN;
  84. urnID = S_P_URN;
  85. runeID = FIRE_RUNE;
  86. skillType = SkillType.SMELTING;
  87. urnType = UrnType.PERFECT;
  88. } else if (ss.equals("Cracked Woodcutting Urn")) {
  89. unfUrnID = UNF_W_C_URN;
  90. nrUrnID = NR_W_C_URN;
  91. urnID = W_C_URN;
  92. runeID = EARTH_RUNE;
  93. skillType = SkillType.WOODCUTTING;
  94. urnType = UrnType.CRACKED;
  95. } else if (ss.equals("Fragile WoodCutting Urn")) {
  96. unfUrnID = UNF_W_F_URN;
  97. nrUrnID = NR_W_F_URN;
  98. urnID = W_F_URN;
  99. runeID = EARTH_RUNE;
  100. skillType = SkillType.WOODCUTTING;
  101. urnType = UrnType.FRAGILE;
  102. } else if (ss.equals("Woodcutting Urn")) {
  103. unfUrnID = UNF_W_P_URN;
  104. nrUrnID = NR_W_P_URN;
  105. urnID = W_P_URN;
  106. runeID = EARTH_RUNE;
  107. skillType = SkillType.WOODCUTTING;
  108. urnType = UrnType.PERFECT;
  109. } else if (ss.equals("Impious Urn")) {
  110. unfUrnID = UNF_P_I_URN;
  111. nrUrnID = NR_P_I_URN;
  112. urnID = P_I_URN;
  113. runeID = AIR_RUNE;
  114. skillType = SkillType.PRAYER;
  115. urnType = UrnType.CRACKED;
  116. } else if (ss.equals("Accursed Urn")) {
  117. unfUrnID = UNF_P_A_URN;
  118. nrUrnID = NR_P_A_URN;
  119. urnID = P_A_URN;
  120. runeID = AIR_RUNE;
  121. skillType = SkillType.PRAYER;
  122. urnType = UrnType.FRAGILE;
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement