Race

Race is a trait generated by npcGenerator. It can be considered on of the base traits of npcG, as it does not depend on anything, but a lot of traits depend on Race.

Races have a RaceType associated to them, but this is not used for generation, only to retrieve a set of races based on certain characteristics defined in the used RaceType.

Ever race used in npcG should come from the available World of Warcraft races. Playable or not playable.

Currently, in the 0.x.x versions, only the playable races, as well as High Elves, Half Elves and Half Orcs are supported. Finally, Death Knights are also considered a race in npcG, as they are more likely to group together, than to group with their original race, that shuns them.

Alliance

 * Draenei
 * Dwarf
 * Gnome
 * High Elf
 * Human
 * Night Elf
 * Pandaren
 * Worgen

Horde

 * Blood Elf
 * Goblin
 * Orc
 * Pandaren
 * Tauren
 * Troll
 * Undead

Neutral

 * Half Elf
 * Half Orc
 * (Goblin)
 * (Pandaren)

Functionality
Race can be found under modules/races.lua and supports the following functions: In order to add a race the race needs to contain a list of raceTypes, but this list can be empty.
 * generateRandomRace
 * allRacesExcept
 * racesByType