Cleaning up skill window?

Yeah, you can't have periods in a filename like that - that tells the OS that it's the file extension.

Why don't you just name it something less convoluted? Tur_SkillFix.js or something.
If you simply want to control which order Skills appear in, I personally use this plugin:

[SSG] Item Sort

It'll let you sort your Items/Skills any way you want regardless of where they are in the database.
Well, I didn't actually type the name in i just saved and it took the first thing it saw as the name.
Anyway, I changed the name of the plugin this time and got a different error message. And also, I changed it again just in case to MyPlugin.js just in case and still got the same error. I put the plugin at the bery bottom of the list and testes it in both settings and playtest.
plugins4.png


plugins5.png
If you simply want to control which order Skills appear in, I personally use this plugin:

[SSG] Item Sort

It'll let you sort your Items/Skills any way you want regardless of where they are in the database.
Oh, this seems to be working! I've got it to work on two characters so far, but it's not wanting to work on a specific character. I'll try fiddling with it for a while but it's getting kinda late.
Hm, I was looking at the wrong kind of data object. Correct it to this:
Code:
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor) {
        this._data = this._actor.skills().filter(function(item) {
            return this.includes(item);
        }, this);
        this._data.sort((a, b) => (a.mpCost - b.mpCost));
    } else {
        this._data = [];
    }
};
Hm, I was looking at the wrong kind of data object. Correct it to this:
Code:
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor) {
        this._data = this._actor.skills().filter(function(item) {
            return this.includes(item);
        }, this);
        this._data.sort((a, b) => (a.mpCost - b.mpCost));
    } else {
        this._data = [];
    }
};
I'll give this a shot as well, and let you know something tomorrow. In the meantime, I thank everyone for their help. I'm sure one of these will do the trick.
Hm, I was looking at the wrong kind of data object. Correct it to this:
Code:
Window_SkillList.prototype.makeItemList = function() {
    if (this._actor) {
        this._data = this._actor.skills().filter(function(item) {
            return this.includes(item);
        }, this);
        this._data.sort((a, b) => (a.mpCost - b.mpCost));
    } else {
        this._data = [];
    }
};
Ok, this worked in organizing all the moves by mp usage! Now i'll just form the order of moves around that and if it doesn't seem to fit, i'll use the item sort plugin.
Thanks again everyone!

Original thread: https://forums.rpgmakerweb.com/threads/cleaning-up-skill-window.161236/