Expanded character description in Window_Status - More than 2 lines

Good Morning / Afternoon / Evening

I was wondering how difficult it would be to code a script that would let me go beyond the simple 2 lines in the descrition of the character shown in the status screen.

Any help is greatly appreciated!
First of all, how many lines do you need to display on screen?
First of all, how many lines do you need to display on screen?
At least 5 would be great if that were possible.
If the resolution is 640x480 then you will have an extra 64 pixels to work with otherwise you will need to alter something like getting rid of some of the stats.
If you need everything there and the resolution is 544x416, then the scene will need to be compressed to have more lines.
Is it that you want the description to have more than 2 lines because that's all is shown by default?
If that is the case and you are using 640x480 then a small adjustment can allow more text.
I think then the next question is where will this additional text be located?
The note box on the actor or in the script?
We can also make it scrollable so the text shown on the screen is 2 lines but you can scroll down further by making an invisible window on top of the screen as an illusion. Then process the up/down input from the keyboard to scroll it.
If the resolution is 640x480 then you will have an extra 64 pixels to work with otherwise you will need to alter something like getting rid of some of the stats.
If you need everything there and the resolution is 544x416, then the scene will need to be compressed to have more lines.
Is it that you want the description to have more than 2 lines because that's all is shown by default?
If that is the case and you are using 640x480 then a small adjustment can allow more text.
I think then the next question is where will this additional text be located?
The note box on the actor or in the script?

Yes I am using 640 x 480

Well... I think I would like to use it in the script because it would be more convenient for me personally.
I wrote this for another person but this is an improved version.
use \n for line breaks in the quotes and close the quote than add a + to continue the text.
Ruby:
module R2_Basic_Actor_Descr
  Actors = { 1 => "Text\nand lots of it\ncan be written here.\n" +
                "It's only a matter of how much space you have to work with.\n" +
                "More than this?",
            2 => "Nothing here",
          }
end

class Window_Status < Window_Selectable
  def draw_description(x, y)
    draw_text_ex(x, y, R2_Basic_Actor_Descr::Actors[@actor.id])
  end
end
If you prefer to use the note box, here's a convenient option for you.

Ruby:
# * KDescXtraLines ACE * #
#   Scripter : Kyonides Arkanthes
#   2023-02-07

# Add More Lines to Your Hero's Description!
# Use the <desc> tag to mark the beginning and end of your description lines.
# - Note Tag Usage Example - #
# <desc>
# Line 1
# <desc>

class Window_Status
  alias :kyon_desc_xtra_ln_win_stts_draw_desc :draw_description
  def draw_description(dx, dy)
    kyon_desc_xtra_ln_win_stts_draw_desc(dx, dy)
    lines = @actor.actor.note.split(/<desc>/i)[1]
    draw_extra_lines(dx, dy, lines) unless lines.nil? or lines.empty?
  end

  def draw_extra_lines(dx, dy, lines)
    lines = lines.split("\n")[1..-1]
    total = lines.size
    lh = line_height
    ly = dy + 2 * lh
    cw = contents.width
    total.times do |n|
      contents.draw_text(dx, ly + lh * n, cw, lh, lines[n])
    end
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/expanded-character-description-in-window_status-more-than-2-lines.154790/