12 May, 2010, vidar1987 wrote in the 1st comment:
Votes: 0
Some other beginners may also be asking themselves this same question, so your help might help others as well. How do you find out where classes/races are listed on a smaug codebase? Normal Smaug, not SmaugFUSS or that. I know you have to define them in sysdata.dat, and of course race and class file. Just cant seem to find in the src folder where I have to put the code in so that they are selectable and show up on the creation menu.
12 May, 2010, Zeno wrote in the 2nd comment:
Votes: 0
In stock Smaug? It would be in the "race.lst" and "class.lst" files. There's nothing in the code aside from NPC races.

There's nothing in sysdata.dat.

It loads the races from race.lst in the "load_races" function in tables.c
12 May, 2010, Kayle wrote in the 3rd comment:
Votes: 0
Races and classes are stored in the races and classes folders, and are added to the race.lst and class.lst files in the corresponding folder. Nothing is changed in sysdata.dat with regards to races or classes though. You'll probably want to add your new races and classes to mud.h. Just search for RACE_ and CLASS_ to find the other defines for the existing ones, but those defines aren't required for any new races. Stock Smaug the races and classes in creation is dynamic. As long as the race exists and there are classes that are allowed to pick that race, they'll show up. And classes will show up regardless of whether any races are allowed to pick them.
12 May, 2010, vidar1987 wrote in the 4th comment:
Votes: 0
Ok, thanks for the help guys. :)
0.0/4