I've set up nested arrays for my Zelda-like game to track information related to the maps- what rooms you've entered, various gamestate flags, etc. They're essentially three arrays in one- an array containing the rooms, inside an array containing the possible floors of the dungeon, inside an array containing the possible dungeons of the game. So I want to save this information to a file, but I'm not sure what the best way to go about it is- I've seen tons of suggestions of using ds_grids, but those are for 2d arrays- what I have here is basically a 3D, X axis for dungeon, Y axis for floor, Z axis for the room. (This sole fact is why I'm using an array, not a grid, a list, or a map.) So what's the efficient way to store all this into a file? Should I separate each level of array out into a separate list?