Hi everyone!
I currently have a pretty hacked together version of what I need, but I just know this could be handled more cleanly with a plugin. I am wondering if such a plugin exists, if someone would make it for me, or if someone would teach me how to make it myself!
Here's what the shop needs to be able to do:
I currently have a pretty hacked together version of what I need, but I just know this could be handled more cleanly with a plugin. I am wondering if such a plugin exists, if someone would make it for me, or if someone would teach me how to make it myself!
Here's what the shop needs to be able to do:
- Carry a randomized limited selection of items that can be rerolled. For example, the Armor Shop would have 3 random armors for sale, and each time you leave and enter town, it would have 3 different random armors.
- Limited stock - a player should only be able to buy each offered item once per visit. Optionally, if weapons and armor the player owns could not show up again in the shop, that would be nice.
- The ability to add to the potential selection of items. For example, in the beginning of the game the Armor Shop can potentially sell any Armors from the "Common" category. During the game the player will give gifts to the vendors to expand their inventory, so after giving 1 gift to the Armor vendor, it can now potentially sell any armors from the Common or Uncommon category.
- Additionally, because armors are also where accessories are stored, there should be a way to have the armor vendor only roll armors and the accessory vendor to only roll accessories. I am currently using dingk's Loot Pools plugin, so if it could be compatible with that, that would be amazing.