It’s my first time building a shop to sell items in my game. In order to store important information about my items, I’m creating a Configurations file in my server storage. How I keep track of the details is as such:
ItemConfigurations.ITEM_DETAILS = {
["ITEM0001"] = {
["Name"] = "Item1",
["Price"] = 30,
["Picture"] = 6344756217,
...
},
["ITEM0002"] = {
["Name"] = "Item2",
["Price"] = 30,
["Picture"] = 6344756218,
...
},
["ITEM0003"] = {
["Name"] = "Item3",
["Price"] = 30,
["Picture"] = 6344756219,
...
}
}
As I add more items to my shop, the dictionary gets longer and it’s getting harder to track the details. Is there a better way to track these details?
dodge this bullet while you can!