Remove Armor, Weapons and Key Items from sell menu?

Screenshot 2026-01-20 121350.png


Does anyone know how to remove the weapons, armours and key items categories from the shop's sell menu? My game has no combat, so there are no weapons or armors, only items. Key items won't be sellable, so no need for that either. The only sellable things would be items, so I only want the items tab to appear, or better yet have the sell menu instantly open up the item menu, but if that's too complicated then simply removing armor, weapons and key items would be great.

I tried looking through Window_ShopCommand, ShopBuy, ShopSell, ShopNumber, ShopStatus, etc. in the scripts section to see if I could comment them out, but found no luck...

I'm using Yanfly's better shops script by the way, and that's the only script that affects the shop screen.

Thanks in advance! <3
Looking for the same thing as you. Good luck!
Hello, I wrote a small script that lets you choose the sell categories and eventually skips the choice (keep at least one category!)

Ruby:
#==============================================================================
# Restrict sell categories
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 20/01/2025
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-RestrictSellCategories"] = true

#==============================================================================
# Description: restricts the categories that can be sold to all shops to
# the SELL_LIST (designed here to sell only base items)
# Includes compatibility with Yanfly's Shop Options
#==============================================================================
# Installation: put it below Yanfly's script if used
#==============================================================================
# Term of use: free for any project, credit is not necessary
#==============================================================================

module TIM
  module RestrictSells
    #uncomment the categories you want to use, you can change the order too
    SELL_LIST = [
      :item,
      #:weapon,
      #:armor,
      #:key_item
    ] #don't remove this!
   
    #skip choice in category list and take the first one:
    SKIP_CHOICE = true
  end #SellItemOnly
end #TIM

#==============================================================================
# Window_Command
#==============================================================================
class Window_Command
  def add_item_category_command(symb)
    add_command(Vocab.send(symb), symb)
  end
end #Window_Command

#==============================================================================
# Window_ItemCategory
#==============================================================================
class Window_ItemCategory < Window_HorzCommand
  #--------------------------------------------------------------------------
  # alias method: make_command_list
  #--------------------------------------------------------------------------
  alias tim_rsc_make_command_list make_command_list
  def make_command_list
    return tim_rsc_make_command_list unless SceneManager.scene_is?(Scene_Shop)
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ItemCategory

#==============================================================================
# Window_ShopCategory -> compatibility with Yanfly's Ace Shop Options v1.01
#==============================================================================
if $imported["YEA-ShopOptions"]
class Window_ShopCategory < Window_Command
  #--------------------------------------------------------------------------
  # overwrite method: make_command_list
  #--------------------------------------------------------------------------
  def make_command_list
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ShopCategory
end #$imported["YEA-ShopOptions"]

#==============================================================================
# Scene_Shop
#==============================================================================
class Scene_Shop < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: command_sell
  #--------------------------------------------------------------------------
  alias tim_rsc_command_sell command_sell
  def command_sell
    tim_rsc_command_sell
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_ok
  end

  #--------------------------------------------------------------------------
  # alias method: on_sell_cancel
  #--------------------------------------------------------------------------
  alias tim_rsc_on_sell_cancel on_sell_cancel
  def on_sell_cancel
    tim_rsc_on_sell_cancel
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_cancel
  end
end #Scene_Shop
Hello, I wrote a small script that lets you choose the sell categories and eventually skips the choice (keep at least one category!)

Ruby:
#==============================================================================
# Restrict sell categories
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 20/01/2025
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-RestrictSellCategories"] = true

#==============================================================================
# Description: restricts the categories that can be sold to all shops to
# the SELL_LIST (designed here to sell only base items)
# Includes compatibility with Yanfly's Shop Options
#==============================================================================
# Installation: put it below Yanfly's script if used
#==============================================================================
# Term of use: free for any project, credit is not necessary
#==============================================================================

module TIM
  module RestrictSells
    #uncomment the categories you want to use, you can change the order too
    SELL_LIST = [
      :item,
      #:weapon,
      #:armor,
      #:key_item
    ] #don't remove this!
 
    #skip choice in category list and take the first one:
    SKIP_CHOICE = true
  end #SellItemOnly
end #TIM

