Select item question

Hey guys,

Is there a way to prevent certain regular items from showing up when you open the "Select Item" window? For example, in my farming game, there are like 15 types of seeds (that are regular items), but I do not want them to show up as an option to gift to the NPCs. I tried making the seeds "hidden items", but I still want the player to see them in the item menu.

Does anyone know of a script command or plug-in that allows this if it can't be done normally? Like, maybe there is a script call that you place in the item's "Note" window, or something.

Thanks!
Try Yanfly's Item Menu Category.
http://yanfly.moe/2017/05/19/yep-137-item-menu-categories-rpg-maker-mv/
you have four options to sort items by default for the select item option: regular item, key item, hidden item A or B.
The plugins cannot change that, because you have only those options in the editor.

So basically you can only use that to group your selections, and only regular and key items are visible.

However, depending on the number of items you have you can do another trick.
Before calling select item, check which seeds are available and add a similiar item to one of the hidden categories, and after the selection remove those and recalculate the ID of the selected item toward the one of the real item.

That is a bit tricky and will require a lot of work, but short of a specific plugin for changing the way select item works nothing else can be done.
Try this. I have not tested it, but it seems to be what you are looking for.

Anyway, if you're a programmer, you can work around the editor category limitation. You probably changed the Items menu, right? So I could completely recreate the window of the items. The idea is this:

In the note boxes of the items, there could be some command that binds the item to the given value of an array. That is, this value would be its category. The rest I do not need to suggest, because I'm not a programmer.
Thanks you the quick responses!

Try this. I have not tested it, but it seems to be what you are looking for.

This ended up working perfectly. Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/select-item-question.79781/