Name

Name is a trait generated by npcGenerator. Names depend on the Race, and Gender of an npc, though the data from Tribe is also available, as Undead and Death Knight npcs use it to generate their names from their past life.

In the future, names might fully depend on Tribe in some cases, and on Class (and potentially Age) in other cases where the names are based on prestige.

Names generally consist of a first name and a last name, though they might be missing one, or have another part in between.

First names are sometimes generated from two parts, like "Illi" and "dan". This is not so for all races, some only use the first part.

Last names are often generated from two parts as well, like "Storm" and "rage".

Names for Halfbreed races take their names from either of the parent, meaning a Half Elf can have a human first name or an elven first name, as well as a human last name or an elven last name.

Names for "Dead" races come by using the first name of their previous race, coupled with either a new last name, picked after undeath, or a last name retained from the previous life.

Functionality
Names are defined in modules/names.lua and provide the following function: The following functions are defined internally: The functions "combineRandomBits" and "combineRandomBitsWhere" might later be removed to core/util.
 * generateRandomName
 * combineRandomBits
 * combineRandomBitsWhere
 * createFirstName
 * createLastName
 * createName
 * createHybridName
 * createUndeadName