What structures or methods do people use to store data for weapons, armor, etc in an rpg? Need some ideas because it’s gonna be different data types that I want to be stored in the same object. O_o
Should I use a bunch of structs?
For example, I’m storing data about the char in an ini file (for now). I want to store the name of the current equipped weapon there, then when the player loads, it gets the stats for the current equipped weapon, armor, jewelry.