Non-Combat Menu

Hello I know this topic is old but it does not cost to try, I wanted your help with the
menu script I want to make changes to the script. How :

bPOTjWw.png


I would like to hide the gold window, well I tried several times to change the
script either it give error or it didn't change. There is also something else
(which is the main reason I'm commenting) :

8733766.png


character statuses will only show one character status, even having two or three, etc. I wanted to show more than one status, my game has three protagonists and I wanted to show the status of the three characters, I tried several times to change the script but it came to nothing.

can you help me ?

or change the script for me?

Anyway I will be very grateful

sorry my bad english

i really loved this script i am sure i will use it in almost all my future projects in rpg maker
@furaikarada For the gold window, all you have to do is--
find this line:
Code:
SHOW_GOLD_WINDOW = true

change it to this:
Code:
SHOW_GOLD_WINDOW = false

As for the status window, you can switch between characters by pressing page up and page down. The script does not by default support showing multiple party members at the same time since in non combat games seeing the HP of your party members shouldn't matter too much.
Hello! Thank you for your script! i don't know if you still supporting this but
i would really like the item menu smaller.. is there any option for this?
i saw on your planned updates that you wanted to make something like that
Configure height and width based on percentages so it doesn't take up the entire screen
thanks again
Hello! Thank you for your script! i don't know if you still supporting this but
i would really like the item menu smaller.. is there any option for this?
i saw on your planned updates that you wanted to make something like that

thanks again

This was something I'd planned to support eventually, but I don't have time to do now. Feel free to ask for this in the script requests forum, or wait until I eventually get around to it xD
This was something I'd planned to support eventually, but I don't have time to do now. Feel free to ask for this in the script requests forum, or wait until I eventually get around to it xD
Ok thank you! i will ask as you say in scripts and at the same time
i will have my eye open also in here.. good job anyway thank you again for the script!
This was something I'd planned to support eventually, but I don't have time to do now. Feel free to ask for this in the script requests forum, or wait until I eventually get around to it xD
Hi again!
So i was lucky enough that Roninator2 had added those options on the script and he was kind enough to give it.
I am just saying this for you to know it's done and you don't need to make it youself..
I didn't find the exact post he made for it, but there it is on my script requests post (i didn't know if i was allowed to just copy it and paste it here so i just link the page..)

That's great 🙂 I'm glad Roninator2 was able to help you, I'll link that in the main post!
customize window widths (but help window removed)
It annoyed me a bit that you said that (not in a bad way). So then I had to go and make the help window as well. 🙂

Spoiler: mjshi non combat window - item window resized with help window
Ruby:
#-------------------------------------------------------------------------------
# Non-Combat Menu v1.04a
#-- Fully customizable menu geared toward less battle-oriented games.
#-- By mjshi
#-------------------------------------------------------------------------------
# Installation: Put above Main, preferably also above other custom scripts.
#-------------------------------------------------------------------------------
# Update notes:
#- Added support for most quest log scripts.
#- Added support for separators.
# Bugfixes:
#- Fixed the gold window bug
#- Forced the ingame menu command to call the Non-Combat Menu rather than the
#  regular one.
#-------------------------------------------------------------------------------

$imported = {} if $imported.nil?
$imported["NonCombatMenu"] = true

