MV Simple Break/Create Item System [SOLVED]

I played a card game zenonzard before, and it has a simple craft/salvage system.
Click the item, get option salvage, get some craft points.
Click the item, get option create, use your craft points, you get the item.

So its basically just the item scene with the two options create or salvage. The items needed to be listed with or without the player owning it. The note tagging part would just be points_used(for creating) and points_give (for salvage)

I first tried working using event select item, but i cannot get the craft something you dont own. I can do the salvage because you own it, just subtract the item and add the craft points.

It could also just be a modification of the Scene Shop, where buy = craft, and sell = dissamble. But it wont use the default gold, but another variable. Yes, i think this is the simplest alternative i can think of. Another shop scene, that doesnt use the default gold as currency.

EDIT: Here's final product of eventing.. I abandoned the select item event

I first tried working using event select item, but i cannot get the craft something you dont own.
there is a possible workaround for that, but it will use up some item slots.

make the choice scrap/create before selecting item.
if chosen to create, have the select item choose from hidden item B instead of regular items.
every regular item you want to be able to create, have a recipe item set as hidden b and given to the player at start of game. and creating from the recipe should add the real item, not the recipe item itself

has the advantage that you can select when the player gets the recipe item of the same name, but will halve the number of item IDs available and require more work to setup.
i see.. so i basically give the player the "recipe" items when want to craft that card (so they can see it in the select item event), then remove those items when they cancel, then on confirm swap them in for the real one. is that correct?
then remove those items when they cancel
no need to remove, because hidden items are never displayed in inventory and therefore can't be used at all. That is why the recipe items should be set as hidden B (so that the hidden A can still be used for the regular purposes like event flags and don't appear in the recipes either).
and because of that you only give the hidden recipe items once, no need to bother the event itself with that.
Thanks! I can now separate craftable and non-craftable just by changing the item type. since i use a plugin for item category, items are displayed visible, also in the deck edit scene. I'll try work around.

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.

Original thread: https://forums.rpgmakerweb.com/threads/simple-break-create-item-system-solved.135732/