Faction
A town/army faction definition (Castle, Rampart, Inferno, …). Identifies the kind, not a placed town; use Game lookups for the latter.
getJsonKey
Returns the JSON key (mod-scoped identifier) of this entity.
- returns
string
hasTown
True if this faction has town belonging to it in the game. Usually true for all factions other than neutral
- returns
boolean