module NonCombatMenu
  MENU = [
  #-----------------------------------------------------------------------------
  # **CONFIGURATION**
  #-----------------------------------------------------------------------------
  # What should the actual menu show?
  # Put a # in front of the ones you don't want to show, and you can reorder
  # this list to change the order in the menu.
  # **Don't remove the comma after each []!**
  #
  ['Items',   :item],
  ['Status', :status],
  ['Save', :save],
  ['Exit', :shutdown],

  # Other possible commands:
  #['Equipment', :nequip],
  #['Quest Log', :quests],
  #['Formation', :nform],
  #['Load', :load],
  #['Cancel', :cancel],
  #[' ', :none],
  # :none does nothing, so it's ideal for spacers or separators.
  ]
  #-----------------------------------------------------------------------------
  # Should the gold window be shown in the item menu?
  #
  SHOW_GOLD_WINDOW = true
  #
  # Where should it be shown (to the left? set to false. right? set to true)
  GOLD_WINDOW_ALIGN_RIGHT = false
  #
  # How wide should the window be (in pixels)? 160 is the default.
  GOLD_WINDOW_WIDTH = 160
  #
  # Should the help window be shown in the item menu?
  SHOW_HELP_WINDOW = true
  #
  CATEGORY_WINDOW_WIDTH = 424
  ITEM_WINDOW_WIDTH = 424
  ITEM_WINDOW_HEIGHT = 280
  # Base value for all windows
  BASE_WINDOW_X = 60
  #-----------------------------------------------------------------------------
  # What should the item menu show?
  SHOW_CONSUMABLES = true # i.e. normal items
  SHOW_KEY_ITEMS = false
  SHOW_WEAPONS = false
  SHOW_ARMORS = false
  #
  #
  # Where should the item description window be?
  # 0 = top
  # 1 = between the tabs and the item selection
  # 2 = at the bottom
  DESCR_PLACEMENT = 2
  #-----------------------------------------------------------------------------

end

#--------------------------------------------------------------------#
# !!! Beware of crashes and errors if you edit beyond this point !!! #
#--------------------------------------------------------------------#

# Overwrites the old, boring menu to use the cooler-looking Game End menu
class Scene_Map
  def call_menu
    Sound.play_ok
    SceneManager.call(Scene_End)
  end
end

# Overwrites how the tabs are shown in the Items Menu
class Window_ItemCategory

  # Changes width to allow placement of gold window.
  # If gold window doesn't exist, revert to default width.
  def window_width
    return NonCombatMenu::CATEGORY_WINDOW_WIDTH
  end

  # Changes columns to fit tabs shown
  def col_max
    count = 0
    count += 1 if NonCombatMenu::SHOW_CONSUMABLES
    count += 1 if NonCombatMenu::SHOW_KEY_ITEMS
    count += 1 if NonCombatMenu::SHOW_WEAPONS
    count += 1 if NonCombatMenu::SHOW_ARMORS
    return count
  end

  # Makes a list of commands that will be shown/hidden depending on config
  def make_command_list
    add_command(Vocab::item,     :item) if NonCombatMenu::SHOW_CONSUMABLES
    add_command(Vocab::key_item, :key_item) if NonCombatMenu::SHOW_KEY_ITEMS
    add_command(Vocab::weapon,   :weapon) if NonCombatMenu::SHOW_WEAPONS
    add_command(Vocab::armor,    :armor) if NonCombatMenu::SHOW_ARMORS
  end

end

#Makes it so the user can change the gold window width
class Window_Gold
  def window_width
    return NonCombatMenu::GOLD_WINDOW_WIDTH
  end
end

#remove arrow on window
class Window_Help < Window_Base
  def initialize(line_number = 2)
    super(0, 0, NonCombatMenu::ITEM_WINDOW_WIDTH, fitting_height(line_number))
  end
end

