じ☆ve冰风 发表于 2026-8-2 08:47:20

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:

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:# 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








本贴来自国际rpgmaker官方论坛作者:MeowFace处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/none-optimize-equip-scene.54630/
页: [1]
查看完整版本: None Optimize Equip Scene