Items with special requisits

I'd like to know how to make items which requires special items in inventory plus gold.

For example, I'd like to make a magic axe which costs 750 gold plus 2 pieces of magic iron, and while the part of gold is easy, I still don't know how to make the magic iron part.
That can be achieved with conditional branches inside events, but if you want to achieve that inside the shop scene, then you'll need a script. Another way to do it if there's only one item that has a special condition is to use a conditional branch and have 2 separate shop depending on if the player fulfills the conditions of the branch.
That can be achieved with conditional branches inside events, but if you want to achieve that inside the shop scene, then you'll need a script. Another way to do it if there's only one item that has a special condition is to use a conditional branch and have 2 separate shop depending on if the player fulfills the conditions of the branch.
I thought the second one, then i realized that if I run out of magic iron, the magic axe might still be there, that's why I thought on scripts, but I'm not good at it yet
a magic axe which costs 750 gold plus 2 pieces of magic iron
In most situations like this, people will use crafting scripts. A shop scene will require a script.

Original thread: https://forums.rpgmakerweb.com/threads/items-with-special-requisits.133311/