Originally Posted by
Mike Hitz
Can you help me do this?
yes - load frostys item editor and for both tokhaar capes, the 23659 + your item code for the old tokhaar and do the same for both:
change your inventory options to this on 23659 and old kiln item code
then go to your source InventoryOptionsHandler.java and put this code in the handleItemOption3 part
Code:
else if (itemId == PutYourItemCodeHere) {
player.getInventory().replaceItem(23659, 1, slotId);
player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
} else if (itemId == 23659) {
player.getInventory().replaceItem(PutYourItemCodeHere, 1, slotId);
player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
if you dont have replaceItem - add this in Inventory.java at the bottom
Code:
public void replaceItem(int id, int amount, int slot) {
Item item = items.get(slot);
if (item == null)
return;
item.setId(id);
item.setAmount(amount);
refresh(slot);
}