# Adds a gold window to the item menu & determines placement
class Scene_Item
  def start
    super
    # Checks if the gold menu should be shown
    create_help_window if NonCombatMenu::SHOW_HELP_WINDOW
    create_gold_window if NonCombatMenu::SHOW_GOLD_WINDOW
    create_category_window
    create_item_window
  end

  def create_gold_window
    @gold_window = Window_Gold.new
    # Makes the gold window (if aligned right) be under any new windows
    @gold_window.viewport = @viewport
    @gold_window.y = 0
    @gold_window.y = @help_window.height - @gold_window.height if NonCombatMenu::SHOW_HELP_WINDOW
    @gold_window.x = NonCombatMenu::BASE_WINDOW_X
    @gold_window.x = Graphics.width - NonCombatMenu::GOLD_WINDOW_WIDTH -
    NonCombatMenu::BASE_WINDOW_X if NonCombatMenu::GOLD_WINDOW_ALIGN_RIGHT
  end

  def create_category_window
    @category_window = Window_ItemCategory.new
    @category_window.viewport = @viewport
        @category_window.help_window = @help_window
    # Set Tab Menu's X depending on Gold existing or not
    @category_window.x = NonCombatMenu::BASE_WINDOW_X
    @category_window.y = NonCombatMenu::BASE_WINDOW_X - 20
    @category_window.y = @gold_window.height + @gold_window.y if NonCombatMenu::SHOW_GOLD_WINDOW
    @category_window.set_handler(:ok,     method(:on_category_ok))
    @category_window.set_handler(:cancel, method(:return_scene))
  end

  def create_item_window
    # Changes where the item window is displayed
    wh = NonCombatMenu::ITEM_WINDOW_HEIGHT
    ww = NonCombatMenu::ITEM_WINDOW_WIDTH
    wx = NonCombatMenu::BASE_WINDOW_X
    wy = @category_window.height + @category_window.y
    @item_window = Window_ItemList.new(wx, wy, ww, wh)
    @item_window.viewport = @viewport
    @item_window.set_handler(:ok,     method(:on_item_ok))
    @item_window.set_handler(:cancel, method(:on_item_cancel))
    @category_window.item_window = @item_window
    if NonCombatMenu::SHOW_HELP_WINDOW == true
      @help_window.x = NonCombatMenu::BASE_WINDOW_X
      @help_window.width = NonCombatMenu::ITEM_WINDOW_WIDTH
      @item_window.help_window = @help_window
      ihadj = NonCombatMenu::BASE_WINDOW_X / 2
      ihadj = @help_window.height - @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
      if NonCombatMenu::DESCR_PLACEMENT == 1
        @gold_window.y = 0 if NonCombatMenu::SHOW_GOLD_WINDOW
        @category_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
        @help_window.y = @category_window.height + @category_window.y
        @item_window.y = @help_window.y + @help_window.height
        @item_window.height -= ihadj * 1.5
        @item_window.height -= ihadj if NonCombatMenu::SHOW_GOLD_WINDOW
      elsif NonCombatMenu::DESCR_PLACEMENT == 2
        @item_window.height -= ihadj
        @gold_window.y = 0 if NonCombatMenu::SHOW_GOLD_WINDOW
        @category_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
        @item_window.y = @category_window.y + @category_window.height
        @item_window.height -= @gold_window.height / 2 if NonCombatMenu::SHOW_GOLD_WINDOW
        @help_window.y = @item_window.height + @item_window.y
      else
        @help_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @help_window.height + @help_window.y
        @item_window.y = @category_window.y + @category_window.height
        @help_window.width = NonCombatMenu::ITEM_WINDOW_WIDTH
        @item_window.height -= ihadj
        @item_window.height -= ihadj * 2 if NonCombatMenu::SHOW_GOLD_WINDOW
        @gold_window.y = @item_window.y + @item_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
      end
    end
  end

end

# Strips down the status menu to the very basics
class Window_Status
  def initialize(actor)
    super((Graphics.width - 300)/2, (Graphics.height - 120)/2, 300, 120)
    @actor = actor
    refresh
    activate
  end
  def refresh
    contents.clear
    draw_block2(line_height * 0)
  end
  def draw_basic_info(x, y)
    draw_actor_name(@actor, x, y + line_height * 0.5)
    draw_actor_hp(@actor, x, y + line_height * 1.5)
    draw_actor_mp(@actor, x, y + line_height * 2.5)
  end
end

# Dims the Status window's background as well~
class Scene_Status
  def create_background
    super
    @background_sprite.tone.set(0, 0, 0, 128)
  end
end

# Overwrites Scene_End to use Save/Load/Items
class Scene_End

  def start
    super
    create_command_window
    create_invisible_formation_window
  end

  def create_command_window
    @command_window = Window_GameEnd.new

    NonCombatMenu::MENU.each do |i|
      next if i[1].to_s == "cancel"
      @command_window.set_handler(i[1], method(("command_" + i[1].to_s).to_sym))
    end

    @command_window.set_handler(:cancel,   method(:return_scene))
  end

  def create_invisible_formation_window
    @status_window = Window_MenuStatus.new(@command_window.width, 0)
    @status_window.x = (Graphics.width - @status_window.width)/2
    @status_window.hide.deactivate
  end

  def command_item
    SceneManager.call(Scene_Item)
  end
  def command_status
    SceneManager.call(Scene_Status)
  end
  def command_save
    SceneManager.call(Scene_Save)
  end
  # Defines the load command
  def command_load
    SceneManager.call(Scene_Load)
  end
  def command_nequip
    SceneManager.call(Scene_Equip)
  end
  def command_quests
    SceneManager.call(Scene_Quest)
  end
  def command_none
    SceneManager.call(Scene_End)
  end

  def command_nform
    @command_window.hide.deactivate
    @status_window.select_last
    @status_window.show.activate
    @status_window.set_handler(:ok,     method(:on_formation_ok))
    @status_window.set_handler(:cancel, method(:on_formation_cancel))
  end

  def on_formation_ok
    if @status_window.pending_index >= 0
      $game_party.swap_order(@status_window.index,
                             @status_window.pending_index)
      @status_window.pending_index = -1
      @status_window.redraw_item(@status_window.index)
    else
      @status_window.pending_index = @status_window.index
    end
    @status_window.activate
  end

  def on_formation_cancel
    if @status_window.pending_index >= 0
      @status_window.pending_index = -1
      @status_window.activate
    else
      @status_window.unselect
      @status_window.hide.deactivate
      @command_window.show.activate
    end
  end
end

# Overwrites Window_End to show tabs depending on configured values
class Window_GameEnd
  def make_command_list
    NonCombatMenu::MENU.each do |i|
      i[1].to_s == "none" ? add_command(i[0], i[1], enabled = false) : add_command(i[0], i[1])
    end
  end
end

#Call the Non-Combat Menu with event commands
class Game_Interpreter
  def command_351
    return if $game_party.in_battle
    SceneManager.call(Scene_End)
    Window_MenuCommand::init_command_position
    Fiber.yield
  end
end

Then I had an idea, but I'm having trouble making it fully functional.
If you only have one actor then just show that actor in a window like the status window.
I wrote this, but what is not working is the selection cursor is highlighting only 1/4 of the window, since it still thinks it's a full height window.

Figured it out
Ruby:
# addon for MJSHI non combat menu
# only needed if you use one actor at any time.

class Scene_ItemBase < Scene_MenuBase
  alias r2_single_actor show_sub_window
  def show_sub_window(window)
    if $game_party.members.count == 1
      window.width = 400
      window.x = Graphics.width / 2 - window.width / 2
      window.y = (Graphics.height - 120) / 2
      window.z = 300
      window.height = 120
      window.show.activate
    else
      r2_single_actor(window)
    end
  end
end

class Window_MenuActor < Window_MenuStatus
  alias r2_item_height_single item_height
  def item_height
    if $game_party.members.count == 1
      self.height - standard_padding * 2
    else
      r2_item_height_single
    end
  end

  def row_max
    if $game_party.members.count == 1
      return 1
    else
      [(item_max + col_max - 1) / col_max, 1].max
    end
  end

  def contents_height
    if $game_party.members.count == 1
      return 96
    else
      [super - super % item_height, row_max * item_height].max
    end
  end
end
1607824827611.png
It annoyed me a bit that you said that (not in a bad way). So then I had to go and make the help window as well. 🙂

