While reading text and printing it on the screen is something I can do, I want something different here.
You see, there are the classes for a character's race, class, etc.
I want to have something like this:
Being able to read a class/race/weapon from a file, which includes its variables.
A weapon has these attributes, for examplke:
string w_display_name;
float w_minatk;
float w_maxatk;
float w_cond;
float w_cost;
material w_mat;
element w_elem;
w_type w_usage;
w_type2 w_kind;
So the iron_sword.dat, shortbow.dat, etc. would contain something like this: