So, I have a table that looks like this:
local Mytable ={
["Money"] = 500,
["Inventory"] ={
["Bread"] = 1,
["Apples"] = 40,
},
}
So i'm trying to insert another Dictionary like this:
["Pets"] ={
["Dogs"] = 1,
["Cats"] = 5,
},
But how would I insert that Dictionary into Mytable? I already tried :
table.insert(Mytable,["Pets"] ={
["Dogs"] = 1,
["Cats"] = 5,
},)
But that didn't work... Anyone know how to do this?

1 comment
I don't believe this is possible unless you put it into the script itself.