Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void startActionPerformed(java.awt.event.ActionEvent evt) {
- setVisible(false);
- String ss = jComboBox1.getSelectedItem().toString();
- if (ss.equals("Cracked Cooking Urn")) {
- unfUrnID = UNF_C_C_URN;
- nrUrnID = NR_C_C_URN;
- urnID = C_C_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.COOKING;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Fragile Cooking Urn")) {
- unfUrnID = UNF_C_F_URN;
- nrUrnID = NR_C_F_URN;
- urnID = C_F_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.COOKING;
- urnType = UrnType.FRAGILE;
- } else if (ss.equals("Cooking Urn")) {
- unfUrnID = UNF_C_P_URN;
- nrUrnID = NR_C_P_URN;
- urnID = C_P_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.COOKING;
- urnType = UrnType.PERFECT;
- } else if (ss.equals("Cracked Fishing Urn")) {
- unfUrnID = UNF_F_C_URN;
- nrUrnID = NR_F_C_URN;
- urnID = F_C_URN;
- runeID = WATER_RUNE;
- skillType = SkillType.FISHING;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Fragile Fishing Urn")) {
- unfUrnID = UNF_F_F_URN;
- nrUrnID = NR_F_F_URN;
- urnID = F_F_URN;
- runeID = WATER_RUNE;
- skillType = SkillType.FISHING;
- urnType = UrnType.FRAGILE;
- } else if (ss.equals("Fishing Urn")) {
- unfUrnID = UNF_F_P_URN;
- nrUrnID = NR_F_P_URN;
- urnID = F_P_URN;
- runeID = WATER_RUNE;
- skillType = SkillType.FISHING;
- urnType = UrnType.PERFECT;
- } else if (ss.equals("Cracked Mining Urn")) {
- unfUrnID = UNF_M_C_URN;
- nrUrnID = NR_M_C_URN;
- urnID = M_C_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.MINING;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Fragile Mining Urn")) {
- unfUrnID = UNF_M_F_URN;
- nrUrnID = NR_M_F_URN;
- urnID = M_F_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.MINING;
- urnType = UrnType.FRAGILE;
- } else if (ss.equals("Mining Urn")) {
- unfUrnID = UNF_M_P_URN;
- nrUrnID = NR_M_P_URN;
- urnID = M_P_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.MINING;
- urnType = UrnType.PERFECT;
- } else if (ss.equals("Cracked Smelting Urn")) {
- unfUrnID = UNF_S_C_URN;
- nrUrnID = NR_S_C_URN;
- urnID = S_C_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.SMELTING;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Fragile Smelting Urn")) {
- unfUrnID = UNF_S_F_URN;
- nrUrnID = NR_S_F_URN;
- urnID = S_F_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.SMELTING;
- urnType = UrnType.FRAGILE;
- } else if (ss.equals("Smelting Urn")) {
- unfUrnID = UNF_S_P_URN;
- nrUrnID = NR_S_P_URN;
- urnID = S_P_URN;
- runeID = FIRE_RUNE;
- skillType = SkillType.SMELTING;
- urnType = UrnType.PERFECT;
- } else if (ss.equals("Cracked Woodcutting Urn")) {
- unfUrnID = UNF_W_C_URN;
- nrUrnID = NR_W_C_URN;
- urnID = W_C_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.WOODCUTTING;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Fragile WoodCutting Urn")) {
- unfUrnID = UNF_W_F_URN;
- nrUrnID = NR_W_F_URN;
- urnID = W_F_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.WOODCUTTING;
- urnType = UrnType.FRAGILE;
- } else if (ss.equals("Woodcutting Urn")) {
- unfUrnID = UNF_W_P_URN;
- nrUrnID = NR_W_P_URN;
- urnID = W_P_URN;
- runeID = EARTH_RUNE;
- skillType = SkillType.WOODCUTTING;
- urnType = UrnType.PERFECT;
- } else if (ss.equals("Impious Urn")) {
- unfUrnID = UNF_P_I_URN;
- nrUrnID = NR_P_I_URN;
- urnID = P_I_URN;
- runeID = AIR_RUNE;
- skillType = SkillType.PRAYER;
- urnType = UrnType.CRACKED;
- } else if (ss.equals("Accursed Urn")) {
- unfUrnID = UNF_P_A_URN;
- nrUrnID = NR_P_A_URN;
- urnID = P_A_URN;
- runeID = AIR_RUNE;
- skillType = SkillType.PRAYER;
- urnType = UrnType.FRAGILE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement