Weapon system storage ??(Beginner)

Hello, i am not that advanced when it comes to programming, and my knowledge is not great, not to mention that English is not my main language, so this is to justify for some errors or misunderstandings :slight_smile:

Okay, to my problem.
You may think that my question is related to me having a crazy idea that i can by myself make the best game evar or something.
But no, this is more because i have been thinking about how to do so.
You see, i have been wondering how to make a weapon/equipment system like most rpg games out there?
Example:
You kill a giant with your crazy glowing sword, you loot the giant thats 3x larger than you are and find a sword of the beginner, with the stats of 15-24 dmg and 23+ str. Put it into inventory and run further to kill a thief wandering around just chillin’.
You also loot the corpse and find a sword of the beginner again, but this time it has got 16-21 dmg and has 12+vitality, you decide to put it into your inventory.

So my question is… What would be the easiest way to store the data of these weapons and where to store? how to make them unique after they been generated? how to make them generate with different stats?

Oh and also, if anyone could give me a quick explaining of Class and how to use them, that’ll be great!:slight_smile:

Thaaanks!:smiley:

Bump :I