None Optimize Equip Scene

Made for a request here.

This script simply removes the optimize/clear from the equip scene.

Features:

Non-optimize equip scene

How to use:

[1] Paste this script below Material and above other custom scripts.

Note: Page Up/Down in the slot window will no longer scroll up/down in page but change to prev/next actor.

Compatibility:

This script uses overwrite method. It may conflicts with other custom scripts that try to modify the same method this script is using. If you are using another custom script that modifies the equip scene(eg, my slot customize script), try place this script above it to avoid conflicts.

Terms of Use:

Free for both commercial and non-commercial

Script:

Spoiler
Code:
#==============================================================================# ■ Meow Face Non-optimize Equip Scene#------------------------------------------------------------------------------# Equip Scene without Optimize/Clear#==============================================================================# How to Use:# [1] Put this script below Material and above other custom scripts#==============================================================================class Window_EquipSlot < Window_Selectable  def visible_line_number #overwrite    return 7  endendclass Scene_Equip < Scene_MenuBase  def start #overwrite    super    create_help_window    create_status_window    create_slot_window    create_item_window  end  def create_slot_window #overwrite    wx = @status_window.width    wy = @help_window.height    ww = Graphics.width - @status_window.width    @slot_window = Window_EquipSlot.new(wx, wy, ww)    @slot_window.viewport = @viewport    @slot_window.help_window = @help_window    @slot_window.status_window = @status_window    @slot_window.actor = @actor    @slot_window.set_handler(:ok,       method(:on_slot_ok))    @slot_window.set_handler(:cancel,   method(:return_scene))    @slot_window.set_handler(:pagedown, method(:next_actor))    @slot_window.set_handler(:pageup,   method(:prev_actor))    @slot_window.activate    @slot_window.select(0)  end  def on_actor_change #overwrite    @status_window.actor = @actor    @slot_window.actor = @actor    @item_window.actor = @actor    @slot_window.activate    @slot_window.select(0)  endend
Fixed script format, credit Meow Face.
Code:
#==============================================================================
# ■ Meow Face Non-optimize Equip Scene
#------------------------------------------------------------------------------
# Equip Scene without Optimize/Clear
#==============================================================================
# How to Use:
# [1] Put this script below Material and above other custom scripts
#==============================================================================
class Window_EquipSlot < Window_Selectable 
  def visible_line_number #overwrite   
    return 7 
  end
end
class Scene_Equip < Scene_MenuBase 
    def start #overwrite   
      super   
      create_help_window   
      create_status_window   
      create_slot_window   
      create_item_window 
    end 
    def create_slot_window #overwrite   
      wx = @status_window.width   
      wy = @help_window.height   
      ww = Graphics.width - @status_window.width   
      @slot_window = Window_EquipSlot.new(wx, wy, ww)   
      @slot_window.viewport = @viewport   
      @slot_window.help_window = @help_window   
      @slot_window.status_window = @status_window   
      @slot_window.actor = @actor   
      @slot_window.set_handler(:ok, method(:on_slot_ok))   
      @slot_window.set_handler(:cancel, method(:return_scene))   
      @slot_window.set_handler(:pagedown, method(:next_actor))   
      @slot_window.set_handler(:pageup,   method(:prev_actor))   
      @slot_window.activate   
      @slot_window.select(0) 
    end 
    def on_actor_change #overwrite   
      @status_window.actor = @actor   
      @slot_window.actor = @actor   
      @item_window.actor = @actor   
      @slot_window.activate   
      @slot_window.select(0) 
    end
    end

Original thread: https://forums.rpgmakerweb.com/threads/none-optimize-equip-scene.54630/