My game is a roguelite, basically a game that never ends.
so I have this certain attribute for an actor, let's call it "rank"
This "rank" changes from level 1 to level 2
what I'm trying to do is save "rank" in an attribute that has the level in it, so that when "rank" is loaded it will load according to what level player is in.
Say player achieved rank 5 in level 1 but only rank 4 in level 2,
when he goes back to level 1, rank should be loaded again as 5 instead of 4. and when he goes to level 2 it should be loaded as 4 again.
I'm trying to avoid making a large table using this method.