Spoiler: mjshi non combat window - item window resized with help window
Ruby:
#-------------------------------------------------------------------------------
# Non-Combat Menu v1.04a
#-- Fully customizable menu geared toward less battle-oriented games.
#-- By mjshi
#-------------------------------------------------------------------------------
# Installation: Put above Main, preferably also above other custom scripts.
#-------------------------------------------------------------------------------
# Update notes:
#- Added support for most quest log scripts.
#- Added support for separators.
# Bugfixes:
#- Fixed the gold window bug
#- Forced the ingame menu command to call the Non-Combat Menu rather than the
#  regular one.
#-------------------------------------------------------------------------------

$imported = {} if $imported.nil?
$imported["NonCombatMenu"] = true

module NonCombatMenu
  MENU = [
  #-----------------------------------------------------------------------------
  # **CONFIGURATION**
  #-----------------------------------------------------------------------------
  # What should the actual menu show?
  # Put a # in front of the ones you don't want to show, and you can reorder
  # this list to change the order in the menu.
  # **Don't remove the comma after each []!**
  #
  ['Items',   :item],
  ['Status', :status],
  ['Save', :save],
  ['Exit', :shutdown],

  # Other possible commands:
  #['Equipment', :nequip],
  #['Quest Log', :quests],
  #['Formation', :nform],
  #['Load', :load],
  #['Cancel', :cancel],
  #[' ', :none],
  # :none does nothing, so it's ideal for spacers or separators.
  ]
  #-----------------------------------------------------------------------------
  # Should the gold window be shown in the item menu?
  #
  SHOW_GOLD_WINDOW = true
  #
  # Where should it be shown (to the left? set to false. right? set to true)
  GOLD_WINDOW_ALIGN_RIGHT = false
  #
  # How wide should the window be (in pixels)? 160 is the default.
  GOLD_WINDOW_WIDTH = 160
  #
  # Should the help window be shown in the item menu?
  SHOW_HELP_WINDOW = true
  #
  CATEGORY_WINDOW_WIDTH = 424
  ITEM_WINDOW_WIDTH = 424
  ITEM_WINDOW_HEIGHT = 280
  # Base value for all windows
  BASE_WINDOW_X = 60
  #-----------------------------------------------------------------------------
  # What should the item menu show?
  SHOW_CONSUMABLES = true # i.e. normal items
  SHOW_KEY_ITEMS = false
  SHOW_WEAPONS = false
  SHOW_ARMORS = false
  #
  #
  # Where should the item description window be?
  # 0 = top
  # 1 = between the tabs and the item selection
  # 2 = at the bottom
  DESCR_PLACEMENT = 2
  #-----------------------------------------------------------------------------

end

#--------------------------------------------------------------------#
# !!! Beware of crashes and errors if you edit beyond this point !!! #
#--------------------------------------------------------------------#

# Overwrites the old, boring menu to use the cooler-looking Game End menu
class Scene_Map
  def call_menu
    Sound.play_ok
    SceneManager.call(Scene_End)
  end
end

# Overwrites how the tabs are shown in the Items Menu
class Window_ItemCategory

  # Changes width to allow placement of gold window.
  # If gold window doesn't exist, revert to default width.
  def window_width
    return NonCombatMenu::CATEGORY_WINDOW_WIDTH
  end

  # Changes columns to fit tabs shown
  def col_max
    count = 0
    count += 1 if NonCombatMenu::SHOW_CONSUMABLES
    count += 1 if NonCombatMenu::SHOW_KEY_ITEMS
    count += 1 if NonCombatMenu::SHOW_WEAPONS
    count += 1 if NonCombatMenu::SHOW_ARMORS
    return count
  end

  # Makes a list of commands that will be shown/hidden depending on config
  def make_command_list
    add_command(Vocab::item,     :item) if NonCombatMenu::SHOW_CONSUMABLES
    add_command(Vocab::key_item, :key_item) if NonCombatMenu::SHOW_KEY_ITEMS
    add_command(Vocab::weapon,   :weapon) if NonCombatMenu::SHOW_WEAPONS
    add_command(Vocab::armor,    :armor) if NonCombatMenu::SHOW_ARMORS
  end

end

#Makes it so the user can change the gold window width
class Window_Gold
  def window_width
    return NonCombatMenu::GOLD_WINDOW_WIDTH
  end
