Ideas needed for a dungeon design!

Hello all! For a couple of months I've been working on my project, and this forum has been great for clearing any and all issues that I've had so far.

Now, I want to design a randomized dungeon that serves as a challenge in order to obtain skills and items. The idea is this: The dungeon resets all character levels to 1, clears your inventory (but you keep your skills) and all the items and skills that you earn there can only be taken out if you clear all the levels and a final boss. Now, the problem is this. How can I go about returning the characters gears and levels to their original values once the player fails/succeds the dungeon? And how can I restore the original inventory after the dungeon is done? Is there a script that can help me if it can't be done with events?

Thank you! And thank you mod 🙂 First time posting on this forum. Ill be more careful next time!
This is a "How do I...?" (implementation) question, not a design one, and so belongs in the Support forum for the engine you are using.

Moved to: RPGMaker MV
Hmm, do you have discord? I know of a way it could be done possibly.
Hmm, do you have discord? I know of a way it could be done possibly.
hey mate i already replied to you in the inbox. Looking forward to your ideas because im really stuck.

Original thread: https://forums.rpgmakerweb.com/threads/ideas-needed-for-a-dungeon-design.95622/