Making a level log

I'm having a lot of trouble finding a way to do this, so I would like to know how to make it.

I want the player to be able to be given an item which contains a list of all the levels in the game. But, when a level hasn't been explored yet, instead of saying eg. level 10, it would just say ???. When a level has been entered the first time, the log updates the name to the actual name of the level, and you can now click on that level in the log and it will have a description. does anyone know how to do this? thankyou!
I actually did something similar in my project. You can create an array or dictionary to store the level names, and then have a separate boolean list that tracks whether each level has been discovered.

When rendering the item/log, just check if that level is discovered—if yes, show the name, otherwise show “???” instead.

Then update the boolean when the player enters the level for the first time. It’s pretty straightforward once you set up the logic. Hope that helps.

Original thread: https://forums.rpgmakerweb.com/threads/making-a-level-log.177365/