Display all skill types in a single list

A simple plugin, deletes the "Skill Type" in the main menu and display all the skills at once; the Two Cols version display two skills for each row (like the default), the one col version display one row for each skill.

link to itch.io:
Spoiler: link
Spoiler: One Column
One Column.png
Spoiler: Two Columns
Two Column.png
There is a bug if you use it with VisuStella's Skill States Core plugins, I'm trying to solve it, but it will take some time because Visu plugins are "encrypted"?, and I can't add the skill attributtes window, but it still removes that part of the menu window, even with that problem, there should be no mechanic bugs.

Spoiler: SkillStates Core bug
SkillStates Core bug.png
Spoiler
Terms of use:
  • You can use it in every game (commercial or none commercial), just add a link to my itch.io page or the plugin page, doesn't matter the type of the game.
  • You can edit, no credit needed in this case.
  • If you share it please add a link to my itch.io.
@WingedHero can you please add your terms of use? Okay for commercial games? Do you need to be advised? Any type of game you don't want it used in? Okay to share, or link back to this thread or your itch.io?
When possible could you also add some screenshots as examples for the 2 column types?
A simple plugin, deletes the "Skill Type" in the main menu and display all the skills at once; the Two Cols version display two skills for each row (like the default), the one col version display one row for each skill.

One column code:
Spoiler: One Col
JavaScript:
Scene_Skill.prototype.createSkillTypeWindow = function() {
    const rect = this.skillTypeWindowRect();
    this._skillTypeWindow = new Window_SkillType(rect);
    this._skillTypeWindow.setHelpWindow(this._helpWindow);
    this._skillTypeWindow.setHandler("skill", this.commandSkill.bind(this));
    this._skillTypeWindow.setHandler("cancel", this.popScene.bind(this));
    this._skillTypeWindow.setHandler("pagedown", this.nextActor.bind(this));
    this._skillTypeWindow.setHandler("pageup", this.previousActor.bind(this));
};
Scene_Skill.prototype.statusWindowRect = function() {
    const ww = Graphics.boxWidth;
    const wh = this._skillTypeWindow.height;
    const wx = Graphics.boxWidth - ww;
    const wy = this.mainAreaTop();
    return new Rectangle(wx, wy, ww, wh);
};

//New skillList
function Window_SkillList() {
    this.initialize(...arguments);
}

Window_SkillList.prototype = Object.create(Window_Command.prototype);
Window_SkillList.prototype.constructor = Window_SkillList;

Window_SkillList.prototype.initialize = function(rect) {
    Window_Command.prototype.initialize.call(this, rect);
    this._actor = null;
    this._stypeId = 0;
    this._data = [];
};

Window_SkillList.prototype.setActor = function(actor) {
    if (this._actor !== actor) {
        this._actor = actor;
        this.refresh();
        this.scrollTo(0, 0);
    }
};

Window_SkillList.prototype.setStypeId = function(stypeId) {
    if (this._stypeId !== stypeId) {
        this._stypeId = stypeId;
        this.refresh();
        this.scrollTo(0, 0);
    }
};

Window_SkillList.prototype.maxCols = function() {
    return 1;
};

Window_SkillList.prototype.colSpacing = function() {
    return 16;
};

Window_SkillList.prototype.maxItems = function() {
    return this._data ? this._data.length : 1;
};

Window_SkillList.prototype.item = function() {
    return this.itemAt(this.index());
};

Window_SkillList.prototype.itemAt = function(index) {
    return this._data && index >= 0 ? this._data[index] : null;
};

Window_SkillList.prototype.isCurrentItemEnabled = function() {
    return this.isEnabled(this._data[this.index()]);
};

Window_SkillList.prototype.includes = function(item) {
    return item && item.stypeId === this._stypeId;
};

Window_SkillList.prototype.isEnabled = function(item) {
    return this._actor && this._actor.canUse(item);
};

Window_SkillList.prototype.makeItemList = function() {
    if (this._actor) {
        this._data = this._actor.skills();
    } else {
        this._data = [];
    }
};

