STANDARD_FACTION_* Constant Group
The four generic factions used to determine enmity and friendship by NPCs.
Constants
Constant
|
Value
|
Description
|
STANDARD_FACTION_COMMONER
|
1
|
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
|
3
|
Characterized by a town guard. Defends commoners, merchants, other defenders, and PCs, and attacks hostile faction members.
|
|
STANDARD_FACTION_HOSTILE
|
0
|
Characterized as a normal monster. Attacks all other factions except other hostile faction members.
|
|
STANDARD_FACTION_MERCHANT
|
2
|
Characterized as a normal tradesman or merchant. Indifferent to PCs and commoners, defends other merchants and defenders, and attacks hostile.
|
|
See Also