end

# Adds a gold window to the item menu & determines placement
class Scene_Item
  def start
    super
    # Checks if the gold menu should be shown
    create_help_window if NonCombatMenu::SHOW_HELP_WINDOW
    create_gold_window if NonCombatMenu::SHOW_GOLD_WINDOW
    create_category_window
    create_item_window
  end

  def create_gold_window
    @gold_window = Window_Gold.new
    # Makes the gold window (if aligned right) be under any new windows
    @gold_window.viewport = @viewport
    @gold_window.y = 0
    @gold_window.y = @help_window.height - @gold_window.height if NonCombatMenu::SHOW_HELP_WINDOW
    @gold_window.x = NonCombatMenu::BASE_WINDOW_X
    @gold_window.x = Graphics.width - NonCombatMenu::GOLD_WINDOW_WIDTH -
    NonCombatMenu::BASE_WINDOW_X if NonCombatMenu::GOLD_WINDOW_ALIGN_RIGHT
  end

  def create_category_window
    @category_window = Window_ItemCategory.new
    @category_window.viewport = @viewport
        @category_window.help_window = @help_window
    # Set Tab Menu's X depending on Gold existing or not
    @category_window.x = NonCombatMenu::BASE_WINDOW_X
    @category_window.y = NonCombatMenu::BASE_WINDOW_X - 20
    @category_window.y = @gold_window.height + @gold_window.y if NonCombatMenu::SHOW_GOLD_WINDOW
    @category_window.set_handler(:ok,     method(:on_category_ok))
    @category_window.set_handler(:cancel, method(:return_scene))
  end

  def create_item_window
    # Changes where the item window is displayed
    wh = NonCombatMenu::ITEM_WINDOW_HEIGHT
    ww = NonCombatMenu::ITEM_WINDOW_WIDTH
    wx = NonCombatMenu::BASE_WINDOW_X
    wy = @category_window.height + @category_window.y
    @item_window = Window_ItemList.new(wx, wy, ww, wh)
    @item_window.viewport = @viewport
    @item_window.set_handler(:ok,     method(:on_item_ok))
    @item_window.set_handler(:cancel, method(:on_item_cancel))
    @category_window.item_window = @item_window
    if NonCombatMenu::SHOW_HELP_WINDOW == true
      @help_window.x = NonCombatMenu::BASE_WINDOW_X
      @help_window.width = NonCombatMenu::ITEM_WINDOW_WIDTH
      @item_window.help_window = @help_window
      ihadj = NonCombatMenu::BASE_WINDOW_X / 2
      ihadj = @help_window.height - @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
      if NonCombatMenu::DESCR_PLACEMENT == 1
        @gold_window.y = 0 if NonCombatMenu::SHOW_GOLD_WINDOW
        @category_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
        @help_window.y = @category_window.height + @category_window.y
        @item_window.y = @help_window.y + @help_window.height
        @item_window.height -= ihadj * 1.5
        @item_window.height -= ihadj if NonCombatMenu::SHOW_GOLD_WINDOW
      elsif NonCombatMenu::DESCR_PLACEMENT == 2
        @item_window.height -= ihadj
        @gold_window.y = 0 if NonCombatMenu::SHOW_GOLD_WINDOW
        @category_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @gold_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
        @item_window.y = @category_window.y + @category_window.height
        @item_window.height -= @gold_window.height / 2 if NonCombatMenu::SHOW_GOLD_WINDOW
        @help_window.y = @item_window.height + @item_window.y
      else
        @help_window.y = NonCombatMenu::BASE_WINDOW_X / 2
        @category_window.y = @help_window.height + @help_window.y
        @item_window.y = @category_window.y + @category_window.height
        @help_window.width = NonCombatMenu::ITEM_WINDOW_WIDTH
        @item_window.height -= ihadj
        @item_window.height -= ihadj * 2 if NonCombatMenu::SHOW_GOLD_WINDOW
        @gold_window.y = @item_window.y + @item_window.height if NonCombatMenu::SHOW_GOLD_WINDOW
      end
    end
  end

