Request: Completely remove the "EquipCommand" Window

Status
Not open for further replies.

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
I would like to request a plugin that just outright removes this window from the game, please.

I should note I am using the free YEP EquipCore as well. Thank you!
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
323
Reaction score
308
First Language
german
Primarily Uses
RMMZ
Why don't you just go into Database -> System and disable the Equip Command?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
Why don't you just go into Database -> System and disable the Equip Command?
I don't want to remove being able to equip items, I want to remove the window in there called "EquipCommand". It's the window that has the options "Equip, Remove, Optimize".
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,602
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
If it can't be removed then can it be made so that "cancelling" (backing out, pressing ESC, etc) skips that menu too and just exits the Equip Scene completely? I can already make it so that the menu starts in the "equip" window, it's just annoying having to press ESC twice to back out.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,602
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
Could you kindly point me to which line that is? I'm not an expert coder so I'm not sure where that is :smile:
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,602
Reaction score
1,933
First Language
English
Primarily Uses
RMMV

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
Line 947.
Of which .JS? I looked in the YEP and Windows files but 947 isn't any cancel handler. Sorry, I'm utterly clueless right now.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,602
Reaction score
1,933
First Language
English
Primarily Uses
RMMV
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
213
Reaction score
59
First Language
english
Primarily Uses
N/A
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
Ahh, it was 911 for me. Thanks so much! Can confirm that it works!
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,473
Reaction score
5,305
First Language
english
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

trying to wrap up the boat/ship/castaway tilesets with a great galleon - no promises
Mail from campus: we will have the lessons this semester not remote, if possible. All my my profs: Remote it is.
https://gyazo.com/5a19cfce090a2585b3c0fcb7c699b92c Just finished a stealth system, its not metal gear solid level though, maybe elder scrolls level, it just works.
I ain't dead btw, just trying to keep up with university :)

Forum statistics

Threads
103,104
Messages
997,315
Members
134,572
Latest member
DarkDrakOnyX
Top