Shop Window

I wanted to change the position of the equipment icon/name shown under "Possession", so that it doesn't collide with the characters' displayed names. 


I assumed this could be fixed in the "Configuration Shop Menu" script under Window_Category (since that's what comes up when I use the window identifier), but nothing I edit really seems to work. I've never really had issues with Luna before, but for some reason I can't really figure this one out. Any help would be greatly appreciated!

shop.png
Is your lunatic mode modified?
I compared it to the luna engine base script, and it looks the same as far as I can tell.
can you post your config script here?
Sure, thanks for the help btw.


Here's the Configuration Shop Menu script:

Spoiler
#==============================================================================
# ■ MenuLuna: Shop Menu Configuration
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This section modifies the Shop Menu Screen. The menu you see upon buying or
# selling items through events.
#==============================================================================
module MenuLuna
  module ShopMenu
    # -----------------------------------------------------------------
    # The Window Displayed when no command is chosen.
    # -----------------------------------------------------------------
    WINDOW_DUMMY = { 
      :enable       =>  true,  # Enable Dummy Window? True/False
      :x            =>  8,
      :y            =>  11,
      :z            =>  300,
      :width        =>  448,    # Change the width of the window.
      :height       =>  388,    # Change the height of the window.
      # -----------------------------------------------------------------
      # Set a Background Display Type:
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type    =>  0, 
      # ----------------------------------------------------------------- 
      # This allows you to set a variable to change the skin of this particular    
      # section of the menu. The default is Variable 1. Remember that it reads 
      # it as a string (e.g. $game_variables[1] = “Menu_Green”).
      # -----------------------------------------------------------------    
      :background_variable => 1,
      
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",  # Name of the Windowskin
        😮pacity  => 255,       # Change the transparency of the window.
                                # 0 = Transparent, 255 = Solid      
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # -----------------------------------------------------------------  
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,  # Display the gradient vertically.
      },
        
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "Help_Window",
        😮pacity  =>  255,        # Change the transparency of the window.
                                  # 0 = Transparent, 255 = Solid  
        # ----------------------------------------------------------------- 
        # Offset Values refer to how much you want to nudge the window display 
        # without affecting its base x and y. 
        # ----------------------------------------------------------------- 
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_DUMMY
    
    # -----------------------------------------------------------------
    # This section modifies the help window.
    # -----------------------------------------------------------------
    WINDOW_HELP = {
      :x            =>  0,
      :y            =>  Graphics.height - 68, #68
      :z            =>  300,
      :width        =>  Graphics.width, # Change the width of the window.
      # -----------------------------------------------------------------
      :line_number  =>  2,
      :height_buff  =>  0, # 0 # Spacing between the lines vertically.
      # -----------------------------------------------------------------
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type    =>  2, 
      # ----------------------------------------------------------------- 
      # This allows you to set a variable to change the skin of this particular    
      # section of the menu. The default is Variable 1. Remember that it reads 
      # it as a string (e.g. $game_variables[1] = “Menu_Green”).
      # -----------------------------------------------------------------    
      :background_variable => 1,
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",  # Name of the Windowskin
        😮pacity  => 255,       # Change the transparency of the window.
                                # 0 = Transparent, 255 = Solid      
      },
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # -----------------------------------------------------------------  
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,  # Display the gradient vertically.
      },
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "ui-e-HelpBar2",
        😮pacity  =>  255,        # Change the transparency of the window.
                                  # 0 = Transparent, 255 = Solid  
        😮ffset_x =>  0,
        😮ffset_y =>  -1,
      },
    } # End WINDOW_HELP
    
      # -----------------------------------------------------------------
      # This allows you to customize window commands.
      # ----------------------------------------------------------------- 
    WINDOW_COMMANDS = {
      # -----------------------------------------------------------------
      :x      =>  Graphics.width - 180,
      :y      =>  44,
      :z      =>  9999,
      :width  =>  172,       
      :height =>  192, 
      :item_height => 24,    
      # -----------------------------------------------------------------
      😛adding     => 12, 
      :cursor      => true,
      :arrow      =>  true,
      :align      =>  0,
      :vertical   =>  true, # Display vertically? True/False 
      # -----------------------------------------------------------------
      # Set a Background Display Type:
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type  =>  2,
      # ----------------------------------------------------------------- 
      :background_variable => 1,
       
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window", # Name of the Windowskin
        😮pacity  => 255,      # Change the transparency of the window.
                               # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,
      },
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      # BG Type 2 settings
      :type_2     =>  {
        😛icture  =>  "ui-w-shop", # Graphics/System
        😮pacity  =>  255,
        😮ffset_x =>  -4,
        😮ffset_y =>  -36,
      },
    } # End WINDOW_COMMANDS.
    
      # -----------------------------------------------------------------   
      # This section allows you to modify the Window_Category section.
      # The place in the menu that Buy/Sell/Quit
      # -----------------------------------------------------------------
    WINDOW_CATEGORY = {
      :enable =>  true,   # Enable Window Category? True/False
      # -----------------------------------------------------------------
      :x      =>  Graphics.width - 180,
      :y      =>  136,
      :z      =>  9999,
      :width  =>  172,       
      :height =>  192,
      :item_height => 24, #24     # Height of each command.
      # -----------------------------------------------------------------
      😛adding     => 12, #12
      :cursor      => true,
      :arrow      =>  true,   # Default arrow for long list.
      :align      =>  0,
      :vertical   =>  true,   # Display vertically? True/False 
      # -----------------------------------------------------------------
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type  =>  0,
      # -----------------------------------------------------------------
      :background_variable => 1,
        
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window", # Name of the Windowskin
        😮pacity  => 0,      # Change the transparency of the window.
                               # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,
      },
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      # BG Type 2 settings
      :type_2     =>  {
        😛icture  =>  "commandpane", # Graphics/System
        😮pacity  =>  255,
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_CATEGORY.
    
      # -----------------------------------------------------------------   
      # Modify the Buy Window.
      # -----------------------------------------------------------------  
    WINDOW_ITEM_BUY = {
      :x            =>  8,
      :y            =>  11,
      :z            =>  300,
      :width        =>  448,    # Change the width of the window.
      :height       =>  388,    # Change the height of the window.
      :column       =>  1,      # Columns for displaying item list.
      :item_height  =>  24,     # Height of each items in the list.
      # ----------------------------------------------------------------- 
      😛adding     => 12,
      :cursor      => true,
      :arrow      =>  true,   # Default arrow for long list.
      :back_type    =>  0, 
      :background_variable => 1,
      # -----------------------------------------------------------------  
      :item_rect=>  {
        :custom =>  false,  # Enable custom item_rect or not? True/False
        :width  =>  64,     # Width of the item rect.
        :height =>  64,     # Height of the item rect.
        :spacing_ver => 8, # Spacing of each item vertically.
        :spacing_hor => 8, # Spacing of each item horizontally.
      },
       
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,    # Display the gradient vertically.
      },
       
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # ----------------------------------------------------------------- 
      :type_2     =>  {
        😛icture  =>  "", # Graphics/System
        😮pacity  =>  255,
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_ITEM_BUY
    
      # -----------------------------------------------------------------   
      # Modify the Sell Window.
      # -----------------------------------------------------------------  
    WINDOW_ITEM_SELL = {
            :x            =>  8,
      :y            =>  11,
      :z            =>  300,
      :width        =>  448,    # Change the width of the window.
      :height       =>  388,    # Change the height of the window.
      :column       =>  2,      # Columns for displaying item list.
      :item_height  =>  24,     # Height of each items in the list.
      # -----------------------------------------------------------------
      😛adding     => 12,
      :cursor       =>  true,
      :arrow        =>  true,   # Default arrow for long list.
      # -----------------------------------------------------------------
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type    =>  0, 
      :background_variable => 1, # Set a Variable to change Window
      # -----------------------------------------------------------------  
      :item_rect=>  {
        :custom =>  false,  # Enable custom item_rect or not? True/False
        :width  =>  64,     # Width of the item rect.
        :height =>  64,     # Height of the item rect.
        :spacing_ver =>  8, # Spacing of each item vertically.
        :spacing_hor =>  8, # Spacing of each item horizontally.
      },
        
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [0, 0, 0, 128],
        :color2   =>  [0, 0, 0, 128],
        :vertical =>  false,    # Display the gradient vertically.
      },
       
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # ----------------------------------------------------------------- 
      :type_2     =>  {
        😛icture  =>  "", # Graphics/System
        😮pacity  =>  255,
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_ITEM
    
    # -----------------------------------------------------------------   
    # This section modifies Window_Gold.
    # -----------------------------------------------------------------   
    WINDOW_GOLD = {
      # -----------------------------------------------------------------
      :x      =>  Graphics.width - 176,
      :y      =>  Graphics.height - 130,
      :z      =>  300,
      :width  =>  160,  # Change the width of the window.
      :height  =>  48,   # Change the height of the window.
      😛adding =>  12,
      # -----------------------------------------------------------------
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type  =>  0,
      # ----------------------------------------------------------------- 
      # -----------------------------------------------------------------     
      :background_variable => 1, # Set a Variable to change Window
      
      # BG Type 0 settings
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid   
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # -----------------------------------------------------------------   
      :type_1     =>  {
        :color1   =>  [250,105,0, 128],
        :color2   =>  [250,105,0, 128],
        :vertical =>  false,     # Display the gradient vertically.
      },
        
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "", # Graphics/System
        😮pacity  =>  255,
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_GOLD.
    # -----------------------------------------------------------------   
    # This section modifies the area where the items are displayed.
    # -----------------------------------------------------------------      
    WINDOW_NUMBER = {
      :x            =>  8,
      :y            =>  11,
      :z            =>  300,
      :width        =>  448,    # Change the width of the window.
      :height       =>  388,    # Change the height of the window.
      # -----------------------------------------------------------------
      # This refers to the spacing between the window border and the contents.
      # ----------------------------------------------------------------- 
      😛adding => 12,
      # -----------------------------------------------------------------
      # :cursor enables or disable the default cursor display. If set to false 
      # It will remove the rectangle cursor.
      # -----------------------------------------------------------------
      :cursor =>  {
        :enable =>  true, # Enable Cursor? True/False
      # -----------------------------------------------------------------
      # :x refers to the horizontal axis. Based on the Cartesian Plane. 
      # Negative values (e.g. -1) mean they would move to the left, while 
      # Positive values mean they would move to the right.
      # -----------------------------------------------------------------
        :x      =>  160,
      # -----------------------------------------------------------------
      # :y refers to the horizontal axis. Based on the Cartesian Plane. 
      # Negative values (e.g. -1) mean they would move up, while 
      # Positive values mean they would move to the down.
      # -----------------------------------------------------------------
        :y      =>  120,
        :width  =>  32,       # Change the width of the window.
        :height =>  24,       # Change the height of the window.
      },
      # -----------------------------------------------------------------
      # Modify Display
      # -----------------------------------------------------------------
      😮ptions => {
        :hide_list  =>  true,   # Show sell/buy list when choosing quantity?
        :item_pos   =>  false,  # Set to true to show window base on item line 
                                # position.
        # ----------------------------------------------------------------- 
        # Offset Values refer to how much you want to nudge the item display 
        # without affecting its base x and y. Offset for :item_pos == true.
        # ----------------------------------------------------------------- 
        😮ffset_x   =>  0,
        😮ffset_y   =>  0,
      },
      # -----------------------------------------------------------------
      # Set a Background Display Type:
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type  =>  0,    
      # ----------------------------------------------------------------- 
      # This allows you to set a variable to change the skin of this particular    
      # section of the menu. The default is Variable 1. Remember that it reads 
      # it as a string (e.g. $game_variables[1] = “Menu_Green”).
      # -----------------------------------------------------------------     
      :background_variable => 1,
       
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [250,105,0, 128],
        :color2   =>  [250,105,0, 128],
        :vertical =>  false,     # Display the gradient vertically.
      },
        
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "",
        😮pacity  =>  255,
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_NUMBER.
    
    # -----------------------------------------------------------------   
    # This section modifies the status window.
    # -----------------------------------------------------------------
    WINDOW_STATUS = {
      :x      =>  Graphics.width - 180,
      :y      =>  136,
      :z      =>  9999,
      :width  =>  172,       
      :height =>  296,
      # -----------------------------------------------------------------
      # This refers to the spacing between the window border and the contents.
      # ----------------------------------------------------------------- 
      😛adding =>  12, #12
      # -----------------------------------------------------------------
      # Set a Background Display Type:
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type       =>  0,    
      # ----------------------------------------------------------------- 
      # This allows you to set a variable to change the skin of this particular    
      # section of the menu. The default is Variable 1. Remember that it reads 
      # it as a string (e.g. $game_variables[1] = “Menu_Green”).
      # -----------------------------------------------------------------                   
      :background_variable => 1,
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 0,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid     
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # -----------------------------------------------------------------   
      :type_1     =>  {
        :color1   =>  [250,105,0, 128],
        :color2   =>  [250,105,0, 128],
        :vertical =>  false,     # Display the gradient vertically.
      },
        
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "", # Graphics/System
        😮pacity  =>  255,       # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid         
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_STATUS.
    
    # -----------------------------------------------------------------   
    # This is an extra window just in case you want to display more things.
    # Use Lunatic to make use of this section!
    # -----------------------------------------------------------------    
    WINDOW_DESCRIPTION = {
      :enable =>  false,     # Enable Window Description? True/False
      # -----------------------------------------------------------------
      # :x refers to the horizontal axis. Based on the Cartesian Plane. 
      # Negative values (e.g. -1) mean they would move to the left, while 
      # Positive values mean they would move to the right.
      # -----------------------------------------------------------------
      :x      =>  0,
      # -----------------------------------------------------------------
      # :y refers to the horizontal axis. Based on the Cartesian Plane. 
      # Negative values (e.g. -1) mean they would move up, while 
      # Positive values mean they would move to the down.
      # -----------------------------------------------------------------
      :y      =>  999,
      # -----------------------------------------------------------------
      # :z refers to the item’s display priority. Think of it as layers when 
      # you use an image program or when mapping in RPG Maker. The higher the 
      # value, the higher it will be drawn/drawn above other items.
      # -----------------------------------------------------------------
      :z        =>  300,
      :width    =>  640,  # Change the width of the window.
      :height   =>  72,   # Change the height of the window.
      # -----------------------------------------------------------------
      # This refers to the spacing between the window border and the contents.
      # ----------------------------------------------------------------- 
      😛adding  => 0,
      # -----------------------------------------------------------------
      # Set a Background Display Type:
      # 0 - Windowskin; 1 - Gradient Background; 2 - Picture
      # -----------------------------------------------------------------
      :back_type  =>  1, 
      # ----------------------------------------------------------------- 
      # This allows you to set a variable to change the skin of this particular    
      # section of the menu. The default is Variable 1. Remember that it reads 
      # it as a string (e.g. $game_variables[1] = “Menu_Green”).
      # -----------------------------------------------------------------     
      :background_variable => 1, # Set a Variable to change Window
      
      # Type 0 settings (Windowskin)
      :type_0     =>  { 
        :skin     => "Window",   # Name of the Windowskin
        😮pacity  => 255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid    
      },
        
      # -----------------------------------------------------------------   
      # Type 1 settings (Gradient Background)
      # color1 = refers to the first color of the gradient. ([R,G,B,A])
      # color2 = refers to the second color of the gradient. ([R,G,B,A])
      # normal_color refers to the color of your default windowskin.
      # ----------------------------------------------------------------- 
      :type_1     =>  {
        :color1   =>  [250,105,0, 128],
        :color2   =>  [250,105,0, 128],
        :vertical =>  false,     # Display the gradient vertically.
      },
        
      # -----------------------------------------------------------------   
      # Type 2 settings (Picture Background)
      # 😛icture = Name of the Picture located in Graphics/System folder.
      # 😮pacity = Transparency of the picture. 0 = Transparent, 255 = Solid  
      # -----------------------------------------------------------------   
      :type_2     =>  {
        😛icture  =>  "",
        😮pacity  =>  255,        # Change the transparency of the window.
                                 # 0 = Transparent, 255 = Solid
        # ----------------------------------------------------------------- 
        # Offset Values refer to how much you want to nudge the window display 
        # without affecting its base x and y. 
        # ----------------------------------------------------------------- 
        😮ffset_x =>  0,
        😮ffset_y =>  0,
      },
    } # End WINDOW_DESCRIPTION.


  end
end



And the Lunatic Config Shop Menu:

Spoiler
#==============================================================================
# ■ MenuLuna
#==============================================================================


module MenuLuna
  module ShopMenu
    # return array contains text/bitmap data
      
    # result = [
    #  # latter R, G, B, A is for Outline color.
    #  [Text, [X, Y], [Width, Align], [R, G, B(, A)], [FontName, FontSize, FontBold, FontItalic], [R, G, B(, A)]],
    # ]
    
    # replace text with $bitmap[Folder, Filename] for draw bitmap.
    # Folder must be in Graphics and Filename must be in Folder.
    # For example: $bitmap[System, GoldIcon] for Graphics/System/GoldIcon.png
    # Bitmap doesn't need [FontName, FontSize, FontBold, FontItalic] & [R, G, B(, A)]
    # & [Width, Align] but has an opacity option.
    
    
    # For source rect, use bw for bitmap width, bh for bitmap height
    # If Opacity and/or Src_rect, it will take opacity of 255 and bitmap original
    # rect as values.
    # ["$bitmap[Folder, FileName]", [X, Y], Opacity, Src_rect]
    # ["$bitmap[System, GoldIcon]", [128, 0], 255, [0, 0, "bw * 0.5", "bh"]]
    # ["$bitmap[System, GoldIcon]", [128, 0], 255, [0, 0, 128, 42]]
              
    # replace $bitmap[Folder, "Filename"] with $color[R, G, B]
    # for solid color background.
          
    # replace $bitmap[Folder, "Filename"] with $horgrad[R1, G1, B1, R2, G2, B2]
    # for gradient color background horizontal.
          
    # replace $bitmap[Folder, "Filename"] with $vergrad[R1, G1, B1, R2, G2, B2]
    # for gradient color background vertical.
    
    # replace text with $icon[index] for draw icon.
    # icon doesn't need [FontName, FontSize, FontBold, FontItalic] & [R, G, B(, A)]
    # & [Width, Align] but has an opacity option.
    # ["$icon[Index]", [X, Y], Opacity]
    # ["$icon[10]", [128, 0], 255]
    
    # [X, Y] will be offsets base on item_rect.
    
    # use item as a reference for current drawing item.
    # be careful because item can be nil.
    
    # contents refers to window's contents bitmap.
    
    # Text for Commands Window
    def self.user_command_text(index, contents, item_rect, enable, select)


    end
    
    # Text for Categories Window
    def self.user_category_text(index, contents, item_rect, enable, select)


    end


    # Text for Sell Window
    def self.user_sell_text(item, contents, item_rect, enable, select)
      
    end
    
    # Text for Buy Window
    def self.user_buy_text(item, contents, item_rect, enable, select)
      
    end
    
    # Text for Gold Window
    def self.user_gold_text(contents)
      
    end
    
    # Text for Number Window
    def self.user_number_text(item, number, price, contents)
      
    end
    
    # Text for Status Window
    # cur_item is current equipment of actor.
    # possession is number of item your party has. 
    def self.user_status_text(index, item, actor, equippable, cur_item, possesion, contents)
      
    end
    
    # Text for Description Window
    def self.user_description_text(item, contents)
      
    end
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/shop-window.61732/