Shop Unlockables Help

So in my game, I'm planning to have a shop system where the merchant had most of his gear stolen. What the player would do is go to optional dungeons, recover lost gear. Once one of the gear sets (4 sets of armor and 4 sets of weapons) are brought to the shop, a display would be set up of what the player brought in, and the items would be up for sale. I'm also planning to give the player a reward if they brought back all 8 sets.

I currently have the lost sets in chests as key items that also turn a switch on. The switch would turn the display on and add the items in stock.

The displays work, but the actual shop never changes inventory. I have it so if you don't have the proper switches on, it will jump to another event page that would eventually have your switches that would be on. I would greatly appreciate a way to fix this, or maybe a better way to go about this idea? Thanks.
You need to have different shop processing commands for this - and if you have them and they still don't change, then you made a mistake in the event logic.


Please post screenshots of all pages of your shop event.
Okay, sure... I was going to but I was on my phone :/

Here's the chest event:

Armor 1A.JPG

Here's the shop (the items salesman has nothing to do with this, and the event right below the first display is how you read the display):

Armor 1B.JPG

Here's one of the simple display events:

Armor 1C.JPG

Here's the shop event that happens when you don't have any of the sets (don't mind the silly names 😀 ):

Armor 1E.JPG

Here's the shop event that supposed to happen when you get the first armor set:

Armor 1D.JPG
Wrong - the shop with no conditions will always happen.


You have fallen prey to the page priority - if two or more pages have their conditions fulfilled (or in this case, have no conditions) then the page with the higher number will display.


Since the shop with no conditions is the last page, it will always be the one choosen.


For correct eventing, the page without conditions has to be the first page of a multipage event.
Ugh... :headshake:  I thought the page priority was the other way around. I should have checked that...

Anyways, it worked, thank you so much! 

Original thread: https://forums.rpgmakerweb.com/threads/shop-unlockables-help.40025/