The four generic factions used to determine enmity and friendship by NPCs.
Constants
Constant
Description
STANDARD_FACTION_COMMONER
Characterized as an average townsperson. Indifferent to PCs, merchant and defender factions, defend other commoner faction members, and attack hostile faction members.
STANDARD_FACTION_DEFENDER
Characterized by a town guard. Defends commoners, merchants, other defenders, and PCs, and attacks hostile faction members.
STANDARD_FACTION_HOSTILE
Characterized as a normal monster. Attacks all other factions except other hostile faction members.
STANDARD_FACTION_MERCHANT
Characterized as a normal tradesman or merchant. Indifferent to PCs and commoners, defends other merchants and defenders, and attacks hostile.