Help Window Extension

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
578
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 Posts

Latest Profile Posts

I spoke with hudell and many programmer about the Window_BattleLog class and we all just agreed to pretend this class just doesn't exists lol
I haven't been able to solidify a cohesive plot so dropped out of a game jam but, on a fun note, I pre-ordered MZ today! :LZSwink:
So I just spent the weekend...playing my own game. The one I released last year. Yep you heard that right.
Goal for MZ? None... I'm still curious how to finish my VXA project and how it looks like when it actually finished. Which will take at least another two years. Coming late again to the party.

Forum statistics

Threads
100,657
Messages
978,132
Members
132,268
Latest member
janetjoradan
Top