while this prevents to go to the same dungeon again, it still has the possible of a sequence 2, 1, 3, 2 or a later return to a previoous dungeon before the sequence is up.
However to truly prevent that you would have to use elements of a randomized array, setting all floors upon entering the first floor - and that is a lot more complex to do, especially as the array can nly be handled by script.
I understand the goal here is a random dungeon, not to exhaustively go through a list of dungeons one time. There shouldn't be an issue of some repetition, especially if each map has random elements. If you have eight maps with eight random elements, that's 64 maps, and the odds of the third map being a repeat map of the the first map is 1:56. As OP noted, the maps keep changing. Realistically, i think about 24 maps might be better, but still manageable, with random elements on each map.
All you have to do is keep track of a variable every time they go up or down, to see if it's level 10+.
By random elements, I mean when you enter the floor, you create a random variable. Based on this, certain parts of the map will have "tiles" appear or disappear (they are actually events, or as an alternative you could use a plugin that alters tile behavior). So any given map might actually have a different path through it based on the variable. Then, other random variables can create (or not) special entrances to rooms, place mini-bosses and treasures, and even alter the decor.
It shouldn't be too complex to do with eventing. Once you create one map that works like this, you can clone it as many times as want and create different map variations. You could create close to the maximum number of maps if you want. Plus, if you make the maps bigger, you could create a large number of variables that substantially alter how the maps look, giving the appearance of something procedurally driven.
This is not, however, an undertaking for someone who is feeling lazy.
🙂 Creating a small prototype, though, should be a snap.
So you'll always be tracking a few variables:
What floor am I on
What is the ID of the current map
Upon entering each floor, some variables, for example: blocked hallways, bonus room, treasures A, treasures B.
The new map ID they are going into.