Using specific items as a shopping currency

Hello, was wondering if anybody knew whether there's a script or eventing method to use items as a currency in the shop to buy other items

What I mean by this is that for a specific shop, you can pay for items in a different way, using other items which would be a material for that item

Basically a shorthand for crafting where you hand, say, some iron platings to a blacksmith and he trades you an iron helmet for them

as an alternative to buying that helmet in the store for gold and as an incentive to gather the materials yourself through professions etc

Example:

If you go to the armour shop, you can buy a dragonhide tunic for 1300 coins

OR

you can slay dragons until you have 3 dragonhide, then go to the tanner's and trade those three dragonhide for the tunic.

I know that I could simply use conditional branches to check for the dhide in my inventory and then exchange the items,

but the reason I want to use dragonhide as a currency for dragonhide armour [for example] is so that I can see in the shop

list how much dhide each piece costs and how much total I have, just like with gold. Otherwise, simply using choices and

yes/no windows with no shop interface, the player is basically blind to what they can get and have to spend minutes sorting

through every possible option to see what each piece requires and how good it is, as well as how much dhide they'll have left.

For clarification, the item would still drop as an item, not a currency, and you could still buy the end item from a shop with gold,

ideally, it'd just be for this specific shop you can buy that item using these specific material items.

Is there anything like this ?
Why not use crafting scripts? You can make a separate option in a shop event that opens it up, so it says something like 

Buy

Trade

choosing buy will open the normal shop

while Trade will open the crafting scene
Why not use crafting scripts? You can make a separate option in a shop event that opens it up, so it says something like 

Buy

Trade

choosing buy will open the normal shop

while Trade will open the crafting scene
I intended to do that at first, but couldn't find a simple one that just gives the shop interface with items-to-item trading without adding on an entire new levelup system or additional conditions that needed to be met

I'll be looking again to find one and if one fits the need I'll name it here so someone with the same problem might be able to solve it, but if you know any already and could recommend one that would be much appreciated also
Well, I don't know of really simple ones for that matter... so far I only used the Tactics Ogre crafting script...
That appears to do what I had in mind, will try it and see

Thanks again, unless something else goes wrong this is probably resolved
yeah, it might work as intended... just make sure the user has no access to the crafting scene aside from the shops... but you might need to add the necessary crafting books before the shop then remove them afterwards... that way, only the needed items in shop will be shown and the user won't notice the crafting books too...
Got the script and the necessary scripts, set up the recipebooks and items, but it gives me an error whenever it tries to launch

I removed Tsukihime's shop script, which modifies the default system, and the same error occured so somehow I've installed the

original Tactics Ogre System script wrong

It gives an error called "NameError" relating to line 1152 whether Tsukihime's is there or not so guess I just need to figure that

out and it'll be fine

EDIT: It turns out that in the script instructions for Mr Bubble's Tactics Ogre System, the one the Shop's based off, it requires another script of his called Info Pages Window ... I didn't see that specified on his page for the script, only in the script itself

After hunting through all the default modules for VX Ace, I just googled "vx ace info pages window" and turns out you need to download that one too for it to work, but work it does now
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/using-specific-items-as-a-shopping-currency.20329/