Increase Row-Number from the Help-Window

Hey everybody,

is there an easy way to increase the Rows in the Help-Window (in the Inventory, Skill, etc-Screen) from 2 to 3?
I dont want to use the Yanfly-Plugin, because it adds way too much information to the Item-Sceene for my needs. The only thing I want ist to use 3 Rows of Text - not more, not less.

Thanks in Advance for your Help! 🙂
Paste the below into a text editor, save as a *.js file, include as a plugin:
Code:
Window_Help.prototype.initialize = function(numLines) {
    var width = Graphics.boxWidth;
    var height = this.fittingHeight(numLines || 3);
    Window_Base.prototype.initialize.call(this, 0, 0, width, height);
    this._text = '';
};
Thanks for that quick reply - but even with no other Plugins active i get those error-Message:

Error: Argument must be a Rectangle
at Window_Help.Window_Base.checkRectObject (rmmz_windows.js:42)
at Window_Help.Window_Base.initialize (rmmz_windows.js:20)
at Window_Help.initialize (Expand_HelpWindow.js:4)
at new Window_Help (rmmz_windows.js:1593)
at Scene_Item.Scene_MenuBase.createHelpWindow (rmmz_scenes.js:1154)
at Scene_Item.create (rmmz_scenes.js:1557)
at Function.SceneManager.changeScene (rmmz_managers.js:2084)
at Function.SceneManager.updateMain (rmmz_managers.js:2056)
at Function.SceneManager.update (rmmz_managers.js:1938)
at Function.Graphics._onTick (rmmz_core.js:811)


1707758970324.png


I just copied your text in the standard-editor, saved it as a *.txt-File and renamed it as a *.js-File...

Another thing i might need help - anybody an idea how to type 3 rows of text in the Database? It doesnt do anythin when i hite the Enter-Button in the 2nd row...
Ah - I gave you the MV function because your profile says you use RPG Maker MV.

Here's the MZ code:
Code:
Scene_MenuBase.prototype.helpAreaHeight = function() {
    return this.calcWindowHeight(3, false);
};
Thanks!! It works and when i modify the "Items.json" File, i can add the 3rd row (yes i know, If I Safe the Items-Tab in the Database the modified JSON-File will be overwritten and all "3rd lines" will be deleted).

-> If Somebody Knows a better way to add the 3rd line of Text, feel free to tell me. 🙂



... And i Updated my Profile, thanks for me know, that i had marked the wrong Maker.
You can't change the editor.

It's either modify the database files, like you're doing, or use a more extensive plugin that pulls the text from a different place (like a notetag).

Original thread: https://forums.rpgmakerweb.com/threads/increase-row-number-from-the-help-window.165684/