#==============================================================================
# Window_Command
#==============================================================================
class Window_Command
  def add_item_category_command(symb)
    add_command(Vocab.send(symb), symb)
  end
end #Window_Command

#==============================================================================
# Window_ItemCategory
#==============================================================================
class Window_ItemCategory < Window_HorzCommand
  #--------------------------------------------------------------------------
  # alias method: make_command_list
  #--------------------------------------------------------------------------
  alias tim_rsc_make_command_list make_command_list
  def make_command_list
    return tim_rsc_make_command_list unless SceneManager.scene_is?(Scene_Shop)
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ItemCategory

#==============================================================================
# Window_ShopCategory -> compatibility with Yanfly's Ace Shop Options v1.01
#==============================================================================
if $imported["YEA-ShopOptions"]
class Window_ShopCategory < Window_Command
  #--------------------------------------------------------------------------
  # overwrite method: make_command_list
  #--------------------------------------------------------------------------
  def make_command_list
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ShopCategory
end #$imported["YEA-ShopOptions"]

#==============================================================================
# Scene_Shop
#==============================================================================
class Scene_Shop < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: command_sell
  #--------------------------------------------------------------------------
  alias tim_rsc_command_sell command_sell
  def command_sell
    tim_rsc_command_sell
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_ok
  end

  #--------------------------------------------------------------------------
  # alias method: on_sell_cancel
  #--------------------------------------------------------------------------
  alias tim_rsc_on_sell_cancel on_sell_cancel
  def on_sell_cancel
    tim_rsc_on_sell_cancel
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_cancel
  end
end #Scene_Shop
Oh my gosh, you legend! It works perfectly! Thank you so much 😢


image_2026-01-20_142409197.png
Hello, I wrote a small script that lets you choose the sell categories and eventually skips the choice (keep at least one category!)
Spoiler: Code
Ruby:
#==============================================================================
# Restrict sell categories
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 20/01/2025
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-RestrictSellCategories"] = true

#==============================================================================
# Description: restricts the categories that can be sold to all shops to
# the SELL_LIST (designed here to sell only base items)
# Includes compatibility with Yanfly's Shop Options
#==============================================================================
# Installation: put it below Yanfly's script if used
#==============================================================================
# Term of use: free for any project, credit is not necessary
#==============================================================================

module TIM
  module RestrictSells
    #uncomment the categories you want to use, you can change the order too
    SELL_LIST = [
      :item,
      #:weapon,
      #:armor,
      #:key_item
    ] #don't remove this!
 
    #skip choice in category list and take the first one:
    SKIP_CHOICE = true
  end #SellItemOnly
end #TIM

#==============================================================================
# Window_Command
#==============================================================================
class Window_Command
  def add_item_category_command(symb)
    add_command(Vocab.send(symb), symb)
  end
end #Window_Command

#==============================================================================
# Window_ItemCategory
#==============================================================================
class Window_ItemCategory < Window_HorzCommand
  #--------------------------------------------------------------------------
  # alias method: make_command_list
  #--------------------------------------------------------------------------
  alias tim_rsc_make_command_list make_command_list
  def make_command_list
    return tim_rsc_make_command_list unless SceneManager.scene_is?(Scene_Shop)
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ItemCategory

#==============================================================================
# Window_ShopCategory -> compatibility with Yanfly's Ace Shop Options v1.01
#==============================================================================
if $imported["YEA-ShopOptions"]
class Window_ShopCategory < Window_Command
  #--------------------------------------------------------------------------
  # overwrite method: make_command_list
  #--------------------------------------------------------------------------
  def make_command_list
    TIM::RestrictSells::SELL_LIST.each {|symb| add_item_category_command(symb)}
  end
end #Window_ShopCategory
end #$imported["YEA-ShopOptions"]

#==============================================================================
# Scene_Shop
#==============================================================================
class Scene_Shop < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: command_sell
  #--------------------------------------------------------------------------
  alias tim_rsc_command_sell command_sell
  def command_sell
    tim_rsc_command_sell
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_ok
  end

  #--------------------------------------------------------------------------
  # alias method: on_sell_cancel
  #--------------------------------------------------------------------------
  alias tim_rsc_on_sell_cancel on_sell_cancel
  def on_sell_cancel
    tim_rsc_on_sell_cancel
    return unless TIM::RestrictSells::SKIP_CHOICE
    @category_window.deactivate
    on_category_cancel
  end
