NOTICE: this is very basic but will/may help new coders or anyone.
open useItem.java and search for
dragonfire shieldand under that method add
if ((itemUsed == 2357 && useWith == 1163) || (itemUsed == 1163 && useWith == 2357)) {
if (c.playerLevel[c.playerSmithing] >= 95) {
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().deleteItem(1163, c.getItems().getItemSlot(1163), 1);
c.getItems().addItem(2619,1);
c.sendMessage("You combine the two materials to create a Rune full helm(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 95 to create a Rune full helm(G).");
}
}
if (itemUsed == 1165 && useWith == 2357 || itemUsed == 2357 && useWith == 1165) {
if (c.playerLevel[c.playerSmithing] >= 72) {
c.getItems().deleteItem(1165, c.getItems().getItemSlot(1165), 1);
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().addItem(2595,1);
c.sendMessage("You combine the two materials to create a Black full helm(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 72 to create a Black full helm(G).");
}
}
if (itemUsed == 1125 && useWith == 2357 || itemUsed == 2357 && useWith == 1125) {
if (c.playerLevel[c.playerSmithing] >= 75) {
c.getItems().deleteItem(1125, c.getItems().getItemSlot(1125), 1);
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().addItem(2591,1);
c.sendMessage("You combine the two materials to create a Black platebody(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 75 to create a Black platebody(G).");
}
}
if (itemUsed == 1077 && useWith == 2357 || itemUsed == 2357 && useWith == 1077) {
if (c.playerLevel[c.playerSmithing] >= 77) {
c.getItems().deleteItem(1077, c.getItems().getItemSlot(1077), 1);
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().addItem(2593,1);
c.sendMessage("You combine the two materials to create a Black platelegs(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 77 to create a Black platelegs(G).");
}
}
if (itemUsed == 1079 && useWith == 2357 || itemUsed == 2357 && useWith == 1079) {
if (c.playerLevel[c.playerSmithing] >= 97) {
c.getItems().deleteItem(1079, c.getItems().getItemSlot(1079), 1);
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().addItem(2617,1);
c.sendMessage("You combine the two materials to create a Rune platebody(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 97 to create a Rune platebody(G).");
}
}
if (itemUsed == 1127 && useWith == 2357 || itemUsed == 2357 && useWith == 1127) {
if (c.playerLevel[c.playerSmithing] >= 97) {
c.getItems().deleteItem(1127, c.getItems().getItemSlot(1127), 1);
c.getItems().deleteItem(2357, c.getItems().getItemSlot(2357), 1);
c.getItems().addItem(2615,1);
c.sendMessage("You combine the two materials to create a Rune platebody(G).");
c.getPA().addSkillXP(500 * Config.SMITHING_EXPERIENCE, c.playerSmithing);
} else {
c.sendMessage("You need a smithing level of 97 to create a Rune platebody(G).");
}
}
save and compile then your finished.
all this does is if you use a gold bar on any of those pieces of armor it will replace the gold bar and the piece of armor you use it with(e.g rune platebody) witha gold trimmed piece of armor.