Separate state lines for buff and debuff

For example:

Separatestates.1451377882.png


The states that I note as a buff - in the one line

The states that I note as a debuff - in the another line

Not only in Menu, in battle window too.

Maybe it can be only a snippet of code?
Bump-bump-bump  🙂
I will need to know if you are going to use any plugin that modifies how the status window looks, and what it is.
 

I will need to know if you are going to use any plugin that modifies how the status window looks, and what it is.
Emm,. are picture in topic broken?

"What is it" - what? You need a plugin?

And for what it need to know, how the status window looks? It so principle?

Can You make a simple little script or snippet, which may then paste into any script?

Oh! And in battle window too, of cource! Not only in Menu.

I imagine it something like that:

B-DB.1451895469.png


Sorry, I'm bad in English, and sometimes I can lose a sense of what someone write.
Bump )
Here is a script snippet. Let me know if you want any changes or need more. It's fine

Spoiler
    Window_Base.prototype.drawActorStateBuff = function (actor, x, y, width) {        var icons = [];        actor.states().forEach(function (state) {            if ($dataStates[state.id].meta.buff && $dataStates[state.id].meta.buff === '1' && state.iconIndex > 0) {                icons.push(state.iconIndex);            }        }, this);        width = width || 144;                icons = icons.slice(0, Math.floor(width / Window_Base._iconWidth));        for (var i = 0; i < icons.length; i++) {            this.drawIcon(icons, x + Window_Base._iconWidth * i, y + 2);        }    };            Window_Base.prototype.drawActorStateDebuff = function (actor, x, y, width) {        var icons = [];        actor.states().forEach(function (state) {            if ($dataStates[state.id].meta.debuff && $dataStates[state.id].meta.debuff === '1' && state.iconIndex > 0) {                icons.push(state.iconIndex);            }        }, this);        width = width || 144;                icons = icons.slice(0, Math.floor(width / Window_Base._iconWidth));        for (var i = 0; i < icons.length; i++) {            this.drawIcon(icons, x + Window_Base._iconWidth * i, y + 2);        }    };

You use them like this

        this.drawActorStateBuff(actor, x, y + lineHeight * 2);
        this.drawActorStateDebuff(actor, x, y + lineHeight * 3);

The notetags you use are <buff:1> or <debuff:1>
Man, I have no words   🙂  THANK You!

Let me know if you want any changes or need more. It's fine
OK, Thanks ) 

Original thread: https://forums.rpgmakerweb.com/threads/separate-state-lines-for-buff-and-debuff.53896/