So I was rescripting a rarity system when I went out to print my Key/Value pairs.
["Potions"] = {
["Again"] = 0.0001,
["Hello"] = 0.01,
},
And I realized that the warn/print was always giving me the same order for the dictionary.
So if I would itterate over the dicitonary like this
for i,v in testDictionary do
warn (i, v)
end
I would always get the same order.
I thought and am preety sure that dictionary itteration was random. That the lua interpreter would take a random key value pair and not in order.
But that doesnt seem to be the case anymore.
Am I the only one?