Skip to main content

skill_set

Function skill_set 

Source
pub fn skill_set(
    tables: &StartposTables,
    index: &CampaignIndex,
    agent: &str,
    faction: &FactionEntry,
) -> Result<Option<String>>
Expand description

Returns the skill set of a character (character_skill_node_sets row for its agent type and subculture).

§Arguments

  • tables - Tables with character_skill_node_sets.
  • index - The campaign’s startpos rows.
  • agent - Agent type.
  • faction - The character’s faction.

§Returns

The skill set key, or None if there isn’t one (colonels).

§Errors

Returns an error if a table or column is missing.