end #Scene_Shop
Would be a cool idea to add switches to allow turning on/off the 4 categories mid-gameplay.

Edit: I think this does it?
Spoiler: Code
Ruby:
#==============================================================================
# Restrict sell categories
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 20/01/2025
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-RestrictSellCategories"] = true

#==============================================================================
# Description: restricts the categories that can be sold to all shops to
# the SELL_LIST (designed here to sell only base items)
# Includes compatibility with Yanfly's Shop Options
#==============================================================================
# Installation: put it below Yanfly's script if used
#==============================================================================
# Term of use: free for any project, credit is not necessary
#==============================================================================

module TIM
  module RestrictSells
    #uncomment the categories you want to use, you can change the order too
    SELL_LIST = [
      :item,
      :weapon,
      :armor,
      :key_item
    ] #don't remove this!

    CATEGORY_SWITCH = {
      :item     => 31,  # Switch ID for Items
      :weapon   => 32,  # Switch ID for Weapons
      :armor    => 33,  # Switch ID for Armors
      :key_item => 34   # Switch ID for Key Items
    }

    def self.category_enabled?(symb)
      sw = CATEGORY_SWITCH[symb] || 0
      return true if sw == 0
      $game_switches[sw]
    end
  
    #skip choice in category list and take the first one:
    SKIP_CHOICE_SWITCH = 30

    def self.skip_choice?
      sw = SKIP_CHOICE_SWITCH
      return true if sw == 0
      $game_switches[sw]
    end
  
  end #SellItemOnly
end #TIM

#==============================================================================
# Window_Command
#==============================================================================
class Window_Command
  def add_item_category_command(symb)
    add_command(Vocab.send(symb), symb)
  end
end #Window_Command

#==============================================================================
# Window_ItemCategory
#==============================================================================
class Window_ItemCategory < Window_HorzCommand
  #--------------------------------------------------------------------------
  # alias method: make_command_list
  #--------------------------------------------------------------------------
  alias tim_rsc_make_command_list make_command_list
  def make_command_list
    return tim_rsc_make_command_list unless SceneManager.scene_is?(Scene_Shop)
    TIM::RestrictSells::SELL_LIST.each do |symb|
      next unless TIM::RestrictSells.category_enabled?(symb)
      add_item_category_command(symb)
    end
  end
end #Window_ItemCategory

#==============================================================================
# Window_ShopCategory -> compatibility with Yanfly's Ace Shop Options v1.01
#==============================================================================
if $imported["YEA-ShopOptions"]
class Window_ShopCategory < Window_Command
  #--------------------------------------------------------------------------
  # overwrite method: make_command_list
  #--------------------------------------------------------------------------
  def make_command_list
    TIM::RestrictSells::SELL_LIST.each do |symb|
      next unless TIM::RestrictSells.category_enabled?(symb)
      add_item_category_command(symb)
    end
  end
end #Window_ShopCategory
end #$imported["YEA-ShopOptions"]

#==============================================================================
# Scene_Shop
#==============================================================================
class Scene_Shop < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: command_sell
  #--------------------------------------------------------------------------
  alias tim_rsc_command_sell command_sell
  def command_sell
    tim_rsc_command_sell
    return unless TIM::RestrictSells.skip_choice?
    @category_window.deactivate
    on_category_ok
  end

  #--------------------------------------------------------------------------
  # alias method: on_sell_cancel
  #--------------------------------------------------------------------------
  alias tim_rsc_on_sell_cancel on_sell_cancel
  def on_sell_cancel
    tim_rsc_on_sell_cancel
    return unless TIM::RestrictSells.skip_choice?
    @category_window.deactivate
    on_category_cancel
  end
end #Scene_Shop
Well, I went for a variable control instead of switches for my second version, but yours work too ~

Ruby:
#==============================================================================
# Restrict sell categories v1.1
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 21/01/2026
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-RestrictSellCategories"] = true

