Keys to the Kingdom (A "How to" Question)

Hey folks, I've been making very short, silly games for a while as I learn the mechanics of building an RPG. Mainly very simple stuff like, find the key, open the dungeon, slay the monster, win the game. Or, find the key, get the magic item, use the key to open the dungeon, use the item to slay the monster, win the game.

I want to try something more complex, but I'm not sure if my idea is feasible. I want the player to have to collect a key to open a dungeon, slay the monster, get the next key for the next dungeon, and then when all keys have been collected, use them to open the final dungeon. So, like this:
Dungeon 1: Open. Slay monster get key.
Dungeon 2: Use key from Dungeon 1 to open gates. Slay monster. Get key for dungeon 3.
Dungeon 3: Use key from Dungeon 2 to open gates. Slay monster. Get 3rd and final key.
Final Dungeon: Use all 3 keys gathered to open gates. Slay monster. Win game.

Is this doable with event scripting, or will I need to use a plug in?
This is very much doable with just events. It'll just take using nested If conditions. Plugins would not be necessary for what you are wanting to do.
Excellent! That means I'm just doing something wrong then, lol.
Yeah you can do this easy!

You can use the conditional branch to check if the player has the key, then to open the final door check if the player has all 3 by nesting them:

Original thread: https://forums.rpgmakerweb.com/threads/keys-to-the-kingdom-a-how-to-question.128815/