So I'm having a difficult time trying to figure this one out on my own. I need to make an event that will buy certain items from the player and pay them based on the amount they player had in their inventory. I was thinking it would prolly have to be variable based, but I really just can't figure out how to get this going.
It would need to be something like, "If player has 13 apples in inventory and NPC wants all of them and is paying 5g each than pay based on the number sold to them". I can't do it via a shop menu and I don't want to change the default sell price since the shopkeepers are meant to pay less than collectors. So like a fur pelt is based at 3g in my game and I want a collector to pay 8g per instead if the player seeks them out for it.
Anyone know how to set something like this up? Once I have the basic idea I can recreate it with all the items needed. (There's gonna be a lot of collectors lol)
It would need to be something like, "If player has 13 apples in inventory and NPC wants all of them and is paying 5g each than pay based on the number sold to them". I can't do it via a shop menu and I don't want to change the default sell price since the shopkeepers are meant to pay less than collectors. So like a fur pelt is based at 3g in my game and I want a collector to pay 8g per instead if the player seeks them out for it.
Anyone know how to set something like this up? Once I have the basic idea I can recreate it with all the items needed. (There's gonna be a lot of collectors lol)