Help Window Extension

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA

Help Window Extension
by: Rinobi



[Version History]

  • 1.00 Initial Release

Introduction
My first public release! I hope someone out there finds this useful!


This script allows for the adjusting of visible line within help menus, effectively removing the imposed, two-line limited in the editor.

Features

  • View more than two lines of help text!
  • The notes section can be used to add additional text to the help windows.

Screenshots
HelpExtension_01.PNGHelpExtension_02.PNG


How to Use


Use the notes section as additional lines to add to your help text. You may use both help text and notes text in conjunction, or separately.

Demo
None necessary.

Script

Spoiler


Code:
#===============================================================================
# Rinobi: Help Window Extension
#-------------------------------------------------------------------------------
# This script allows for the adjusting of viable lines within help menus,
# effectively removing the imposed, two-line limit in the editor.
#-------------------------------------------------------------------------------
# Instructions:
#
# Use the notes section as additional lines to add to your help text. You may
# use both help text and notes text in conjunction, or separately.
#-------------------------------------------------------------------------------
# Version History:
#
# @ 1.0 Completed [11/23/2015]
#-------------------------------------------------------------------------------
# Compatibility:
#
# Modules:
# @ HelpMod < RINOBI
#
# Alias Methods:
# @ initialize  in Window_Help
# @ set_item    in Window_Help
#===============================================================================
module RINOBI module HelpMod # No Touchie!
#===============================================================================
# ** Settings Module
#===============================================================================
  Line_Number = 4   # Default help lines to display.
  #-----------------------------------------------------------------------------
  # Setting any of the constants below to 0 returns the default value set above.
  #-----------------------------------------------------------------------------
  Line_Status = 0   # Help lines within status menu.
  Line_Battle = 0   # Help lines in battle when viewing skills.
  Line_Skill  = 4   # Help lines within the skill menu.
  Line_Equip  = 0   # Help lines within the equip menu.
  Line_Item   = 0   # Help lines within the item menu.
  Line_LSkill = 4   # Compability with Yanfly's Learn Skill Engine
#===============================================================================
# ** End of Settings
#-------------------------------------------------------------------------------
# Editing beyond this area may result in unfathomable terror.
#===============================================================================
end end # No Touchie!
$imported = {} if $imported.nil?
$imported[:RIN_HelpExtenson] = true
#===============================================================================
# ** Class: Window_Help < Window_Base
#===============================================================================
class Window_Help < Window_Base
  #--------------------------------------------------------------------------
  # * Alias Method: Object Initialization
  #--------------------------------------------------------------------------
  alias :rinwin_init :initialize
  def initialize(line_number = RINOBI::HelpMod::Line_Number)
    if SceneManager.scene_is?(Scene_Status)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Status > 0
      return rinwin_init(RINOBI::HelpMod::Line_Status) end
    if SceneManager.scene_is?(Scene_Battle)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Battle > 0
      return rinwin_init(RINOBI::HelpMod::Line_Battle) end
    if SceneManager.scene_is?(Scene_Skill)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Skill  > 0
      return rinwin_init(RINOBI::HelpMod::Line_Skill)  end
    if SceneManager.scene_is?(Scene_Equip)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Equip  > 0
      return rinwin_init(RINOBI::HelpMod::Line_Equip)  end
    if SceneManager.scene_is?(Scene_Item)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Item   > 0
      return rinwin_init(RINOBI::HelpMod::Line_Item)   end
    if SceneManager.scene_is?(Scene_LearnSkill) && $imported["YEA-LearnSkillEngine"]
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_LSkill > 0
      return rinwin_init(RINOBI::HelpMod::Line_LSkill) end
    return rinwin_init(line_number)
  end # initialize
  #--------------------------------------------------------------------------
  # * Alias Method: set_item
  #--------------------------------------------------------------------------
  alias :rinwin_set_item :set_item
  def set_item(item)
    rinwin_set_item = set_text(item ? item.description + item.note : "")
  end # set_item
end # Window_Help < Window_Base
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top