What would be the most efficient, and "memory reducing" way to store item stats?

Hello! I’m currently making a survival game, and my current goal is to have a giant list of item/tool stats. I was wondering what would be the best way to store them.

1: (Storing it in one large table)
image

2: (Having multiple module scripts regarding the item)
image

3: (Storing it in a folder with multiple values"
image

Or is there alternative?

Please, and thanks!

With the release of attributes, you can have a Value with multiple values within it.

Would this be the best way to store them? Because currently my preferred method of storing things are in tables.

More information can be found here.

Thanks, I appreciate the feedback.

I prefer using tables in modules. I’m not sure about the memory part, but they are just super convenient.

1 Like