#~ __END__ #============================================================================== # {Press CTRL + Q on line 1 to enable/disable script.} #============================================================================== =begin ╔═══════════════════════════════════════════════════╤═══════╤══════════════╗ ║ No Unequiping - WPN & ARM │ v1.0 │ (9/23/2013) ║ ╠════╤══════════════════════════════════════════════╧═══════╧══════════════╣ ║ By │ Levi Stepp (Lankaino) ║ ╠════╧═════════════════════════════════════════════════════════════════════╣ ║ This may be used in Commercial Projects, long as you give credit. ║ ╚══════════════════════════════════════════════════════════════════════════╝ ------------------------- DO NOT EDIT BELOW! ------------------------------- --------------------- This is a PLUG N' PLAY Script --------------------------- =end #◆==========================================================================◆# #◆ - Window_EquipCommand - ◆# #◆--------------------------------------------------------------------------◆# #◆ Modified for people who do not know how to edit the default script. ◆# #◆==========================================================================◆# class Window_EquipCommand < Window_HorzCommand #◆==========================================================================◆# #◆ - Object Initialization - ◆# #◆==========================================================================◆# def initialize(x, y, width) @window_width = width super(x, y) end #◆==========================================================================◆# #◆ - Window Width - ◆# #◆==========================================================================◆# def window_width @window_width end #◆==========================================================================◆# #◆ - Get Digit Count - ◆# #◆==========================================================================◆# def col_max return 2 end #◆==========================================================================◆# #◆ - Create Command List - ◆# #◆==========================================================================◆# def make_command_list add_command(Vocab::equip2, :equip) add_command(Vocab::optimize, :optimize) end end class Window_EquipItem < Window_ItemList #◆==========================================================================◆# #◆ - Weapon Slot - ◆# #◆==========================================================================◆# alias weapons_include? include? def include?(item) return false if item == nil && @slot_id == 0 return weapons_include?(item) end end class Scene_Equip < Scene_MenuBase #◆==========================================================================◆# #◆ - Weapon Slot OK - ◆# #◆==========================================================================◆# alias weapons_on_slot_ok on_slot_ok def on_slot_ok if @item_window.item_max == 0 @slot_window.activate return end weapons_on_slot_ok end end class Window_EquipItem < Window_ItemList #◆==========================================================================◆# #◆ - Armor Slot - ◆# #◆==========================================================================◆# alias armors_include? include? def include?(item) return false if item == nil && @slot_id == 3 return armors_include?(item) end end class Scene_Equip < Scene_MenuBase #◆==========================================================================◆# #◆ - Armor Slot OK - ◆# #◆==========================================================================◆# alias armors_on_slot_ok on_slot_ok def on_slot_ok if @item_window.item_max == 3 @slot_window.activate return end armors_on_slot_ok end end # No Unequiping - WPN & ARM