Skip to main content

Module factions

Module factions 

Source
Expand description

Per-faction values of the FACTION record that come from the tables: flags and colours (FACTION_FLAG_AND_COLOURS), capital, owned regions, victory regions, overlord and subjects, horde state and progenitor.

Verified on Attila’s main campaign: 118 of 118 factions match. Victory regions match as sets (the game stores 6 of them in another order).

Structs§

FactionFlag
A flag with its colours (FACTION_FLAG_AND_COLOURS).
FactionSummary
Per-faction values derived from the tables.

Functions§

faction_flags
Returns the two flags of a faction: the normal one and the republican one.
faction_summary
Returns the per-faction values of a faction.