MV Adding Skills to Status Screen

Hello.

As the title states, I'd like to add a list of skills to my status screen. My characters only ever have 5, so the length won't be a problem. Here's a mock-up:

Status Screen Mockup.png


I'm using plugin that removes luck from the game (https://forums.rpgmakerweb.com/index.php?threads/removing-luck-from-my-game.86197/).

Thank you to anyone that helps!
Bumping time!
Hello StrawberrySmiles. This should accomplish what you need.

JavaScript:
(function() {

    Window_Status.prototype.drawEquipments = function(x, y) {
        var equips = this._actor.skills();
        var count = Math.min(equips.length, 5);
        for (var i = 0; i < count; i++) {
            this.drawItemName(equips[i], x, y + this.lineHeight() * i);
        }
    }

})();

Tell me if there are any issues with it.
Thanks, it works perfect! The equipment got removed, tho.

Is it possible to add equipment to line up below the stats? Or can I use this snippet to edit one of status plugins (like the remove luck one)?
Hello StrawberrySmiles.

Sorry about the equipment disappearing. That was my fault. Can you tell me if this code works for you?

JavaScript:
(function() {

    var drawBlock3Alias = Window_Status.prototype.drawBlock3;
    Window_Status.prototype.drawBlock3 = function(y) {
        drawBlock3Alias.call(this, y);
        this.drawSkills(432, y);
    };
   
    Window_Status.prototype.drawSkills = function(x, y) {
        var skills = this._actor.skills();
        var count = Math.min(skills.length, 5);
        for (var i = 0; i < count; i++) {
            this.drawItemName(skills[i], x, y + this.lineHeight() * i);
        }
    }

})();


Is it possible to add equipment to line up below the stats?
Yes, it is possible. The code above keeps your equipment how it is shown in your screenshot. (Implying not everything is a mockup and only the skills part was added by you.)
(Implying not everything is a mockup and only the skills part was added by you.)
That was a mock-up as well, so now the skills are covering the equipment. XD

I tried adding this (from the game's internal js:

Window_Status.prototype.drawEquipments = function(x, y) { var equips = this._actor.equips(); var count = Math.min(equips.length, this.maxEquipmentLines()); for (var i = 0; i < count; i++) { this.drawItemName(equips[i], x, y + this.lineHeight() * i); }

And even this after your "drawblock3alias" part:
this.drawEquipments(48, 610);

Just to see if I could do it myself, but apparently not. XD

Could you fix that too?
Hello StrawberrySmiles.

JavaScript:
(function() {
    var drawBlock3Alias = Window_Status.prototype.drawBlock3;
    Window_Status.prototype.drawBlock3 = function(y) {
        drawBlock3Alias.call(this, y);
        this.drawSkills(432, y);
    };
   
    Window_Status.prototype.drawSkills = function(x, y) {
        var skills = this._actor.skills();
        var count = Math.min(skills.length, 5);
        for (var i = 0; i < count; i++) {
            this.drawItemName(skills[i], x, y + this.lineHeight() * i);
        }
    }
    Window_Status.prototype.drawEquipments = function(x, y) {
        var equips = this._actor.equips();
        var count = Math.min(equips.length, this.maxEquipmentLines());
        var offsetx = 650;
        var offsety = 250;
        var ybase = offsety;
        for (var i = 0; i < count; i++) {
            if ((i % 2 == 0) ) {
                offsetx -= 250
                offsety = ybase;
            }
            this.drawItemName(equips[i], (x - offsetx), (y + offsety) + this.lineHeight() * (i % 2));
        }
    };

})();

This code should work. Be careful if you have any profile set for a character because it will overlap with the equipment on the status screen.
Report any issues to me.
It works perfectly! Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/adding-skills-to-status-screen.139811/