end

# Strips down the status menu to the very basics
class Window_Status
  def initialize(actor)
    super((Graphics.width - 300)/2, (Graphics.height - 120)/2, 300, 120)
    @actor = actor
    refresh
    activate
  end
  def refresh
    contents.clear
    draw_block2(line_height * 0)
  end
  def draw_basic_info(x, y)
    draw_actor_name(@actor, x, y + line_height * 0.5)
    draw_actor_hp(@actor, x, y + line_height * 1.5)
    draw_actor_mp(@actor, x, y + line_height * 2.5)
  end
end

# Dims the Status window's background as well~
class Scene_Status
  def create_background
    super
    @background_sprite.tone.set(0, 0, 0, 128)
  end
end

# Overwrites Scene_End to use Save/Load/Items
class Scene_End

  def start
    super
    create_command_window
    create_invisible_formation_window
  end

  def create_command_window
    @command_window = Window_GameEnd.new

    NonCombatMenu::MENU.each do |i|
      next if i[1].to_s == "cancel"
      @command_window.set_handler(i[1], method(("command_" + i[1].to_s).to_sym))
    end

    @command_window.set_handler(:cancel,   method(:return_scene))
  end

  def create_invisible_formation_window
    @status_window = Window_MenuStatus.new(@command_window.width, 0)
    @status_window.x = (Graphics.width - @status_window.width)/2
    @status_window.hide.deactivate
  end

  def command_item
    SceneManager.call(Scene_Item)
  end
  def command_status
    SceneManager.call(Scene_Status)
  end
  def command_save
    SceneManager.call(Scene_Save)
  end
  # Defines the load command
  def command_load
    SceneManager.call(Scene_Load)
  end
  def command_nequip
    SceneManager.call(Scene_Equip)
  end
  def command_quests
    SceneManager.call(Scene_Quest)
  end
  def command_none
    SceneManager.call(Scene_End)
  end

  def command_nform
    @command_window.hide.deactivate
    @status_window.select_last
    @status_window.show.activate
    @status_window.set_handler(:ok,     method(:on_formation_ok))
    @status_window.set_handler(:cancel, method(:on_formation_cancel))
  end

  def on_formation_ok
    if @status_window.pending_index >= 0
      $game_party.swap_order(@status_window.index,
                             @status_window.pending_index)
      @status_window.pending_index = -1
      @status_window.redraw_item(@status_window.index)
    else
      @status_window.pending_index = @status_window.index
    end
    @status_window.activate
  end

  def on_formation_cancel
    if @status_window.pending_index >= 0
      @status_window.pending_index = -1
      @status_window.activate
    else
      @status_window.unselect
      @status_window.hide.deactivate
      @command_window.show.activate
    end
  end
end

# Overwrites Window_End to show tabs depending on configured values
class Window_GameEnd
  def make_command_list
    NonCombatMenu::MENU.each do |i|
      i[1].to_s == "none" ? add_command(i[0], i[1], enabled = false) : add_command(i[0], i[1])
    end
  end
end

#Call the Non-Combat Menu with event commands
class Game_Interpreter
  def command_351
    return if $game_party.in_battle
    SceneManager.call(Scene_End)
    Window_MenuCommand::init_command_position
    Fiber.yield
  end
end

Then I had an idea, but I'm having trouble making it fully functional.
If you only have one actor then just show that actor in a window like the status window.
I wrote this, but what is not working is the selection cursor is highlighting only 1/4 of the window, since it still thinks it's a full height window.

Figured it out
Ruby:
# addon for MJSHI non combat menu
# only needed if you use one actor at any time.

class Scene_ItemBase < Scene_MenuBase
  alias r2_single_actor show_sub_window
  def show_sub_window(window)
    if $game_party.members.count == 1
      window.width = 400
      window.x = Graphics.width / 2 - window.width / 2
      window.y = (Graphics.height - 120) / 2
      window.z = 300
      window.height = 120
      window.show.activate
    else
      r2_single_actor(window)
    end
  end
