Hmm ty..
So you are suggesting to declare the g_Dungeons as a global variable?
I mean, just omiting the local?
g_Dungeons = {
-- Dungeon(name, minLevel, maxLevel, rewards)
Dragons = Dungeon("Dragons", 15, 30, {1100, 1101, 1102})
}
function Dungeon(name, minLevel, maxLevel, rewards)...