Window_SkillList.prototype.selectLast = function() {
    const index = this._data.indexOf(this._actor.lastSkill());
    this.forceSelect(index >= 0 ? index : 0);
};

Window_SkillList.prototype.drawItem = function(index) {
    const skill = this.itemAt(index);
    if (skill) {
        const costWidth = this.costWidth();
        const rect = this.itemLineRect(index);
        this.changePaintOpacity(this.isEnabled(skill));
        this.drawItemName(skill, rect.x, rect.y, rect.width - costWidth);
        this.drawSkillCost(skill, rect.x, rect.y, rect.width);
        this.changePaintOpacity(1);
    }
};

Window_SkillList.prototype.costWidth = function() {
    return this.textWidth("000");
};

Window_SkillList.prototype.drawSkillCost = function(skill, x, y, width) {
    if (this._actor.skillTpCost(skill) > 0) {
        this.changeTextColor(ColorManager.tpCostColor());
        this.drawText(this._actor.skillTpCost(skill), x, y, width, "right");
    } else if (this._actor.skillMpCost(skill) > 0) {
        this.changeTextColor(ColorManager.mpCostColor());
        this.drawText(this._actor.skillMpCost(skill), x, y, width, "right");
    }
};

Window_SkillList.prototype.updateHelp = function() {
    this.setHelpWindowItem(this.item());
};

Window_SkillList.prototype.refresh = function() {
    this.makeItemList();
    Window_Command.prototype.refresh.call(this);
};

Two cols code
Spoiler: Two Cols
JavaScript:
Scene_Skill.prototype.createSkillTypeWindow = function() {
    const rect = this.skillTypeWindowRect();
    this._skillTypeWindow = new Window_SkillType(rect);
    this._skillTypeWindow.setHelpWindow(this._helpWindow);
    this._skillTypeWindow.setHandler("skill", this.commandSkill.bind(this));
    this._skillTypeWindow.setHandler("cancel", this.popScene.bind(this));
    this._skillTypeWindow.setHandler("pagedown", this.nextActor.bind(this));
    this._skillTypeWindow.setHandler("pageup", this.previousActor.bind(this));
};
Scene_Skill.prototype.statusWindowRect = function() {
    const ww = Graphics.boxWidth;
    const wh = this._skillTypeWindow.height;
    const wx = Graphics.boxWidth - ww;
    const wy = this.mainAreaTop();
    return new Rectangle(wx, wy, ww, wh);
};

//New skillList
function Window_SkillList() {
    this.initialize(...arguments);
}

Window_SkillList.prototype = Object.create(Window_Command.prototype);
Window_SkillList.prototype.constructor = Window_SkillList;

Window_SkillList.prototype.initialize = function(rect) {
    Window_Command.prototype.initialize.call(this, rect);
    this._actor = null;
    this._stypeId = 0;
    this._data = [];
};

Window_SkillList.prototype.setActor = function(actor) {
    if (this._actor !== actor) {
        this._actor = actor;
        this.refresh();
        this.scrollTo(0, 0);
    }
};

Window_SkillList.prototype.setStypeId = function(stypeId) {
    if (this._stypeId !== stypeId) {
        this._stypeId = stypeId;
        this.refresh();
        this.scrollTo(0, 0);
    }
};

Window_SkillList.prototype.maxCols = function() {
    return 2;
};

Window_SkillList.prototype.colSpacing = function() {
    return 16;
};

Window_SkillList.prototype.maxItems = function() {
    return this._data ? this._data.length : 1;
};

Window_SkillList.prototype.item = function() {
    return this.itemAt(this.index());
};

Window_SkillList.prototype.itemAt = function(index) {
    return this._data && index >= 0 ? this._data[index] : null;
};

Window_SkillList.prototype.isCurrentItemEnabled = function() {
    return this.isEnabled(this._data[this.index()]);
};

Window_SkillList.prototype.includes = function(item) {
    return item && item.stypeId === this._stypeId;
};

Window_SkillList.prototype.isEnabled = function(item) {
    return this._actor && this._actor.canUse(item);
};

Window_SkillList.prototype.makeItemList = function() {
    if (this._actor) {
        this._data = this._actor.skills();
    } else {
        this._data = [];
    }
};