end

class Window_MenuActor < Window_MenuStatus
  alias r2_item_height_single item_height
  def item_height
    if $game_party.members.count == 1
      height - standard_padding * 2
    else
      r2_item_height_single
    end
  end
end

Ooh, nice job! I'll update the main post xD
nice job!
Thanks All that's left is to find a way to remove the Arrows on the windows

GOT it. updated addon and script above.

update the main post
I tried the single tab addon and it didn't quite work for me so I modified it. Now all items show up if you have that category to be viewed.
I.E. SHOW_WEAPONS = true
Ruby:
#-------------------------------------------------------------------------------
# Non-Combat Menu Addon
#-- Single Item Tab v1.0
#-- By mjshi
#-------------------------------------------------------------------------------
# Installation: Put below the Non-Combat Menu.
#-------------------------------------------------------------------------------

class Window_ItemList
  def initialize(x, y, width, height)
    super
    self.activate
    select(0)
  end
 
  def category=(category)
    @category = :item
    refresh
    self.oy = 0
  end
 
  def include?(item)
    case @category
    when :item
      return true if item.is_a?(RPG::Item) && !item.key_item? && NonCombatMenu::SHOW_CONSUMABLES
      return true if item.is_a?(RPG::Weapon) && NonCombatMenu::SHOW_WEAPONS
      return true if item.is_a?(RPG::Armor) && NonCombatMenu::SHOW_ARMORS
      return true if item.is_a?(RPG::Item) && item.key_item? && NonCombatMenu::SHOW_KEY_ITEMS
    else
      false
    end
  end
end
 
class Window_ItemCategory
  def initialize
    super(0, 0)
    self.unselect
    self.deactivate
  end
end
 
class Scene_Item
  alias old_create_item_window create_item_window
  def create_item_window
    old_create_item_window
    @item_window.set_handler(:cancel, method(:return_scene))
    @item_window.update_help if @item_window.y != 0
  end
end
Thanks All that's left is to find a way to remove the Arrows on the windows

GOT it. updated addon and script above.


I tried the single tab addon and it didn't quite work for me so I modified it. Now all items show up if you have that category to be viewed.
I.E. SHOW_WEAPONS = true
Ruby:
#-------------------------------------------------------------------------------
# Non-Combat Menu Addon
#-- Single Item Tab v1.0
#-- By mjshi
#-------------------------------------------------------------------------------
# Installation: Put below the Non-Combat Menu.
#-------------------------------------------------------------------------------

class Window_ItemList
  def initialize(x, y, width, height)
    super
    self.activate
    select(0)
  end

  def category=(category)
    @category = :item
    refresh
    self.oy = 0
  end

  def include?(item)
    case @category
    when :item
      return true if item.is_a?(RPG::Item) && !item.key_item? && NonCombatMenu::SHOW_CONSUMABLES
      return true if item.is_a?(RPG::Weapon) && NonCombatMenu::SHOW_WEAPONS
      return true if item.is_a?(RPG::Armor) && NonCombatMenu::SHOW_ARMORS
      return true if item.is_a?(RPG::Item) && item.key_item? && NonCombatMenu::SHOW_KEY_ITEMS
    else
      false
    end
  end
end

class Window_ItemCategory
  def initialize
    super(0, 0)
    self.unselect
    self.deactivate
  end
end

class Scene_Item
  alias old_create_item_window create_item_window
  def create_item_window
    old_create_item_window
    @item_window.set_handler(:cancel, method(:return_scene))
    @item_window.update_help if @item_window.y != 0
  end
end

That one might've been outdated since I don't think I updated it since like version 1.0 of the non combat menu... would need to check though haha.

Thanks though! Maybe I should start a GitHub for my older ruby scripts so people like you can just contribute directly :kaomad2:

Original thread: https://forums.rpgmakerweb.com/threads/non-combat-menu.44678/