Is it possible to alter a shopkeeper's stock with switches?

Hello everyone, currently I am toying around with the idea of having a single shopkeeper in my game who changes his stock (mostly by adding new items) each time a boss is defeated. Would it be possible to create a system to handle this in game without the use of scripts? I considered a linear progression at one point, where I could just have a different event page per boss defeated, but I would really like to have optional bosses that would also change the shopkeeper's stock as well and I was not sure how to do that. I searched throughout the forums to see if I could find a script that could do this, but I was unable to locate one either.


Any help would be appreciated.


Thanks!
Purely evented, the only solution I can think of is to make a different Shop Processing (with an exttra page or just conditional branches) for every possible combination of defeated bosses, which would be quite impractical, at least if you have many optional bosses.


I would rather use the Hidden Shop Goods plugin from Himeworks - that way, you only need one Shop Processing command with all the items listed that can be bought at some point, and can hide the ones the player doesn't have access to yet.
That looks like that will take care of exactly what I am wanting to do. Thank you so much for the link!
You're welcome 🙂  

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-alter-a-shopkeepers-stock-with-switches.74320/