pub fn recruitment_pool_agents(
tables: &StartposTables,
faction: &FactionEntry,
) -> Result<Vec<String>>Expand description
Returns the agent types with a recruitment pool in a faction.
They’re the agent types of the faction’s culture in agent_culture_details whose agents.faction_total_cap
is above 0 (which leaves out colonels and ministers).
§Arguments
tables- Tables withagent_culture_detailsandagents.faction- The faction.
§Returns
The agent types, in agent_culture_details order, without repeats.
§Errors
Returns an error if a table or column is missing.