Request: Completely remove the "EquipCommand" Window

Status
Not open for further replies.

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
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
283
Reaction score
261
First Language
german
Primarily Uses
RMMV
Why don't you just go into Database -> System and disable the Equip Command?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
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,373
Reaction score
1,549
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
197
Reaction score
48
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,373
Reaction score
1,549
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
197
Reaction score
48
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,373
Reaction score
1,549
First Language
English
Primarily Uses
RMMV

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
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,373
Reaction score
1,549
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
197
Reaction score
48
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,429
Reaction score
5,167
First Language
english
Primarily Uses
RMMV

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

I spoke with hudell and many programmer about the Window_BattleLog class and we all just agreed to pretend this class just doesn't exists lol
I haven't been able to solidify a cohesive plot so dropped out of a game jam but, on a fun note, I pre-ordered MZ today! :LZSwink:
So I just spent the weekend...playing my own game. The one I released last year. Yep you heard that right.
Goal for MZ? None... I'm still curious how to finish my VXA project and how it looks like when it actually finished. Which will take at least another two years. Coming late again to the party.

Forum statistics

Threads
100,657
Messages
978,132
Members
132,268
Latest member
janetjoradan
Top