Ok, I allready did a search on google for this topic, but couldn't find anything, so I turn to you.
Has anyone got an idea how to implement a FF12 Loot/Tradegoods System?
For evererybody who doesn't know what it does, here a small explanation:
When you kill Monsters, you recieve special loot called "Treasure" (i'm sorry if that's not the correct term, i'm translating from German).
This can be a rat's tail or a premium pelt, or something like that. When you sell a certain amount of a specific combination of these items,
like 2 Rat Tails and 3 Premium Pelts, you unlock a Tradegood that you can buy from the Merchants, say in this case a Bow.
After you have bought the Tradegood, the counter for the required Treasures get's reset. So even if you have sold 80 Tails and 16 Pelts,
you could only buy one Bow, and if you would need this Treasures for other Tradegoods you would have to start over from 0.
I figured out how to do the counter for the sold treasures, but to handle the Shop, I would have to work with coutless conditions, and even then
I would be able to buy the Tradegoods as often as my money allows me to, and there would be no reset to the variables when i buy it.
Or would anyone know a script that can do this an point me in the direction?
Many thanks in advance to all of you!
EDIT: no more help required, i solved it on own