Motivation

Motivation is a trait generated by npcGenerator. Unlike the other traits in the addon, motivations come in either one, two, or three at the same time. The addon ensures they are not repeated.

Motivations depend on a great many things, namely Race, Class, Faith, Gender and Age, and are not listed under First Glance. More dependencies might be added in the future, such as Alignment and Tribe, or even Prominent Feature.

Functionality
Motivations are defined in modules/motivations.lua. It provides the following functions: The first one only generates a single Motivation, where the latter generates between one and three, where no motivation is duplicated.
 * generateRandomMotivation
 * generateRandomMotivations

Some of the motivations are very similar to each other, and only the subject changes. In particular the "overcoming xir fear of X" are very common. This issue is being considered, and will likely be solved if Substitution Sequences are implemented.

Motivations automatically comply to Gender, as "xir", "xhe" and "xim" are replaced by their gender-based counterparts.