Skip to main content

Module pools

Module pools 

Source
Expand description

Mercenary pools (FACTION/FACTION_MERCENARY_POOL, PROVINCE/PROVINCE_MERCENARY_POOL) and levy pools (FACTION/LEVY_MERCENARY_MANAGER).

Verified on Attila’s main campaign: 118 of 118 faction pools, 62 of 62 province pools and 3 of 3 levy managers match. The game stores the units of a pool in hash order; these functions return them in table order.

Structs§

LevyPool
A levy pool: an empty mercenary pool an overlord gets for each province where a subject owns regions.
MercenaryUnit
A unit of a mercenary pool (MERCENARY_POOL_UNIT_ARRAY entry).

Functions§

faction_mercenary_pool
Returns the mercenary pool of a faction.
levy_pools
Returns the levy pools of every overlord.
province_mercenary_pool
Returns the mercenary pool of a province.