RMMV How do I remove "use / back" menu from Item menu

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
I want to make Item menu for my project into something like item gallery where you can only look at them and maybe read some interesting information about the item (i want them to be uniteractable). I want to remove the "use / back" menu that pops up completely.

Is it possible? I really want it gone / prevent it from showing up.

I'm using Yanfly's Item Core + Item Categories + Item Picture Images
My RPG Maker MV's version is 1.6.2
 

Mac15001900

JavaScript wild sorcerer
Regular
Joined
Aug 7, 2022
Messages
392
Reaction score
524
First Language
English
Primarily Uses
RMMV
To be clear, you're fine with no items in your game being usable? I think just disabling everything that happens when you select an item should do it (unless one of those plugins messes with it).

JavaScript:
Scene_Item.prototype.onItemOk = function () {};

Add this snippet as a plugin, below anything else that changes the item scene.
 

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
Yes, I'm fine with them being unusable. It's just for the kind of project I have in mind, there is no use for them other than collectibles or maybe achievements.

I added this one as you said, and while, yes, it prevents that window from popping up, it also freezes the game after pressing on the item (and there is no way to unfreeze the game); it stays in a frozen state, and the only way to fix that is by closing the game.

View attachment 278111

(PluginPattern is just the name of the template plugin that I picked a while ago)
 

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
To be clear, you're fine with no items in your game being usable? I think just disabling everything that happens when you select an item should do it (unless one of those plugins messes with it).

JavaScript:
Scene_Item.prototype.onItemOk = function () {};

Add this snippet as a plugin, below anything else that changes the item scene.
I forgot to hit reply (firt time on this forum).

It's above. Sorry for the inconvenience.
 

Mac15001900

JavaScript wild sorcerer
Regular
Joined
Aug 7, 2022
Messages
392
Reaction score
524
First Language
English
Primarily Uses
RMMV
I forgot to hit reply (firt time on this forum).
You get a notification either way when someone posts in a thread you posted in, so that's not strictly necessary.

I added this one as you said, and while, yes, it prevents that window from popping up, it also freezes the game after pressing on the item (and there is no way to unfreeze the game); it stays in a frozen state, and the only way to fix that is by closing the game.
Whoops, looks like we removed a bit too much functionality there xD This should work better:
JavaScript:
Scene_Item.prototype.onItemOk = function () {this._itemWindow.active = true;};
 

MS_MANGO

Villager
Member
Joined
Sep 27, 2023
Messages
13
Reaction score
2
First Language
English
Primarily Uses
RMMV
Whoops, looks like we removed a bit too much functionality there xD This should work better:
JavaScript:
Scene_Item.prototype.onItemOk = function () {this._itemWindow.active = true;};

It works now! Thank you very much :kaojoy:
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,692
Reaction score
11,262
First Language
English
Primarily Uses
RMMV
Whoops, looks like we removed a bit too much functionality there xD
shut-it-down-dark-city.gif
 

Latest Threads

Latest Profile Posts

Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.
yp_4vS.png

Remember my latest plugin for rpg maker mz:

Acknowledgement Window is now available!

Take a look here:

Got my focus back, 9/59 maps have the door fix in place now.

Forum statistics

Threads
136,803
Messages
1,270,184
Members
180,558
Latest member
Kev03
Top