Im looking to improve the code of my largest script. Its a inventary one and one of the things that it does is to sort items. What i was thinking was in splitting all the system in a few small scripts and clases (think that have 1000's lines of code).
So my idea is to create a inventory sorter class, that will function like a library, so it can easily manage and sort items, armors and weapons arrays in game_party for each atribute, and also, add tags to each inventory item. It will use array references so you can use any other places for that arrays of inventary, and i will add a multibag support (my game use that). Another nice thing is that with a few tunes that script can be converted to a skills sorter one.
Exist some script that does that and i dont have to create it? some inventary sorter script or such?
So my idea is to create a inventory sorter class, that will function like a library, so it can easily manage and sort items, armors and weapons arrays in game_party for each atribute, and also, add tags to each inventory item. It will use array references so you can use any other places for that arrays of inventary, and i will add a multibag support (my game use that). Another nice thing is that with a few tunes that script can be converted to a skills sorter one.
Exist some script that does that and i dont have to create it? some inventary sorter script or such?