Window_SkillList.prototype.selectLast = function() {
    const index = this._data.indexOf(this._actor.lastSkill());
    this.forceSelect(index >= 0 ? index : 0);
};

Window_SkillList.prototype.drawItem = function(index) {
    const skill = this.itemAt(index);
    if (skill) {
        const costWidth = this.costWidth();
        const rect = this.itemLineRect(index);
        this.changePaintOpacity(this.isEnabled(skill));
        this.drawItemName(skill, rect.x, rect.y, rect.width - costWidth);
        this.drawSkillCost(skill, rect.x, rect.y, rect.width);
        this.changePaintOpacity(1);
    }
};

Window_SkillList.prototype.costWidth = function() {
    return this.textWidth("000");
};

Window_SkillList.prototype.drawSkillCost = function(skill, x, y, width) {
    if (this._actor.skillTpCost(skill) > 0) {
        this.changeTextColor(ColorManager.tpCostColor());
        this.drawText(this._actor.skillTpCost(skill), x, y, width, "right");
    } else if (this._actor.skillMpCost(skill) > 0) {
        this.changeTextColor(ColorManager.mpCostColor());
        this.drawText(this._actor.skillMpCost(skill), x, y, width, "right");
    }
};

Window_SkillList.prototype.updateHelp = function() {
    this.setHelpWindowItem(this.item());
};

Window_SkillList.prototype.refresh = function() {
    this.makeItemList();
    Window_Command.prototype.refresh.call(this);
};
link to itch.io:
Spoiler: link

For some reasons it doesn't work with VisuStella's plugins, and I can't figure out the problem because Visu plugins are "encrypted"?, and I can't read the part of the code that shows the problem.
Which VS plugin is showing an error?
@WingedHero can you please add your terms of use? Okay for commercial games? Do you need to be advised? Any type of game you don't want it used in? Okay to share, or link back to this thread or your itch.io?
Done!
When possible could you also add some screenshots as examples for the 2 column types?

Done!
Which VS plugin is showing an error?
It's not an error, just a bug, visu's SkillStates Core's skill attributtes' window is'nt being displayed.
I'm realizing with my own posts I should've just asked here. Is there a way to have this plugins same effect but only in battle?

I'm using a combination of Armor that grants access to Skills and Equippable Skills via Moogle X's Equip Skill plugin that limits how many skills Actors bring into battle.

What I ideally want done is, no changes to the skill menu outside of battle, in battle, a single Skill Option that combines all the skills currently usable by that actor in battle. So similar to SKill Containers by VisuStella, but without having to click into a skill type first?


I'm guess this would be its own plugin potentially, if not possibly some plugin parameter settings added in to remove changes to the skill scene and only affect Battle
I'm realizing with my own posts I should've just asked here. Is there a way to have this plugins same effect but only in battle?

I'm using a combination of Armor that grants access to Skills and Equippable Skills via Moogle X's Equip Skill plugin that limits how many skills Actors bring into battle.

What I ideally want done is, no changes to the skill menu outside of battle, in battle, a single Skill Option that combines all the skills currently usable by that actor in battle. So similar to SKill Containers by VisuStella, but without having to click into a skill type first?


I'm guess this would be its own plugin potentially, if not possibly some plugin parameter settings added in to remove changes to the skill scene and only affect Battle
Sorry for the late reply I was busy with my own game. This is a simple script that should do it, let me know if it have a compatibility issue so I can fix it.
Thank you so much for making this as I was looking for the exact thing. Two things I noticed though:

1. The help window does not automatically populate with the first skill
2. Using Q/E to switch actors does not work

If there is any way to add these functions for this, I would be grateful! 🙂
Thank you so much for making this as I was looking for the exact thing. Two things I noticed though:

1. The help window does not automatically populate with the first skill
2. Using Q/E to switch actors does not work

If there is any way to add these functions for this, I would be grateful! 🙂
The whole plugin has been redone, now works perfect.

Original thread: https://forums.rpgmakerweb.com/threads/display-all-skill-types-in-a-single-list.155526/