I want to set up a shop that only sells items that YOU have sold to that shop.
For instance, I go to a shop that only sells Potions. However, if I sell a Super Potion to that shop for 500G, the next time I visit the shop, it now is selling Potions AND Super Potions.
Will it only sell the same quantity? So if you sell a super potion, will it only have ONE super potion to offer next time you come? Or is it an unlimited supply?
Is this for ALL shops? Or do you want some to behave normally and others to have this special ability?
And do you want to have a way to identify the shop, or is it safe to identify it by map/event id? For example, some people will have a shopkeeper NPC, but will then have two or three events set up on the counter that all do the shop processing - no matter which event you interact with, you're at the same shop. If they were identified by event id, you would have to interact with exactly the same event to have the new items, which would be undesirable.
I was thinking unlimited stock, and just calling the specific shop with a script call, as I do Not want all shops to have this trait.
Himework have those plugin. Go check for her.
I have her plugins that deal with it, but without making switches for each item (and no way to detect whats sold) I cannot pull that off.
I'll add this as a plugin to the shop manager.
I currently have it so that each shop keeps track of what you've sold, so I could have a plugin use this feature to determine which items to display.
However, how would you want it to be set up?
Would it sell *anything* that you sell to the store? Or only certain items?
I was thinking having a Potion Shop that learned from the potions (By default, the Items category) you sold to it, making able to sell any potions you sell them. Maybe a notetag in each item will help determine if this type of shop can "learn" to sell the item?
What I am thinking is to have you make some plugin commands to declare which items the shop can "learn" to sell. This way, you can have different shops learn different things.
Perhaps also have the ability to reset it, like maybe the shop requires you to sell it something, and it'll only be available for a certain amount of time.
You could potentially even make it so that selling one item will unlock another.
How is the shop manager going, Hime?
Still some issues to sort out 🙁
Just a check on the Shop plugin Hime. Any positive progress?