I’m looking for enchanting system, like enchant item with enchant stone from sword to sword 1, then sword 2 ect.
I doubt there’s a lot of people willing to write it for you just like that, but anyhow. There’s two ways you could use to implement this:
First the lazy way of simply switching out the actual item for another when the player uses an echanting stone. It’s the easiest but also the laziest and not very expandable.
OR write it in such a way that every inventory slot has its own stats slotted into it (along with prefix, suffix etc.) and refer to a base item with base stats. This way the player could choose what stats to enhance on the item, and eventually give it a title/name of its own if they upgrade it far enough. Of course, this method is fairly time consuming since it’d require you to rewrite everything that holds items so it doesn’t delete the stats when you trade or store an item, but in the end allows for a lot more customization on the user’s end.