Skip to main content

Module agents

Module agents 

Source
Expand description

Agent data of characters and factions: abilities (CHARACTER_DETAILS/AGENT_ABILITIES), attributes (AGENT_ATTRIBUTES), skill sets and starting skills (CAMPAIGN_SKILLS) and the agent types of the recruitment pools (FACTION/CHARACTER_RECRUITMENT_POOL_MANAGER).

Verified on Attila’s main campaign for every living character and every faction. The game stores the recruitment pools in hash order.

Structs§

StartingSkill
A skill a character starts with: a node of its skill set with points on creation.

Constants§

ABILITIES
Agent abilities, in the order the startpos stores them.
ATTRIBUTES
Agent attributes, in the order the startpos stores them.

Functions§

agent_abilities
Returns which abilities an agent type has, in ABILITIES order (agent_to_agent_abilities).
agent_attributes
Returns the starting attributes of an agent type, in ATTRIBUTES order (agent_to_agent_attributes, 0 when the agent has no row for an attribute).
recruitment_pool_agents
Returns the agent types with a recruitment pool in a faction.
skill_set
Returns the skill set of a character (character_skill_node_sets row for its agent type and subculture).
starting_skills
Returns the skills a character starts with: the nodes of its skill set with points on creation, by tier.