Faith

Faith is a trait generated by npcGenerator.

Faith depends on the alignment-trait, and race. It is used to generate the Class of the npc.

Faith can represent actual World of Warcraft religions, but also subgroups, such as the "Blood Knights", the "Cult of the Damned". It can also represent an npc placing him or herself above the world, or being atheistic, but believing in his or her people. Finally, an npc can simple not have made up his or her mind.

Arbitrary tags can be applied to this trait, making it easier to list a bunch of them with similar characteristics (such as those related to the Light), without interfering with generation.

Functionality
Faith can be found under modules/faith.lua and provides the following functions:
 * generateRandomFaith
 * faithsByTag
 * allFaithsExcept