#==============================================================================
# Update history:
# 20/01/2026: v1.0 - Initial release
# 21/01/2026: v1.1 - Added set of sell options handled by variable
#==============================================================================
# Description: restricts the categories that can be sold to shops to a set
# specified in SELL_SETS and controllable by a variable.
# The DEFAULT_SELL_LIST is designed here to sell only base items.
# Includes compatibility with Yanfly's Shop Options
#==============================================================================
# Installation: put it below Yanfly's script if used
#==============================================================================
# Term of use: free for any project, credit is not necessary
#==============================================================================

module TIM
  module RestrictSells
    #uncomment the categories you want to use, you can change the order too
    DEFAULT_SELL_LIST = [
      :item,
      #:weapon,
      #:armor,
      #:key_item,
    ] #don't remove this!
    
    #id of variable that controls the list, set 0 to use only the
    #DEFAULT_SELL_LIST
    VARIABLE_ID = 0
    
    #set for a value of the variable, which category is sold, if no valid entry,
    # DEFAULT_SELL_LIST is taken instead
    SELL_SETS = {
      #value of variable => array of item category
      1 => [:weapon, :armor],
      2 => [:item, :key_item],
    } #don't remove this!
    SELL_SETS.default = DEFAULT_SELL_LIST #don't remove this line!
    
    #skip choice in category list and take the only one if single category:
    SKIP_CHOICE = true
    
#==============================================================================
# DON'T EDIT THINGS BELOW HERE (unless you knnow what you are doing ^^)
#==============================================================================
    #------------------------------------------------------------------------
    # sell_list
    #------------------------------------------------------------------------
    def self.sell_list
      SELL_SETS[$game_variables[VARIABLE_ID]]
    end
    
    #------------------------------------------------------------------------
    # skip_choice?
    #------------------------------------------------------------------------
    def self.skip_choice?
      SKIP_CHOICE && sell_list.size == 1
    end
  end #SellItemOnly
end #TIM

#==============================================================================
# Window_Command
#==============================================================================
class Window_Command
  #--------------------------------------------------------------------------
  # new method: add_item_category_command -> assumes the category has a
  # Vocab method of the same name/symbol
  #--------------------------------------------------------------------------
  def add_item_category_command(symb)
    add_command(Vocab.send(symb), symb)
  end
end #Window_Command

#==============================================================================
# Window_ItemCategory
#==============================================================================
class Window_ItemCategory < Window_HorzCommand
  #--------------------------------------------------------------------------
  # alias method: make_command_list
  #--------------------------------------------------------------------------
  alias tim_rsc_make_command_list make_command_list
  def make_command_list
    return tim_rsc_make_command_list unless SceneManager.scene_is?(Scene_Shop)
    TIM::RestrictSells.sell_list.each {|symb| add_item_category_command(symb)}
  end
end #Window_ItemCategory

#==============================================================================
# Window_ShopCategory -> compatibility with Yanfly's Ace Shop Options v1.01
#==============================================================================
if $imported["YEA-ShopOptions"]
class Window_ShopCategory < Window_Command
  #--------------------------------------------------------------------------
  # overwrite method: make_command_list
  #--------------------------------------------------------------------------
  def make_command_list
    TIM::RestrictSells.sell_list.each {|symb| add_item_category_command(symb)}
  end
end #Window_ShopCategory
end #$imported["YEA-ShopOptions"]

#==============================================================================
# Scene_Shop
#==============================================================================
class Scene_Shop < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: command_sell
  #--------------------------------------------------------------------------
  alias tim_rsc_command_sell command_sell
  def command_sell
    tim_rsc_command_sell
    return unless TIM::RestrictSells.skip_choice?
    @category_window.deactivate
    on_category_ok
  end

  #--------------------------------------------------------------------------
  # alias method: on_sell_cancel
  #--------------------------------------------------------------------------
  alias tim_rsc_on_sell_cancel on_sell_cancel
  def on_sell_cancel
    tim_rsc_on_sell_cancel
    return unless TIM::RestrictSells.skip_choice?
    @category_window.deactivate
    on_category_cancel
  end
end #Scene_Shop

Original thread: https://forums.rpgmakerweb.com/threads/remove-armor-weapons-and-key-items-from-sell-menu.182057/