100% Gem Crafting (+shilo gems & 2Chisels)
~Full Gem Crafting (including Shilo Gems)~
Purpose: To add full Gem crafting in your server.
Difficulty: 1/10
Classes Modified: Client.Java
Source Base and Compatability: Winterlove's, Will work on any source wich has Case 53 (Item on Item)
Time to Complete: 2Minutes max.
Backup needed? You could just incase.
Features:
- Using Chisel on Gem.
- Using Gem in chisel.
- 100% Correct Level requirements.
- 100% Correct Experiance.
- I noticed that there are 2Diferent ID's for a chisel so i added them both.
- Shilo gems added.
The Emotes have to be added yet.
I dont know how to add the emotes yet. :(
Credits: 100% Me.
Tutorial:
First look for:
Then scroll down untill you find
Just above that insert this:
Code:
//Start of Gem cutting
//Chisel on uncut Saphire
if (itemUsed == 1755 && useWith == 1623) {
if(playerLevel[12] >= 19) {
deleteItem(1623, getItemSlot(1623), 1);
addItem(1607, 1);
addSkillXP(50, 12);
} else {
sendMessage("You need atleast 20 Crafting to cut this saphire.");
}
}
if (itemUsed == 5601 && useWith == 1623) {
if(playerLevel[12] >= 19) {
deleteItem(1623, getItemSlot(1623), 1);
addItem(1607, 1);
addSkillXP(50, 12);
} else {
sendMessage("You need atleast 20 Crafting to cut this saphire.");
}
}
//uncut Saphire on Chisel
if (itemUsed == 1623 && useWith == 1755) {
if(playerLevel[12] >= 19) {
deleteItem(1623, getItemSlot(1623), 1);
addItem(1607, 1);
addSkillXP(50, 12);
} else {
sendMessage("You need atleast 20 Crafting to cut this saphire.");
}
}
if (itemUsed == 1623 && useWith == 5601) {
if(playerLevel[12] >= 19) {
deleteItem(1623, getItemSlot(1623), 1);
addItem(1607, 1);
addSkillXP(50, 12);
} else {
sendMessage("You need atleast 20 Crafting to cut this saphire.");
}
}
//Chisel on uncut Emerald
if (itemUsed == 1755 && useWith == 1621) {
if(playerLevel[12] >= 26) {
deleteItem(1621, getItemSlot(1621), 1); //There are 2Id's for a Emerald. This one is noteble so we will take this one.
addItem(1605, 1);
addSkillXP(135/2, 12);
} else {
sendMessage("You need atleast 27 Crafting to cut this emerald.");
}
}
if (itemUsed == 5601 && useWith == 1621) {
if(playerLevel[12] >= 26) {
deleteItem(1621, getItemSlot(1621), 1); //There are 2Id's for a Emerald. This one is noteble so we will take this one.
addItem(1605, 1);
addSkillXP(135/2, 12);
} else {
sendMessage("You need atleast 27 Crafting to cut this emerald.");
}
}
//uncut Emerald on Chisel
if (itemUsed == 1621 && useWith == 1755) {
if(playerLevel[12] >= 26) {
deleteItem(1621, getItemSlot(1621), 1);
//There are 2Id's for a Emerald. This one is noteble so we will take this one.
addItem(1605, 1);
addSkillXP(135/2, 12);
} else {
sendMessage("You need atleast 27 Crafting to cut this emerald.");
}
}
if (itemUsed == 1621 && useWith == 5601) {
if(playerLevel[12] >= 26) {
deleteItem(1621, getItemSlot(1621), 1);
//There are 2Id's for a Emerald. This one is noteble so we will take this one.
addItem(1605, 1);
addSkillXP(135/2, 12);
} else {
sendMessage("You need atleast 27 Crafting to cut this emerald.");
}
}
//Chisel on uncut Ruby
if (itemUsed == 1755 && useWith == 1619) {
if(playerLevel[12] >= 33) {
deleteItem(1623, getItemSlot(1623), 1);
addItem(1603, 1);
addSkillXP(85, 12);
} else {
sendMessage("You need atleast 34 Crafting to cut this ruby.");
}
}
if (itemUsed == 5601 && useWith == 1619) {
if(playerLevel[12] >= 33) {
deleteItem(1619, getItemSlot(1619), 1);
addItem(1603, 1);
addSkillXP(85, 12);
} else {
sendMessage("You need atleast 34 Crafting to cut this ruby.");
}
}
//uncut Ruby on Chisel
if (itemUsed == 1603 && useWith == 1755) {
if(playerLevel[12] >= 33) {
deleteItem(1619, getItemSlot(1619), 1);
addItem(1603, 1);
addSkillXP(85, 12);
} else {
sendMessage("You need atleast 34 Crafting to cut this ruby.");
}
}
if (itemUsed == 1603 && useWith == 5601) {
if(playerLevel[12] >= 33) {
deleteItem(1619, getItemSlot(1619), 1);
addItem(1603, 1);
addSkillXP(85, 12);
} else {
sendMessage("You need atleast 34 Crafting to cut this ruby.");
}
}
//Chisel on uncut Diamond
if (itemUsed == 1755 && useWith == 1617) {
if(playerLevel[12] >= 42) {
deleteItem(1617, getItemSlot(1617), 1);
addItem(1601, 1);
addSkillXP(215/2, 12);
} else {
sendMessage("You need atleast 43 Crafting to cut this diamon.");
}
}
if (itemUsed == 5601 && useWith == 1617) {
if(playerLevel[12] >= 42) {
deleteItem(1617, getItemSlot(1617), 1);
addItem(1601, 1);
addSkillXP(215/2, 12);
} else {
sendMessage("You need atleast 43 Crafting to cut this diamond.");
}
}
//uncut Diamond on Chisel
if (itemUsed == 1617 && useWith == 1755) {
if(playerLevel[12] >= 42) {
deleteItem(1617, getItemSlot(1617), 1);
addItem(1601, 1);
addSkillXP(215/2, 12);
} else {
sendMessage("You need atleast 43 Crafting to cut this diamond.");
}
}
if (itemUsed == 1617 && useWith == 5601) {
if(playerLevel[12] >= 42) {
deleteItem(1617, getItemSlot(1617), 1);
addItem(1601, 1);
addSkillXP(215/2, 12);
} else {
sendMessage("You need atleast 43 Crafting to cut this diamond.");
}
}
//Chisel on uncut Dragonstone
if (itemUsed == 1755 && useWith == 1631) {
if(playerLevel[12] >= 54) {
deleteItem(1631, getItemSlot(1631), 1);
//There are 2diferent ID's for the dragonstone. but this one is noteble so we will use this one.
addItem(1615, 1);
addSkillXP(275/2, 12);
} else {
sendMessage("You need atleast 55 Crafting to cut this dragonstone.");
}
}
if (itemUsed == 5601 && useWith == 1631) {
if(playerLevel[12] >= 54) {
deleteItem(1631, getItemSlot(1631), 1);
//There are 2diferent ID's for the dragonstone. but this one is noteble so we will use this one.
addItem(1615, 1);
addSkillXP(275/2, 12);
} else {
sendMessage("You need atleast 55 Crafting to cut this dragonstone.");
}
}
//uncut Dragonstone on Chisel
if (itemUsed == 1631 && useWith == 1755) {
if(playerLevel[12] >= 54) {
deleteItem(1631, getItemSlot(1631), 1);
//There are 2diferent ID's for the dragonstone. but this one is noteble so we will use this one.
addItem(1615, 1);
addSkillXP(275/2, 12);
} else {
sendMessage("You need atleast 55 Crafting to cut this dragonstone.");
}
}
if (itemUsed == 1631 && useWith == 5601) {
if(playerLevel[12] >= 54) {
deleteItem(1631, getItemSlot(1631), 1);
//There are 2diferent ID's for the dragonstone. but this one is noteble so we will use this one.
addItem(1615, 1);
addSkillXP(275/2, 12);
} else {
sendMessage("You need atleast 55 Crafting to cut this dragonstone.");
}
}
//Chisel on uncut Onyx
if (itemUsed == 1755 && useWith == 6571) {
if(playerLevel[12] >= 66) {
deleteItem(6571, getItemSlot(6571), 1);
addItem(6573, 1);
addSkillXP(335/2, 12);
} else {
sendMessage("You need atleast 67 Crafting to cut this onyx.");
}
}
if (itemUsed == 5601 && useWith == 6571) {
if(playerLevel[12] >= 66) {
deleteItem(6571, getItemSlot(6571), 1);
addItem(6573, 1);
addSkillXP(335/2, 12);
} else {
sendMessage("You need atleast 67 Crafting to cut this onyx.");
}
}
//uncut Onyx on Chisel
if (itemUsed == 6571 && useWith == 1755) {
if(playerLevel[12] >= 66) {
deleteItem(6571, getItemSlot(6571), 1);
addItem(6573, 1);
addSkillXP(335/2, 12);
} else {
sendMessage("You need atleast 67 Crafting to cut this onyx.");
}
}
if (itemUsed == 6571 && useWith == 5601) {
if(playerLevel[12] >= 66) {
deleteItem(6571, getItemSlot(6571), 1);
addItem(6573, 1);
addSkillXP(335/2, 12);
} else {
sendMessage("You need atleast 67 Crafting to cut this onyx.");
}
}
//Chisel on uncut Opal
if (itemUsed == 1755 && useWith == 1625) {
if(playerLevel[12] >= 0) {
deleteItem(1625, getItemSlot(1625), 1);
addItem(1609, 1);
addSkillXP(15, 12);
} else {
sendMessage("You need atleast 1 Crafting to cut this opal.");
}
}
if (itemUsed == 5601 && useWith == 1625) {
if(playerLevel[12] >= 0) {
deleteItem(1625, getItemSlot(1625), 1);
addItem(1609, 1);
addSkillXP(15, 12);
} else {
sendMessage("You need atleast 1 Crafting to cut this opal.");
}
}
//uncut Opal on chisel
if (itemUsed == 1625 && useWith == 1755) {
if(playerLevel[12] >= 0) {
deleteItem(1625, getItemSlot(1625), 1);
addItem(1609, 1);
addSkillXP(15, 12);
} else {
sendMessage("You need atleast 1 Crafting to cut this opal.");
}
}
if (itemUsed == 1625 && useWith == 5601) {
if(playerLevel[12] >= 0) {
deleteItem(1625, getItemSlot(1625), 1);
addItem(1609, 1);
addSkillXP(15, 12);
} else {
sendMessage("You need atleast 1 Crafting to cut this opal.");
}
}
//Chisel on uncut Jade
if (itemUsed == 1755 && useWith == 1627) {
if(playerLevel[12] >= 12) {
deleteItem(1627, getItemSlot(1627), 1);
addItem(1611, 1);
addSkillXP(20, 12);
} else {
sendMessage("You need atleast 13 Crafting to cut this jade.");
}
}
if (itemUsed == 5601 && useWith == 1627) {
if(playerLevel[12] >= 12) {
deleteItem(1627, getItemSlot(1627), 1);
addItem(1611, 1);
addSkillXP(20, 12);
} else {
sendMessage("You need atleast 13 Crafting to cut this jade.");
}
}
//uncut Jade on Chisel
if (itemUsed == 1627 && useWith == 1755) {
if(playerLevel[12] >= 12) {
deleteItem(1627, getItemSlot(1627), 1);
addItem(1611, 1);
addSkillXP(20, 12);
} else {
sendMessage("You need atleast 13 Crafting to cut this jade.");
}
}
if (itemUsed == 1627 && useWith == 5601) {
if(playerLevel[12] >= 12) {
deleteItem(1627, getItemSlot(1627), 1);
addItem(1611, 1);
addSkillXP(20, 12);
} else {
sendMessage("You need atleast 13 Crafting to cut this jade.");
}
}
//Chisel on uncut Red Topaz
if (itemUsed == 1755 && useWith == 1629) {
if(playerLevel[12] >= 15) {
deleteItem(1629, getItemSlot(1629), 1);
addItem(1613, 1);
addSkillXP(25, 12);
} else {
sendMessage("You need atleast 16 Crafting to cut this red topaz.");
}
}
if (itemUsed == 5601 && useWith == 1629) {
if(playerLevel[12] >= 15) {
deleteItem(1629, getItemSlot(1629), 1);
addItem(1613, 1);
addSkillXP(25, 12);
} else {
sendMessage("You need atleast 16 Crafting to cut this red topaz.");
}
}
//uncut Red Topaz on Chisel
if (itemUsed == 1629 && useWith == 1755) {
if(playerLevel[12] >= 15) {
deleteItem(1629, getItemSlot(1629), 1);
addItem(1613, 1);
addSkillXP(25, 12);
} else {
sendMessage("You need atleast 16 Crafting to cut this red topaz.");
}
}
if (itemUsed == 1629 && useWith == 5601) {
if(playerLevel[12] >= 15) {
deleteItem(1629, getItemSlot(1629), 1);
addItem(1613, 1);
addSkillXP(25, 12);
} else {
sendMessage("You need atleast 16 Crafting to cut this red topaz.");
}
}
//End of Gem cutting.