- Joined
- Aug 4, 2013
- Messages
- 20
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I've been working on a project and have decided to incorporate an NPC who can fashion magical gems from shards of like gems (Example, 3 Ruby Shards =1 Blaze Gem) I know I could always use a conditional branch that would flow similarly to
If player has:
3 Ruby Shards in inventory
then
-3 Ruby Shards
+ 1 Blaze Gem
But that system would only be convenient if I was only trading for one type of gem, I have several types plus I also want to have other NPCs craft other useful items such as Potions and Poisons if I can bring them the correct items.
I'm sure there is a script somewhere that allows for a currency other than gold to be used, but I don't know what it would be called or how to look for it. If anyone could give me insight I would greatly appreciate it.
If player has:
3 Ruby Shards in inventory
then
-3 Ruby Shards
+ 1 Blaze Gem
But that system would only be convenient if I was only trading for one type of gem, I have several types plus I also want to have other NPCs craft other useful items such as Potions and Poisons if I can bring them the correct items.
I'm sure there is a script somewhere that allows for a currency other than gold to be used, but I don't know what it would be called or how to look for it. If anyone could give me insight I would greatly appreciate it.


