My shop for my game has a grid layout with a scrolling frame and an item description on the right. When I click on an item on the scrolling frame the item name, description and abilities is supposed to show on the right. How would I store all of this information? I’ve thought about dictionaries but I didn’t want to write 50 item descriptions in one dictionary
2 Likes
Yeah, you can store all of it on a module script on a table, but you can also have some sort of Config files that have all of the item’s information?
1 Like
I’ve never used module scripts before, what are module scripts and what are config files?
Module scripts are pretty useful for development. Modules scripts are just the Module Script instance they can be used as server and local sided scripts.
Configurations are like folders, just a different name basically. You can store the values of the information in here with values. 
So would it work something like this?
--Module script
local module = {}
module.Lungs = {{Name="Smoker's Lungs",Description="Dark as 0,0,0",BreathPower=1,BreathTime=4},{Name="My Lungs",Description="Hey give me back my lungs!",BreathPower=2,BreathTime=2}}
return module
--Server script
local lungsModule = require(game.ServerStorage.LungsList)
local smokerlungsname = LungsModule.module[1].Name
1 Like
Do this Have a value called Description a value called Price and a value called Name. You can make the guis text the values