you can upgrade it.. example:
if you have hauberk and upgrade it you will get Knighthauberk
if you have wizard cap and upgrade it you will get wizard hat and so on ...
something like master staff upgrade but without these points .. need stone or smth for upgrade.
if { //masterwand -> berzerkwand

and that upgrade stone should work like ArmorDye .. that you need to click on that stone and then on item ... armor dye changes only the colour.. but that upgradstone should deleteitem and make you new one ... not just hauberk to kinght hauberk but it should be possible to copy more upgrades into that code that it should work with many different items

ok sry for my bad english but i hope some of you guys can make it and share that code with others for free.
thank you